Lines Matching defs:zArg

1860 ** Interpret zArg as an integer value, possibly with suffixes.
1862 static sqlite3_int64 integerValue(const char *zArg){
1877 if( zArg[0]=='-' ){
1879 zArg++;
1880 }else if( zArg[0]=='+' ){
1881 zArg++;
1883 if( zArg[0]=='0' && zArg[1]=='x' ){
1885 zArg += 2;
1886 while( (x = hexDigitValue(zArg[0]))>=0 ){
1888 zArg++;
1891 while( IsDigit(zArg[0]) ){
1892 v = v*10 + zArg[0] - '0';
1893 zArg++;
1897 if( sqlite3_stricmp(aMult[i].zSuffix, zArg)==0 ){
17394 const char *zArg = (const char*)sqlite3_column_text(p1, 0);
17395 char *z2 = recoverMPrintf(p, "PRAGMA %s = %Q", zPrag, zArg);
17399 if( zArg==0 ){
19257 const char *zArg = (const char*)pArg;
19259 if( zArg ){
19260 p->zLostAndFound = recoverMPrintf(p, "%s", zArg);
23732 ** Interpret zArg as either an integer or a boolean value. Return 1 or 0
23735 static int booleanValue(const char *zArg){
23737 if( zArg[0]=='0' && zArg[1]=='x' ){
23738 for(i=2; hexDigitValue(zArg[i])>=0; i++){}
23740 for(i=0; zArg[i]>='0' && zArg[i]<='9'; i++){}
23742 if( i>0 && zArg[i]==0 ) return (int)(integerValue(zArg) & 0xffffffff);
23743 if( sqlite3_stricmp(zArg, "on")==0 || sqlite3_stricmp(zArg,"yes")==0 ){
23746 if( sqlite3_stricmp(zArg, "off")==0 || sqlite3_stricmp(zArg,"no")==0 ){
23749 eputf("ERROR: Not a boolean value: \"%s\". Assuming \"no\".\n", zArg);
23756 static void setOrClearFlag(ShellState *p, unsigned mFlag, const char *zArg){
23757 if( booleanValue(zArg) ){
25012 static int arProcessSwitch(ArCommand *pAr, int eSwitch, const char *zArg){
25040 pAr->zFile = zArg;
25043 pAr->zDir = zArg;
25094 const char *zArg = 0;
25106 zArg = azArg[iArg++];
25108 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR;
25132 const char *zArg = 0;
25142 zArg = &z[i+1];
25149 zArg = azArg[++iArg];
25152 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR;
25162 const char *zArg = 0; /* Argument for option, if any */
25183 zArg = azArg[++iArg];
25185 if( arProcessSwitch(pAr, pMatch->eSwitch, zArg) ) return SQLITE_ERROR;