Lines Matching refs:nKeyLength

312 const char *accel_new_interned_string(const char *arKey, int nKeyLength, int free_src TSRMLS_DC)  in accel_new_interned_string()  argument
325 h = zend_inline_hash_func(arKey, nKeyLength); in accel_new_interned_string()
331 if ((p->h == h) && (p->nKeyLength == (uint)nKeyLength)) { in accel_new_interned_string()
332 if (!memcmp(p->arKey, arKey, nKeyLength)) { in accel_new_interned_string()
342 if (ZCSG(interned_strings_top) + ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength) >= in accel_new_interned_string()
351 ZCSG(interned_strings_top) += ZEND_MM_ALIGNED_SIZE(sizeof(Bucket) + nKeyLength); in accel_new_interned_string()
354 memcpy((char*)p->arKey, arKey, nKeyLength); in accel_new_interned_string()
355 p->nKeyLength = nKeyLength; in accel_new_interned_string()
403 if (p->nKeyLength) { in accel_use_shm_interned_strings()
404 p->arKey = accel_new_interned_string(p->arKey, p->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
414 if (p->nKeyLength) { in accel_use_shm_interned_strings()
415 p->arKey = accel_new_interned_string(p->arKey, p->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
426 if (q->nKeyLength) { in accel_use_shm_interned_strings()
427 q->arKey = accel_new_interned_string(q->arKey, q->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
439 if (q->nKeyLength) { in accel_use_shm_interned_strings()
440 q->arKey = accel_new_interned_string(q->arKey, q->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
447 if (q->nKeyLength) { in accel_use_shm_interned_strings()
448 q->arKey = accel_new_interned_string(q->arKey, q->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
459 if (p->nKeyLength) { in accel_use_shm_interned_strings()
460 p->arKey = accel_new_interned_string(p->arKey, p->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()
471 if (p->nKeyLength) { in accel_use_shm_interned_strings()
472 p->arKey = accel_new_interned_string(p->arKey, p->nKeyLength, 0 TSRMLS_CC); in accel_use_shm_interned_strings()