Lines Matching refs:new_elem
27098 HashElem *new_elem; /* New element added to the pH */
27114 new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) );
27115 if( new_elem==0 ) return data;
27116 new_elem->pKey = pKey;
27117 new_elem->data = data;
27125 insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem);
146560 Fts3HashElem *new_elem; /* New element added to the pH */
146587 new_elem = (Fts3HashElem*)fts3HashMalloc( sizeof(Fts3HashElem) );
146588 if( new_elem==0 ) return data;
146590 new_elem->pKey = fts3HashMalloc( nKey );
146591 if( new_elem->pKey==0 ){
146592 fts3HashFree(new_elem);
146595 memcpy((void*)new_elem->pKey, pKey, nKey);
146597 new_elem->pKey = (void*)pKey;
146599 new_elem->nKey = nKey;
146604 fts3HashInsertElement(pH, &pH->ht[h], new_elem);
146605 new_elem->data = data;