Searched defs:pNew (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dhash.c21 ** "pNew" is a pointer to the hash table that is to be initialized.
23 void sqlite3HashInit(Hash *pNew){ argument
24 assert( pNew!=0 );
25 pNew->first = 0;
26 pNew->count = 0;
27 pNew->htsize = 0;
28 pNew->ht = 0;
66 /* Link pNew element into the hash table pH. If pEntry!=0 then also
67 ** insert pNew into the pEntry hash bucket.
71 struct _ht *pEntry, /* The entry into which pNew i
[all...]
H A Dmutex_noop.c111 sqlite3_debug_mutex *pNew = 0; local
115 pNew = sqlite3Malloc(sizeof(*pNew));
116 if( pNew ){
117 pNew->id = id;
118 pNew->cnt = 0;
125 pNew = &aStatic[id-2];
126 pNew->id = id;
130 return (sqlite3_mutex*)pNew;
H A Dnotify.c261 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2); local
262 if( pNew ){
263 memcpy(pNew, aArg, nArg*sizeof(void *));
265 aDyn = aArg = pNew;
H A Dmemjournal.c140 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk)); local
141 if( !pNew ){
144 pNew->pNext = 0;
147 pChunk->pNext = pNew;
150 p->pFirst = pNew;
152 p->endpoint.pChunk = pNew;
H A Drowset.c172 struct RowSetChunk *pNew; local
173 pNew = sqlite3DbMallocRaw(p->db, sizeof(*pNew));
174 if( pNew==0 ){
177 pNew->pNextChunk = p->pChunk;
178 p->pChunk = pNew;
179 p->pFresh = pNew->aEntry;
H A Dtest_wholenumber.c48 sqlite3_vtab *pNew; local
49 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) );
50 if( pNew==0 ) return SQLITE_NOMEM;
52 memset(pNew, 0, sizeof(*pNew));
H A Dalter.c624 Table *pNew; /* Copy of pParse->pNewTable */ local
636 pNew = pParse->pNewTable;
637 assert( pNew );
640 iDb = sqlite3SchemaToIndex(db, pNew->pSchema);
642 zTab = &pNew->zName[16]; /* Skip the "sqlite_altertab_" prefix on the name */
643 pCol = &pNew->aCol[pNew->nCol-1];
671 if( pNew->pIndex ){
675 if( (db->flags&SQLITE_ForeignKeys) && pNew->pFKey && pDflt ){
715 zDb, SCHEMA_TABLE(iDb), pNew
748 Table *pNew; local
[all...]
H A Dlempar.c245 yyStackEntry *pNew; local
248 pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
249 if( pNew ){
250 p->yystack = pNew;
H A Dmalloc.c511 void *pNew; local
529 pNew = pOld;
539 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
540 if( pNew==0 && mem0.alarmCallback ){
542 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
544 if( pNew ){
545 nNew = sqlite3MallocSize(pNew);
550 pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew);
552 assert( EIGHT_BYTE_ALIGNMENT(pNew) ); /* IMP: R-04675-44850 */
553 return pNew;
654 void *pNew = 0; local
691 void *pNew; local
[all...]
H A Dmem2.c345 void *pNew; local
349 pNew = sqlite3MemMalloc(nByte);
350 if( pNew ){
351 memcpy(pNew, pPrior, nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize);
353 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - pOldHdr->iSize);
357 return pNew;
H A Dprepare.c718 sqlite3_stmt *pNew; local
727 rc = sqlite3LockAndPrepare(db, zSql, -1, 0, p, &pNew, 0);
732 assert( pNew==0 );
735 assert( pNew!=0 );
737 sqlite3VdbeSwap((Vdbe*)pNew, p);
738 sqlite3TransferBindings(pNew, (sqlite3_stmt*)p);
739 sqlite3VdbeResetStepResult((Vdbe*)pNew);
740 sqlite3VdbeFinalize((Vdbe*)pNew);
H A Dtest_thread.c175 SqlThread *pNew; local
192 pNew = (SqlThread *)ckalloc(sizeof(SqlThread)+nVarname+nScript+2);
193 pNew->zVarname = (char *)&pNew[1];
194 pNew->zScript = (char *)&pNew->zVarname[nVarname+1];
195 memcpy(pNew->zVarname, zVarname, nVarname+1);
196 memcpy(pNew->zScript, zScript, nScript+1);
197 pNew->parent = Tcl_GetCurrentThread();
198 pNew
[all...]
H A Dfkey.c1019 Expr *pNew; local
1021 pNew = sqlite3PExpr(pParse, TK_DOT,
1028 pNew = sqlite3ExprDup(db, pDflt, 0);
1030 pNew = sqlite3PExpr(pParse, TK_NULL, 0, 0, 0);
1033 pNew = sqlite3PExpr(pParse, TK_NULL, 0, 0, 0);
1035 pList = sqlite3ExprListAppend(pParse, pList, pNew);
H A Dtest_fuzzer.c194 fuzzer_vtab *pNew; local
201 pNew = sqlite3_malloc( sizeof(*pNew) + n );
202 if( pNew==0 ) return SQLITE_NOMEM;
203 pNew->zClassName = (char*)&pNew[1];
204 memcpy(pNew->zClassName, argv[0], n);
206 memset(pNew, 0, sizeof(*pNew));
207 *ppVtab = &pNew
526 fuzzerInsert(fuzzer_cursor *pCur, fuzzer_stem *pNew) argument
574 fuzzer_stem *pNew; local
600 fuzzer_stem *pStem, *pNew; local
[all...]
H A Dtest_vfstrace.c500 sqlite3_io_methods *pNew = sqlite3_malloc( sizeof(*pNew) ); local
502 memset(pNew, 0, sizeof(*pNew));
503 pNew->iVersion = pSub->iVersion;
504 pNew->xClose = vfstraceClose;
505 pNew->xRead = vfstraceRead;
506 pNew->xWrite = vfstraceWrite;
507 pNew->xTruncate = vfstraceTruncate;
508 pNew
721 sqlite3_vfs *pNew; local
[all...]
H A Dvtab.c866 FuncDef *pNew; local
901 pNew = sqlite3DbMallocZero(db, sizeof(*pNew)
903 if( pNew==0 ){
906 *pNew = *pDef;
907 pNew->zName = (char *)&pNew[1];
908 memcpy(pNew->zName, pDef->zName, sqlite3Strlen30(pDef->zName)+1);
909 pNew->xFunc = xFunc;
910 pNew
[all...]
/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc_messageQueueLib.c143 phDal4Nfc_message_queue_item_t * pNew; local
152 pNew = (phDal4Nfc_message_queue_item_t *)phOsalNfc_GetMemory(sizeof(phDal4Nfc_message_queue_item_t));
153 if (pNew == NULL)
155 memset(pNew, 0, sizeof(phDal4Nfc_message_queue_item_t));
156 memcpy(&pNew->nMsg, &((phDal4Nfc_Message_Wrapper_t*)msgp)->msg, sizeof(phLibNfc_Message_t));
162 p->pNext = pNew;
163 pNew->pPrev = p;
167 pQueue->pItems = pNew;
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dft_hash.c33 ** "pNew" is a pointer to the hash table that is to be initialized.
42 void HashInit(Hash *pNew, int keyClass, int copyKey){ argument
43 assert( pNew!=0 );
45 pNew->keyClass = keyClass;
49 pNew->copyKey = copyKey;
50 pNew->first = 0;
51 pNew->count = 0;
52 pNew->htsize = 0;
53 pNew->ht = 0;
54 pNew
[all...]
H A Dfts1_hash.c45 ** "pNew" is a pointer to the hash table that is to be initialized.
52 void sqlite3Fts1HashInit(fts1Hash *pNew, int keyClass, int copyKey){ argument
53 assert( pNew!=0 );
55 pNew->keyClass = keyClass;
56 pNew->copyKey = copyKey;
57 pNew->first = 0;
58 pNew->count = 0;
59 pNew->htsize = 0;
60 pNew->ht = 0;
61 pNew
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2_hash.c52 ** "pNew" is a pointer to the hash table that is to be initialized.
59 void sqlite3Fts2HashInit(fts2Hash *pNew, int keyClass, int copyKey){ argument
60 assert( pNew!=0 );
62 pNew->keyClass = keyClass;
63 pNew->copyKey = copyKey;
64 pNew->first = 0;
65 pNew->count = 0;
66 pNew->htsize = 0;
67 pNew->ht = 0;
168 struct _fts2ht *pEntry, /* The entry into which pNew i
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_tokenizer1.c187 char *pNew; local
189 pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated);
190 if( !pNew ) return SQLITE_NOMEM;
191 c->pToken = pNew;
H A Dfts3_hash.c52 ** "pNew" is a pointer to the hash table that is to be initialized.
59 void sqlite3Fts3HashInit(Fts3Hash *pNew, char keyClass, char copyKey){ argument
60 assert( pNew!=0 );
62 pNew->keyClass = keyClass;
63 pNew->copyKey = copyKey;
64 pNew->first = 0;
65 pNew->count = 0;
66 pNew->htsize = 0;
67 pNew->ht = 0;
168 struct _fts3ht *pEntry, /* The entry into which pNew i
[all...]
H A Dfts3_porter.c607 char *pNew; local
609 pNew = sqlite3_realloc(c->zToken, c->nAllocated);
610 if( !pNew ) return SQLITE_NOMEM;
611 c->zToken = pNew;
/external/chromium_org/third_party/sqlite/src/tool/
H A Dlempar.c239 yyStackEntry *pNew; local
242 pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
243 if( pNew ){
244 p->yystack = pNew;
/external/aac/libAACenc/src/
H A Dsf_estim.cpp321 FIXP_DBL ldRatioOld, ldRatioNew, pOld, pNew; local
341 pNew = ldRatioNew;
343 pNew = PE_C2 + fMult(PE_C3,ldRatioNew);
345 specPeDiff += fMult(FL2FXCONST_DBL(0.7f),fMult(sfbNRelevantLines[sfb],(pNew - pOld)));

Completed in 225 milliseconds

12