| /PHP_5_4/ext/spl/internal/ |
| H A D | splobjectstorage.inc | 127 foreach($this->storage as $idx => $element) 131 unset($this->storage[$idx]); 159 foreach($this->storage as $idx => $element)
|
| /PHP_5_4/ext/xmlrpc/libxmlrpc/ |
| H A D | queue.c | 899 int idx; local 910 idx = Q_BSearch(q, data, Comp); 912 if(idx < 0) 915 q->cursor = posn_index[idx]; 917 return index[idx];
|
| /PHP_5_4/ext/zip/lib/ |
| H A D | zip_delete.c | 43 zip_delete(struct zip *za, zip_uint64_t idx) 45 if (idx >= za->nentry) { 57 if (_zip_unchange(za, idx, 1) != 0) 60 za->entry[idx].state = ZIP_ST_DELETED; 41 zip_delete(struct zip *za, zip_uint64_t idx) argument
|
| H A D | zip_file_get_offset.c | 56 _zip_file_get_offset(struct zip *za, int idx) 61 offset = za->cdir->entry[idx].offset; 54 _zip_file_get_offset(struct zip *za, int idx) argument
|
| H A D | zip_fopen.c | 45 int idx; 47 if ((idx=zip_name_locate(za, fname, flags)) < 0) 50 return zip_fopen_index_encrypted(za, idx, flags, za->default_password); 43 int idx; local
|
| H A D | zip_fopen_encrypted.c | 46 int idx; 48 if ((idx=zip_name_locate(za, fname, flags)) < 0) 51 return zip_fopen_index_encrypted(za, idx, flags, password); 44 int idx; local
|
| H A D | zip_get_file_comment.c | 43 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) 45 if (idx >= za->nentry) { 51 || (za->entry[idx].ch_comment_len == -1)) { 53 *lenp = za->cdir->entry[idx].comment_len; 54 return za->cdir->entry[idx].comment; 58 *lenp = za->entry[idx].ch_comment_len; 59 return za->entry[idx].ch_comment; 41 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
|
| H A D | zip_get_file_extra.c | 41 zip_get_file_extra(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument 43 if (idx >= za->nentry) { 49 || (za->entry[idx].ch_extra_len == -1)) { 51 *lenp = za->cdir->entry[idx].extrafield_len; 52 return za->cdir->entry[idx].extrafield; 56 *lenp = za->entry[idx].ch_extra_len; 57 return za->entry[idx].ch_extra;
|
| H A D | zip_get_name.c | 43 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) 45 return _zip_get_name(za, idx, flags, &za->error); 52 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, 55 if (idx >= za->nentry) { 61 if (za->entry[idx].state == ZIP_ST_DELETED) { 65 if (za->entry[idx].ch_filename) 66 return za->entry[idx].ch_filename; 69 if (za->cdir == NULL || idx >= za->cdir->nentry) { 74 return za->cdir->entry[idx].filename; 41 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) argument 49 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, struct zip_error *error) argument
|
| H A D | zip_rename.c | 45 zip_rename(struct zip *za, zip_uint64_t idx, const char *name) 50 if (idx >= za->nentry || name[0] == '\0') { 60 if ((old_name=zip_get_name(za, idx, 0)) == NULL) 71 return _zip_set_name(za, idx, name); 43 zip_rename(struct zip *za, zip_uint64_t idx, const char *name) argument
|
| H A D | zip_replace.c | 43 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) 45 if (idx >= za->nentry || source == NULL) { 50 if (_zip_replace(za, idx, NULL, source) == -1) 63 _zip_replace(struct zip *za, zip_uint64_t idx, const char *name, 71 if (idx == ZIP_UINT64_MAX) { 75 idx = za->nentry - 1; 78 _zip_unchange_data(za->entry+idx); 80 if (name && _zip_set_name(za, idx, name) != 0) 83 za->entry[idx].state = ((za->cdir == NULL || idx > 41 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) argument 60 _zip_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source) argument [all...] |
| H A D | zip_set_file_comment.c | 45 zip_set_file_comment(struct zip *za, zip_uint64_t idx, 50 if (idx >= za->nentry 69 free(za->entry[idx].ch_comment); 70 za->entry[idx].ch_comment = tmpcom; 71 za->entry[idx].ch_comment_len = len; 43 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len) argument
|
| H A D | zip_set_file_extra.c | 43 zip_set_file_extra(struct zip *za, zip_uint64_t idx, argument 48 if (idx >= za->nentry 67 free(za->entry[idx].ch_extra); 68 za->entry[idx].ch_extra = tmpext; 69 za->entry[idx].ch_extra_len = len;
|
| H A D | zip_set_name.c | 46 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name) 51 if (idx >= za->nentry || name == NULL) { 56 if ((i=_zip_name_locate(za, name, 0, NULL)) != -1 && i != idx) { 62 if (i == idx) 70 if (za->entry[idx].state == ZIP_ST_UNCHANGED) 71 za->entry[idx].state = ZIP_ST_RENAMED; 73 free(za->entry[idx].ch_filename); 74 za->entry[idx].ch_filename = s; 44 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name) argument
|
| H A D | zip_stat.c | 45 int idx; 47 if ((idx=zip_name_locate(za, fname, flags)) < 0) 50 return zip_stat_index(za, idx, flags, st); 43 int idx; local
|
| H A D | zip_unchange.c | 45 zip_unchange(struct zip *za, zip_uint64_t idx) 47 return _zip_unchange(za, idx, 0); 54 _zip_unchange(struct zip *za, zip_uint64_t idx, int allow_duplicates) 58 if (idx >= za->nentry) { 63 if (za->entry[idx].ch_filename) { 66 _zip_get_name(za, idx, ZIP_FL_UNCHANGED, NULL), 68 if (i != -1 && i != idx) { 74 free(za->entry[idx].ch_filename); 75 za->entry[idx].ch_filename = NULL; 78 free(za->entry[idx] 43 zip_unchange(struct zip *za, zip_uint64_t idx) argument 51 _zip_unchange(struct zip *za, zip_uint64_t idx, int allow_duplicates) argument [all...] |
| /PHP_5_4/scripts/dev/ |
| H A D | check_parameters.php | 138 function check_param($db, $idx, $exp, $optional) 142 if ($idx >= count($db)) { 148 } elseif ($db[$idx][0] === '**dummy**') { 152 if ($db[$idx][1] != $exp) { 153 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']'); 156 if ($optional && !$db[$idx][2]) { 157 error("optional var not initialized: {$db[$idx][0]} [".($idx [all...] |
| /PHP_5_4/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_iso2022_jp_ms.c | 277 int idx; local 279 idx = sjistoidx(0xfa, 0x40) + c; 280 if (idx >= sjistoidx(0xfa, 0x5c)) 281 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); 282 else if (idx >= sjistoidx(0xfa, 0x55)) 283 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); 284 else if (idx >= sjistoidx(0xfa, 0x40)) 285 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); 286 return idxtojis1(idx) << 8 | idxtojis2(idx); [all...] |
| /PHP_5_4/ext/mbstring/ucgendat/ |
| H A D | ucgendat.c | 198 ac_uint4 idx; member in struct:__anon268 783 ncodes[i].idx = make_number(num, denom); 806 ncodes[j].idx = ncodes[j - 1].idx; 810 ncodes[i].idx = make_number(num, denom); 1299 ac_uint4 i, idx, nprops; local 1333 for (i = idx = 0; i < NUMPROPS; i++) { 1334 propcnt[i] = (proptbl[i].used != 0) ? idx : 0xffff; 1335 idx += proptbl[i].used; 1342 propcnt[i] = idx; [all...] |
| /PHP_5_4/Zend/ |
| H A D | zend_hash.h | 307 #define ZEND_HANDLE_NUMERIC_EX(key, length, idx, func) do { \ 324 idx = (*tmp - '0'); \ 326 idx = (idx * 10) + (*tmp - '0'); \ 330 if (idx-1 > LONG_MAX) { /* overflow */ \ 333 idx = 0 - idx; \ 334 } else if (idx > LONG_MAX) { /* overflow */ \ 343 ulong idx; \ 345 ZEND_HANDLE_NUMERIC_EX(key, length, idx, retur [all...] |
| /PHP_5_4/ext/spl/ |
| H A D | spl_engine.c | 50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx);
|
| /PHP_5_4/ext/standard/ |
| H A D | http.c | 38 ulong idx; local 59 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT; 114 ekey_len = spprintf(&ekey, 0, "%ld", idx); 166 ekey_len = spprintf(&ekey, 0, "%ld", idx);
|
| H A D | metaphone.c | 130 int idx; local 131 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); 134 letter_ahead = word[idx]; /* idx will be either == to how_far or
|
| /PHP_5_4/sapi/cgi/ |
| H A D | fastcgi.c | 161 unsigned int idx; member in struct:_fcgi_hash_buckets 185 h->buckets->idx = 0; 223 h->buckets->idx = 0; 256 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; local 257 fcgi_hash_bucket *p = h->hash_table[idx]; 271 if (UNEXPECTED(h->buckets->idx >= FCGI_HASH_TABLE_SIZE)) { 273 b->idx = 0; 277 p = h->buckets->data + h->buckets->idx; 278 h->buckets->idx++; 279 p->next = h->hash_table[idx]; 293 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; local 312 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; local [all...] |
| /PHP_5_4/ext/mysqlnd/ |
| H A D | mysqlnd_result_meta.c | 55 mysqlnd_is_key_numeric(const char * key, size_t length, long *idx) argument 77 *idx = strtol(key, NULL, 10); 78 if (*idx!=LONG_MIN) { 82 *idx = strtol(key, NULL, 10); 83 if (*idx!=LONG_MAX) { 98 mysqlnd_unicode_is_key_numeric(UChar *key, size_t length, long *idx) argument 120 *idx = zend_u_strtol(key, NULL, 10); 121 if (*idx!=LONG_MIN) { 125 *idx = zend_u_strtol(key, NULL, 10); 126 if (*idx! 159 long idx; local [all...] |