Searched refs:arKey (Results 1 - 19 of 19) sorted by relevance

/PHP_5_3/ext/reflection/
H A Dphp_reflection.c3680 if (hash_key->arKey[0] == '\0') {
3684 ZVAL_STRINGL(&member, hash_key->arKey, hash_key->nKeyLength-1, 0);
/PHP_5_3/ext/standard/
H A Darray.c183 Z_STRVAL(first) = f->arKey;
192 Z_STRVAL(second) = s->arKey;
734 Z_STRVAL_P(key1) = estrndup(f->arKey, f->nKeyLength - 1);
742 Z_STRVAL_P(key2) = estrndup(s->arKey, s->nKeyLength - 1);
1880 zend_hash_quick_update(out_hash, p->arKey, p->nKeyLength, p->h, &entry, sizeof(zval *), NULL);
1892 zend_hash_quick_update(*removed, p->arKey, p->nKeyLength, p->h, &entry, sizeof(zval *), NULL);
1916 zend_hash_quick_update(out_hash, p->arKey, p->nKeyLength, p->h, &entry, sizeof(zval *), NULL);
2821 zend_delete_global_variable(p->arKey, p->nKeyLength - 1 TSRMLS_CC);
2823 zend_hash_quick_del(Z_ARRVAL_P(return_value), p->arKey, p->nKeyLength, p->h);
2960 if (zend_hash_quick_find(Z_ARRVAL_PP(args[i]), p->arKey,
[all...]
H A Dbasic_functions.c4590 add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
4598 add_assoc_zval_ex(retval, hash_key->arKey, hash_key->nKeyLength, tmp);
5348 hash_key->arKey[0] != 0
6115 php_prefix_varname(&new_key, prefix, hash_key->arKey, hash_key->nKeyLength - 1, 0 TSRMLS_CC);
H A Dvar.c48 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1);
66 int unmangle = zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name);
77 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1);
199 if (va_arg(args, int) && hash_key->arKey[0] == '\0') {
203 PHPWRITE(hash_key->arKey, hash_key->nKeyLength - 1);
221 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1, &class_name, &prop_name);
363 key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength - 1, &key_len, 0, "'\\", 2 TSRMLS_CC);
399 zend_unmangle_property_name(hash_key->arKey, hash_key->nKeyLength - 1,
/PHP_5_3/sapi/apache/
H A Dmod_php5.c746 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry)==FAILURE) {
/PHP_5_3/sapi/apache2handler/
H A Dapache_config.c124 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &orig_per_dir_entry)==FAILURE) {
130 phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->status, orig_per_dir_entry->status));
/PHP_5_3/sapi/apache_hooks/
H A Dmod_php5.c801 if (zend_hash_find(target_ht, hash_key->arKey, hash_key->nKeyLength, (void **) &new_per_dir_entry)==FAILURE) {
/PHP_5_3/Zend/
H A Dzend_API.c978 ZVAL_STRINGL(member, hash_key->arKey, hash_key->nKeyLength-1, 1);
H A Dzend_closures.c347 if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &p) == FAILURE) {
351 zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), (void**)&p);
354 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey);
373 if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), NULL) == SUCCESS) {
H A Dzend_hash.c100 ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength) argument
102 return zend_inline_hash_func(arKey, nKeyLength);
203 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument
218 h = zend_inline_hash_func(arKey, nKeyLength);
224 if (!memcmp(p->arKey, arKey, nKeyLength)) {
254 memcpy(p->arKey, arKey, nKeyLength);
273 ZEND_API int _zend_hash_quick_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument
289 if (!memcmp(p->arKey, arKe
342 zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint nKeyLength) argument
458 zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, int flag) argument
861 zend_get_hash_value(const char *arKey, uint nKeyLength) argument
871 zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument
896 zend_hash_quick_find(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void **pData) argument
923 zend_hash_exists(const HashTable *ht, const char *arKey, uint nKeyLength) argument
947 zend_hash_quick_exists(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h) argument
[all...]
H A Dzend_hash.h45 typedef ulong (*hash_func_t)(const char *arKey, uint nKeyLength);
63 char arKey[1]; /* Must be last element */ member in struct:bucket
86 char *arKey; member in struct:_zend_hash_key
107 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
108 #define zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
109 _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
110 #define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
111 _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_CC)
113 ZEND_API int _zend_hash_quick_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
114 #define zend_hash_quick_update(ht, arKey, nKeyLengt
261 zend_inline_hash_func(const char *arKey, uint nKeyLength) argument
343 zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) argument
350 zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) argument
357 zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument
364 zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) argument
370 zend_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLength, int mode, HashPosition *pos) argument
[all...]
H A Dzend_ini.c161 return zend_binary_strcasecmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);
H A Dzend_ts_hash.c102 ZEND_API int _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument
107 retval = _zend_hash_add_or_update(TS_HASH(ht), arKey, nKeyLength, pData, nDataSize, pDest, flag ZEND_FILE_LINE_RELAY_CC);
113 ZEND_API int _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument
118 retval = _zend_hash_quick_add_or_update(TS_HASH(ht), arKey, nKeyLength, h, pData, nDataSize, pDest, flag ZEND_FILE_LINE_RELAY_CC);
135 ZEND_API int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength) argument
140 retval = zend_hash_add_empty_element(TS_HASH(ht), arKey, nKeyLength);
190 ZEND_API int zend_ts_hash_del_key_or_index(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, int flag) argument
195 retval = zend_hash_del_key_or_index(TS_HASH(ht), arKey, nKeyLength, h, flag);
201 ZEND_API ulong zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength) argument
206 retval = zend_get_hash_value(arKey, nKeyLengt
212 zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData) argument
223 zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void **pData) argument
245 zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength) argument
[all...]
H A Dzend_ts_hash.h52 ZEND_API int _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
53 #define zend_ts_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
54 _zend_ts_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
55 #define zend_ts_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
56 _zend_ts_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_CC)
58 ZEND_API int _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
59 #define zend_ts_hash_quick_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \
60 _zend_ts_hash_quick_add_or_update(ht, arKey, nKeyLength, h, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
61 #define zend_ts_hash_quick_add(ht, arKey, nKeyLength, h, pData, nDataSize, pDest) \
62 _zend_ts_hash_quick_add_or_update(ht, arKey, nKeyLengt
[all...]
H A Dzend_builtin_functions.c1560 if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0)
1564 !same_name(hash_key->arKey, ce->name, ce->name_length))) {
1565 add_next_index_stringl(array, hash_key->arKey, hash_key->nKeyLength - 1, 1);
1612 if (hash_key->nKeyLength == 0 || hash_key->arKey[0] == 0) {
1617 add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength-1, 1);
1619 add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength-1, 1);
H A Dzend_compile.c2624 if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child)==FAILURE) {
2704 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
2707 zend_hash_quick_update(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, parent_info, sizeof(zend_property_info), (void **) &child_info);
2719 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
2722 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey,
2723 (child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ce->name, hash_key->arKey);
2732 zend_error(E_COMPILE_ERROR, "Access level to %s::$%s must be %s (as in class %s)%s", ce->name, hash_key->arKey, zend_visibility_string(parent_info->flags), parent_ce->name, (parent_info->flags&ZEND_ACC_PUBLIC) ? "" : " or weaker");
2829 if (!zend_hash_quick_exists(target, key->arKey, key->nKeyLength, key->h)) {
2831 if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, p, sizeof(zval*), NULL) == SUCCESS) {
2892 if (zend_hash_quick_find(child_constants_table, hash_key->arKey, hash_ke
[all...]
/PHP_5_3/ext/phar/
H A Ddirstream.c152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ argument
156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL);
172 result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);
174 result = zend_binary_strcmp(f->key.arKey.s, f->nKeyLength, s->key.arKey.s, s->nKeyLength);
H A Dphar_internal.h549 static inline int phar_make_unicode(zstr *c_var, char *arKey, uint nKeyLength TSRMLS_DC) argument
555 if (zend_string_to_unicode(conv, &c_var->u, &c_var_len, arKey, nKeyLength TSRMLS_CC) == FAILURE) {
/PHP_5_3/ext/spl/
H A Dspl_iterators.c2637 char *arKey; local
2648 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &arKey, &nKeyLength, &value) == FAILURE) {
2653 zend_symtable_update(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1, &value, sizeof(value), NULL);
2662 char *arKey; local
2673 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) {
2677 if (zend_symtable_find(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1, (void**)&value) == FAILURE) {
2678 zend_error(E_NOTICE, "Undefined index: %s", arKey);
2691 char *arKey; local
2701 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) {
2705 zend_symtable_del(HASH_OF(intern->u.caching.zcache), arKey, nKeyLengt
2714 char *arKey; local
[all...]

Completed in 63 milliseconds