Lines Matching refs:zBuf
579 char zBuf[1000]; in utf8_width_print() local
580 if( aw>(int)sizeof(zBuf)/3 ) aw = (int)sizeof(zBuf)/3; in utf8_width_print()
1922 char zBuf[50]; in hash_step_vformat() local
1924 sqlite3_vsnprintf(sizeof(zBuf),zBuf,zFormat,ap); in hash_step_vformat()
1926 n = (int)strlen(zBuf); in hash_step_vformat()
1927 SHA3Update(p, (unsigned char*)zBuf, n); in hash_step_vformat()
3809 void *zBuf, in apndRead() argument
3815 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead()
3836 const void *zBuf, in apndWrite() argument
3844 rc = pFile->pMethods->xWrite(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndWrite()
10115 char *zBuf /* Space to store a generated string */ in unused_string() argument
10121 sqlite3_snprintf(20,zBuf,"(%s%u)", zA, i++); in unused_string()
10122 }while( strstr(z,zBuf)!=0 ); in unused_string()
10123 return zBuf; in unused_string()
12609 char zBuf[100]; in deduceDatabaseType() local
12617 n = fread(zBuf, 16, 1, f); in deduceDatabaseType()
12618 if( n==1 && memcmp(zBuf, "SQLite format 3", 16)==0 ){ in deduceDatabaseType()
12623 n = fread(zBuf, 25, 1, f); in deduceDatabaseType()
12624 if( n==1 && memcmp(zBuf, "Start-Of-SQLite3-", 17)==0 ){ in deduceDatabaseType()
12628 n = fread(zBuf, 22, 1, f); in deduceDatabaseType()
12629 if( n==1 && zBuf[0]==0x50 && zBuf[1]==0x4b && zBuf[2]==0x05 in deduceDatabaseType()
12630 && zBuf[3]==0x06 ){ in deduceDatabaseType()
13064 char zBuf[1000]; in linenoise_completion() local
13066 if( nLine>sizeof(zBuf)-30 ) return; in linenoise_completion()
13071 memcpy(zBuf, zLine, iStart); in linenoise_completion()
13081 if( iStart+nCompletion < sizeof(zBuf)-1 ){ in linenoise_completion()
13082 memcpy(zBuf+iStart, zCompletion, nCompletion+1); in linenoise_completion()
13083 linenoiseAddCompletion(lc, zBuf); in linenoise_completion()
16301 char zBuf[100]; in do_meta_command() local
16302 sqlite3_snprintf(sizeof(zBuf), zBuf, "%lld", iRes); in do_meta_command()
16303 raw_printf(p->out, "%s\n", zBuf); in do_meta_command()
17724 char zBuf[200]; in do_meta_command() local
17726 sqlite3_snprintf(sizeof(zBuf),zBuf,"%s: %lld 0x%llx\n", azArg[i],v,v); in do_meta_command()
17727 utf8_printf(p->out, "%s", zBuf); in do_meta_command()
18874 char *zBuf = 0; in process_sqliterc() local
18885 zBuf = sqlite3_mprintf("%s/.sqliterc",home_dir); in process_sqliterc()
18886 sqliterc = zBuf; in process_sqliterc()
18898 sqlite3_free(zBuf); in process_sqliterc()