• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:amt

6974 SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*);
6978 SQLITE_PRIVATE int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*);
6985 SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*);
8028 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset);
8029 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset);
12086 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){
12088 return id->pMethods->xRead(id, pBuf, amt, offset);
12090 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){
12092 return id->pMethods->xWrite(id, pBuf, amt, offset);
16559 int amt;
16561 amt = 1;
16562 while( (c=(*++fmt))!='%' && c!=0 ) amt++;
16563 sqlite3StrAccumAppend(pAccum, bufpt, amt);
20242 int amt, /* Number of bytes to read */
20254 if( DosRead( pFile->h, pBuf, amt, &got ) != NO_ERROR ){
20257 if( got == (ULONG)amt )
20261 memset(&((char*)pBuf)[got], 0, amt-got);
20273 int amt, /* Number of bytes to write */
20287 assert( amt>0 );
20288 while( amt > 0 &&
20289 ( rc = DosWrite( pFile->h, (PVOID)pBuf, amt, &wrote ) ) == NO_ERROR &&
20292 amt -= wrote;
20296 return ( rc != NO_ERROR || amt > (int)wrote ) ? SQLITE_FULL : SQLITE_OK;
24266 int amt,
24277 || offset+amt<=PENDING_BYTE
24280 got = seekAndRead(pFile, offset, pBuf, amt);
24281 if( got==amt ){
24289 memset(&((char*)pBuf)[got], 0, amt-got);
24338 int amt,
24344 assert( amt>0 );
24350 || offset+amt<=PENDING_BYTE
24362 if( offset<=24 && offset+amt>=27 ){
24375 while( amt>0 && (wrote = seekAndWrite(pFile, offset, pBuf, amt))>0 ){
24376 amt -= wrote;
24380 SimulateIOError(( wrote=(-1), amt=1 ));
24381 SimulateDiskfullError(( wrote=0, amt=1 ));
24382 if( amt>0 ){
27773 int amt, /* Number of bytes to read */
27791 if( !ReadFile(pFile->h, pBuf, amt, &got, 0) ){
27795 if( got==(DWORD)amt ){
27799 memset(&((char*)pBuf)[got], 0, amt-got);
27811 int amt, /* Number of bytes to write */
27830 assert( amt>0 );
27832 amt>0
27833 && (rc = WriteFile(pFile->h, pBuf, amt, &wrote, 0))!=0
27836 amt -= wrote;
27839 if( !rc || amt>(int)wrote ){
41216 ** A total of "amt" bytes are read or written beginning at "offset".
41240 u32 amt, /* Read this many bytes */
41260 if( NEVER(offset+amt > nKey+pCur->info.nData)
41269 int a = amt;
41276 amt -= a;
41281 if( rc==SQLITE_OK && amt>0 ){
41316 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
41345 int a = amt;
41356 amt -= a;
41363 if( rc==SQLITE_OK && amt>0 ){
41371 ** "amt" bytes will be transfered into pBuf[]. The transfer
41378 ** wrong. An error is returned if "offset+amt" is larger than
41381 SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){
41386 return accessPayload(pCur, offset, amt, (unsigned char*)pBuf, 0);
41391 ** "amt" bytes will be transfered into pBuf[]. The transfer
41395 ** wrong. An error is returned if "offset+amt" is larger than
41398 SQLITE_PRIVATE int sqlite3BtreeData(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){
41413 rc = accessPayload(pCur, offset, amt, pBuf, 0);
45362 SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z){
45392 return accessPayload(pCsr, offset, amt, (unsigned char *)z, 1);
46906 ** to. offset and amt determine what portion of the data or key to retrieve.
46919 int amt, /* Number of bytes to return. */
46939 if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){
46943 }else if( SQLITE_OK==(rc = sqlite3VdbeMemGrow(pMem, amt+2, 0)) ){
46948 rc = sqlite3BtreeKey(pCur, offset, amt, pMem->z);
46950 rc = sqlite3BtreeData(pCur, offset, amt, pMem->z);
46952 pMem->z[amt] = 0;
46953 pMem->z[amt+1] = 0;
46958 pMem->n = amt;