Home
last modified time | relevance | path

Searched refs:idx (Results 26 – 50 of 75) sorted by relevance

123

/PHP-5.5/ext/zip/lib/
H A Dzip_file_get_offset.c54 _zip_file_get_offset(struct zip *za, int idx) in _zip_file_get_offset() argument
59 offset = za->cdir->entry[idx].offset; in _zip_file_get_offset()
/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/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/spl/tests/
H A Dbug36287.phpt8 $idx = 0;
15 if (++$idx > 1)
H A Dobserver_001.phpt48 $idx = array_search($observer, $this->observers);
49 if ($idx !== false)
51 unset($this->observers[$idx]);
H A Diterator_042.phpt26 $idx = 0;
30 echo '===' . $idx++ . "===\n";
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-5.5/ext/zip/tests/
H A Doo_getcomment.phpt19 $idx = $zip->locateName('foo');
21 echo $zip->getCommentIndex($idx);
/PHP-5.5/ext/xmlreader/tests/
H A D004.phpt11 <books><book num="1" idx="2">book1</book></books>';
41 Attribute Name: idx
/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/posix/tests/
H A Dposix_getgrgid.phpt27 foreach ($grp['members'] as $idx => $username) {
28 if (!is_int($idx)) {
/PHP-5.5/ext/standard/
H A Dhttp.c38 ulong idx; in php_url_encode_hash_ex() local
59 …(key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXIST… in php_url_encode_hash_ex()
113 ekey_len = spprintf(&ekey, 0, "%ld", idx); in php_url_encode_hash_ex()
165 ekey_len = spprintf(&ekey, 0, "%ld", idx); in php_url_encode_hash_ex()
/PHP-5.5/ext/spl/
H A Dspl_engine.c50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx); in spl_offset_convert_to_long()
/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()
/PHP-5.5/ext/spl/internal/
H A Dsplobjectstorage.inc127 foreach($this->storage as $idx => $element)
131 unset($this->storage[$idx]);
159 foreach($this->storage as $idx => $element)
/PHP-5.5/sapi/cgi/
H A Dfastcgi.c165 unsigned int idx; member
189 h->buckets->idx = 0; in fcgi_hash_init()
227 h->buckets->idx = 0; in fcgi_hash_clean()
261 fcgi_hash_bucket *p = h->hash_table[idx]; in fcgi_hash_set()
277 b->idx = 0; in fcgi_hash_set()
281 p = h->buckets->data + h->buckets->idx; in fcgi_hash_set()
282 h->buckets->idx++; in fcgi_hash_set()
283 p->next = h->hash_table[idx]; in fcgi_hash_set()
284 h->hash_table[idx] = p; in fcgi_hash_set()
298 fcgi_hash_bucket **p = &h->hash_table[idx]; in fcgi_hash_del()
[all …]
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dqueue.c899 int idx; in Q_Seek() local
910 idx = Q_BSearch(q, data, Comp); in Q_Seek()
912 if(idx < 0) in Q_Seek()
915 q->cursor = posn_index[idx]; in Q_Seek()
917 return index[idx]; in Q_Seek()
/PHP-5.5/ext/com_dotnet/
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/wddx/
H A Dwddx.c300 ulong idx; in PS_SERIALIZER_DECODE_FUNC() local
318 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC()
322 key_length = slprintf(tmp, sizeof(tmp), "%ld", idx) + 1; in PS_SERIALIZER_DECODE_FUNC()
464 ulong idx; in php_wddx_serialize_object() local
534 if (zend_hash_get_current_key_ex(objhash, &key, &key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) { in php_wddx_serialize_object()
540 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_object()
564 ulong idx; in php_wddx_serialize_array() local
577 type = zend_hash_get_current_key(target_hash, &key, &idx, 0); in php_wddx_serialize_array()
584 if (idx != ind) { in php_wddx_serialize_array()
607 ent_type = zend_hash_get_current_key_ex(target_hash, &key, &key_len, &idx, 0, NULL); in php_wddx_serialize_array()
[all …]
/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.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 …]
/PHP-5.5/ext/zip/
H A Dphp_zip.c1613 int idx; in ZIPARCHIVE_METHOD() local
1641 idx = zip_stat(intern, s, 0, &sb); in ZIPARCHIVE_METHOD()
1642 if (idx >= 0) { in ZIPARCHIVE_METHOD()
1945 long idx = -1; in ZIPARCHIVE_METHOD() local
1963 if (idx >= 0) { in ZIPARCHIVE_METHOD()
1964 RETURN_LONG(idx); in ZIPARCHIVE_METHOD()
2063 int idx; in ZIPARCHIVE_METHOD() local
2080 idx = zip_name_locate(intern, name, 0); in ZIPARCHIVE_METHOD()
2081 if (idx < 0) { in ZIPARCHIVE_METHOD()
2121 int name_len, idx; in ZIPARCHIVE_METHOD() local
[all …]
/PHP-5.5/ext/exif/
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 = '&lt;data&gt;';
329 $res .= AddInfo($Name.':'.$idx,$Entry);
/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()

Completed in 73 milliseconds

123