Home
last modified time | relevance | path

Searched refs:offset (Results 126 – 150 of 700) sorted by relevance

12345678910>>...28

/PHP-7.4/Zend/
H A Dzend_alloc.h74 ZEND_API void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE…
75 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset) ZEND_ATTRIBUTE…
80 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE…
81 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
160 #define safe_emalloc(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LINE_CC… argument
167 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEN… argument
176 #define safe_emalloc_rel(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LIN… argument
183 #define safe_erealloc_rel(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset)… argument
194 …afe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe… argument
207 …nmemb, size, offset, persistent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):saf… argument
/PHP-7.4/ext/mbstring/tests/
H A Dmb_strpos_error2.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
22 $offset = 2;
25 var_dump( mb_strpos($haystack, $needle, $offset, $encoding) );
H A Dmb_strrpos_error2.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
23 $offset = 5;
26 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding));
H A Dmb_stripos_error2.phpt10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
23 $offset = 2;
26 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) );
H A Dmb_strripos_error2.phpt10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
23 $offset = 2;
26 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) );
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_num_fields.phpt24 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) {
27 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
32 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 1,
39 printf("[%03d] Expecting false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
H A Dmysqli_next_result.phpt33 function func_test_mysqli_next_result($link, $query, $offset, $num_results) {
36 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
47 … printf("[%03d] Expecting %d result(s), got %d result(s)\n", $offset + 2, $num_results, $i);
51 … printf("[%03d] mysqli_more_results() indicates more results than expected\n", $offset + 3);
54 printf("[%03d] [%d] %s\n", $offset + 4, mysqli_errno($link), mysqli_error($link));
H A Dmysqli_stmt_bind_result_zerofill.phpt14 function zerofill($offset, $link, $datatype, $insert = 1) {
25 $offset, mysqli_errno($link), mysqli_error($link));
31 $offset, mysqli_errno($link), mysqli_error($link));
59 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $result);
64 printf("[%03d] Length reported is too small to run test\n", $offset);
/PHP-7.4/ext/spl/tests/
H A Dbug64106.phpt7 public function offsetGet($offset) { var_dump($offset); }
H A DSplObjectStorage_unserialize_bad.phpt23 Error at offset 6 of 34 bytes
24 Error at offset 46 of 89 bytes
47 Error at offset 78 of 78 bytes
H A Diterator_to_array_nonscalar_keys.phpt19 Warning: Illegal offset type in %s on line %d
21 Warning: Illegal offset type in %s on line %d
/PHP-7.4/Zend/tests/
H A Dstrict_001.phpt2 using resource as array offset
17 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
H A Dbug79779.phpt2 Bug #79779: Assertion failure when assigning property of string offset by reference
9 Fatal error: Uncaught Error: Cannot use string offset as an object in %s:%d
H A Dbug41813.phpt2 Bug #41813 (segmentation fault when using string offset as an object)
12 Fatal error: Uncaught Error: Cannot use string offset as an object in %s:%d
H A Dconst_dereference_002.phpt14 Warning: Illegal string offset 'foo' in %sconst_dereference_002.php on line %d
16 Warning: Illegal string offset 'bar' in %sconst_dereference_002.php on line %d
H A Doffset_array.phpt39 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
42 Warning: Illegal offset type in %s on line %d
45 Warning: Illegal offset type in %s on line %d
H A Dconstant_expressions_coalesce.phpt46 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
48 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
50 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
52 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
54 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
H A Dassign_dim_obj_null_return.phpt31 Warning: Illegal offset type in %s on line %d
34 Warning: Illegal offset type in %s on line %d
43 Warning: Illegal offset type in %s on line %d
46 Warning: Illegal offset type in %s on line %d
/PHP-7.4/ext/shmop/
H A Dshmop.c72 ZEND_ARG_INFO(0, offset)
313 zend_long offset; in PHP_FUNCTION() local
317 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rSl", &shmid, &data, &offset) == FAILURE) { in PHP_FUNCTION()
330 if (offset < 0 || offset > shmop->size) { in PHP_FUNCTION()
335 …e = ((zend_long)ZSTR_LEN(data) < shmop->size - offset) ? (zend_long)ZSTR_LEN(data) : shmop->size -… in PHP_FUNCTION()
336 memcpy(shmop->addr + offset, ZSTR_VAL(data), writesize); in PHP_FUNCTION()
/PHP-7.4/ext/iconv/tests/
H A Diconv_strpos_error2.phpt10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
22 $offset = 2;
25 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) );
/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp191 int32_t CodePointBreakIterator::following(int32_t offset) in following() argument
193 this->lastCodePoint = utext_next32From(this->fText, offset); in following()
201 int32_t CodePointBreakIterator::preceding(int32_t offset) in preceding() argument
203 this->lastCodePoint = utext_previous32From(this->fText, offset); in preceding()
211 UBool CodePointBreakIterator::isBoundary(int32_t offset) in isBoundary() argument
214 utext_setNativeIndex(this->fText, offset); in isBoundary()
215 return (offset == utext_getNativeIndex(this->fText)); in isBoundary()
/PHP-7.4/ext/date/tests/
H A Dtimezone_name_from_abbr_basic1.phpt24 echo "-- Lookup with name and offset--\n";
35 var_dump( timezone_name_from_abbr("", 5400) ); // offset = 1.5 hrs
36 var_dump( timezone_name_from_abbr("", 62400) ); // offset = 24 hrs
47 -- Lookup with name and offset--
/PHP-7.4/ext/standard/tests/strings/
H A Dstrpos.phpt74 1, // offset = 1
75 "string", // offset as string, converts to zero
76 NULL, // offset as string, converts to zero
77 "", // offset as string, converts to zero
270 Position of 'Hello' with offset '1' is => int(74)
271 Position of 'Hello' with offset 'string' is =>
274 Position of 'Hello' with offset '' is => int(0)
275 Position of 'Hello' with offset '' is =>
281 Position of 'Hello' with offset '0' is => int(0)
283 Position of 'Hello' with offset '' is => int(0)
[all …]
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_types_zerofill.phpt13 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) {
24 $stmt->bindValue(1, $offset);
28 printf("[%03d + 1] INSERT failed, %s\n", $offset, var_export($stmt->errorInfo(), true));
42 …printf("[%03d + 2] Fetched result seems wrong, dumping result: %s\n", $offset, var_export($row, tr…
46 if ($row['id'] != $offset) {
47 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']);
55 $offset, $pattern, var_export($row['label'], true));
69 printf("[%03d + 4] %s - input = %s/%s, output = %s/%s\n", $offset,
/PHP-7.4/ext/standard/tests/file/
H A Dbug39673.phpt23 foreach ($offsets as $offset) {
24 $r = file_get_contents($filename, false, null, $offset);

Completed in 37 milliseconds

12345678910>>...28