Home
last modified time | relevance | path

Searched refs:zData (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/sqlite/src/tool/
Dspeedtest8inst1.c86 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/
Dtest6.c138 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()
Dvdbeapi.c1027 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()
Dvdbemem.c907 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()
Dbackup.c487 u8 *zData = sqlite3PagerGetData(pSrcPg); in sqlite3_backup_step() local
488 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff); in sqlite3_backup_step()
Dvdbe.c2094 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 …]
Dtclsqlite.c3447 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/
Dbackcompat.test123 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
Dcrash8.test118 set zData [read $fd]
120 return $zData
122 proc write_file {zFile zData} {
125 puts -nonewline $fd $zData
Dthreadtest3.c369 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/
Drtree.c262 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/
Dsqlite3.c55750 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/
Dsqlite3.c60626 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/
Dsqlite3.c60606 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 …]