/external/chromium_org/third_party/sqlite/src/src/ |
test3.c | 68 char zBuf[100]; 88 sqlite3_snprintf(sizeof(zBuf), zBuf,"%p", pBt); 89 Tcl_AppendResult(interp, zBuf, 0); 195 char zBuf[100]; 197 sqlite3_snprintf(sizeof(zBuf), zBuf,"%d",a[i]); 198 Tcl_AppendElement(interp, zBuf); 223 char zBuf[30]; 248 sqlite3_snprintf(sizeof(zBuf), zBuf,"%p", pCur) [all...] |
journal.c | 37 int nBuf; /* Size of zBuf[] in bytes */ 38 char *zBuf; /* Space to buffer journal writes */ 39 int iSize; /* Amount of zBuf[] currently used */ 60 rc = sqlite3OsWrite(p->pReal, p->zBuf, p->iSize, 0); 75 sqlite3_free(p->zBuf); 84 void *zBuf, /* Put the results here */ 91 rc = sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst); 95 memcpy(zBuf, &p->zBuf[iOfst], iAmt); 105 const void *zBuf, /* Take data to be written from here * [all...] |
test2.c | 79 char zBuf[100]; 96 sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPager); 97 Tcl_AppendResult(interp, zBuf, 0); 294 char zBuf[100]; 296 sqlite3_snprintf(sizeof(zBuf),zBuf,"%d",a[i]); 297 Tcl_AppendElement(interp, zBuf); 314 char zBuf[100]; 323 sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", nPage) [all...] |
test_hexio.c | 28 ** Convert binary to hex. The input zBuf[] contains N bytes of 29 ** binary data. zBuf[] is 2*n+1 bytes long. Overwrite zBuf[] 32 void sqlite3TestBinToHex(unsigned char *zBuf, int N){ 37 zBuf[i--] = 0; 39 c = zBuf[j]; 40 zBuf[i--] = zHex[c&0xf]; 41 zBuf[i--] = zHex[c>>4]; 106 unsigned char *zBuf; 116 zBuf = sqlite3_malloc( amt*2+1 ) [all...] |
utf.c | 220 char zBuf[100]; 221 sqlite3VdbeMemPrettyPrint(pMem, zBuf); 222 fprintf(stderr, "INPUT: %s\n", zBuf); 331 char zBuf[100]; 332 sqlite3VdbeMemPrettyPrint(pMem, zBuf); 333 fprintf(stderr, "OUTPUT: %s\n", zBuf); 515 unsigned char zBuf[20]; 521 z = zBuf; 523 n = (int)(z-zBuf); 526 z = zBuf; [all...] |
test6.c | 113 ** If zBuf is 0, then this structure represents a call to xTruncate(), 120 u8 *zBuf; /* Pointer to copy of written data */ 245 if( (iDc&SQLITE_IOCAP_ATOMIC) || (pWrite->zBuf==0) ){ 261 if( iDc&SQLITE_IOCAP_SAFE_APPEND && pWrite->zBuf ){ 278 if( pWrite->zBuf ){ 280 pWrite->pFile, pWrite->zBuf, pWrite->nBuf, pWrite->iOffset 312 assert(pWrite->zBuf); 361 const u8 *zBuf, 366 assert((zBuf && nBuf) || (!nBuf && !zBuf)); [all...] |
test_journal.c | 269 void *zBuf, 274 return sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst); 331 ** The first argument, zBuf, points to a buffer containing a 28 byte 340 const unsigned char *zBuf, /* Input: 28 byte journal header */ 347 if( memcmp(aMagic, zBuf, 8) ) return SQLITE_ERROR; 348 if( pnRec ) *pnRec = decodeUint32(&zBuf[8]); 349 if( pnPage ) *pnPage = decodeUint32(&zBuf[16]); 350 if( pnSector ) *pnSector = decodeUint32(&zBuf[20]); 351 if( pnPagesize ) *pnPagesize = decodeUint32(&zBuf[24]); 431 unsigned char zBuf[28] [all...] |
test_vfstrace.c | 124 char zBuf[50]; 171 sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", rc); 172 zVal = zBuf; 211 void *zBuf, 220 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst); 230 const void *zBuf, 239 rc = p->pReal->pMethods->xWrite(p->pReal, zBuf, iAmt, iOfst); 266 char zBuf[100]; 267 memcpy(zBuf, "|0", 3) [all...] |
date.c | 510 char *z, zBuf[30]; 511 z = zBuf; 512 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){ 776 char zBuf[100]; 778 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d", 780 sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); 796 char zBuf[100]; 798 sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s) [all...] |
memjournal.c | 74 void *zBuf, /* Put the results here */ 79 u8 *zOut = zBuf; 119 const void *zBuf, /* Take data to be written from here */ 125 u8 *zWrite = (u8 *)zBuf;
|
test_func.c | 46 unsigned char zBuf[1000]; 55 if( iMin>=sizeof(zBuf) ) iMin = sizeof(zBuf)-1; 58 if( iMax>=sizeof(zBuf) ) iMax = sizeof(zBuf)-1; 65 assert( n<sizeof(zBuf) ); 66 sqlite3_randomness(n, zBuf); 68 zBuf[i] = zSrc[zBuf[i]%(sizeof(zSrc)-1)]; 70 zBuf[n] = 0 [all...] |
random.c | 106 unsigned char *zBuf = pBuf; 112 *(zBuf++) = randomByte();
|
test_demovfs.c | 164 const void *zBuf, /* Buffer containing data to write */ 176 nWrite = write(p->fd, zBuf, iAmt); 215 void *zBuf, 239 nRead = read(p->fd, zBuf, iAmt); 255 const void *zBuf, 262 char *z = (char *)zBuf; /* Pointer to remaining data to write */ 295 return demoDirectWrite(p, zBuf, iAmt, iOfst);
|
test1.c | 81 char zBuf[100]; 92 sprintf(zBuf, "%p", p->db); 93 if( strncmp(zBuf,"0x",2) ){ 94 sprintf(zBuf, "0x%p", p->db); 96 Tcl_AppendResult(interp, zBuf, 0); 184 char zBuf[200]; 186 sprintf(zBuf, "error code %s (%d) does not match sqlite3_errcode %s (%d)", 189 Tcl_AppendResult(interp, zBuf, 0); 316 char zBuf[30]; 327 sprintf(zBuf, "%d", rc) [all...] |
test_fuzzer.c | 179 char *zBuf; /* Temporary use buffer */ 180 int nBuf; /* Bytes allocated for zBuf */ 331 sqlite3_free(pCur->zBuf); 400 char *zBuf = 0; 402 if( fuzzerRender(pStem, &zBuf, &nBuf)!=SQLITE_OK ) return; 405 pStem->zBasis, pStem->rBaseCost, zBuf, pStem->, 408 sqlite3_free(zBuf); 422 if( fuzzerRender(pStem, &pCur->zBuf, &pCur->nBuf)==SQLITE_NOMEM ){ 425 h = fuzzerHash(pCur->zBuf); 427 while( pLookup && strcmp(pLookup->zBasis, pCur->zBuf)!=0 ) [all...] |
test_thread.c | 277 char zBuf[100]; 288 if( sqlite3TestMakePointerStr(interp, zBuf, db) ) return TCL_ERROR; 289 Tcl_AppendResult(interp, zBuf, 0); 566 char zBuf[50]; 594 sprintf(zBuf, "%s ", (char *)sqlite3TestErrorName(rc)); 595 Tcl_AppendResult(interp, zBuf, sqlite3_errmsg(db), 0); 600 if( sqlite3TestMakePointerStr(interp, zBuf, pStmt) ) return TCL_ERROR; 601 Tcl_AppendResult(interp, zBuf, 0);
|
/external/chromium_org/third_party/sqlite/src/tool/ |
showjournal.c | 55 char zBuf[100]; 56 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 57 i = strlen(zBuf); 60 sprintf(&zBuf[i], " "); 62 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 65 i += strlen(&zBuf[i]); 67 sprintf(&zBuf[i], " %10u", val); 68 printf("%s %s\n", zBuf, zMsg);
|
showwal.c | 114 char zBuf[100]; 115 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 116 i = strlen(zBuf); 119 sprintf(&zBuf[i], " "); 121 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 124 i += strlen(&zBuf[i]); 127 sprintf(&zBuf[i], " 0x%08x", val); 129 sprintf(&zBuf[i], " %9d", val); 131 printf("%s %s\n", zBuf, zMsg);
|
rollback-test.c | 91 char zBuf[100]; 92 sprintf(zBuf, "PRAGMA pagesize=%d", szPg); 93 runSql(db, zBuf);
|
showdb.c | 136 char zBuf[100]; 137 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 138 i = strlen(zBuf); 141 sprintf(&zBuf[i], " "); 143 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 146 i += strlen(&zBuf[i]); 148 sprintf(&zBuf[i], " %9d", val); 149 printf("%s %s\n", zBuf, zMsg); 399 char zBuf[30]; 403 sprintf(zBuf, "%d", i) [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_expr.c | 797 static char *exprToString(Fts3Expr *pExpr, char *zBuf){ 802 zBuf = sqlite3_mprintf( 803 "%zPHRASE %d %d", zBuf, pPhrase->iColumn, pPhrase->isNot); 804 for(i=0; zBuf && i<pPhrase->nToken; i++){ 805 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf, 810 return zBuf; 814 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear); 817 zBuf = sqlite3_mprintf("%zNOT ", zBuf) [all...] |
/external/lzma/C/Util/7z/ |
makefile | 8 $O\7zBuf.obj \
|
/external/lzma/C/Util/SfxSetup/ |
makefile | 7 $O\7zBuf.obj \
|
/external/chromium_org/third_party/sqlite/src/test/ |
threadtest1.c | 259 char zBuf[200]; 260 sprintf(zBuf, "testdb-%d", (i+1)/2); 261 unlink(zBuf); 284 char zBuf[200]; 285 sprintf(zBuf, "testdb-%d", (i+1)/2); 286 unlink(zBuf);
|
/external/chromium_org/third_party/sqlite/src/ext/icu/ |
icu.c | 210 char zBuf[128]; 211 sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e)); 212 zBuf[127] = '\0'; 213 sqlite3_result_error(pCtx, zBuf, -1);
|