Lines Matching refs:p

120 	Bucket *p;  in zend_accel_move_user_functions()  local
125 ZEND_HASH_REVERSE_FOREACH_BUCKET(src, p) { in zend_accel_move_user_functions()
126 zend_function *function = Z_PTR(p->val); in zend_accel_move_user_functions()
129 _zend_hash_append_ptr(dst, p->key, function); in zend_accel_move_user_functions()
130 zend_hash_del_bucket(src, p); in zend_accel_move_user_functions()
174 Bucket *p, *q, *end; in zend_hash_clone_constants() local
196 p = source->arData; in zend_hash_clone_constants()
197 end = p + source->nNumUsed; in zend_hash_clone_constants()
198 for (; p != end; p++) { in zend_hash_clone_constants()
199 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_constants()
200 nIndex = p->h | ht->nTableMask; in zend_hash_clone_constants()
208 q->h = p->h; in zend_hash_clone_constants()
209 q->key = p->key; in zend_hash_clone_constants()
212 c = ARENA_REALLOC(Z_PTR(p->val)); in zend_hash_clone_constants()
225 Bucket *p, *q, *end; in zend_hash_clone_methods() local
247 p = source->arData; in zend_hash_clone_methods()
248 end = p + source->nNumUsed; in zend_hash_clone_methods()
249 for (; p != end; p++) { in zend_hash_clone_methods()
250 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_methods()
252 nIndex = p->h | ht->nTableMask; in zend_hash_clone_methods()
260 q->h = p->h; in zend_hash_clone_methods()
261 ZEND_ASSERT(p->key != NULL); in zend_hash_clone_methods()
262 q->key = p->key; in zend_hash_clone_methods()
265 ZVAL_PTR(&q->val, ARENA_REALLOC(Z_PTR(p->val))); in zend_hash_clone_methods()
283 Bucket *p, *q, *end; in zend_hash_clone_prop_info() local
305 p = source->arData; in zend_hash_clone_prop_info()
306 end = p + source->nNumUsed; in zend_hash_clone_prop_info()
307 for (; p != end; p++) { in zend_hash_clone_prop_info()
308 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_prop_info()
310 nIndex = p->h | ht->nTableMask; in zend_hash_clone_prop_info()
318 q->h = p->h; in zend_hash_clone_prop_info()
319 ZEND_ASSERT(p->key != NULL); in zend_hash_clone_prop_info()
320 q->key = p->key; in zend_hash_clone_prop_info()
323 prop_info = ARENA_REALLOC(Z_PTR(p->val)); in zend_hash_clone_prop_info()
476 Bucket *p, *end; in zend_accel_function_hash_copy() local
480 p = source->arData; in zend_accel_function_hash_copy()
481 end = p + source->nNumUsed; in zend_accel_function_hash_copy()
482 for (; p != end; p++) { in zend_accel_function_hash_copy()
483 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_function_hash_copy()
484 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy()
485 t = zend_hash_find(target, p->key); in zend_accel_function_hash_copy()
487 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy()
489 t = zend_hash_update(target, p->key, &p->val); in zend_accel_function_hash_copy()
494 _zend_hash_append_ptr(target, p->key, Z_PTR(p->val)); in zend_accel_function_hash_copy()
501 function1 = Z_PTR(p->val); in zend_accel_function_hash_copy()
520 Bucket *p, *end; in zend_accel_function_hash_copy_from_shm() local
524 p = source->arData; in zend_accel_function_hash_copy_from_shm()
525 end = p + source->nNumUsed; in zend_accel_function_hash_copy_from_shm()
526 for (; p != end; p++) { in zend_accel_function_hash_copy_from_shm()
527 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_function_hash_copy_from_shm()
528 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy_from_shm()
529 t = zend_hash_find(target, p->key); in zend_accel_function_hash_copy_from_shm()
531 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy_from_shm()
533 zend_hash_update_ptr(target, p->key, ARENA_REALLOC(Z_PTR(p->val))); in zend_accel_function_hash_copy_from_shm()
538 _zend_hash_append_ptr(target, p->key, ARENA_REALLOC(Z_PTR(p->val))); in zend_accel_function_hash_copy_from_shm()
545 function1 = Z_PTR(p->val); in zend_accel_function_hash_copy_from_shm()
563 Bucket *p, *end; in zend_accel_class_hash_copy() local
567 p = source->arData; in zend_accel_class_hash_copy()
568 end = p + source->nNumUsed; in zend_accel_class_hash_copy()
569 for (; p != end; p++) { in zend_accel_class_hash_copy()
570 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_class_hash_copy()
571 ZEND_ASSERT(p->key); in zend_accel_class_hash_copy()
572 t = zend_hash_find(target, p->key); in zend_accel_class_hash_copy()
574 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_class_hash_copy()
578 zend_class_entry *ce1 = Z_PTR(p->val); in zend_accel_class_hash_copy()
591 t = _zend_hash_append_ptr(target, p->key, Z_PTR(p->val)); in zend_accel_class_hash_copy()