Lines Matching refs:new_elem
35557 HashElem *new_elem; /* New element added to the pH */
35573 new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) );
35574 if( new_elem==0 ) return data;
35575 new_elem->pKey = pKey;
35576 new_elem->data = data;
35584 insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem);
187949 Fts3HashElem *new_elem; /* New element added to the pH */
187976 new_elem = (Fts3HashElem*)fts3HashMalloc( sizeof(Fts3HashElem) );
187977 if( new_elem==0 ) return data;
187979 new_elem->pKey = fts3HashMalloc( nKey );
187980 if( new_elem->pKey==0 ){
187981 fts3HashFree(new_elem);
187984 memcpy((void*)new_elem->pKey, pKey, nKey);
187986 new_elem->pKey = (void*)pKey;
187988 new_elem->nKey = nKey;
187993 fts3HashInsertElement(pH, &pH->ht[h], new_elem);
187994 new_elem->data = data;