Home
last modified time | relevance | path

Searched refs:zLine (Results 1 – 4 of 4) sorted by relevance

/external/sqlite/dist/orig/
Dshell.c444 static char *local_getline(char *zLine, FILE *in){ in local_getline() argument
445 int nLine = zLine==0 ? 0 : 100; in local_getline()
451 zLine = realloc(zLine, nLine); in local_getline()
452 if( zLine==0 ) return 0; in local_getline()
454 if( fgets(&zLine[n], nLine - n, in)==0 ){ in local_getline()
456 free(zLine); in local_getline()
459 zLine[n] = 0; in local_getline()
462 while( zLine[n] ) n++; in local_getline()
463 if( n>0 && zLine[n-1]=='\n' ){ in local_getline()
465 if( n>0 && zLine[n-1]=='\r' ) n--; in local_getline()
[all …]
Dsqlite3.c112008 char zLine[100];
112009 sqlite3StrAccumInit(&x, 0, zLine, sizeof(zLine), 0);
112026 sqlite3TreeViewItem(pView, zLine, i<p->pSrc->nSrc-1);
/external/sqlite/dist/
Dshell.c450 static char *local_getline(char *zLine, FILE *in){ in local_getline() argument
451 int nLine = zLine==0 ? 0 : 100; in local_getline()
457 zLine = realloc(zLine, nLine); in local_getline()
458 if( zLine==0 ) return 0; in local_getline()
460 if( fgets(&zLine[n], nLine - n, in)==0 ){ in local_getline()
462 free(zLine); in local_getline()
465 zLine[n] = 0; in local_getline()
468 while( zLine[n] ) n++; in local_getline()
469 if( n>0 && zLine[n-1]=='\n' ){ in local_getline()
471 if( n>0 && zLine[n-1]=='\r' ) n--; in local_getline()
[all …]
Dsqlite3.c112026 char zLine[100];
112027 sqlite3StrAccumInit(&x, 0, zLine, sizeof(zLine), 0);
112044 sqlite3TreeViewItem(pView, zLine, i<p->pSrc->nSrc-1);