Lines Matching refs:new_elem
28914 HashElem *new_elem; /* New element added to the pH */
28930 new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) );
28931 if( new_elem==0 ) return data;
28932 new_elem->pKey = pKey;
28933 new_elem->data = data;
28941 insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem);
149904 Fts3HashElem *new_elem; /* New element added to the pH */
149931 new_elem = (Fts3HashElem*)fts3HashMalloc( sizeof(Fts3HashElem) );
149932 if( new_elem==0 ) return data;
149934 new_elem->pKey = fts3HashMalloc( nKey );
149935 if( new_elem->pKey==0 ){
149936 fts3HashFree(new_elem);
149939 memcpy((void*)new_elem->pKey, pKey, nKey);
149941 new_elem->pKey = (void*)pKey;
149943 new_elem->nKey = nKey;
149948 fts3HashInsertElement(pH, &pH->ht[h], new_elem);
149949 new_elem->data = data;