Searched refs:zBuf (Results 1 - 13 of 13) sorted by relevance

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree.c1171 ** a total of "amt" bytes. Put the result in zBuf.
1176 static int getPayload(BtCursor *pCur, int offset, int amt, char *zBuf){ argument
1189 memcpy(zBuf, &aPayload[offset], a);
1194 zBuf += a;
1214 memcpy(zBuf, &pOvfl->aPayload[offset], a);
1217 zBuf += a;
1231 ** of "amt" bytes will be transfered into zBuf[]. The transfer
1242 static int fileBtreeKey(BtCursor *pCur, int offset, int amt, char *zBuf){ argument
1253 getPayload(pCur, offset, amt, zBuf);
1281 ** of "amt" bytes will be transfered into zBuf[]
1287 fileBtreeData(BtCursor *pCur, int offset, int amt, char *zBuf) argument
3194 char zBuf[100]; local
3200 char zBuf[100]; local
3461 char zBuf[100]; local
3471 char zBuf[100]; local
[all...]
H A Dbtree.h80 int (*Key)(BtCursor*, int offset, int amt, char *zBuf);
84 int (*Data)(BtCursor*, int offset, int amt, char *zBuf);
131 #define sqliteBtreeKey(pCur, offset, amt, zBuf)\
132 (btCOps(pCur)->Key(pCur, offset, amt, zBuf))
136 #define sqliteBtreeData(pCur, offset, amt, zBuf)\
137 (btCOps(pCur)->Data(pCur, offset, amt, zBuf))
H A Dbtree_rb.c1175 static int memRbtreeKey(RbtCursor* pCur, int offset, int amt, char *zBuf) argument
1179 memcpy(zBuf, ((char*)pCur->pNode->pKey)+offset, amt);
1181 memcpy(zBuf, ((char*)pCur->pNode->pKey)+offset, pCur->pNode->nKey-offset);
1197 static int memRbtreeData(RbtCursor *pCur, int offset, int amt, char *zBuf) argument
1201 memcpy(zBuf, ((char*)pCur->pNode->pData)+offset, amt);
1203 memcpy(zBuf, ((char*)pCur->pNode->pData)+offset ,pCur->pNode->nData-offset);
H A Ddate.c466 char *z, zBuf[30]; local
467 z = zBuf;
468 for(n=0; n<sizeof(zBuf)-1 && zMod[n]; n++){
687 char zBuf[100]; local
689 sprintf(zBuf, "%04d-%02d-%02d %02d:%02d:%02d",x.Y, x.M, x.D, x.h, x.m,
691 sqlite_set_result_string(context, zBuf, -1);
703 char zBuf[100]; local
705 sprintf(zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s);
706 sqlite_set_result_string(context, zBuf, -1);
718 char zBuf[10 local
749 char zBuf[100]; local
[all...]
H A Dfunc.c145 char zBuf[100]; local
152 sprintf(zBuf,"%.*f",n,r);
153 sqlite_set_result_string(context, zBuf, -1);
372 unsigned char zBuf[1000]; local
376 if( iMin>=sizeof(zBuf) ) iMin = sizeof(zBuf)-1;
383 if( iMax>=sizeof(zBuf) ) iMax = sizeof(zBuf)-1;
393 assert( n<sizeof(zBuf) );
394 sqliteRandomness(n, zBuf);
508 char zBuf[28]; /* Space that can be used for storage */ member in struct:MinMaxCtx
[all...]
H A Dos.c789 ** Create a temporary file name in zBuf. zBuf must be big enough to
792 int sqliteOsTempFileName(char *zBuf){ argument
818 sprintf(zBuf, "%s/"TEMP_FILE_PREFIX, zDir);
819 j = strlen(zBuf);
820 sqliteRandomness(15, &zBuf[j]);
822 zBuf[j] = (char)zChars[ ((unsigned char)zBuf[j])%(sizeof(zChars)-1) ];
824 zBuf[j] = 0;
825 }while( access(zBuf,
1638 sqliteOsRandomSeed(char *zBuf) argument
1780 char zBuf[5000]; local
1800 char zBuf[_MAX_PATH+1]; local
1807 char zBuf[_MAX_PATH+1]; local
[all...]
H A Dpager.c730 char zBuf[SQLITE_PAGE_SIZE]; local
734 rc = sqliteOsRead(&pPager->fd, zBuf, SQLITE_PAGE_SIZE);
736 CODEC(pPager, zBuf, pPg->pgno, 2);
739 memset(zBuf, 0, SQLITE_PAGE_SIZE);
741 if( pPg->nRef==0 || memcmp(zBuf, PGHDR_TO_DATA(pPg), SQLITE_PAGE_SIZE) ){
742 memcpy(PGHDR_TO_DATA(pPg), zBuf, SQLITE_PAGE_SIZE); local
H A Dprintf.c752 char zBuf[200]; local
756 zBuf, sizeof(zBuf), zFormat, ap);
764 char zBuf[200]; local
766 zBuf, sizeof(zBuf), zFormat, ap);
775 char *sqlite_snprintf(int n, char *zBuf, const char *zFormat, ...){ argument
780 z = base_vprintf(0, 0, zBuf, n, zFormat, ap);
H A Drandom.c91 unsigned char *zBuf = pBuf; local
94 *(zBuf++) = randomByte();
H A Dselect.c816 char zBuf[30]; local
817 sprintf(zBuf,"_%d",++cnt);
818 n = strlen(zBuf);
819 sqliteSetNString(&aCol[i].zName, pR->token.z, pR->token.n, zBuf, n,0);
826 char zBuf[30]; local
827 sprintf(zBuf, "column%d", i+1);
828 aCol[i].zName = sqliteStrDup(zBuf);
H A Dvdbe.c385 ** a single LF character in zBuf.
387 static char *vdbe_fgets(char *zBuf, int nBuf, FILE *in){ argument
390 zBuf[i] = c;
393 zBuf[i] = '\n';
401 zBuf[i] = 0;
402 return i>0 ? zBuf : 0;
493 char zBuf[100]; /* Space to sprintf() an integer */ local
4764 sqlite_snprintf(sizeof(zBuf),zBuf,"%d",pOp->opcode); local
4765 sqliteSetString(&p->zErrMsg, "unknown opcode ", zBuf, (cha
4832 char zBuf[100]; local
[all...]
H A Dvdbeaux.c1032 char zBuf[sizeof(int)]; member in union:__anon395
1035 ux.zBuf[3] = x&0xff;
1036 ux.zBuf[2] = (x>>8)&0xff;
1037 ux.zBuf[1] = (x>>16)&0xff;
1038 ux.zBuf[0] = (x>>24)&0xff;
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c12900 SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, char *zBuf);
13664 char *z, zBuf[30]; local
13665 z = zBuf;
13666 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){
13929 char zBuf[100]; local
13931 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d", local
13933 sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT);
13949 char zBuf[100]; local
13951 sqlite3_snprintf(sizeof(zBuf), zBu local
13968 char zBuf[100]; local
13970 sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D); local
14005 char zBuf[100]; local
14189 char zBuf[20]; local
19737 sqlite3_vsnprintf(int n, char *zBuf, const char *zFormat, va_list ap) argument
19745 sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...) argument
19795 char zBuf[500]; local
19925 unsigned char *zBuf = pBuf; local
20184 char zBuf[100]; local
20295 char zBuf[100]; local
20479 unsigned char zBuf[20]; local
24221 os2GetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf) argument
29174 unixGetTempname(int nBuf, char *zBuf) argument
29789 unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf) argument
31731 getLastErrorMsg(int nBuf, char *zBuf) argument
33442 getTempname(int nBuf, char *zBuf) argument
34078 winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf) argument
34221 winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf) argument
42424 const void *zBuf; local
46407 sqlite3WalCheckpoint( Wal *pWal, int eMode, int (*xBusy)(void*), void *pBusyArg, int sync_flags, int nBuf, u8 *zBuf, int *pnLog, int *pnCkpt ) argument
62597 sqlite3VdbeMemPrettyPrint(Mem *pMem, char *zBuf) argument
62693 char zBuf[200]; local
69419 char *zBuf; /* Space to buffer journal writes */ member in struct:JournalFile
69463 jrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69484 jrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69693 memjrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69738 memjrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
82468 char *zBuf; local
117205 char *zBuf = 0; local
117734 exprToString(Fts3Expr *pExpr, char *zBuf) argument
117802 char *zBuf = 0; local
122369 fts3EncodeIntArray( int N, u32 *a, char *zBuf, int *pNBuf ) argument
122385 fts3DecodeIntArray( int N, u32 *a, const char *zBuf, int nBuf ) argument
127873 char zBuf[128]; local
[all...]

Completed in 164 milliseconds