Searched defs:idx (Results 1 - 25 of 45) sorted by relevance

12

/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dqueue.c899 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_5/ext/zip/lib/
H A Dzip_delete.c43 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 Dzip_file_get_offset.c56 _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 Dzip_fopen.c45 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 Dzip_fopen_encrypted.c46 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 Dzip_get_file_comment.c43 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 Dzip_get_file_extra.c41 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 Dzip_get_name.c43 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 Dzip_rename.c45 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 Dzip_replace.c43 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 Dzip_set_file_comment.c45 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 Dzip_set_file_extra.c43 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 Dzip_set_name.c46 _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 Dzip_stat.c45 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 Dzip_unchange.c45 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 Dzip_close.c66 int idx;
155 filelist[j].idx = i;
168 i = filelist[j].idx;
64 int idx; member in struct:filelist
/PHP_5_5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_jp_ms.c277 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_5/ext/gd/libgd/
H A Dgd_png.c395 register png_byte idx = row_pointers[h][w]; local
396 im->pixels[h][w] = idx;
397 open[idx] = 0;
H A Dgd_jpeg.c245 int idx = im->pixels[i][j]; local
252 row[jidx++] = im->red[idx];
253 row[jidx++] = im->green[idx];
254 row[jidx++] = im->blue[idx];
256 row[jidx++] = im->red[idx] << 4;
257 row[jidx++] = im->green[idx] << 4;
258 row[jidx++] = im->blue[idx] << 4;
/PHP_5_5/ext/standard/
H A Dhttp.c38 ulong idx; local
59 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTENT;
113 ekey_len = spprintf(&ekey, 0, "%ld", idx);
165 ekey_len = spprintf(&ekey, 0, "%ld", idx);
H A Dmetaphone.c130 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_5/ext/xsl/
H A Dxsltprocessor.c778 ulong idx; local
790 if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, NULL) != HASH_KEY_IS_STRING) {
/PHP_5_5/ext/com_dotnet/
H A Dcom_typeinfo.c74 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_5_5/ext/mysqlnd/
H A Dmysqlnd_result_meta.c55 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_5_5/ext/json/
H A Djson.c180 ulong index, idx; local
185 idx = 0;
195 if (index != idx) {
199 idx++;

Completed in 61 milliseconds

12