Lines Matching refs:zArg

777 ** Interpret zArg as an integer value, possibly with suffixes.
779 static sqlite3_int64 integerValue(const char *zArg){
794 if( zArg[0]=='-' ){
796 zArg++;
797 }else if( zArg[0]=='+' ){
798 zArg++;
800 if( zArg[0]=='0' && zArg[1]=='x' ){
802 zArg += 2;
803 while( (x = hexDigitValue(zArg[0]))>=0 ){
805 zArg++;
808 while( IsDigit(zArg[0]) ){
809 v = v*10 + zArg[0] - '0';
810 zArg++;
814 if( sqlite3_stricmp(aMult[i].zSuffix, zArg)==0 ){
13533 const char *zArg = (const char*)sqlite3_column_text(p1, 0);
13534 char *z2 = recoverMPrintf(p, "PRAGMA %s = %Q", zPrag, zArg);
13538 if( zArg==0 ){
15388 const char *zArg = (const char*)pArg;
15390 if( zArg ){
15391 p->zLostAndFound = recoverMPrintf(p, "%s", zArg);
19741 ** Interpret zArg as either an integer or a boolean value. Return 1 or 0
19744 static int booleanValue(const char *zArg){
19746 if( zArg[0]=='0' && zArg[1]=='x' ){
19747 for(i=2; hexDigitValue(zArg[i])>=0; i++){}
19749 for(i=0; zArg[i]>='0' && zArg[i]<='9'; i++){}
19751 if( i>0 && zArg[i]==0 ) return (int)(integerValue(zArg) & 0xffffffff);
19752 if( sqlite3_stricmp(zArg, "on")==0 || sqlite3_stricmp(zArg,"yes")==0 ){
19755 if( sqlite3_stricmp(zArg, "off")==0 || sqlite3_stricmp(zArg,"no")==0 ){
19759 zArg);
19766 static void setOrClearFlag(ShellState *p, unsigned mFlag, const char *zArg){
19767 if( booleanValue(zArg) ){
21015 static int arProcessSwitch(ArCommand *pAr, int eSwitch, const char *zArg){
21043 pAr->zFile = zArg;
21046 pAr->zDir = zArg;
21097 const char *zArg = 0;
21109 zArg = azArg[iArg++];
21111 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR;
21135 const char *zArg = 0;
21145 zArg = &z[i+1];
21152 zArg = azArg[++iArg];
21155 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR;
21165 const char *zArg = 0; /* Argument for option, if any */
21186 zArg = azArg[++iArg];
21188 if( arProcessSwitch(pAr, pMatch->eSwitch, zArg) ) return SQLITE_ERROR;