Lines Matching refs:zBuf
574 char zBuf[1000]; in utf8_width_print() local
575 if( aw>(int)sizeof(zBuf)/3 ) aw = (int)sizeof(zBuf)/3; in utf8_width_print()
1917 char zBuf[50]; in hash_step_vformat() local
1919 sqlite3_vsnprintf(sizeof(zBuf),zBuf,zFormat,ap); in hash_step_vformat()
1921 n = (int)strlen(zBuf); in hash_step_vformat()
1922 SHA3Update(p, (unsigned char*)zBuf, n); in hash_step_vformat()
3804 void *zBuf, in apndRead() argument
3810 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3831 const void *zBuf, in apndWrite() argument
3839 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
10110 char *zBuf /* Space to store a generated string */ in unused_string() argument
10116 sqlite3_snprintf(20,zBuf,"(%s%u)", zA, i++); in unused_string()
10117 }while( strstr(z,zBuf)!=0 ); in unused_string()
10118 return zBuf; in unused_string()
12604 char zBuf[100]; in deduceDatabaseType() local
12612 n = fread(zBuf, 16, 1, f); in deduceDatabaseType()
12613 if( n==1 && memcmp(zBuf, "SQLite format 3", 16)==0 ){ in deduceDatabaseType()
12618 n = fread(zBuf, 25, 1, f); in deduceDatabaseType()
12619 if( n==1 && memcmp(zBuf, "Start-Of-SQLite3-", 17)==0 ){ in deduceDatabaseType()
12623 n = fread(zBuf, 22, 1, f); in deduceDatabaseType()
12624 if( n==1 && zBuf[0]==0x50 && zBuf[1]==0x4b && zBuf[2]==0x05 in deduceDatabaseType()
12625 && zBuf[3]==0x06 ){ in deduceDatabaseType()
13043 char zBuf[1000]; in linenoise_completion() local
13045 if( nLine>sizeof(zBuf)-30 ) return; in linenoise_completion()
13050 memcpy(zBuf, zLine, iStart); in linenoise_completion()
13060 if( iStart+nCompletion < sizeof(zBuf)-1 ){ in linenoise_completion()
13061 memcpy(zBuf+iStart, zCompletion, nCompletion+1); in linenoise_completion()
13062 linenoiseAddCompletion(lc, zBuf); in linenoise_completion()
16280 char zBuf[100]; in do_meta_command() local
16281 sqlite3_snprintf(sizeof(zBuf), zBuf, "%lld", iRes); in do_meta_command()
16282 raw_printf(p->out, "%s\n", zBuf); in do_meta_command()
17703 char zBuf[200]; in do_meta_command() local
17705 sqlite3_snprintf(sizeof(zBuf),zBuf,"%s: %lld 0x%llx\n", azArg[i],v,v); in do_meta_command()
17706 utf8_printf(p->out, "%s", zBuf); in do_meta_command()
18853 char *zBuf = 0; in process_sqliterc() local
18864 zBuf = sqlite3_mprintf("%s/.sqliterc",home_dir); in process_sqliterc()
18865 sqliterc = zBuf; in process_sqliterc()
18877 sqlite3_free(zBuf); in process_sqliterc()