/PHP-7.1/ext/wddx/ |
H A D | wddx.c | 298 zend_ulong idx; in PS_SERIALIZER_DECODE_FUNC() local 311 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(retval), idx, key, ent) { in PS_SERIALIZER_DECODE_FUNC() 313 key = zend_long_to_str(idx); in PS_SERIALIZER_DECODE_FUNC() 460 zend_ulong idx; in php_wddx_serialize_object() local 514 ZEND_HASH_FOREACH_KEY_VAL(objhash, idx, key, ent) { in php_wddx_serialize_object() 528 key = zend_long_to_str(idx); in php_wddx_serialize_object() 550 zend_ulong idx; in php_wddx_serialize_array() local 556 ZEND_HASH_FOREACH_KEY(target_hash, idx, key) { in php_wddx_serialize_array() 562 if (idx != ind) { in php_wddx_serialize_array() 576 ZEND_HASH_FOREACH_KEY_VAL(target_hash, idx, key, ent) { in php_wddx_serialize_array() [all …]
|
/PHP-7.1/ext/json/ |
H A D | json_encoder.c | 49 zend_ulong index, idx; in php_json_determine_array_type() local 55 idx = 0; in php_json_determine_array_type() 60 if (index != idx) { in php_json_determine_array_type() 64 idx++; in php_json_determine_array_type()
|
/PHP-7.1/ext/zip/lib/ |
H A D | zip_extra_field.c | 362 _zip_read_local_ef(zip_t *za, zip_uint64_t idx) in _zip_read_local_ef() argument 369 if (idx >= za->nentry) { in _zip_read_local_ef() 374 e = za->entry+idx; in _zip_read_local_ef()
|
H A D | zip_open.c | 186 zip_uint64_t len, idx; in _zip_open() local 228 for (idx = 0; idx < za->nentry; idx++) { in _zip_open() 229 const zip_uint8_t *name = _zip_string_get(za->entry[idx].orig->filename, NULL, 0, error); in _zip_open() 237 if (_zip_hash_add(za->names, name, idx, ZIP_FL_UNCHANGED, &za->error) == false) { in _zip_open()
|
H A D | zip_close.c | 113 filelist[j].idx = i; in zip_close() 134 i = filelist[j].idx; in zip_close()
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 67 zend_ulong idx; in MYSQLND_METHOD() local 95 …if ((meta->zend_hash_keys[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet->metadata->sname, idx))… in MYSQLND_METHOD() 96 meta->zend_hash_keys[i].key = idx; in MYSQLND_METHOD()
|
/PHP-7.1/ext/exif/ |
H A D | test.txt | 102 foreach( $sub as $idx => $found) { 260 foreach($possible as $idx => $file) { 326 foreach( $Value as $idx => $Entry) { 327 if ($idx==='Thumbnail') $Entry = '<data>'; 329 $res .= AddInfo($Name.':'.$idx,$Entry);
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 515 void phpdbg_add_recursive_watch_from_ht(phpdbg_watch_element *element, zend_long idx, zend_string *… argument 526 …G_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), idx); 529 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent 578 zend_long idx; local 581 ZEND_HASH_FOREACH_KEY_VAL(HT_WATCH_HT(element->watch), idx, str, zv) { 582 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv); 962 zend_long idx; local 969 ZEND_HASH_REVERSE_FOREACH_KEY_VAL(HT_WATCH_HT(watch), idx, str, zv) { 971 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent 981 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
|
/PHP-7.1/Zend/ |
H A D | zend_execute_API.c | 1481 #define DISPLAY_ABSTRACT_FN(idx) \ argument 1482 ai.afn[idx] ? ZEND_FN_SCOPE_NAME(ai.afn[idx]) : "", \ 1483 ai.afn[idx] ? "::" : "", \ 1484 ai.afn[idx] ? ZSTR_VAL(ai.afn[idx]->common.function_name) : "", \ 1485 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
|
H A D | zend_API.h | 421 ZEND_API int add_index_long(zval *arg, zend_ulong idx, zend_long n); 422 ZEND_API int add_index_null(zval *arg, zend_ulong idx); 423 ZEND_API int add_index_bool(zval *arg, zend_ulong idx, int b); 424 ZEND_API int add_index_resource(zval *arg, zend_ulong idx, zend_resource *r); 425 ZEND_API int add_index_double(zval *arg, zend_ulong idx, double d); 426 ZEND_API int add_index_str(zval *arg, zend_ulong idx, zend_string *str); 427 ZEND_API int add_index_string(zval *arg, zend_ulong idx, const char *str); 428 ZEND_API int add_index_stringl(zval *arg, zend_ulong idx, const char *str, size_t length); 447 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong idx, zend_long l); 448 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong idx, double d); [all …]
|
H A D | zend_gc.c | 328 uint32_t idx = GC_ADDRESS(GC_INFO(ref)) - GC_ROOT_BUFFER_MAX_ENTRIES; in gc_find_additional_buffer() local 329 if (idx < additional_buffer->used) { in gc_find_additional_buffer() 330 gc_root_buffer *root = additional_buffer->buf + idx; in gc_find_additional_buffer()
|
H A D | zend_ast.c | 912 zend_long idx; in zend_ast_export_zval() local 944 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(zv), idx, key, val) { in zend_ast_export_zval() 955 smart_str_append_long(str, idx); in zend_ast_export_zval()
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_store_result_copy.phpt | 65 $idx = mt_rand(-100, 100); 66 if (true === @mysqli_data_seek($res, $idx)) { 69 printf("[010] Brute force seek %d returned %d\n", $idx, var_export($row, true));
|
/PHP-7.1/ext/standard/ |
H A D | var_unserializer.c | 380 zend_ulong idx; in process_nested_data() local 394 idx = Z_LVAL(key); in process_nested_data() 396 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { in process_nested_data() 399 data = zend_hash_index_update(ht, idx, &d); in process_nested_data() 401 data = zend_hash_index_add_new(ht, idx, &d); in process_nested_data() 404 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) { in process_nested_data()
|
H A D | var_unserializer.re | 384 zend_ulong idx; 398 idx = Z_LVAL(key); 400 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { 403 data = zend_hash_index_update(ht, idx, &d); 405 data = zend_hash_index_add_new(ht, idx, &d); 408 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) {
|
H A D | string.c | 1691 ptrdiff_t idx; local 1700 idx = p - ZSTR_VAL(ret); 1701 add_assoc_stringl(&tmp, "extension", ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); 1707 ptrdiff_t idx; local 4417 uint32_t idx; local 4424 idx = 0; 4427 while (idx < Z_ARRVAL(args[0])->nNumUsed) { 4428 plocale = &Z_ARRVAL(args[0])->arData[idx].val; 4432 idx++; 4434 if (idx >= Z_ARRVAL(args[0])->nNumUsed) { [all …]
|
/PHP-7.1/ |
H A D | server-tests.php | 125 foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d- ", $idx+1).$val; 126 foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+ ", $idx+1).$val;
|
/PHP-7.1/ext/gd/libgd/ |
H A D | gd_png.c | 395 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx() local 396 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx() 397 open[idx] = 0; in gdImageCreateFromPngCtx()
|
/PHP-7.1/ext/pdo/ |
H A D | pdo_stmt.c | 828 int flags, idx, old_arg_count = 0; in do_fetch() local 1012 for (idx = 0; i < stmt->column_count; i++, idx++) { in do_fetch() 1093 if ((flags & PDO_FETCH_SERIALIZE) == 0 || idx) { in do_fetch() 1127 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch() 1128 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch() 1162 stmt->fetch.func.fci.param_count = idx; in do_fetch() 1175 while (idx--) { in do_fetch() 1176 zval_ptr_dtor(&stmt->fetch.func.values[idx]); in do_fetch()
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1978 size_t idx; in magiccheck() local 1987 for (idx = 0; m->str_range == 0 || idx < m->str_range; idx++) { in magiccheck() 1988 if (slen + idx > ms->search.s_len) in magiccheck() 1991 v = file_strncmp(m->value.s, ms->search.s + idx, slen, in magiccheck() 1994 ms->search.offset += idx; in magiccheck() 1995 ms->search.rm_len = m->str_range - idx; in magiccheck()
|
H A D | apprentice.c | 385 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist() argument 389 mlp->map = idx == 0 ? map : NULL; in add_mlist() 394 ml->magic = map->magic[idx]; in add_mlist() 395 ml->nmagic = map->nmagic[idx]; in add_mlist()
|
/PHP-7.1/ext/spl/ |
H A D | spl_directory.c | 920 size_t idx; in SPL_METHOD() local 941 idx = p - ZSTR_VAL(ret); in SPL_METHOD() 942 RETVAL_STRINGL(ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); in SPL_METHOD() 958 size_t idx; in SPL_METHOD() local 969 idx = p - ZSTR_VAL(fname); in SPL_METHOD() 970 RETVAL_STRINGL(ZSTR_VAL(fname) + idx + 1, ZSTR_LEN(fname) - idx - 1); in SPL_METHOD() 2203 uint idx = 0; in spl_filesystem_file_is_empty_line() local 2206 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line() 2207 idx++; in spl_filesystem_file_is_empty_line() 2209 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()
|
/PHP-7.1/ext/pdo/tests/ |
H A D | pdo_018.phpt | 109 $stmt->bindParam(':id', $idx); 113 foreach($objs as $idx => $obj)
|
/PHP-7.1/ext/intl/tests/ |
H A D | ut_common.inc | 421 function ut_resourcebundle_get($bundle, $idx ) 423 return $GLOBALS['oo-mode'] ? $bundle->get($idx):resourcebundle_get($bundle, $idx);
|
/PHP-7.1/ext/com_dotnet/ |
H A D | com_com.c | 264 UINT idx; in PHP_FUNCTION() local 266 if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { in PHP_FUNCTION()
|