Searched defs:arKey (Results 1 - 8 of 8) sorted by relevance

/PHP_5_5/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);
171 result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);
/PHP_5_5/Zend/
H A Dzend_hash.c101 ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength) argument
103 return zend_inline_hash_func(arKey, nKeyLength);
195 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
215 h = zend_inline_hash_func(arKey, nKeyLength);
220 if (p->arKey == arKey ||
221 ((p->h == h) && (p->nKeyLength == nKeyLength) && !memcmp(p->arKey, arKey, nKeyLength))) {
246 if (IS_INTERNED(arKey)) {
251 p->arKey
278 _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
359 zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint nKeyLength) argument
486 zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint nKeyLength, ulong h, int flag) argument
903 zend_get_hash_value(const char *arKey, uint nKeyLength) argument
913 zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument
937 zend_hash_quick_find(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h, void **pData) argument
963 zend_hash_exists(const HashTable *ht, const char *arKey, uint nKeyLength) argument
986 zend_hash_quick_exists(const HashTable *ht, const char *arKey, uint nKeyLength, ulong h) argument
[all...]
H A Dzend_hash.h46 typedef ulong (*hash_func_t)(const char *arKey, uint nKeyLength);
64 const char *arKey; member in struct:bucket
87 const char *arKey; member in struct:_zend_hash_key
108 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);
109 #define zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
110 _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC)
111 #define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
112 _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_CC)
114 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);
115 #define zend_hash_quick_update(ht, arKey, nKeyLengt
264 zend_inline_hash_func(const char *arKey, uint nKeyLength) argument
351 zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) argument
358 zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) argument
365 zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument
372 zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) argument
378 zend_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLength, int mode, HashPosition *pos) argument
[all...]
H A Dzend_string.c82 static const char *zend_new_interned_string_int(const char *arKey, int nKeyLength, int free_src TSRMLS_DC) argument
89 if (IS_INTERNED(arKey)) {
90 return arKey;
93 h = zend_inline_hash_func(arKey, nKeyLength);
98 if (!memcmp(p->arKey, arKey, nKeyLength)) {
100 efree((void *)arKey);
102 return p->arKey;
111 return arKey;
121 p->arKey
[all...]
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_compile.c3478 if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child)==FAILURE) {
3497 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
3500 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);
3512 if (zend_hash_quick_find(&ce->properties_info, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child_info)==SUCCESS) {
3515 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey,
3516 (child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ce->name, hash_key->arKey);
3525 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");
3733 if (zend_hash_quick_find(child_constants_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void**)&old_constant) == SUCCESS) {
3735 zend_error(E_COMPILE_ERROR, "Cannot inherit previously-inherited or override constant %s from interface %s", hash_key->arKey, iface->name);
3875 static void zend_add_trait_method(zend_class_entry *ce, const char *name, const char *arKey, uin argument
[all...]
/PHP_5_5/ext/opcache/
H A DZendAccelerator.c308 const char *accel_new_interned_string(const char *arKey, int nKeyLength, int free_src TSRMLS_DC) argument
316 if (arKey >= ZCSG(interned_strings_start) && arKey < ZCSG(interned_strings_end)) {
318 return arKey;
321 h = zend_inline_hash_func(arKey, nKeyLength);
328 if (!memcmp(p->arKey, arKey, nKeyLength)) {
330 efree((char*)arKey);
332 return p->arKey;
342 return arKey;
[all...]
/PHP_5_5/ext/spl/
H A Dspl_iterators.c2812 char *arKey; local
2823 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &arKey, &nKeyLength, &value) == FAILURE) {
2828 zend_symtable_update(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1, &value, sizeof(value), NULL);
2837 char *arKey; local
2848 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) {
2852 if (zend_symtable_find(HASH_OF(intern->u.caching.zcache), arKey, nKeyLength+1, (void**)&value) == FAILURE) {
2853 zend_error(E_NOTICE, "Undefined index: %s", arKey);
2866 char *arKey; local
2876 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arKey, &nKeyLength) == FAILURE) {
2880 zend_symtable_del(HASH_OF(intern->u.caching.zcache), arKey, nKeyLengt
2889 char *arKey; local
[all...]

Completed in 27 milliseconds