/external/chromium_org/third_party/sqlite/src/tool/ |
D | speedtest8inst1.c | 86 char *zData = 0; in readScriptFile() local 100 zData = (char *)malloc(nByte+1); in readScriptFile() 101 rc = p->pMethods->xRead(p, zData, nByte, 0); in readScriptFile() 105 zData[nByte] = '\0'; in readScriptFile() 110 return zData; in readScriptFile() 117 free(zData); in readScriptFile()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | test6.c | 138 u8 *zData; /* Buffer containing file contents */ member 418 memcpy(zBuf, &pCrash->zData[iOfst], iAmt); in cfRead() 438 zNew = crash_realloc(pCrash->zData, nNew); in cfWrite() 444 pCrash->zData = zNew; in cfWrite() 446 memcpy(&pCrash->zData[iOfst], zBuf, iAmt); in cfWrite() 607 pWrapper->zData = crash_malloc(pWrapper->nData); in cfOpen() 608 if( pWrapper->zData ){ in cfOpen() 619 memset(pWrapper->zData, 0, pWrapper->nData); in cfOpen() 620 rc = sqlite3OsRead(pReal, pWrapper->zData, iChunk, 0); in cfOpen() 624 rc = sqlite3OsRead(pReal, &pWrapper->zData[iOff], iChunk, iOff); in cfOpen()
|
D | vdbeapi.c | 1027 const void *zData, /* Pointer to the data to be bound */ in bindText() argument 1038 if( zData!=0 ){ in bindText() 1040 rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel); in bindText() 1049 xDel((void*)zData); in bindText() 1061 const void *zData, in sqlite3_bind_blob() argument 1065 return bindText(pStmt, i, zData, nData, xDel, 0); in sqlite3_bind_blob() 1102 const char *zData, in sqlite3_bind_text() argument 1106 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8); in sqlite3_bind_text() 1112 const void *zData, in sqlite3_bind_text16() argument 1116 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF16NATIVE); in sqlite3_bind_text16()
|
D | vdbemem.c | 907 char *zData; /* Data from the btree layer */ in sqlite3VdbeMemFromBtree() local 917 zData = (char *)sqlite3BtreeKeyFetch(pCur, &available); in sqlite3VdbeMemFromBtree() 919 zData = (char *)sqlite3BtreeDataFetch(pCur, &available); in sqlite3VdbeMemFromBtree() 921 assert( zData!=0 ); in sqlite3VdbeMemFromBtree() 925 pMem->z = &zData[offset]; in sqlite3VdbeMemFromBtree()
|
D | backup.c | 487 u8 *zData = sqlite3PagerGetData(pSrcPg); in sqlite3_backup_step() local 488 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff); in sqlite3_backup_step()
|
D | vdbe.c | 2094 char *zData; /* Part of the record being decoded */ in sqlite3VdbeExec() local 2199 zData = zRec; in sqlite3VdbeExec() 2202 zData = (char*)sqlite3BtreeKeyFetch(pCrsr, &avail); in sqlite3VdbeExec() 2204 zData = (char*)sqlite3BtreeDataFetch(pCrsr, &avail); in sqlite3VdbeExec() 2213 zRec = zData; in sqlite3VdbeExec() 2214 pC->aRow = (u8*)zData; in sqlite3VdbeExec() 2222 szHdr = getVarint32((u8*)zData, offset); in sqlite3VdbeExec() 2267 zData = sMem.z; in sqlite3VdbeExec() 2269 zEndHdr = (u8 *)&zData[len]; in sqlite3VdbeExec() 2270 zIdx = (u8 *)&zData[szHdr]; in sqlite3VdbeExec() [all …]
|
D | tclsqlite.c | 3447 const char *zData = (char*)sqlite3_value_text(argv[i]); in md5step() local 3448 if( zData ){ in md5step() 3449 MD5Update(p, (unsigned char*)zData, strlen(zData)); in md5step()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | backcompat.test | 123 set zData {} 129 set zData [read $fd] 131 set zData [read $fd $::sqlite_pending_byte] 132 append zData [string repeat x 512] 134 append zData [read $fd] 139 return $zData 141 proc write_file {zFile zData} { 144 puts -nonewline $fd $zData
|
D | crash8.test | 118 set zData [read $fd] 120 return $zData 122 proc write_file {zFile zData} { 125 puts -nonewline $fd $zData
|
D | threadtest3.c | 369 const char *zData = (char*)sqlite3_value_text(argv[i]); in md5step() local 370 if( zData ){ in md5step() 371 MD5Update(p, (unsigned char*)zData, strlen(zData)); in md5step()
|
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
D | rtree.c | 262 u8 *zData; member 265 #define NCELL(pNode) readInt16(&(pNode)->zData[2]) 391 memset(&p->zData[2], 0, pRtree->iNodeSize-2); in nodeZero() 451 pNode->zData = (u8 *)&pNode[1]; in nodeNew() 498 pNode->zData = (u8 *)&pNode[1]; in nodeAcquire() 503 memcpy(pNode->zData, zBlob, pRtree->iNodeSize); in nodeAcquire() 518 pRtree->iDepth = readInt16(pNode->zData); in nodeAcquire() 559 u8 *p = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; in nodeOverwriteCell() 571 u8 *pDst = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; in nodeDeleteCell() 575 writeInt16(&pNode->zData[2], NCELL(pNode)-1); in nodeDeleteCell() [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 55750 u8 *zData = sqlite3PagerGetData(pSrcPg); 55751 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff); 56872 char *zData; /* Data from the btree layer */ 56882 zData = (char *)sqlite3BtreeKeyFetch(pCur, &available); 56884 zData = (char *)sqlite3BtreeDataFetch(pCur, &available); 56886 assert( zData!=0 ); 56890 pMem->z = &zData[offset]; 61361 const void *zData, /* Pointer to the data to be bound */ 61372 if( zData!=0 ){ 61374 rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel); [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 60626 u8 *zData = sqlite3PagerGetData(pSrcPg); 60627 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff); 61663 char *zData; /* Data from the btree layer */ 61673 zData = (char *)sqlite3BtreeKeyFetch(pCur, &available); 61675 zData = (char *)sqlite3BtreeDataFetch(pCur, &available); 61677 assert( zData!=0 ); 61681 pMem->z = &zData[offset]; 67359 const void *zData, /* Pointer to the data to be bound */ 67370 if( zData!=0 ){ 67372 rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel); [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 60606 u8 *zData = sqlite3PagerGetData(pSrcPg); 60607 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff); 61643 char *zData; /* Data from the btree layer */ 61653 zData = (char *)sqlite3BtreeKeyFetch(pCur, &available); 61655 zData = (char *)sqlite3BtreeDataFetch(pCur, &available); 61657 assert( zData!=0 ); 61661 pMem->z = &zData[offset]; 67339 const void *zData, /* Pointer to the data to be bound */ 67350 if( zData!=0 ){ 67352 rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel); [all …]
|