Lines Matching refs:amt

8055 SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*);
8059 SQLITE_PRIVATE int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*);
8066 SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*);
9140 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset);
9141 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset);
14311 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ in sqlite3OsRead() argument
14313 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
14315 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ in sqlite3OsWrite() argument
14317 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
19057 int amt; in sqlite3VXPrintf() local
19059 amt = 1; in sqlite3VXPrintf()
19060 while( (c=(*++fmt))!='%' && c!=0 ) amt++; in sqlite3VXPrintf()
19061 sqlite3StrAccumAppend(pAccum, bufpt, amt); in sqlite3VXPrintf()
22466 int amt, /* Number of bytes to read */
22478 if( DosRead( pFile->h, pBuf, amt, &got ) != NO_ERROR ){
22481 if( got == (ULONG)amt )
22485 memset(&((char*)pBuf)[got], 0, amt-got);
22497 int amt, /* Number of bytes to write */
22511 assert( amt>0 );
22512 while( amt > 0 &&
22513 ( rc = DosWrite( pFile->h, (PVOID)pBuf, amt, &wrote ) ) == NO_ERROR &&
22516 amt -= wrote;
22520 return ( rc != NO_ERROR || amt > (int)wrote ) ? SQLITE_FULL : SQLITE_OK;
27456 int amt,
27468 || offset+amt<=PENDING_BYTE
27472 got = seekAndRead(pFile, offset, pBuf, amt);
27473 if( got==amt ){
27481 memset(&((char*)pBuf)[got], 0, amt-got);
27533 int amt,
27539 assert( amt>0 );
27546 || offset+amt<=PENDING_BYTE
27559 if( offset<=24 && offset+amt>=27 ){
27572 while( amt>0 && (wrote = seekAndWrite(pFile, offset, pBuf, amt))>0 ){
27573 amt -= wrote;
27577 SimulateIOError(( wrote=(-1), amt=1 ));
27578 SimulateDiskfullError(( wrote=0, amt=1 ));
27580 if( amt>0 ){
32240 int amt, /* Number of bytes to read */
32253 if( !ReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
32257 if( nRead<(DWORD)amt ){
32259 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
32273 int amt, /* Number of bytes to write */
32279 assert( amt>0 );
32289 int nRem = amt; /* Number of bytes yet to be written */
51347 u32 amt, /* Read this many bytes */
51367 if( NEVER(offset+amt > nKey+pCur->info.nData)
51376 int a = amt;
51383 amt -= a;
51388 if( rc==SQLITE_OK && amt>0 ){
51423 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
51452 int a = amt;
51463 amt -= a;
51470 if( rc==SQLITE_OK && amt>0 ){
51488 SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){
51493 return accessPayload(pCur, offset, amt, (unsigned char*)pBuf, 0);
51505 SQLITE_PRIVATE int sqlite3BtreeData(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){
51520 rc = accessPayload(pCur, offset, amt, pBuf, 0);
55600 SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z){
55630 return accessPayload(pCsr, offset, amt, (unsigned char *)z, 1);
57291 int amt, /* Number of bytes to return. */
57311 if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){
57315 }else if( SQLITE_OK==(rc = sqlite3VdbeMemGrow(pMem, amt+2, 0)) ){
57320 rc = sqlite3BtreeKey(pCur, offset, amt, pMem->z);
57322 rc = sqlite3BtreeData(pCur, offset, amt, pMem->z);
57324 pMem->z[amt] = 0;
57325 pMem->z[amt+1] = 0;
57330 pMem->n = amt;