Home
last modified time | relevance | path

Searched refs:idx (Results 51 – 75 of 100) sorted by relevance

1234

/PHP-8.1/ext/mbstring/ucgendat/
H A Ducgendat.php456 $idx = 0;
459 $propOffsets[] = $idx;
460 $idx += 2*$num;
464 $propOffsets[] = $idx;
473 $totalRanges = $idx;
520 $idx = count($data->extraCaseData);
521 $data->caseMaps[$type][$code] = ($len << 24) | $idx;
/PHP-8.1/ext/spl/tests/
H A Dspl_autoload_008.phpt41 foreach($funcs as $idx => $func)
43 echo "====$idx====\n";
H A Dspl_autoload_007.phpt40 foreach($funcs as $idx => $func)
42 if ($idx) echo "\n";
/PHP-8.1/Zend/
H A Dzend_portability.h212 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument
214 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) argument
218 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument
220 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) argument
H A Dzend_object_handlers.c625 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_read_property() local
627 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property()
628 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_read_property()
644 uintptr_t idx = (char*)retval - (char*)zobj->properties->arData; in zend_std_read_property() local
645 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_read_property()
1757 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_has_property() local
1759 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property()
1760 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_has_property()
1776 uintptr_t idx = (char*)value - (char*)zobj->properties->arData; in zend_std_has_property() local
1777 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_has_property()
/PHP-8.1/ext/gd/libgd/
H A Dgd_jpeg.c259 int idx = im->pixels[i][j]; in _gdImageJpegCtx() local
266 row[jidx++] = im->red[idx]; in _gdImageJpegCtx()
267 row[jidx++] = im->green[idx]; in _gdImageJpegCtx()
268 row[jidx++] = im->blue[idx]; in _gdImageJpegCtx()
270 row[jidx++] = im->red[idx] << 4; in _gdImageJpegCtx()
271 row[jidx++] = im->green[idx] << 4; in _gdImageJpegCtx()
272 row[jidx++] = im->blue[idx] << 4; in _gdImageJpegCtx()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c232 zend_ulong idx; in zend_jit_symtable_find() local
248 return zend_hash_index_find(ht, idx); in zend_jit_symtable_find()
260 retval = _zend_hash_index_find(ht, idx); in zend_jit_hash_index_lookup_rw_no_packed()
270 zval *retval = zend_hash_index_find(ht, idx); in zend_jit_hash_index_lookup_rw()
290 zend_ulong idx; in zend_jit_symtable_lookup_rw() local
307 retval = zend_hash_index_find(ht, idx); in zend_jit_symtable_lookup_rw()
325 zend_ulong idx; in zend_jit_symtable_lookup_w() local
341 return zend_hash_index_lookup(ht, idx); in zend_jit_symtable_lookup_w()
1761 uintptr_t idx; in zend_jit_fetch_global_helper() local
1785 CACHE_PTR_EX(cache_slot, (void*)(idx + 1)); in zend_jit_fetch_global_helper()
[all …]
/PHP-8.1/ext/opcache/jit/dynasm/
H A Ddasm_arm.h296 int idx; in dasm_link() local
297 for (idx = 10; idx*sizeof(int) < D->lgsize; idx++) { in dasm_link()
298 int n = D->lglabels[idx]; in dasm_link()
300 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
H A Dminilua.c5205 setnvalue(ra,idx);
5314 if(idx>0){
5321 luai_apicheck(L,idx!=0&&-idx<=L->top-L->base);
5322 return L->top+idx;
5324 else switch(idx){
5334 idx=(-10002)-idx;
5370 if(idx>=0){
5378 L->top+=idx+1;
5403 if(idx==(-10001)){
5411 if(idx<(-10002))
[all …]
H A Ddasm_arm64.h365 int idx; in dasm_link() local
366 for (idx = 10; idx*sizeof(int) < D->lgsize; idx++) { in dasm_link()
367 int n = D->lglabels[idx]; in dasm_link()
369 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
/PHP-8.1/ext/com_dotnet/
H A Dcom_typeinfo.c97 UINT idx; in php_com_load_typelib() local
101 hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx); in php_com_load_typelib()
335 unsigned int idx; in php_com_locate_typeinfo() local
337 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
342 unsigned int idx; in php_com_locate_typeinfo() local
344 ITypeInfo_GetContainingTypeLib(typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
/PHP-8.1/Zend/Optimizer/
H A Dzend_optimizer.h99 ZEND_API void zend_optimizer_unregister_pass(int idx);
/PHP-8.1/main/
H A Dfastcgi.c181 unsigned int idx; member
259 h->buckets->idx = 0; in fcgi_hash_init()
297 h->buckets->idx = 0; in fcgi_hash_clean()
331 fcgi_hash_bucket *p = h->hash_table[idx]; in fcgi_hash_set()
347 b->idx = 0; in fcgi_hash_set()
351 p = h->buckets->data + h->buckets->idx; in fcgi_hash_set()
352 h->buckets->idx++; in fcgi_hash_set()
353 p->next = h->hash_table[idx]; in fcgi_hash_set()
354 h->hash_table[idx] = p; in fcgi_hash_set()
368 fcgi_hash_bucket **p = &h->hash_table[idx]; in fcgi_hash_del()
[all …]
H A Dphp_variables.c274 zend_ulong idx; in php_register_variable_ex() local
286 } else if (ZEND_HANDLE_NUMERIC_STR(index, index_len, idx)) { in php_register_variable_ex()
287 zend_hash_index_update(symtable1, idx, val); in php_register_variable_ex()
572 zend_ulong idx; in import_environment_variable() local
585 if (ZEND_HANDLE_NUMERIC_STR(env, name_len, idx)) { in import_environment_variable()
586 zend_hash_index_update(ht, idx, &val); in import_environment_variable()
/PHP-8.1/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-8.1/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-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c2194 size_t idx; in magiccheck() local
2205 idx = m->str_range + slen; in magiccheck()
2207 idx = ms->search.s_len; in magiccheck()
2212 idx = found - ms->search.s; in magiccheck()
2213 ms->search.offset += idx; in magiccheck()
2214 ms->search.rm_len = ms->search.s_len - idx; in magiccheck()
2219 for (idx = 0; m->str_range == 0 || idx < m->str_range; idx++) { in magiccheck()
2220 if (slen + idx > ms->search.s_len) in magiccheck()
2224 ms->search.s_len - idx, m->str_flags); in magiccheck()
2226 ms->search.offset += idx; in magiccheck()
[all …]
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_sockets.c42 static inline void fpm_sockets_get_env_name(char *envname, unsigned idx) /* {{{ */ in fpm_sockets_get_env_name() argument
44 if (!idx) { in fpm_sockets_get_env_name()
47 sprintf(envname, "FPM_SOCKETS_%d", idx); in fpm_sockets_get_env_name()
/PHP-8.1/ext/standard/
H A Dmail.c151 zend_ulong idx; in php_mail_build_headers() local
156 ZEND_HASH_FOREACH_KEY_VAL(headers, idx, key, val) { in php_mail_build_headers()
158 zend_type_error("Header name cannot be numeric, " ZEND_LONG_FMT " given", idx); in php_mail_build_headers()
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_watch.c505 void phpdbg_add_recursive_watch_from_ht(phpdbg_watch_element *element, zend_long idx, zend_string *… argument
516 …G_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), idx);
519 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent
568 zend_long idx; local
571 ZEND_HASH_FOREACH_KEY_VAL(HT_WATCH_HT(element->watch), idx, str, zv) {
572 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
953 zend_long idx; local
960 ZEND_HASH_REVERSE_FOREACH_KEY_VAL(HT_WATCH_HT(watch), idx, str, zv) {
962 str = zend_long_to_str(idx); // TODO: hack, use proper int handling for name in parent
972 phpdbg_add_recursive_watch_from_ht(element, idx, str, zv);
/PHP-8.1/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-8.1/ext/mysqli/tests/
H A Dmysqli_store_result_copy.phpt65 $idx = mt_rand(-100, 100);
67 if (true === @mysqli_data_seek($res, $idx)) {
70 printf("[010] Brute force seek %d returned %d\n", $idx, var_export($row, true));
/PHP-8.1/ext/spl/
H A Dspl_directory.c949 size_t idx; in PHP_METHOD() local
975 idx = p - ZSTR_VAL(ret); in PHP_METHOD()
976 RETVAL_STRINGL(ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); in PHP_METHOD()
991 size_t idx; in PHP_METHOD() local
1003 idx = p - ZSTR_VAL(fname); in PHP_METHOD()
1004 RETVAL_STRINGL(ZSTR_VAL(fname) + idx + 1, ZSTR_LEN(fname) - idx - 1); in PHP_METHOD()
1974 uint32_t idx = 0; in spl_filesystem_file_is_empty_line() local
1977 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line()
1978 idx++; in spl_filesystem_file_is_empty_line()
1980 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()

Completed in 113 milliseconds

1234