Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 75) sorted by path

123

/PHP-5.5/Zend/
H A Dzend.h163 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument
165 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) argument
169 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument
171 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) argument
H A Dzend_API.c4023 ulong idx; in zend_resolve_method_name() local
4025 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name()
H A Dzend_API.h400 ZEND_API int add_index_long(zval *arg, ulong idx, long n);
401 ZEND_API int add_index_null(zval *arg, ulong idx);
402 ZEND_API int add_index_bool(zval *arg, ulong idx, int b);
403 ZEND_API int add_index_resource(zval *arg, ulong idx, int r);
404 ZEND_API int add_index_double(zval *arg, ulong idx, double d);
405 ZEND_API int add_index_string(zval *arg, ulong idx, const char *str, int duplicate);
406 ZEND_API int add_index_stringl(zval *arg, ulong idx, const char *str, uint length, int duplicate);
424 ZEND_API int add_get_index_long(zval *arg, ulong idx, long l, void **dest);
425 ZEND_API int add_get_index_double(zval *arg, ulong idx, double d, void **dest);
426 ZEND_API int add_get_index_string(zval *arg, ulong idx, const char *str, void **dest, int duplicate…
[all …]
H A Dzend_compile.c3309 zend_uint idx = i; in zend_get_function_declaration() local
3313 *(offset++) = (char) (idx % 10) + '0'; in zend_get_function_declaration()
3314 idx /= 10; in zend_get_function_declaration()
3315 } while (idx > 0); in zend_get_function_declaration()
3324 zend_uint idx = i; in zend_get_function_declaration() local
3328 ++idx; in zend_get_function_declaration()
3331 && op->op1.num == (long)idx) in zend_get_function_declaration()
H A Dzend_execute_API.c1540 #define DISPLAY_ABSTRACT_FN(idx) \ argument
1541 ai.afn[idx] ? ZEND_FN_SCOPE_NAME(ai.afn[idx]) : "", \
1542 ai.afn[idx] ? "::" : "", \
1543 ai.afn[idx] ? ai.afn[idx]->common.function_name : "", \
1544 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :…
H A Dzend_hash.h310 #define ZEND_HANDLE_NUMERIC_EX(key, length, idx, func) do { \ in END_EXTERN_C() argument
327 idx = (*tmp - '0'); \ in END_EXTERN_C()
329 idx = (idx * 10) + (*tmp - '0'); \ in END_EXTERN_C()
333 if (idx-1 > LONG_MAX) { /* overflow */ \ in END_EXTERN_C()
336 idx = 0 - idx; \ in END_EXTERN_C()
337 } else if (idx > LONG_MAX) { /* overflow */ \ in END_EXTERN_C()
346 ulong idx; \
348 ZEND_HANDLE_NUMERIC_EX(key, length, idx, return func); \
360 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_del(ht, idx)); in zend_symtable_del()
367 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_find(ht, idx, pData)); in zend_symtable_find()
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_com.c257 int idx; in PHP_FUNCTION() local
259 if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { in PHP_FUNCTION()
H A Dcom_typeinfo.c74 int idx; in php_com_load_typelib() local
78 hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx); in php_com_load_typelib()
298 unsigned int idx; in php_com_locate_typeinfo() local
300 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
304 unsigned int idx; in php_com_locate_typeinfo() local
306 ITypeInfo_GetContainingTypeLib(typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
/PHP-5.5/ext/dom/
H A Dnode.c1827 ulong idx; in dom_canonicalization() local
1831 &prefix, &prefix_key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) { in dom_canonicalization()
/PHP-5.5/ext/exif/
H A Dexif.c1948 int i, ap, l, b, idx=0, unknown=0; in add_assoc_image_info() local
2005 add_index_string(tmpi, idx++, val, 1); in add_assoc_image_info()
H A Dtest.txt102 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-5.5/ext/fileinfo/
H A Dlibmagic.patch108 ml->map = idx == 0 ? map : NULL;
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c364 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist() argument
371 ml->map = idx == 0 ? map : NULL; in add_mlist()
372 ml->magic = map->magic[idx]; in add_mlist()
373 ml->nmagic = map->nmagic[idx]; in add_mlist()
H A Dsoftmagic.c2025 size_t idx; in magiccheck() local
2034 for (idx = 0; m->str_range == 0 || idx < m->str_range; idx++) { in magiccheck()
2035 if (slen + idx > ms->search.s_len) in magiccheck()
2038 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags); in magiccheck()
2040 ms->search.offset += idx; in magiccheck()
/PHP-5.5/ext/gd/libgd/
H A Dgd_jpeg.c245 int idx = im->pixels[i][j]; in gdImageJpegCtx() local
252 row[jidx++] = im->red[idx]; in gdImageJpegCtx()
253 row[jidx++] = im->green[idx]; in gdImageJpegCtx()
254 row[jidx++] = im->blue[idx]; in gdImageJpegCtx()
256 row[jidx++] = im->red[idx] << 4; in gdImageJpegCtx()
257 row[jidx++] = im->green[idx] << 4; in gdImageJpegCtx()
258 row[jidx++] = im->blue[idx] << 4; in gdImageJpegCtx()
H A Dgd_png.c395 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-5.5/ext/hash/
H A Dhash.c601 ulong idx; in PHP_FUNCTION() local
605 …(type = zend_hash_get_current_key_ex(&php_hash_hashtable, &str, &str_len, &idx, 0, &pos)) != HASH_… in PHP_FUNCTION()
1045 ulong idx; in PHP_MINFO_FUNCTION() local
1049 …(type = zend_hash_get_current_key_ex(&php_hash_hashtable, &str, NULL, &idx, 0, &pos)) != HASH_KEY_… in PHP_MINFO_FUNCTION()
/PHP-5.5/ext/intl/tests/
H A Dut_common.inc405 function ut_resourcebundle_get($bundle, $idx )
407 return $GLOBALS['oo-mode'] ? $bundle->get($idx):resourcebundle_get($bundle, $idx);
/PHP-5.5/ext/json/
H A Djson.c180 ulong index, idx; in json_determine_array_type() local
185 idx = 0; in json_determine_array_type()
195 if (index != idx) { in json_determine_array_type()
199 idx++; in json_determine_array_type()
/PHP-5.5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_jp_ms.c277 int idx; in cp932ext3_cp932ext2_jis() local
279 idx = sjistoidx(0xfa, 0x40) + c; in cp932ext3_cp932ext2_jis()
280 if (idx >= sjistoidx(0xfa, 0x5c)) in cp932ext3_cp932ext2_jis()
281 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); in cp932ext3_cp932ext2_jis()
282 else if (idx >= sjistoidx(0xfa, 0x55)) in cp932ext3_cp932ext2_jis()
283 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); in cp932ext3_cp932ext2_jis()
284 else if (idx >= sjistoidx(0xfa, 0x40)) in cp932ext3_cp932ext2_jis()
285 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); in cp932ext3_cp932ext2_jis()
286 return idxtojis1(idx) << 8 | idxtojis2(idx); in cp932ext3_cp932ext2_jis()
/PHP-5.5/ext/mbstring/ucgendat/
H A Ducgendat.c198 ac_uint4 idx; member
806 ncodes[j].idx = ncodes[j - 1].idx; in add_number()
1299 ac_uint4 i, idx, nprops; in write_cdata() local
1333 for (i = idx = 0; i < NUMPROPS; i++) { in write_cdata()
1335 idx += proptbl[i].used; in write_cdata()
1342 propcnt[i] = idx; in write_cdata()
1358 bytes += sizeof(ac_uint4) * idx; in write_cdata()
1602 idx += decomps[i].used; in write_cdata()
1654 idx += decomps[i].used; in write_cdata()
1694 idx += kdecomps[i].used; in write_cdata()
[all …]
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_result_references.phpt20 $idx = 0;
23 $references[$idx] = array(
26 $references[$idx++]['id'] += 0;
34 $references[$idx] = array(
37 $references[$idx++]['id'] += 0;
52 $references[$idx] = array(
55 $references[$idx]['id2'] = &$references[$idx]['id'];
56 $references[$idx]['id'] += 1;
57 $references[$idx++]['id2'] += 1;
60 $references[$idx++] = &$res;
H A Dmysqli_result_references_mysqlnd.phpt28 $idx = 0;
31 $references[$idx]['row_ref'] = &$row;
32 $references[$idx]['row_copy'] = $row;
33 $references[$idx]['id_ref'] = &$row['id'];
34 $references[$idx++]['id_copy'] = $row['id'];
47 $references[$idx]['row_ref'] = &$rows[$i];
48 $references[$idx]['row_copy'] = $rows[$i];
49 $references[$idx]['id_ref'] = &$rows[$i]['id'];
50 $references[$idx]['id_copy'] = $rows[$i]['id'];
52 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_result_meta.c55 mysqlnd_is_key_numeric(const char * key, size_t length, long *idx) in mysqlnd_is_key_numeric() argument
77 *idx = strtol(key, NULL, 10); in mysqlnd_is_key_numeric()
78 if (*idx!=LONG_MIN) { in mysqlnd_is_key_numeric()
82 *idx = strtol(key, NULL, 10); in mysqlnd_is_key_numeric()
83 if (*idx!=LONG_MAX) { in mysqlnd_is_key_numeric()
111 long idx; in MYSQLND_METHOD() local
185 &idx))) in MYSQLND_METHOD()
187 meta->zend_hash_keys[i].key = idx; in MYSQLND_METHOD()
/PHP-5.5/ext/pdo/
H A Dpdo_stmt.c856 int flags, idx, old_arg_count = 0; in do_fetch() local
1043 for (idx = 0; i < stmt->column_count; i++, idx++) { in do_fetch()
1127 if ((flags & PDO_FETCH_SERIALIZE) == 0 || idx) { in do_fetch()
1161 stmt->fetch.func.values[idx] = val; in do_fetch()
1162 stmt->fetch.cls.fci.params[idx] = &stmt->fetch.func.values[idx]; in do_fetch()
1196 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1210 while(idx--) { in do_fetch()
1211 zval_ptr_dtor(&stmt->fetch.func.values[idx]); in do_fetch()

Completed in 141 milliseconds

123