| /PHP_TRUNK/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_TRUNK/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...] |
| H A D | zip_close.c | 66 int idx; 155 filelist[j].idx = i; 168 i = filelist[j].idx; 64 int idx; member in struct:filelist
|
| /PHP_TRUNK/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_TRUNK/ext/com_dotnet/ |
| H A D | com_com.c | 257 int idx; local 259 if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) {
|
| H A D | com_typeinfo.c | 74 int idx; local 78 hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx); 298 unsigned int idx; local 300 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); 304 unsigned int idx; local 306 ITypeInfo_GetContainingTypeLib(typeinfo, &typelib, &idx);
|
| /PHP_TRUNK/ext/json/ |
| H A D | json.c | 180 ulong index, idx; local 185 idx = 0; 195 if (index != idx) { 199 idx++;
|
| /PHP_TRUNK/ext/standard/ |
| 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
|
| 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; 113 ekey_len = spprintf(&ekey, 0, "%ld", idx); 165 ekey_len = spprintf(&ekey, 0, "%ld", idx);
|
| /PHP_TRUNK/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) { 111 long idx; local 185 &idx))) 187 meta->zend_hash_keys[i].key = idx;
|
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_png.c | 395 register png_byte idx = row_pointers[h][w]; local 396 im->pixels[h][w] = idx; 397 open[idx] = 0;
|
| H A D | gd_jpeg.c | 241 int idx = im->pixels[i][j]; local 248 row[jidx++] = im->red[idx]; 249 row[jidx++] = im->green[idx]; 250 row[jidx++] = im->blue[idx]; 252 row[jidx++] = im->red[idx] << 4; 253 row[jidx++] = im->green[idx] << 4; 254 row[jidx++] = im->blue[idx] << 4;
|