Lines Matching refs:zStr
6953 const unsigned char *zStr;/* String being searched */ in re_sql_func() local
6974 zStr = (const unsigned char*)sqlite3_value_text(argv[1]); in re_sql_func()
6975 if( zStr!=0 ){ in re_sql_func()
6976 sqlite3_result_int(context, re_match(pRe, zStr, -1)); in re_sql_func()
15524 static int recoverStrlen(const char *zStr){ in recoverStrlen() argument
15525 if( zStr==0 ) return 0; in recoverStrlen()
15526 return (int)(strlen(zStr)&0x7fffffff); in recoverStrlen()
18553 char *zStr = sqlite3_malloc(nBlob*2 + 1); in output_hex_blob() local
18554 shell_check_oom(zStr); in output_hex_blob()
18561 zStr[i*2] = aHex[ (aBlob[i] >> 4) ]; in output_hex_blob()
18562 zStr[i*2+1] = aHex[ (aBlob[i] & 0x0F) ]; in output_hex_blob()
18564 zStr[i*2] = '\0'; in output_hex_blob()
18566 oputf("X'%s'", zStr); in output_hex_blob()
18567 sqlite3_free(zStr); in output_hex_blob()
20163 static int str_in_array(const char *zStr, const char **azArray){ in str_in_array() argument
20166 if( 0==cli_strcmp(zStr, azArray[i]) ) return 1; in str_in_array()
23278 static int optionMatch(const char *zStr, const char *zOpt){ in optionMatch() argument
23279 if( zStr[0]!='-' ) return 0; in optionMatch()
23280 zStr++; in optionMatch()
23281 if( zStr[0]=='-' ) zStr++; in optionMatch()
23282 return cli_strcmp(zStr, zOpt)==0; in optionMatch()