Searched refs:key_type (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp133 parts_iter_key_type key_type; member in struct:zoi_break_iter_parts
167 if (zoi_bit->key_type == PARTS_ITERATOR_KEY_LEFT) {
169 } else if (zoi_bit->key_type == PARTS_ITERATOR_KEY_RIGHT) {
172 /* else zoi_bit->key_type == PARTS_ITERATOR_KEY_SEQUENTIAL
220 parts_iter_key_type key_type TSRMLS_DC)
240 ((zoi_break_iter_parts*)ii->iterator)->key_type = key_type;
H A Dbreakiterator_methods.cpp388 long key_type = 0; local
392 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &key_type) == FAILURE) {
398 if (key_type != PARTS_ITERATOR_KEY_SEQUENTIAL
399 && key_type != PARTS_ITERATOR_KEY_LEFT
400 && key_type != PARTS_ITERATOR_KEY_RIGHT) {
409 object, return_value, (parts_iter_key_type)key_type TSRMLS_CC);
H A Dbreakiterator_class.cpp268 ZEND_ARG_INFO(0, key_type)
H A Dbreakiterator_iterators.h35 parts_iter_key_type key_type TSRMLS_DC);
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp392 int key_type; local
399 (key_type = zend_hash_get_current_key_ex(
411 if (key_type == HASH_KEY_IS_LONG) {
/PHP_TRUNK/ext/dba/
H A Ddba_inifile.c43 key_type ini_key; \
/PHP_TRUNK/ext/dba/libinifile/
H A Dinifile.c50 void inifile_key_free(key_type *key)
58 memset(key, 0, sizeof(key_type));
113 key_type inifile_key_split(const char *group_name)
115 key_type key;
130 char * inifile_key_string(const key_type *key)
227 static int inifile_key_cmp(const key_type *k1, const key_type *k2 TSRMLS_DC)
245 val_type inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC) {
328 static int inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start TSRMLS_DC)
365 static int inifile_next_group(inifile *dba, const key_type *ke
[all...]
H A Dinifile.h27 } key_type; typedef in typeref:struct:__anon57
34 key_type key;
48 val_type inifile_fetch(inifile *dba, const key_type *key, int skip TSRMLS_DC);
51 int inifile_delete(inifile *dba, const key_type *key TSRMLS_DC);
52 int inifile_delete_ex(inifile *dba, const key_type *key, zend_bool *found TSRMLS_DC);
53 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
54 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *val, zend_bool *found TSRMLS_DC);
55 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
58 key_type inifile_key_split(const char *group_name);
59 char * inifile_key_string(const key_type *ke
[all...]
/PHP_TRUNK/ext/phar/
H A Dstream.c904 int key_type; local
912 HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->manifest, &str_key, &key_len, &unused, 0, NULL)) &&
933 zend_hash_update_current_key_ex(&phar->manifest, key_type, new_str_key, new_key_len, 0, HASH_UPDATE_KEY_ANYWAY, NULL);
938 HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->virtual_dirs, &str_key, &key_len, &unused, 0, NULL));
951 zend_hash_update_current_key_ex(&phar->virtual_dirs, key_type, new_str_key, new_key_len, 0, HASH_UPDATE_KEY_ANYWAY, NULL);
957 HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->mounted_dirs, &str_key, &key_len, &unused, 0, NULL)) &&
971 zend_hash_update_current_key_ex(&phar->mounted_dirs, key_type, new_str_key, new_key_len, 0, HASH_UPDATE_KEY_ANYWAY, NULL);
/PHP_TRUNK/ext/session/
H A Dphp_session.h263 int key_type; \
266 (key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_NON_EXISTENT; \
268 if (key_type == HASH_KEY_IS_LONG) { \
/PHP_TRUNK/ext/standard/
H A Dhttp.c36 int arg_sep_len, ekey_len, key_type, newprefix_len; local
59 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTENT;
62 if (key_type == HASH_KEY_IS_STRING && key_len && key[key_len-1] == '\0') {
84 if (key_type == HASH_KEY_IS_STRING) {
152 if (key_type == HASH_KEY_IS_STRING) {
H A Darray.c1295 int var_exists, key_type, count = 0; local
1341 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &var_name, &var_name_len, &num_key, 0, &pos);
1344 if (key_type == HASH_KEY_IS_STRING) {
1347 } else if (key_type == HASH_KEY_IS_LONG && (extract_type == EXTR_PREFIX_ALL || extract_type == EXTR_PREFIX_INVALID)) {
3870 int num_avail, key_type; local
3896 while (num_req && (key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(input), &string_key, &string_key_len, &num_key, 0, &pos)) != HASH_KEY_NON_EXISTENT) {
3903 if (key_type == HASH_KEY_IS_STRING) {
3910 if (key_type == HASH_KEY_IS_STRING) {
4113 int key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(array), &string_key, &string_key_len, &num_key, 0, &pos); local
4119 switch (key_type) {
4232 int key_type = 0; local
4339 int argc = ZEND_NUM_ARGS(), key_type, num_in; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c600 int key_type; local
614 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTENT) {
617 if (key_type != HASH_KEY_IS_STRING) {
/PHP_TRUNK/Zend/
H A Dzend_hash.h185 ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const char *str_index, uint str_length, ulong num_index, int mode, HashPosition *pos);
213 #define zend_hash_update_current_key(ht, key_type, str_index, str_length, num_index) \
214 zend_hash_update_current_key_ex(ht, key_type, str_index, str_length, num_index, HASH_UPDATE_KEY_ANYWAY, NULL)
H A Dzend_hash.c1152 ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const char *str_index, uint str_length, ulong num_index, int mode, HashPosition *pos) argument
1165 if (key_type == HASH_KEY_IS_LONG) {
1178 } else if (key_type == HASH_KEY_IS_STRING) {
1270 if (key_type == HASH_KEY_IS_LONG) {
H A Dzend_vm_def.h4417 zend_uchar key_type; variable
4419 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4420 if (key_type != HASH_KEY_NON_EXISTENT &&
4421 (key_type == HASH_KEY_IS_LONG ||
4470 int key_type; variable
4482 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4485 } while (key_type != HASH_KEY_IS_LONG &&
4489 if (key_type == HASH_KEY_IS_LONG) {
H A Dzend_vm_execute.h3178 zend_uchar key_type; local
3180 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
3181 if (key_type != HASH_KEY_NON_EXISTENT &&
3182 (key_type == HASH_KEY_IS_LONG ||
8548 zend_uchar key_type; local
8550 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
8551 if (key_type != HASH_KEY_NON_EXISTENT &&
8552 (key_type == HASH_KEY_IS_LONG ||
13917 zend_uchar key_type; local
13919 key_type
13970 int key_type; local
31514 zend_uchar key_type; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c2055 int key_type; local
2058 key_type = zend_hash_get_current_key_ex(prop, &str_key, &str_key_len, &index, FALSE, NULL);
2063 if (key_type == HASH_KEY_IS_STRING) {
/PHP_TRUNK/main/
H A Dphp_variables.c661 int key_type; local
666 key_type = zend_hash_get_current_key_ex(src, &string_key, &string_key_len, &num_key, 0, &pos);
668 || (key_type == HASH_KEY_IS_STRING && zend_hash_find(dest, string_key, string_key_len, (void **) &dest_entry) != SUCCESS)
669 || (key_type == HASH_KEY_IS_LONG && zend_hash_index_find(dest, num_key, (void **)&dest_entry) != SUCCESS)
673 if (key_type == HASH_KEY_IS_STRING) {
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c1830 int key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(val), &key, &key_len, &key_index, 0, &pos); local
1832 if (key_type == HASH_KEY_IS_STRING
H A Dxp_ssl.c1223 int key_type; local
1262 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_PP(val), &key, &key_len, &key_index, 0, &pos);
1263 if (key_type != HASH_KEY_IS_STRING) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c5776 int key_type, err = 0, skip_field; local
5802 if ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &field, &field_len, &num_idx, 0, &pos)) == HASH_KEY_NON_EXISTENT) {
5806 if (!err && key_type == HASH_KEY_IS_LONG) {
5810 if (!err && key_type == HASH_KEY_NON_EXISTENT) {
6519 int key_type, ret = FAILURE; local
6551 while ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &fld,
6553 if (key_type == HASH_KEY_IS_LONG) {
6575 /* we can avoid the key_type check here, because we tested it in the other loop */
6725 int key_type; local
6734 key_type
[all...]

Completed in 101 milliseconds