/external/chromium_org/third_party/sqlite/src/src/ |
mutex_noop.c | 111 sqlite3_debug_mutex *pNew = 0; 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;
|
test_fuzzer.c | 194 fuzzer_vtab *pNew; 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->base [all...] |
hash.c | 21 ** "pNew" is a pointer to the hash table that is to be initialized. 23 void sqlite3HashInit(Hash *pNew){ 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 is inserted * [all...] |
test_vfstrace.c | 500 sqlite3_io_methods *pNew = sqlite3_malloc( sizeof(*pNew) ); 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->xSync = vfstraceSync [all...] |
alter.c | 624 Table *pNew; /* Copy of pParse->pNewTable */ 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->addColOffset, zCol, pNew->addColOffset+1 [all...] |
memjournal.c | 140 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk)); 141 if( !pNew ){ 144 pNew->pNext = 0; 147 pChunk->pNext = pNew; 150 p->pFirst = pNew; 152 p->endpoint.pChunk = pNew;
|
malloc.c | 511 void *pNew; 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; [all...] |
test_thread.c | 175 SqlThread *pNew; 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->interp = interp [all...] |
notify.c | 261 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2); 262 if( pNew ){ 263 memcpy(pNew, aArg, nArg*sizeof(void *)); 265 aDyn = aArg = pNew;
|
test_wholenumber.c | 48 sqlite3_vtab *pNew; 49 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) ); 50 if( pNew==0 ) return SQLITE_NOMEM; 52 memset(pNew, 0, sizeof(*pNew));
|
rowset.c | 172 struct RowSetChunk *pNew; 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;
|
test6.c | 364 WriteBuffer *pNew; 368 pNew = (WriteBuffer *)crash_malloc(sizeof(WriteBuffer) + nBuf); 369 if( pNew==0 ){ 372 memset(pNew, 0, sizeof(WriteBuffer)+nBuf); 373 pNew->iOffset = iOffset; 374 pNew->nBuf = nBuf; 375 pNew->pFile = (CrashFile *)pFile; 377 pNew->zBuf = (u8 *)&pNew[1]; 378 memcpy(pNew->zBuf, zBuf, nBuf) [all...] |
os_unix.c | 763 struct vxworksFileId *pNew; /* search key and new file ID */ 769 pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) ); 770 if( pNew==0 ) return 0; 771 pNew->zCanonicalName = (char*)&pNew[1]; 772 memcpy(pNew->zCanonicalName, zAbsoluteName, n+1); 773 n = vxworksSimplifyName(pNew->zCanonicalName, n); 782 && memcmp(pCandidate->zCanonicalName, pNew->zCanonicalName, n)==0 784 sqlite3_free(pNew); [all...] |
mem2.c | 345 void *pNew; 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;
|
select.c | 62 Select *pNew; 65 pNew = sqlite3DbMallocZero(db, sizeof(*pNew) ); 67 if( pNew==0 ){ 68 pNew = &standin; 69 memset(pNew, 0, sizeof(*pNew)); 74 pNew->pEList = pEList; 75 pNew->pSrc = pSrc; 76 pNew->pWhere = pWhere [all...] |
/frameworks/compile/mclinker/lib/LD/ |
StaticResolver.cpp | 22 const ResolveInfo& __restrict__ pNew, 61 unsigned int row = getOrdinate(pNew); 81 old->overrideVisibility(pNew); 92 old->override(pNew); 98 old->override(pNew); 106 old->overrideVisibility(pNew); 123 old->override(pNew); 128 if (old->size() < pNew.size()) 129 old->setSize(pNew.size()); 130 old->overrideAttributes(pNew); [all...] |
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_messageQueueLib.c | 143 phDal4Nfc_message_queue_item_t * pNew; 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;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
Resolver.h | 56 /// shouldOverride - Can resolver override the symbol pOld by the symbol pNew? 59 /// @param pNew the symbol which is used to replace pOld 61 const ResolveInfo & __restrict__ pNew, 70 const ResolveInfo& __restrict__ pNew,
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
lib_object.c | 166 LIB_OBJECT_NODE* pNew, 173 *ppRoot = pNew; 174 pNew->pNext = pNew; 175 pNew->pPrevious = pNew; 178 pNew->key.nHandle = 1; 194 pNew->key.nHandle = pLast->key.nHandle + 1; 196 pLast->pNext = pNew; 197 pNew->pPrevious = pLast [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
ft_hash.c | 33 ** "pNew" is a pointer to the hash table that is to be initialized. 42 void HashInit(Hash *pNew, int keyClass, int copyKey){ 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->xMalloc = malloc_and_zero [all...] |
fts1_hash.c | 45 ** "pNew" is a pointer to the hash table that is to be initialized. 52 void sqlite3Fts1HashInit(fts1Hash *pNew, int keyClass, int copyKey){ 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->xMalloc = malloc_and_zero [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2_hash.c | 52 ** "pNew" is a pointer to the hash table that is to be initialized. 59 void sqlite3Fts2HashInit(fts2Hash *pNew, int keyClass, int copyKey){ 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 is inserted * [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_hash.c | 52 ** "pNew" is a pointer to the hash table that is to be initialized. 59 void sqlite3Fts3HashInit(Fts3Hash *pNew, char keyClass, char copyKey){ 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 is inserted * [all...] |
fts3_hash.h | 74 void sqlite3Fts3HashInit(Fts3Hash *pNew, char keyClass, char copyKey);
|
fts3_tokenizer1.c | 187 char *pNew; 189 pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated); 190 if( !pNew ) return SQLITE_NOMEM; 191 c->pToken = pNew;
|