Searched defs:key_type (Results 1 - 14 of 14) sorted by relevance

/PHP_5_4/ext/phar/
H A Dstream.c912 int key_type; local
921 HASH_KEY_NON_EXISTANT != (key_type = zend_hash_get_current_key_ex(&phar->manifest, &key, &key_len, &unused, 0, NULL)) &&
946 zend_hash_update_current_key_ex(&phar->manifest, key_type, new_key, new_key_len, 0, NULL);
948 zend_hash_update_current_key_ex(&phar->manifest, key_type, new_key, new_key_len, 0, HASH_UPDATE_KEY_ANYWAY, NULL);
955 HASH_KEY_NON_EXISTANT != (key_type = zend_hash_get_current_key_ex(&phar->virtual_dirs, &key, &key_len, &unused, 0, NULL));
972 zend_hash_update_current_key_ex(&phar->virtual_dirs, key_type, new_key, new_key_len, 0, NULL);
974 zend_hash_update_current_key_ex(&phar->virtual_dirs, key_type, new_key, new_key_len, 0, HASH_UPDATE_KEY_ANYWAY, NULL);
982 HASH_KEY_NON_EXISTANT != (key_type = zend_hash_get_current_key_ex(&phar->mounted_dirs, &key, &key_len, &unused, 0, NULL)) &&
1000 zend_hash_update_current_key_ex(&phar->mounted_dirs, key_type, new_key, new_key_len, 0, NULL);
1002 zend_hash_update_current_key_ex(&phar->mounted_dirs, key_type, new_ke
[all...]
H A Dphar_object.c1438 zend_uchar key_type; local
1482 key_type = iter->funcs->get_current_key(iter, &key, &str_key_len, &int_key TSRMLS_CC);
1488 if (key_type == HASH_KEY_IS_LONG) {
1493 if (key_type > 9) { /* IS_UNICODE == 10 */
1645 key_type = iter->funcs->get_current_key(iter, &key, &str_key_len, &int_key TSRMLS_CC);
1651 if (key_type == HASH_KEY_IS_LONG) {
1656 if (key_type > 9) { /* IS_UNICODE == 10 */
/PHP_5_4/ext/soap/
H A Dphp_encoding.c2057 int key_type; local
2060 key_type = zend_hash_get_current_key_ex(prop, &str_key, &str_key_len, &index, FALSE, NULL);
2065 if (key_type == HASH_KEY_IS_STRING) {
2319 int key_type; local
2348 key_type = iter->funcs->get_current_key(iter, &str_key, &str_key_len, &int_key TSRMLS_CC);
2352 switch(key_type) {
/PHP_5_4/ext/spl/
H A Dspl_iterators.h139 int key_type; /* HASH_KEY_IS_STRING or HASH_KEY_IS_LONG */ member in struct:_spl_dual_it_object::__anon226
H A Dspl_iterators.c1648 intern->current.key_type = intern->inner.iterator->funcs->get_current_key(intern->inner.iterator, &intern->current.str_key, &intern->current.str_key_len, &intern->current.int_key TSRMLS_CC);
1650 intern->current.key_type = HASH_KEY_IS_LONG;
1724 if (intern->current.key_type == HASH_KEY_IS_STRING) {
1952 if (intern->current.key_type == HASH_KEY_IS_LONG) {
1998 if (intern->current.key_type == HASH_KEY_IS_LONG) {
2063 if (intern->current.key_type != HASH_KEY_IS_LONG) {
2066 intern->current.key_type = HASH_KEY_IS_STRING;
2605 if (intern->current.key_type == HASH_KEY_IS_LONG) {
2767 if (intern->current.key_type == HASH_KEY_IS_STRING) {
3518 int key_type; local
[all...]
/PHP_5_4/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_EXISTANT;
62 if (key_type == HASH_KEY_IS_STRING && key_len && key[key_len-1] == '\0') {
85 if (key_type == HASH_KEY_IS_STRING) {
153 if (key_type == HASH_KEY_IS_STRING) {
H A Darray.c1325 int var_exists, key_type, count = 0; local
1371 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &var_name, &var_name_len, &num_key, 0, &pos);
1374 if (key_type == HASH_KEY_IS_STRING) {
1377 } else if (key_type == HASH_KEY_IS_LONG && (extract_type == EXTR_PREFIX_ALL || extract_type == EXTR_PREFIX_INVALID)) {
3960 int num_avail, key_type; local
3986 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_EXISTANT) {
3993 if (key_type == HASH_KEY_IS_STRING) {
4000 if (key_type == HASH_KEY_IS_STRING) {
4289 int key_type = 0; local
4307 key_type
4396 int argc = ZEND_NUM_ARGS(), key_type, num_in; local
[all...]
/PHP_5_4/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_EXISTANT) {
617 if (key_type != HASH_KEY_IS_STRING) {
/PHP_5_4/Zend/
H A Dzend_hash.c1213 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
1226 if (key_type == HASH_KEY_IS_LONG) {
1239 } else if (key_type == HASH_KEY_IS_STRING) {
1398 if (key_type == HASH_KEY_IS_LONG) {
H A Dzend_vm_def.h4193 zend_uchar key_type; variable
4195 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4196 if (key_type != HASH_KEY_NON_EXISTANT &&
4197 (key_type == HASH_KEY_IS_LONG ||
4231 int key_type = 0; variable
4253 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4256 } while (key_type == HASH_KEY_NON_EXISTANT ||
4257 (key_type != HASH_KEY_IS_LONG &&
4260 if (use_key && key_type != HASH_KEY_IS_LONG) {
4277 key_type
[all...]
H A Dzend_vm_execute.h2802 zend_uchar key_type; local
2804 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
2805 if (key_type != HASH_KEY_NON_EXISTANT &&
2806 (key_type == HASH_KEY_IS_LONG ||
7232 zend_uchar key_type; local
7234 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
7235 if (key_type != HASH_KEY_NON_EXISTANT &&
7236 (key_type == HASH_KEY_IS_LONG ||
11659 zend_uchar key_type; local
11661 key_type
11697 int key_type = 0; local
27636 zend_uchar key_type; local
[all...]
/PHP_5_4/ext/dba/libinifile/
H A Dinifile.h27 } key_type; typedef in typeref:struct:__anon55
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_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
53 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
56 key_type inifile_key_split(const char *group_name);
57 char * inifile_key_string(const key_type *key);
59 void inifile_key_free(key_type *key);
/PHP_5_4/main/
H A Dphp_variables.c603 int key_type; local
608 key_type = zend_hash_get_current_key_ex(src, &string_key, &string_key_len, &num_key, 0, &pos);
610 || (key_type == HASH_KEY_IS_STRING && zend_hash_find(dest, string_key, string_key_len, (void **) &dest_entry) != SUCCESS)
611 || (key_type == HASH_KEY_IS_LONG && zend_hash_index_find(dest, num_key, (void **)&dest_entry) != SUCCESS)
615 if (key_type == HASH_KEY_IS_STRING) {
/PHP_5_4/ext/pgsql/
H A Dpgsql.c5410 int key_type, err = 0, skip_field; local
5436 if ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &field, &field_len, &num_idx, 0, &pos)) == HASH_KEY_NON_EXISTANT) {
5440 if (!err && key_type == HASH_KEY_IS_LONG) {
5444 if (!err && key_type == HASH_KEY_NON_EXISTANT) {
6152 int key_type, ret = FAILURE; local
6184 while ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &fld,
6186 if (key_type == HASH_KEY_IS_LONG) {
6202 /* we can avoid the key_type check here, because we tested it in the other loop */
6291 int key_type; local
6300 key_type
[all...]

Completed in 91 milliseconds