Searched refs:arBuckets (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_string.c58 CG(interned_strings).arBuckets = (Bucket **) pecalloc(CG(interned_strings).nTableSize, sizeof(Bucket *), CG(interned_strings).persistent);
79 free(CG(interned_strings).arBuckets);
97 p = CG(interned_strings).arBuckets[nIndex];
133 p->pNext = CG(interned_strings).arBuckets[nIndex];
151 CG(interned_strings).arBuckets[nIndex] = p;
159 Bucket **t = (Bucket **) perealloc_recoverable(CG(interned_strings).arBuckets, (CG(interned_strings).nTableSize << 1) * sizeof(Bucket *), CG(interned_strings).persistent);
163 CG(interned_strings).arBuckets = t;
202 p = CG(interned_strings).arBuckets[i];
220 CG(interned_strings).arBuckets[i] = p;
H A Dzend_hash.h75 Bucket **arBuckets; member in struct:_hashtable
H A Dzend_hash.c143 (ht)->arBuckets = (Bucket **) pecalloc((ht)->nTableSize, sizeof(Bucket *), (ht)->persistent); \
160 ht->arBuckets[p->h & ht->nTableMask] = p->pNext;
211 ht->nTableMask = 0; /* 0 means that ht->arBuckets is uninitialized */
213 ht->arBuckets = (Bucket**)&uninitialized_bucket;
260 p = ht->arBuckets[nIndex];
293 CONNECT_TO_BUCKET_DLLIST(p, ht->arBuckets[nIndex]);
300 ht->arBuckets[nIndex] = p;
323 p = ht->arBuckets[nIndex];
358 CONNECT_TO_BUCKET_DLLIST(p, ht->arBuckets[nIndex]);
365 ht->arBuckets[nInde
[all...]
/PHP_TRUNK/ext/phar/
H A Ddirstream.c47 if (data && data->arBuckets) {
49 data->arBuckets = 0;
362 if (!phar->manifest.arBuckets) {
H A Dfunc_interceptors.c36 if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)))
37 && !cached_phars.arBuckets) {
110 if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)))
111 && !cached_phars.arBuckets) {
243 if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)))
244 && !cached_phars.arBuckets) {
338 if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)))
339 && !cached_phars.arBuckets) {
904 if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map)))
905 && !cached_phars.arBuckets) {
[all...]
H A Dphar.c85 if (PHAR_GLOBALS->request_init && PHAR_GLOBALS->phar_fname_map.arBuckets) {
150 PHAR_GLOBALS->phar_fname_map.arBuckets = 0;
152 PHAR_GLOBALS->phar_alias_map.arBuckets = 0;
177 PHAR_GLOBALS->phar_fname_map.arBuckets = 0;
178 PHAR_GLOBALS->phar_alias_map.arBuckets = 0;
224 if (phar->manifest.arBuckets) {
226 phar->manifest.arBuckets = NULL;
229 if (phar->mounted_dirs.arBuckets) {
231 phar->mounted_dirs.arBuckets = NULL;
234 if (phar->virtual_dirs.arBuckets) {
[all...]
H A Dstream.c106 if (PHAR_GLOBALS->request_init && PHAR_GLOBALS->phar_fname_map.arBuckets && FAILURE == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **)&pphar)) {
612 if (!phar->manifest.arBuckets) {
629 if (phar->mounted_dirs.arBuckets && zend_hash_num_elements(&phar->mounted_dirs)) {
H A Dutil.c928 if (PHAR_GLOBALS->phar_alias_map.arBuckets
1256 if (!phar->manifest.arBuckets) {
1301 if (phar->mounted_dirs.arBuckets && zend_hash_num_elements(&phar->mounted_dirs)) {
H A Dzip.c304 mydata->manifest.arBuckets = 0; \
306 mydata->mounted_dirs.arBuckets = 0; \
308 mydata->virtual_dirs.arBuckets = 0; \
328 mydata->manifest.arBuckets = 0; \
330 mydata->mounted_dirs.arBuckets = 0; \
332 mydata->virtual_dirs.arBuckets = 0; \
H A Dphar_object.c539 } else if (PHAR_GLOBALS->phar_fname_map.arBuckets && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), fname, fname_len, (void **)&pphar)) {
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c283 ZCSG(interned_strings).arBuckets[i] = ZCSG(interned_strings_saved_state).arBuckets[i];
284 if (ZCSG(interned_strings).arBuckets[i]) {
285 ZCSG(interned_strings).arBuckets[i]->pLast = NULL;
301 ZCSG(interned_strings_saved_state).arBuckets = (Bucket**)zend_shared_alloc(ZCSG(interned_strings).nTableSize * sizeof(Bucket *));
302 if (!ZCSG(interned_strings_saved_state).arBuckets) {
305 memcpy(ZCSG(interned_strings_saved_state).arBuckets, ZCSG(interned_strings).arBuckets, ZCSG(interned_strings).nTableSize * sizeof(Bucket *));
329 p = ZCSG(interned_strings).arBuckets[nIndex];
360 p->pNext = ZCSG(interned_strings).arBuckets[nInde
[all...]
H A Dzend_persist_calc.c88 ADD_DUP_SIZE(ht->arBuckets, sizeof(Bucket*) * ht->nTableSize);
91 ADD_DUP_SIZE(ht->arBuckets, sizeof(Bucket*) * ht->nTableSize);
H A DZendAccelerator.h309 Bucket **arBuckets; member in struct:_zend_accel_shared_globals::__anon1
H A Dzend_persist.c129 if (ht->arBuckets[i]) {
130 ht->arBuckets[i] = zend_shared_alloc_get_xlat_entry(ht->arBuckets[i]);
134 zend_accel_store(ht->arBuckets, sizeof(Bucket*) * ht->nTableSize);
137 ht->arBuckets = (Bucket**)&uninitialized_bucket;
H A Dzend_accelerator_util_funcs.c120 pefree(ht->arBuckets, ht->persistent);
122 ht->arBuckets = t;
338 ht->arBuckets = NULL;
347 ht->arBuckets = (Bucket**)&uninitialized_bucket;
352 ht->arBuckets = (Bucket **) ecalloc(ht->nTableSize, sizeof(Bucket *));
382 q->pNext = ht->arBuckets[nIndex];
387 ht->arBuckets[nIndex] = q;
474 ht->arBuckets = (Bucket**)&uninitialized_bucket;
479 ht->arBuckets = (Bucket **) ecalloc(ht->nTableSize, sizeof(Bucket *));
509 q->pNext = ht->arBuckets[nInde
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c125 p = ht->arBuckets[intern->pos_h & ht->nTableMask];

Completed in 52 milliseconds