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

123

/PHP_TRUNK/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_TRUNK/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].deleted = 1;
41 zip_delete(struct zip *za, zip_uint64_t idx) argument
H A Dzip_file_get_comment.c44 zip_file_get_comment(struct zip *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags)
50 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
42 zip_file_get_comment(struct zip *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) argument
H A Dzip_file_rename.c45 zip_file_rename(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags)
50 if (idx >= za->nentry || (name != NULL && strlen(name) > ZIP_UINT16_MAX)) {
60 if ((old_name=zip_get_name(za, idx, 0)) == NULL)
71 return _zip_set_name(za, idx, name, flags);
43 zip_file_rename(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags) argument
H A Dzip_file_replace.c43 zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags)
45 if (idx >= za->nentry || source == NULL) {
50 if (_zip_file_replace(za, idx, NULL, source, flags) == -1)
63 _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags)
73 if (idx == ZIP_UINT64_MAX) {
84 idx = (zip_uint64_t)i;
87 if (name && _zip_set_name(za, idx, name, flags) != 0) {
89 _zip_entry_finalize(za->entry+idx);
97 _zip_unchange_data(za->entry+idx);
99 if (za->entry[idx]
41 zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags) argument
60 _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags) argument
[all...]
H A Dzip_file_set_comment.c45 zip_file_set_comment(struct zip *za, zip_uint64_t idx,
52 if (_zip_get_dirent(za, idx, 0, NULL) == NULL)
74 e = za->entry+idx;
43 zip_file_set_comment(struct zip *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) argument
H A Dzip_fopen.c45 zip_int64_t idx;
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password);
43 zip_int64_t idx; local
H A Dzip_fopen_encrypted.c45 zip_int64_t idx;
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password);
43 zip_int64_t idx; local
H A Dzip_get_file_comment.c44 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags)
49 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
42 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
H A Dzip_get_name.c45 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags)
47 return _zip_get_name(za, idx, flags, &za->error);
54 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error)
59 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL)
43 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags) argument
51 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error) argument
H A Dzip_rename.c46 zip_rename(struct zip *za, zip_uint64_t idx, const char *name)
48 return zip_file_rename(za, idx, name, 0);
44 zip_rename(struct zip *za, zip_uint64_t idx, const char *name) argument
H A Dzip_replace.c44 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source)
46 return zip_file_replace(za, idx, source, 0);
42 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) argument
H A Dzip_set_file_comment.c46 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len)
52 return zip_file_set_comment(za, idx, comment, (zip_uint16_t)len, 0);
44 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len) argument
H A Dzip_stat.c45 zip_int64_t idx;
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
43 zip_int64_t 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 (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_FILENAME)) {
64 i = _zip_name_locate(za, _zip_get_name(za, idx, ZIP_FL_UNCHANGED, NULL), 0, NULL);
65 if (i >= 0 && (zip_uint64_t)i != idx) {
71 _zip_dirent_free(za->entry[idx].changes);
72 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_add_entry.c49 zip_uint64_t idx;
64 idx = za->nentry++;
66 _zip_entry_init(za->entry+idx);
68 return (zip_int64_t)idx;
47 zip_uint64_t idx; local
H A Dzip_file_get_offset.c56 _zip_file_get_offset(const struct zip *za, zip_uint64_t idx, struct zip_error *error)
61 offset = za->entry[idx].orig->offset;
54 _zip_file_get_offset(const struct zip *za, zip_uint64_t idx, struct zip_error *error) argument
H A Dzip_set_file_compression.c43 zip_set_file_compression(struct zip *za, zip_uint64_t idx,
49 if (idx >= za->nentry) {
64 e = za->entry+idx;
41 zip_set_file_compression(struct zip *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) argument
H A Dzip_file_get_external_attributes.c37 zip_file_get_external_attributes(struct zip *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys, zip_uint32_t *attributes) argument
43 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
H A Dzip_file_set_external_attributes.c37 zip_file_set_external_attributes(struct zip *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes) argument
44 if (_zip_get_dirent(za, idx, 0, NULL) == NULL)
52 e = za->entry+idx;
H A Dzip_dir_add.c51 zip_int64_t idx;
83 idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags);
87 if (idx < 0)
90 if (zip_file_set_external_attributes(za, (zip_uint64_t)idx, 0, ZIP_OPSYS_DEFAULT, ZIP_EXT_ATTRIB_DEFAULT_DIR) < 0) {
91 zip_delete(za, (zip_uint64_t)idx);
96 return idx;
49 zip_int64_t idx; local
H A Dzip_set_name.c46 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags)
53 if (idx >= za->nentry) {
74 if ((i=_zip_name_locate(za, name, 0, NULL)) >= 0 && (zip_uint64_t)i != idx) {
81 if (i>=0 && (zip_uint64_t)i == idx) {
86 e = za->entry+idx;
44 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags) argument
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result_meta.c67 zend_ulong idx; local
138 if ((meta->zend_hash_keys[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet->metadata->sname, idx))) {
139 meta->zend_hash_keys[i].key = idx;
/PHP_TRUNK/ext/spl/
H A Dspl_engine.c45 zend_ulong idx; local
49 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) {
50 return idx;
/PHP_TRUNK/Zend/
H A Dzend_string.c84 uint idx; local
93 idx = CG(interned_strings).arHash[nIndex];
94 while (idx != INVALID_IDX) {
95 p = CG(interned_strings).arData + idx;
102 idx = Z_NEXT(p->val);
127 idx = CG(interned_strings).nNumUsed++;
129 p = CG(interned_strings).arData + idx;
136 CG(interned_strings).arHash[nIndex] = idx;
149 uint idx; local
152 idx
166 uint idx; local
[all...]

Completed in 43 milliseconds

123