/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindparam_types.phpt | 31 printf("[%03d/%s + 1] %s\n", $offset, ($native) ? 'native' : 'emulated', 36 printf("[%03d/%s + 2] %s\n", $offset, ($native) ? 'native' : 'emulated', 44 printf("[%03d/%s + 3] %s\n", $offset, ($native) ? 'native' : 'emulated', 49 printf("[%03d/%s + 4] %s\n", $offset, ($native) ? 'native' : 'emulated', 55 printf("[%03d/%s + 5] %s\n", $offset, ($native) ? 'native' : 'emulated', 63 $offset, ($native) ? 'native' : 'emulated', 71 printf("[%03d/%s + 7] %s\n", $offset, ($native) ? 'native' : 'emulated', 78 $offset, ($native) ? 'native' : 'emulated', 85 $offset, ($native) ? 'native' : 'emulated', 94 function pdo_mysql_stmt_bindparam_types($db, $offset, $sql_type, $value) { [all …]
|
H A D | pdo_mysql_fetch_both.phpt | 15 function fetch($offset, &$db, $query, $expect = null) { 29 printf("[%03d] Suspicious FETCH_BOTH result, dumping\n", $offset); 35 printf("[%03d] Expected differes from returned data, dumping\n", $offset); 43 $offset,
|
/PHP-5.5/ext/dom/tests/ |
H A D | DOMComment_insertData_error1.phpt | 11 //Negative offset 18 echo "Throws DOMException for -ve offset\n"; 24 Throws DOMException for -ve offset
|
H A D | DOMComment_insertData_error2.phpt | 11 //offset to large 18 echo "Throws DOMException for offset too large\n"; 24 Throws DOMException for offset too large
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_result_metadata_sqltests.phpt | 19 $offset, $sql, 32 $offset + 1, $sql); 36 $offset + 2, $sql); 42 $offset + 3, $sql, 79 $offset + 5, $sql); 90 $offset + 6, $sql, 98 $offset + 7, $sql, 103 $offset + 8, $sql, 110 $offset + 9, $sql, 116 $offset + 10, $sql, [all …]
|
H A D | mysqli_fetch_assoc_zerofill.phpt | 14 function zerofill($offset, $link, $datatype, $insert = 1) { 25 $offset, mysqli_errno($link), mysqli_error($link)); 31 $offset, mysqli_errno($link), mysqli_error($link)); 45 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']); 50 printf("[%03d] Length reported is too small to run test\n", $offset);
|
H A D | mysqli_fetch_array_large.phpt | 14 function mysqli_fetch_array_large($offset, $link, $package_size) { 35 … printf("[%03d + 1] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link)); 41 … printf("[%03d + 2] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link)); 48 $offset, $random_char, $row['label'], $len, mysqli_errno($link), mysqli_error($link)); 55 … printf("[%03d + 4] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link)); 61 …printf("[%03d + 5] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_… 67 …printf("[%03d + 6] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_… 74 $offset, $random_char, $label, $len, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 121 $offset = 3; 135 if (!mysqli_fetch_array_large($offset++, $link, $package_size)) {
|
H A D | mysqli_num_fields.phpt | 24 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 NULL, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_open.c | 205 cd->offset = _zip_read4(&cdp); in _zip_readcdir() 240 if (cd->offset >= buf_offset) { in _zip_readcdir() 242 cdp = buf + (cd->offset - buf_offset); in _zip_readcdir() 249 fseeko(fp, cd->offset, SEEK_SET); in _zip_readcdir() 306 max = cd->entry[0].offset; in _zip_checkcons() 307 min = cd->entry[0].offset; in _zip_checkcons() 313 if (cd->entry[i].offset < min) in _zip_checkcons() 314 min = cd->entry[i].offset; in _zip_checkcons() 315 if (min > cd->offset) { in _zip_checkcons() 324 if (max > cd->offset) { in _zip_checkcons() [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | include_userstream_003.phpt | 53 function stream_seek($offset, $whence) 56 return fseek($this->stream, $offset, $whence); 60 if ($offset < $this->data && $offset >= 0) { 61 $this->pos = $offset; 68 if ($offset >= 0) { 69 $this->pos += $offset; 76 if (strlen($this->data) + $offset >= 0) { 77 $this->pos = strlen($this->data) + $offset;
|
/PHP-5.5/main/streams/ |
H A D | mmap.c | 25 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() argument 29 range.offset = offset; in _php_stream_mmap_range()
|
/PHP-5.5/ext/intl/grapheme/ |
H A D | grapheme_string.c | 115 int32_t offset = 0, noffset = 0; in PHP_FUNCTION() local 134 offset = (int32_t) loffset; in PHP_FUNCTION() 135 noffset = offset >= 0 ? offset : haystack_len + offset; in PHP_FUNCTION() 183 int32_t offset = 0; in PHP_FUNCTION() local 203 offset = (int32_t) loffset; in PHP_FUNCTION() 218 int32_t noffset = offset >= 0 ? offset : haystack_len + offset; in PHP_FUNCTION() 258 int32_t offset = 0; in PHP_FUNCTION() local 278 offset = (int32_t) loffset; in PHP_FUNCTION() 293 ret_pos = grapheme_strrpos_ascii(haystack, haystack_len, needle, needle_len, offset); in PHP_FUNCTION() 328 int32_t offset = 0; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug40833.phpt | 38 function offsetUnset($offset) 44 function offsetSet($offset, $value) 48 function offsetGet($offset) 53 function offsetExists($offset)
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_strpos.phpt | 14 function foo($haystk, $needle, $offset, $to_charset = false, $from_charset = false) 19 var_dump(strpos($haystk, $needle, $offset)); 21 var_dump(iconv_strpos($haystk, $needle, $offset, $to_charset)); 23 var_dump(iconv_strpos($haystk, $needle, $offset));
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strpos.phpt | 74 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 253 Position of 'Hello' with offset '1' is => int(74) 254 Position of 'Hello' with offset 'string' is => 257 Position of 'Hello' with offset '' is => int(0) 258 Position of 'Hello' with offset '' is => 264 Position of 'Hello' with offset '0' is => int(0) 266 Position of 'Hello' with offset '' is => int(0) [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_trace_mach.c | 85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() local 86 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long() 94 *data = * (long *) (local_page + offset); in fpm_trace_get_long()
|
/PHP-5.5/ext/standard/ |
H A D | flock_compat.c | 126 OVERLAPPED offset = 135 UnlockFileEx(hdl, 0, low, high, &offset); 140 0, low, high, &offset)) 145 0, low, high, &offset))
|
/PHP-5.5/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 184 int32_t CodePointBreakIterator::following(int32_t offset) in following() argument 186 this->lastCodePoint = utext_next32From(this->fText, offset); in following() 194 int32_t CodePointBreakIterator::preceding(int32_t offset) in preceding() argument 196 this->lastCodePoint = utext_previous32From(this->fText, offset); in preceding() 204 UBool CodePointBreakIterator::isBoundary(int32_t offset) in isBoundary() argument 207 utext_setNativeIndex(this->fText, offset); in isBoundary() 208 return (offset == utext_getNativeIndex(this->fText)); in isBoundary()
|
/PHP-5.5/ext/shmop/ |
H A D | shmop.c | 73 ZEND_ARG_INFO(0, offset) 318 long shmid, offset; in PHP_FUNCTION() local 322 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsl", &shmid, &data, &data_len, &offset) == … in PHP_FUNCTION() 333 if (offset < 0 || offset > shmop->size) { in PHP_FUNCTION() 338 writesize = (data_len < shmop->size - offset) ? data_len : shmop->size - offset; in PHP_FUNCTION() 339 memcpy(shmop->addr + offset, data, writesize); in PHP_FUNCTION()
|
/PHP-5.5/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 162 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback… in resourcebundle_array_fetch() argument 173 if(Z_TYPE_P(offset) == IS_LONG) { in resourcebundle_array_fetch() 175 meindex = Z_LVAL_P(offset); in resourcebundle_array_fetch() 177 } else if(Z_TYPE_P(offset) == IS_STRING) { in resourcebundle_array_fetch() 178 mekey = Z_STRVAL_P(offset); in resourcebundle_array_fetch() 216 zval *resourcebundle_array_get(zval *object, zval *offset, int type TSRMLS_DC) in resourcebundle_array_get() argument 220 if(offset == NULL) { in resourcebundle_array_get() 225 resourcebundle_array_fetch(object, offset, retval, 1 TSRMLS_CC); in resourcebundle_array_get() 245 zval * offset; in ZEND_END_ARG_INFO() local 248 …UM_ARGS() TSRMLS_CC, getThis(), "Oz|b", &object, ResourceBundle_ce_ptr, &offset, &fallback ) == FA… in ZEND_END_ARG_INFO() [all …]
|
/PHP-5.5/ext/oci8/tests/ |
H A D | bug51291_1.phpt | 151 ["offset"]=> 162 ["offset"]=> 177 ["offset"]=> 192 ["offset"]=> 205 ["offset"]=> 216 ["offset"]=> 230 ["offset"]=> 243 ["offset"]=> 257 ["offset"]=> 271 ["offset"]=> [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug53362.phpt | 7 public function offsetSet($offset, $value) { 8 var_dump($offset);
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_slice_error.phpt | 5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 6 * Description: Returns elements specified by offset and length 19 $offset = 10; 23 var_dump( array_slice($input, $offset, $length, $preserve_keys, $extra_arg) );
|
/PHP-5.5/Zend/ |
H A D | zend_qsort.c | 67 uint offset; in zend_qsort_r() local 77 offset = (end - begin) >> 1; in zend_qsort_r() 78 _zend_qsort_swap(begin, begin + (offset - (offset % siz)), siz); in zend_qsort_r()
|
/PHP-5.5/scripts/dev/ |
H A D | check_parameters.php | 78 function update_lineno($offset) argument 90 if ($val < $offset) { 91 if (++$mid > $count || $lines_offset[$mid] > $offset) { 97 } else if ($val > $offset) { 98 if ($lines_offset[--$mid] < $offset) { 199 function check_function($name, $txt, $offset) argument 209 update_lineno($offset + $m[2][1]);
|