/PHP-7.3/ext/com_dotnet/ |
H A D | com_typeinfo.c | 72 UINT idx; in php_com_load_typelib() local 76 hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx); in php_com_load_typelib() 296 unsigned int idx; in php_com_locate_typeinfo() local 298 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); in php_com_locate_typeinfo() 303 unsigned int idx; in php_com_locate_typeinfo() local 305 ITypeInfo_GetContainingTypeLib(typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
|
/PHP-7.3/ext/spl/tests/ |
H A D | spl_autoload_007.phpt | 40 foreach($funcs as $idx => $func) 42 if ($idx) echo "\n";
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_dirent.c | 115 zip_entry_t *entry = za->entry+filelist[i].idx; in _zip_cdir_write() 870 _zip_get_dirent(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) in _zip_get_dirent() argument 875 if (idx >= za->nentry) { in _zip_get_dirent() 880 if ((flags & ZIP_FL_UNCHANGED) || za->entry[idx].changes == NULL) { in _zip_get_dirent() 881 if (za->entry[idx].orig == NULL) { in _zip_get_dirent() 885 if (za->entry[idx].deleted && (flags & ZIP_FL_UNCHANGED) == 0) { in _zip_get_dirent() 889 return za->entry[idx].orig; in _zip_get_dirent() 892 return za->entry[idx].changes; in _zip_get_dirent()
|
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.3/main/ |
H A D | fastcgi.c | 183 unsigned int idx; member 261 h->buckets->idx = 0; in fcgi_hash_init() 299 h->buckets->idx = 0; in fcgi_hash_clean() 333 fcgi_hash_bucket *p = h->hash_table[idx]; in fcgi_hash_set() 349 b->idx = 0; in fcgi_hash_set() 353 p = h->buckets->data + h->buckets->idx; in fcgi_hash_set() 354 h->buckets->idx++; in fcgi_hash_set() 355 p->next = h->hash_table[idx]; in fcgi_hash_set() 356 h->hash_table[idx] = p; in fcgi_hash_set() 370 fcgi_hash_bucket **p = &h->hash_table[idx]; in fcgi_hash_del() [all …]
|
H A D | php_variables.c | 252 zend_ulong idx; in php_register_variable_ex() local 264 } else if (ZEND_HANDLE_NUMERIC_STR(index, index_len, idx)) { in php_register_variable_ex() 265 zend_hash_index_update(symtable1, idx, val); in php_register_variable_ex() 553 zend_ulong idx; in import_environment_variable() local 572 if (ZEND_HANDLE_NUMERIC_STR(env, name_len, idx)) { in import_environment_variable() 573 zend_hash_index_update(ht, idx, &val); in import_environment_variable()
|
/PHP-7.3/ext/wddx/ |
H A D | wddx.c | 296 zend_ulong idx; in PS_SERIALIZER_DECODE_FUNC() local 309 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(retval), idx, key, ent) { in PS_SERIALIZER_DECODE_FUNC() 311 key = zend_long_to_str(idx); in PS_SERIALIZER_DECODE_FUNC() 458 zend_ulong idx; in php_wddx_serialize_object() local 512 ZEND_HASH_FOREACH_KEY_VAL(objhash, idx, key, ent) { in php_wddx_serialize_object() 526 key = zend_long_to_str(idx); in php_wddx_serialize_object() 548 zend_ulong idx; in php_wddx_serialize_array() local 554 ZEND_HASH_FOREACH_KEY(target_hash, idx, key) { in php_wddx_serialize_array() 560 if (idx != ind) { in php_wddx_serialize_array() 574 ZEND_HASH_FOREACH_KEY_VAL(target_hash, idx, key, ent) { in php_wddx_serialize_array() [all …]
|
/PHP-7.3/ext/json/ |
H A D | json_encoder.c | 47 zend_ulong index, idx; in php_json_determine_array_type() local 53 idx = 0; in php_json_determine_array_type() 58 if (index != idx) { in php_json_determine_array_type() 62 idx++; in php_json_determine_array_type()
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 57 zend_ulong idx; in MYSQLND_METHOD() local 83 if ((meta->fields[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet.metadata->sname, idx))) { in MYSQLND_METHOD() 84 meta->fields[i].num_key = idx; in MYSQLND_METHOD()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 516 void phpdbg_add_recursive_watch_from_ht(phpdbg_watch_element *element, zend_long idx, zend_string *… argument 527 …G_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), idx); 530 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent 579 zend_long idx; local 582 ZEND_HASH_FOREACH_KEY_VAL(HT_WATCH_HT(element->watch), idx, str, zv) { 583 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv); 963 zend_long idx; local 970 ZEND_HASH_REVERSE_FOREACH_KEY_VAL(HT_WATCH_HT(watch), idx, str, zv) { 972 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent 982 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
|
/PHP-7.3/Zend/ |
H A D | zend_execute_API.c | 1383 #define DISPLAY_ABSTRACT_FN(idx) \ argument 1384 ai.afn[idx] ? ZEND_FN_SCOPE_NAME(ai.afn[idx]) : "", \ 1385 ai.afn[idx] ? "::" : "", \ 1386 ai.afn[idx] ? ZSTR_VAL(ai.afn[idx]->common.function_name) : "", \ 1387 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
|
H A D | zend_object_handlers.c | 641 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_read_property() local 643 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property() 644 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_read_property() 660 uintptr_t idx = (char*)retval - (char*)zobj->properties->arData; in zend_std_read_property() local 661 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_read_property() 1610 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_has_property() local 1612 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property() 1613 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_has_property() 1629 uintptr_t idx = (char*)value - (char*)zobj->properties->arData; in zend_std_has_property() local 1630 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_has_property()
|
H A D | zend_API.h | 414 ZEND_API int add_index_long(zval *arg, zend_ulong idx, zend_long n); 415 ZEND_API int add_index_null(zval *arg, zend_ulong idx); 416 ZEND_API int add_index_bool(zval *arg, zend_ulong idx, int b); 417 ZEND_API int add_index_resource(zval *arg, zend_ulong idx, zend_resource *r); 418 ZEND_API int add_index_double(zval *arg, zend_ulong idx, double d); 419 ZEND_API int add_index_str(zval *arg, zend_ulong idx, zend_string *str); 420 ZEND_API int add_index_string(zval *arg, zend_ulong idx, const char *str); 421 ZEND_API int add_index_stringl(zval *arg, zend_ulong idx, const char *str, size_t length); 440 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong idx, zend_long l); 441 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong idx, double d); [all …]
|
H A D | zend_string.h | 73 #define ZSTR_KNOWN(idx) zend_known_strings[idx] in END_EXTERN_C() argument
|
/PHP-7.3/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.3/ext/standard/ |
H A D | var_unserializer.c | 396 zend_ulong idx; in process_nested_data() local 410 idx = Z_LVAL(key); in process_nested_data() 412 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { in process_nested_data() 415 data = zend_hash_index_update(ht, idx, &d); in process_nested_data() 417 data = zend_hash_index_add_new(ht, idx, &d); in process_nested_data() 420 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) { in process_nested_data()
|
H A D | var_unserializer.re | 400 zend_ulong idx; 414 idx = Z_LVAL(key); 416 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { 419 data = zend_hash_index_update(ht, idx, &d); 421 data = zend_hash_index_add_new(ht, idx, &d); 424 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) {
|
/PHP-7.3/ |
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.3/ext/pdo/ |
H A D | pdo_stmt.c | 824 int flags, idx, old_arg_count = 0; in do_fetch() local 1007 for (idx = 0; i < stmt->column_count; i++, idx++) { in do_fetch() 1088 if ((flags & PDO_FETCH_SERIALIZE) == 0 || idx) { in do_fetch() 1122 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch() 1123 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch() 1157 stmt->fetch.func.fci.param_count = idx; in do_fetch() 1170 while (idx--) { in do_fetch() 1171 zval_ptr_dtor(&stmt->fetch.func.values[idx]); in do_fetch()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_png.c | 410 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx() local 411 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx() 412 open[idx] = 0; in gdImageCreateFromPngCtx()
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1981 size_t idx; in magiccheck() local 1990 for (idx = 0; m->str_range == 0 || idx < m->str_range; idx++) { in magiccheck() 1991 if (slen + idx > ms->search.s_len) in magiccheck() 1994 v = file_strncmp(m->value.s, ms->search.s + idx, slen, in magiccheck() 1997 ms->search.offset += idx; in magiccheck() 1998 ms->search.rm_len = ms->search.s_len - idx; in magiccheck()
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 942 size_t idx; in SPL_METHOD() local 963 idx = p - ZSTR_VAL(ret); in SPL_METHOD() 964 RETVAL_STRINGL(ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); in SPL_METHOD() 980 size_t idx; in SPL_METHOD() local 991 idx = p - ZSTR_VAL(fname); in SPL_METHOD() 992 RETVAL_STRINGL(ZSTR_VAL(fname) + idx + 1, ZSTR_LEN(fname) - idx - 1); in SPL_METHOD() 2205 uint32_t idx = 0; in spl_filesystem_file_is_empty_line() local 2208 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line() 2209 idx++; in spl_filesystem_file_is_empty_line() 2211 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()
|
/PHP-7.3/ext/pdo/tests/ |
H A D | pdo_018.phpt | 119 $stmt->bindParam(':id', $idx); 123 foreach($objs as $idx => $obj)
|