Lines Matching refs:new_elem
21258 HashElem *new_elem; /* New element added to the pH */
21281 new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) );
21282 if( new_elem==0 ) return data;
21283 new_elem->pKey = pKey;
21284 new_elem->nKey = nKey;
21285 new_elem->data = data;
21294 insertElement(pH, &pH->ht[h], new_elem);
21296 insertElement(pH, 0, new_elem);
113173 Fts3HashElem *new_elem; /* New element added to the pH */
113200 new_elem = (Fts3HashElem*)fts3HashMalloc( sizeof(Fts3HashElem) );
113201 if( new_elem==0 ) return data;
113203 new_elem->pKey = fts3HashMalloc( nKey );
113204 if( new_elem->pKey==0 ){
113205 fts3HashFree(new_elem);
113208 memcpy((void*)new_elem->pKey, pKey, nKey);
113210 new_elem->pKey = (void*)pKey;
113212 new_elem->nKey = nKey;
113217 fts3HashInsertElement(pH, &pH->ht[h], new_elem);
113218 new_elem->data = data;