Home
last modified time | relevance | path

Searched refs:offset (Results 326 – 350 of 815) sorted by relevance

1...<<11121314151617181920>>...33

/php-src/tests/strings/
H A Doffsets_chaining_3.phpt2 testing the behavior of string offset chaining
/php-src/ext/standard/tests/array/
H A Darray_key_exists_variation1.phpt132 Cannot access offset of type array on array
144 Cannot access offset of type classA on array
154 Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_local_infile_directory_denied.phpt16 function exec_and_count($offset, &$db, $sql, $exp) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
27 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_emulated_anonymous_placeholders.phpt16 function prepex($offset, &$db, $query, $input_params = null, $error_info = null) {
29 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
36 $offset, $error_info['prepare']['mysql'], $tmp[0]);
61 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
68 $offset, $error_info['execute']['mysql'], $tmp[0]);
77 $offset, $e->getMessage(),
H A Dpdo_mysql_prepare_emulated_myisam.phpt16 function prepex($offset, &$db, $query, $input_params = null, $error_info = null) {
29 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
36 $offset, $error_info['prepare']['mysql'], $tmp[0]);
61 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
68 $offset, $error_info['execute']['mysql'], $tmp[0]);
76 $offset, $e->getMessage(),
H A Dpdo_mysql_prepare_emulated_myisam_index.phpt16 function prepex($offset, &$db, $query, $input_params = null, $error_info = null) {
31 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
38 $offset, $error_info['prepare']['mysql'], $tmp[0]);
63 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
70 $offset, $error_info['execute']['mysql'], $tmp[0]);
79 $offset, $e->getMessage(),
H A Dpdo_mysql_exec_ddl.phpt12 function exec_and_count($offset, &$db, $sql, $exp, $suppress_warning = false) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
28 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.c339 int8_t offset = mbfl_encoding_ptr_list_after_hashing[key]; in mbfl_name2encoding_ex() local
340 if (offset >= 0) { in mbfl_name2encoding_ex()
341 encoding = mbfl_encoding_ptr_list + offset; in mbfl_name2encoding_ex()
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc37 #define IR_MEM_BO(base, offset) IR_MEM(base, offset, IR_REG_NONE, 1)
2921 offset = IR_SPILL_POS_TO_OFFSET(offset);
3615 int offset;
3634 int offset;
3676 int offset;
3706 int offset;
6632 offset = IR_SPILL_POS_TO_OFFSET(offset);
7967 offset = 0;
8001 offset = 0;
8150 offset = 0;
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result.phpt58 …li_stmt_bind_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset, $type_hint = null…
61 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
71 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
76 … printf("[%04d] [%d] %s\n", $offset + 2, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
82 … printf("[%04d] [%d] %s\n", $offset + 3, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
89 … printf("[%04d] [%d] %s\n", $offset + 3 + $id, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
99 … printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
105 … printf("[%04d] [%d] %s\n", $offset + 8, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
114 … printf("[%04d] [%d] %s\n", $offset + 9, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
125 $offset + 10, $num,
[all …]
/php-src/ext/standard/tests/serialize/
H A Dmax_depth.phpt118 Warning: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
125 Warning: unserialize(): Error at offset 2834 of 2971 bytes in %s on line %d
132 Warning: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
139 Warning: unserialize(): Error at offset 2309 of 2574 bytes in %s on line %d
147 Warning: unserialize(): Error at offset 1157 of 1294 bytes in %s on line %d
157 Warning: unserialize(): Error at offset 2309 of 2574 bytes in %s on line %d
H A Dbug70436.phpt51 Warning: unserialize(): Error at offset 0 of 3 bytes in %s on line %d
53 Warning: unserialize(): Error at offset 93 of 94 bytes in %s on line %d
H A Dbug72663.phpt52 Warning: unserialize(): Error at offset 17 of 24 bytes in %s on line %d
55 Warning: unserialize(): Error at offset 25 of 32 bytes in %s on line %d
/php-src/ext/standard/
H A Dstring.c1935 if (offset < 0) {
1938 if (offset < 0 || (size_t)offset > ZSTR_LEN(haystack)) {
2019 if (offset < 0 || (size_t)offset > ZSTR_LEN(haystack)) {
2117 RETURN_LONG(e - p + (offset > 0 ? offset : 0));
3934 size_t offset; local
4110 size_t offset; local
5708 if (offset) {
5712 if ((offset < 0) || ((size_t)offset > haystack_len)) {
5716 p += offset;
6199 offset = ZSTR_LEN(s1) + offset;
[all …]
/php-src/ext/standard/tests/strings/
H A Dsubstr_int_min.phpt2 substr() with PHP_INT_MIN offset or length
/php-src/Zend/tests/offsets/
H A DArrayAccess_container_offset_behaviour.phpt61 Warning: Trying to access array offset on int in %s on line 74
98 Cannot unset offset in a non-array variable
134 foreach ($offsets as $offset) {
135 $dimension = &$offset;
H A Dobject_container_offset_behaviour.phpt66 foreach ($offsets as $offset) {
67 $dimension = &$offset;
69 … $error = '(new stdClass())[&' . zend_test_var_export($offset) . '] has different outputs' . "\n";
/php-src/sapi/fpm/fpm/
H A Dfpm_conf.c52 static char *fpm_conf_set_long(zval *value, void **config, intptr_t offset);
59 static char *fpm_conf_set_pm(zval *value, void **config, intptr_t offset);
237 * (int *) ((char *) *config + offset) = value_y ? 1 : 0; in fpm_conf_set_boolean()
244 char **config_val = (char **) ((char *) *config + offset); in fpm_conf_set_string()
279 * (int *) ((char *) *config + offset) = atoi(val); in fpm_conf_set_integer()
296 * (long int *) ((char *) *config + offset) = atol(val);
338 * (int *) ((char *) *config + offset) = seconds; in fpm_conf_set_time()
362 * (int *) ((char *) *config + offset) = log_level; in fpm_conf_set_log_level()
371 int *conf = (int *) ((char *) *config + offset); in fpm_conf_set_syslog_facility()
521 int *ptr = (int *) ((char *) *config + offset); in fpm_conf_set_rlimit_core()
[all …]
/php-src/ext/ffi/tests/
H A Dgh7867.phpt19 echo 'cast with offset' . PHP_EOL;
51 cast with offset
/php-src/ext/pcre/
H A Dphp_pcre.stub.php105 function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset argument
108 …(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {} argument
/php-src/Zend/tests/
H A Dbug39018_2.phpt2 Bug #39018 [2] (Error control operator '@' fails to suppress "Uninitialized string offset")
H A Dstr_offset_005.phpt2 string offset 005 indirect string modification by error handler
H A Dbug26281.phpt2 Bug #26281 (switch() crash when condition is a string offset)
/php-src/main/streams/
H A Dplain_wrapper.c593 ret = zend_fseek(data->file, offset, whence); in php_stdiop_seek()
759 if (range->offset > data->sb.st_size) { in php_stdiop_set_option()
760 range->offset = data->sb.st_size; in php_stdiop_set_option()
864 if (range->offset > size) { in php_stdiop_set_option()
865 range->offset = size; in php_stdiop_set_option()
868 range->length = size - range->offset; in php_stdiop_set_option()
872 if (range->offset != 0) { in php_stdiop_set_option()
880 delta = range->offset - rounded_offset; in php_stdiop_set_option()
1393 size_t dir_len = strlen(dir), offset = 0; in php_plain_files_mkdir() local
1397 offset = p - buf + 1; in php_plain_files_mkdir()
[all …]
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-inplace32BI.c34 #define ROL32(a, offset) ((((UINT32)a) << (offset)) ^ (((UINT32)a) >> (32-(offset)))) argument
97 memset(laneAsBytes, 0xFF, offset); in KeccakP1600_SetBytesInLaneToZero()
98 memset(laneAsBytes+offset, 0x00, length); in KeccakP1600_SetBytesInLaneToZero()
99 memset(laneAsBytes+offset+length, 0xFF, 8-offset-length); in KeccakP1600_SetBytesInLaneToZero()
127 unsigned int lanePosition = offset/8; in KeccakP1600_AddByte()
128 unsigned int offsetInLane = offset%8; in KeccakP1600_AddByte()
154 memcpy(laneAsBytes+offset, data, length); in KeccakP1600_AddBytesInLane()
223 KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length); in KeccakP1600_OverwriteBytesInLane()
224 KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length); in KeccakP1600_OverwriteBytesInLane()
312 memcpy(data, laneAsBytes+offset, length); in KeccakP1600_ExtractBytesInLane()
[all …]

Completed in 92 milliseconds

1...<<11121314151617181920>>...33