Home
last modified time | relevance | path

Searched refs:idx (Results 76 – 100 of 127) sorted by relevance

123456

/php-src/Zend/Optimizer/
H A Dzend_optimizer.h98 ZEND_API void zend_optimizer_unregister_pass(int idx);
/php-src/main/
H A Dfastcgi.c179 unsigned int idx; member
257 h->buckets->idx = 0; in fcgi_hash_init()
295 h->buckets->idx = 0; in fcgi_hash_clean()
329 fcgi_hash_bucket *p = h->hash_table[idx]; in fcgi_hash_set()
345 b->idx = 0; in fcgi_hash_set()
349 p = h->buckets->data + h->buckets->idx; in fcgi_hash_set()
350 h->buckets->idx++; in fcgi_hash_set()
351 p->next = h->hash_table[idx]; in fcgi_hash_set()
352 h->hash_table[idx] = p; in fcgi_hash_set()
366 fcgi_hash_bucket **p = &h->hash_table[idx]; in fcgi_hash_del()
[all …]
H A Dphp_variables.c76 zend_ulong idx; in php_register_known_variable() local
77 ZEND_ASSERT(!ZEND_HANDLE_NUMERIC_STR(var_name, var_name_len, idx)); in php_register_known_variable()
310 zend_ulong idx; in php_register_variable_ex() local
322 } else if (ZEND_HANDLE_NUMERIC_STR(index, index_len, idx)) { in php_register_variable_ex()
323 zend_hash_index_update(symtable1, idx, val); in php_register_variable_ex()
609 zend_ulong idx; in import_environment_variable() local
622 if (ZEND_HANDLE_NUMERIC_STR(env, name_len, idx)) { in import_environment_variable()
623 zend_hash_index_update(ht, idx, &val); in import_environment_variable()
/php-src/ext/pdo_firebird/tests/
H A Dpdofirebird_001.phpt17 $db->query('CREATE TABLE pdofirebird_001 (idx INT NOT NULL PRIMARY KEY, name VARCHAR(20))');
H A Dpdofirebird_002.phpt20 $db->query('CREATE TABLE pdofirebird_002 (idx INT NOT NULL PRIMARY KEY, name VARCHAR(20))');
/php-src/ext/mysqlnd/
H A Dmysqlnd_result_meta.c55 zend_ulong idx; in MYSQLND_METHOD() local
81 if ((meta->fields[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet.metadata->sname, idx))) { in MYSQLND_METHOD()
82 meta->fields[i].num_key = idx; in MYSQLND_METHOD()
/php-src/win32/
H A Dioutil.c603 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w() local
612 for (; (size_t)(idx - *buf) <= len; idx++, pos++) { in php_win32_ioutil_normalize_path_w()
613 *pos = *idx; in php_win32_ioutil_normalize_path_w()
617 while (PHP_WIN32_IOUTIL_IS_SLASHW(*idx) && PHP_WIN32_IOUTIL_IS_SLASHW(*(idx+1))) { in php_win32_ioutil_normalize_path_w()
618 idx++; in php_win32_ioutil_normalize_path_w()
/php-src/ext/opcache/jit/ir/
H A Dir_private.h520 uint32_t idx = IR_SPARSE_SET_SPARSE(set, n); in ir_sparse_set_in() local
522 return idx < set->len && IR_SPARSE_SET_DENSE(set, idx) == n; in ir_sparse_set_in()
527 uint32_t idx; in ir_sparse_set_add() local
530 idx = set->len++; in ir_sparse_set_add()
531 IR_SPARSE_SET_DENSE(set, idx) = n; in ir_sparse_set_add()
532 IR_SPARSE_SET_SPARSE(set, n) = idx; in ir_sparse_set_add()
542 uint32_t idx = IR_SPARSE_SET_SPARSE(set, n); in ir_sparse_set_del() local
544 IR_SPARSE_SET_DENSE(set, idx) = last; in ir_sparse_set_del()
545 IR_SPARSE_SET_SPARSE(set, last) = idx; in ir_sparse_set_del()
/php-src/ext/fileinfo/libmagic/
H A Dsoftmagic.c2231 size_t idx; in magiccheck() local
2242 idx = m->str_range + slen; in magiccheck()
2244 idx = ms->search.s_len; in magiccheck()
2246 m->value.s, slen, ms->search.s + idx)); in magiccheck()
2251 idx = found - ms->search.s; in magiccheck()
2252 ms->search.offset += idx; in magiccheck()
2253 ms->search.rm_len = ms->search.s_len - idx; in magiccheck()
2258 for (idx = 0; m->str_range == 0 || idx < m->str_range; idx++) { in magiccheck()
2259 if (slen + idx > ms->search.s_len) { in magiccheck()
2265 ms->search.s_len - idx, m->str_flags); in magiccheck()
[all …]
/php-src/ext/dom/lexbor/patches/
H A D0001-Shrink-size-of-static-binary-search-tree.patch83 idx = end = entities_bst_create_tree(index, bst, begin)
84 @@ -114,7 +114,7 @@ def entities_bst_create_tree(index, bst, idx):
/php-src/ext/standard/
H A Dmail.c188 zend_ulong idx; in php_mail_build_headers() local
193 ZEND_HASH_FOREACH_KEY_VAL(headers, idx, key, val) { in php_mail_build_headers()
195 zend_type_error("Header name cannot be numeric, " ZEND_LONG_FMT " given", idx); in php_mail_build_headers()
/php-src/sapi/phpdbg/
H A Dphpdbg_watch.c571 void phpdbg_add_recursive_watch_from_ht(phpdbg_watch_element *element, zend_long idx, zend_string *… argument
582 …G_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), idx);
585 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent
634 zend_long idx; local
637 ZEND_HASH_FOREACH_KEY_VAL(HT_WATCH_HT(element->watch), idx, str, zv) {
638 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
1013 zend_long idx; local
1020 ZEND_HASH_REVERSE_FOREACH_KEY_VAL(HT_WATCH_HT(watch), idx, str, zv) {
1022 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent
1032 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
/php-src/ext/xmlreader/tests/
H A D014.phpt11 <books><book num="1" idx="2">book1</book></books>';
H A D003-get-errors.phpt11 <books><book num="1" idx="2">book1</book></books>';
H A D003-move-errors.phpt11 <books><book num="1" idx="2">book1</book></books>';
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_body.c496 size_t idx = tree->open_elements->length; in lxb_html_tree_insertion_mode_in_body_li() local
500 while (idx != 0) { in lxb_html_tree_insertion_mode_in_body_li()
501 idx--; in lxb_html_tree_insertion_mode_in_body_li()
503 node = list[idx]; in lxb_html_tree_insertion_mode_in_body_li()
560 size_t idx = tree->open_elements->length; in lxb_html_tree_insertion_mode_in_body_dd_dt() local
564 while (idx != 0) { in lxb_html_tree_insertion_mode_in_body_dd_dt()
565 idx--; in lxb_html_tree_insertion_mode_in_body_dd_dt()
567 node = list[idx]; in lxb_html_tree_insertion_mode_in_body_dd_dt()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dencoding.c561 lxb_html_encoding_meta_entry_noi(lxb_html_encoding_t *em, size_t idx) in lxb_html_encoding_meta_entry_noi() argument
563 return lxb_html_encoding_meta_entry(em, idx); in lxb_html_encoding_meta_entry_noi()
/php-src/ext/mysqli/tests/
H A Dmysqli_store_result_copy.phpt57 $idx = mt_rand(-100, 100);
59 if (true === @mysqli_data_seek($res, $idx)) {
62 printf("[010] Brute force seek %d returned %d\n", $idx, var_export($row, true));
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c46 static inline void fpm_sockets_get_env_name(char *envname, unsigned idx) /* {{{ */ in fpm_sockets_get_env_name() argument
48 if (!idx) { in fpm_sockets_get_env_name()
51 sprintf(envname, "FPM_SOCKETS_%d", idx); in fpm_sockets_get_env_name()
/php-src/ext/dom/lexbor/lexbor/css/
H A Dparser.h305 lxb_css_parser_failed_set_by_id(lxb_css_parser_t *parser, int idx, bool is) in lxb_css_parser_failed_set_by_id() argument
307 lxb_css_syntax_rule_t *rules = parser->rules + idx; in lxb_css_parser_failed_set_by_id()
/php-src/Zend/
H A Dzend_object_handlers.c659 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_read_property() local
661 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property()
662 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_read_property()
677 uintptr_t idx = (char*)retval - (char*)zobj->properties->arData; in zend_std_read_property() local
678 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_read_property()
1835 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_has_property() local
1837 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property()
1838 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_has_property()
1853 uintptr_t idx = (char*)value - (char*)zobj->properties->arData; in zend_std_has_property() local
1854 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_has_property()
/php-src/ext/pdo/
H A Dpdo_stmt.c720 int flags, idx, old_arg_count = 0; in do_fetch() local
911 for (idx = 0; i < stmt->column_count; i++, idx++) { in do_fetch()
991 if ((flags & PDO_FETCH_SERIALIZE) == 0 || idx) { in do_fetch()
1014 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch()
1015 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch()
1049 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1063 while (idx--) { in do_fetch()
1064 zval_ptr_dtor(&stmt->fetch.func.values[idx]); in do_fetch()
/php-src/ext/gd/libgd/
H A Dgd_png.c420 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx() local
421 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx()
422 open[idx] = 0; in gdImageCreateFromPngCtx()
/php-src/ext/opcache/
H A Dzend_persist.c94 uint32_t idx, nIndex; in zend_hash_persist() local
149 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
150 p = ht->arData + idx; in zend_hash_persist()
154 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in zend_hash_persist()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_mips.lua905 local function parse_index(idx)
906 local rt, rs = match(idx, "^(.*)%(([%w_:]+)%)$")
912 werror("bad index `"..idx.."'")

Completed in 132 milliseconds

123456