Home
last modified time | relevance | path

Searched refs:offset (Results 176 – 200 of 813) sorted by relevance

12345678910>>...33

/php-src/ext/spl/tests/
H A Dbug73029.phpt22 Error at offset 10 of 19 bytes
24 Warning: unserialize(): Error at offset 22 of 43 bytes in %s on line %d
26 Warning: Trying to access array offset on false in %s on line %d
H A Dbug53362.phpt7 public function offsetSet($offset, $value): void {
8 var_dump($offset);
/php-src/ext/intl/tests/
H A Dtimezone_getErrorCodeMessage_basic.phpt7 /* INF being an invalid offset depends on UB in float->int cast behavior. */
31 Warning: IntlTimeZone::getOffset(): error obtaining offset in %s on line %d
34 string(48) "error obtaining offset: U_ILLEGAL_ARGUMENT_ERROR"
/php-src/sapi/fpm/fpm/
H A Dfpm_trace_mach.c82 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() local
83 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
91 *data = * (long *) (local_page + offset); in fpm_trace_get_long()
/php-src/ext/intl/breakiterator/
H A Dbreakiterator.stub.php77 public function following(int $offset): int {} argument
95 public function isBoundary(int $offset): bool {} argument
101 public function next(?int $offset = null): int {} argument
104 public function preceding(int $offset): int {} argument
H A Dcodepointiterator_internal.cpp189 int32_t CodePointBreakIterator::following(int32_t offset) in following() argument
191 this->lastCodePoint = utext_next32From(this->fText, offset); in following()
199 int32_t CodePointBreakIterator::preceding(int32_t offset) in preceding() argument
201 this->lastCodePoint = utext_previous32From(this->fText, offset); in preceding()
209 UBool CodePointBreakIterator::isBoundary(int32_t offset) in isBoundary() argument
212 utext_setNativeIndex(this->fText, offset); in isBoundary()
213 return (offset == utext_getNativeIndex(this->fText)); in isBoundary()
/php-src/Zend/
H A Dzend_attributes.h61 uint32_t offset; member
75 …tribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset);
76 …d_get_parameter_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset);
90 uint32_t flags, uint32_t offset, uint32_t lineno);
108 …nd_attribute *zend_add_parameter_attribute(zend_function *func, uint32_t offset, zend_string *name… in zend_add_parameter_attribute() argument
111 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
H A Dzend_attributes.c149 static zend_attribute *get_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset) in get_attribute() argument
155 if (attr->offset == offset && zend_string_equals(attr->lcname, lcname)) { in get_attribute()
164 …d_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset) in get_attribute_str() argument
170 if (attr->offset == offset && zend_string_equals_cstr(attr->lcname, str, len)) { in get_attribute_str()
189 …ttribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset) in zend_get_parameter_attribute() argument
191 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
194 …nd_get_parameter_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset) in zend_get_parameter_attribute_str() argument
196 return get_attribute_str(attributes, str, len, offset + 1); in zend_get_parameter_attribute_str()
379 if (other != attr && other->offset == attr->offset) { in zend_is_attribute_repeated()
411 …e **attributes, zend_string *name, uint32_t argc, uint32_t flags, uint32_t offset, uint32_t lineno) in zend_add_attribute() argument
[all …]
H A Dzend_alloc.h68 …LOC void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_DC …
69 … ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset);
74 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE…
75 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
154 #define safe_emalloc(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LINE_CC… argument
161 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEN… argument
170 #define safe_emalloc_rel(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LIN… argument
177 #define safe_erealloc_rel(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset)… argument
190 …afe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe… argument
203 …nmemb, size, offset, persistent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):saf… argument
/php-src/Zend/tests/
H A D036.phpt2 Trying to use lambda in array offset
14 Cannot access offset of type Closure on array
H A Dbug39304.phpt2 Bug #39304 (Segmentation fault with list unpacking of string offset)
10 Warning: Uninitialized string offset 0 in %s on line %d
H A Dinit_array_illegal_offset_type.phpt2 INIT_ARRAY with illegal offset type
15 Cannot access offset of type stdClass on array
H A Dalternative_offset_syntax_in_encaps_string.phpt2 Alternative offset syntax should emit only E_COMPILE_ERROR in string interpolation
6 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dalternative_offset_syntax_compile_error_outside_const_expr.phpt2 Alternative offset syntax should emit E_COMPILE_ERROR outside const expression
9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dalternative_offset_syntax_compile_error_in_const_expr.phpt2 Alternative offset syntax should emit E_COMPILE_ERROR in const expression
9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dstr_offset_004.phpt2 string offset 004
44 Warning: Illegal string offset -20 in %s on line %d
49 Warning: Only the first byte will be assigned to the string offset in %s on line %d
H A Dbug79947.phpt2 Bug #79947: Memory leak on invalid offset type in compound assignment
15 Cannot access offset of type array on array
H A Dstr_offset_007.phpt2 string offset 007 indirect string modification by error handler
15 Err: String offset cast occurred
/php-src/ext/shmop/
H A Dshmop.c114 shmop_object_handlers.offset = XtOffsetOf(php_shmop, std); in PHP_MINIT_FUNCTION()
284 zend_long offset; in PHP_FUNCTION() local
288 if (zend_parse_parameters(ZEND_NUM_ARGS(), "OSl", &shmid, shmop_ce, &data, &offset) == FAILURE) { in PHP_FUNCTION()
299 if (offset < 0 || offset > shmop->size) { in PHP_FUNCTION()
304 …e = ((zend_long)ZSTR_LEN(data) < shmop->size - offset) ? (zend_long)ZSTR_LEN(data) : shmop->size -… in PHP_FUNCTION()
305 memcpy(shmop->addr + offset, ZSTR_VAL(data), writesize); in PHP_FUNCTION()
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_array_large.phpt18 function mysqli_fetch_array_large($offset, $link, $package_size) {
39 … printf("[%03d + 1] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
45 … printf("[%03d + 2] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
52 … $offset, $random_char, $row['label'], $len, mysqli_errno($link), mysqli_error($link));
59 … printf("[%03d + 4] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
65 …printf("[%03d + 5] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
71 …printf("[%03d + 6] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
78 … $offset, $random_char, $label, $len, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
125 $offset = 3;
139 if (!mysqli_fetch_array_large($offset++, $link, $package_size)) {
/php-src/ext/date/tests/
H A Dtimezone_name_from_abbr_basic1.phpt18 echo "-- Lookup with name and offset--\n";
29 var_dump( timezone_name_from_abbr("", 5400) ); // offset = 1.5 hrs
30 var_dump( timezone_name_from_abbr("", 62400) ); // offset = 24 hrs
40 -- Lookup with name and offset--
/php-src/ext/standard/tests/general_functions/
H A Dparse_ini_basic.phpt109 ["offset values"]=>
114 string(14) "basic offset 1"
116 string(14) "basic offset 2"
121 string(11) "long offset"
126 string(13) "string offset"
131 string(15) "quoted offset 1"
133 string(15) "quoted offset 2"
135 string(20) "quoted string offset"
137 string(20) "single quoted offset"
/php-src/ext/standard/
H A Dtype.c171 int offset = 0; in PHP_FUNCTION() local
173 offset = 1; in PHP_FUNCTION()
176 if (strval[offset] == '0' && (strval[offset + 1] == 'b' || strval[offset + 1] == 'B')) { in PHP_FUNCTION()
182 if (offset) { in PHP_FUNCTION()
187 memcpy(tmpval + offset, strval + offset + 2, strlen - offset); in PHP_FUNCTION()
/php-src/ext/spl/
H A Dspl_array.c261 switch (Z_TYPE_P(offset)) { in get_hash_key()
266 key->key = Z_STR_P(offset); in get_hash_key()
291 key->h = Z_LVAL_P(offset); in get_hash_key()
294 ZVAL_DEREF(offset); in get_hash_key()
308 zval *offset, int type) /* {{{ */ in spl_array_get_dimension_ptr() argument
314 if (!offset || Z_ISUNDEF_P(offset) || !ht) { in spl_array_get_dimension_ptr()
413 if (!offset) { in spl_array_read_dimension_ex()
415 offset = &tmp; in spl_array_read_dimension_ex()
472 if (!offset) { in spl_array_write_dimension_ex()
474 offset = &tmp; in spl_array_write_dimension_ex()
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstr.c284 size_t i, offset, ws_i; in lexbor_str_strip_collapse_whitespace() local
301 ws_i = offset; in lexbor_str_strip_collapse_whitespace()
302 offset++; in lexbor_str_strip_collapse_whitespace()
307 ws_i = offset; in lexbor_str_strip_collapse_whitespace()
310 data[offset] = data[i]; in lexbor_str_strip_collapse_whitespace()
311 offset++; in lexbor_str_strip_collapse_whitespace()
315 if (offset != i) { in lexbor_str_strip_collapse_whitespace()
316 if (offset != 0) { in lexbor_str_strip_collapse_whitespace()
318 offset--; in lexbor_str_strip_collapse_whitespace()
322 data[offset] = 0x00; in lexbor_str_strip_collapse_whitespace()
[all …]

Completed in 52 milliseconds

12345678910>>...33