Lines Matching refs:nKeyLength
183 …zend_hash_quick_update(function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, functio… in move_user_function()
361 if (!p->nKeyLength) {
368 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
370 memcpy((char*)q->arKey, p->arKey, p->nKeyLength);
373 q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength);
374 if (p->nKeyLength) {
375 memcpy(q->arKey, p->arKey, p->nKeyLength);
379 q->nKeyLength = p->nKeyLength;
488 if (!p->nKeyLength) {
495 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
497 memcpy((char*)q->arKey, p->arKey, p->nKeyLength);
500 q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength);
501 if (p->nKeyLength) {
502 memcpy(q->arKey, p->arKey, p->nKeyLength);
506 q->nKeyLength = p->nKeyLength;
599 if (!p->nKeyLength) {
606 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
608 memcpy((char*)q->arKey, p->arKey, p->nKeyLength);
611 q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength);
612 if (p->nKeyLength) {
613 memcpy(q->arKey, p->arKey, p->nKeyLength);
617 q->nKeyLength = p->nKeyLength;
898 if (p->nKeyLength > 0) {
899 if (zend_hash_quick_add(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &t) == SUCCESS) {
904 if (p->nKeyLength > 0 && p->arKey[0] == 0) {
907 …if (zend_hash_quick_update(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &t) == SUCCESS) {
913 …} else if (!ignore_dups && zend_hash_quick_find(target, p->arKey, p->nKeyLength, p->h, &t) == SUCC…