Lines Matching refs:zStr
7806 const unsigned char *zStr;/* String being searched */ in re_sql_func() local
7827 zStr = (const unsigned char*)sqlite3_value_text(argv[1]); in re_sql_func()
7828 if( zStr!=0 ){ in re_sql_func()
7829 sqlite3_result_int(context, re_match(pRe, zStr, -1)); in re_sql_func()
19037 static int recoverStrlen(const char *zStr){ in recoverStrlen() argument
19038 if( zStr==0 ) return 0; in recoverStrlen()
19039 return (int)(strlen(zStr)&0x7fffffff); in recoverStrlen()
22113 char *zStr = sqlite3_malloc(nBlob*2 + 1); in output_hex_blob() local
22114 shell_check_oom(zStr); in output_hex_blob()
22121 zStr[i*2] = aHex[ (aBlob[i] >> 4) ]; in output_hex_blob()
22122 zStr[i*2+1] = aHex[ (aBlob[i] & 0x0F) ]; in output_hex_blob()
22124 zStr[i*2] = '\0'; in output_hex_blob()
22126 sqlite3_fprintf(out, "X'%s'", zStr); in output_hex_blob()
22127 sqlite3_free(zStr); in output_hex_blob()
23869 static int str_in_array(const char *zStr, const char **azArray){ in str_in_array() argument
23872 if( 0==cli_strcmp(zStr, azArray[i]) ) return 1; in str_in_array()
27249 static int optionMatch(const char *zStr, const char *zOpt){ in optionMatch() argument
27250 if( zStr[0]!='-' ) return 0; in optionMatch()
27251 zStr++; in optionMatch()
27252 if( zStr[0]=='-' ) zStr++; in optionMatch()
27253 return cli_strcmp(zStr, zOpt)==0; in optionMatch()