Searched defs:nKeyLength (Results 1 - 5 of 5) sorted by relevance

/PHP_5_3/Zend/
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
211 if (nKeyLength <= 0) {
218 h = zend_inline_hash_func(arKey, nKeyLength);
223 if ((p->h == h) && (p->nKeyLength == nKeyLength)) {
224 if (!memcmp(p->arKey, arKey, nKeyLength)) {
250 p = (Bucket *) pemalloc(sizeof(Bucket) - 1 + nKeyLength, ht->persistent);
254 memcpy(p->arKey, arKey, nKeyLength);
273 _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
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);
56 uint nKeyLength; member in struct:bucket
87 uint nKeyLength; 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, nKeyLength,
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_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, nKeyLength);
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...]
/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);
/PHP_5_3/ext/spl/
H A Dspl_iterators.c2638 uint nKeyLength; 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);
2663 uint nKeyLength; 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) {
2692 uint nKeyLength; 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, nKeyLength+1);
2715 uint nKeyLength; local
[all...]

Completed in 11 milliseconds