Lines Matching refs:zPattern
4500 const char *zPattern; /* The regular expression */
4508 zPattern = (const char*)sqlite3_value_text(argv[0]);
4509 if( zPattern==0 ) return;
4510 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0);
4544 const char *zPattern;
4552 zPattern = (const char*)sqlite3_value_text(argv[0]);
4553 if( zPattern==0 ) return;
4554 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0);
17176 const char *zPattern;
17189 int n = strlen30(aTrans[i].zPattern);
17190 if( cli_strncmp(aTrans[i].zPattern, z, n)==0 ){
19015 ** zPattern describes the set of commands for which help text is provided.
19016 ** If zPattern is NULL, then show all commands, but only give a one-line
19021 static int showHelp(FILE *out, const char *zPattern){
19026 if( zPattern==0
19027 || zPattern[0]=='0'
19028 || cli_strcmp(zPattern,"-a")==0
19029 || cli_strcmp(zPattern,"-all")==0
19030 || cli_strcmp(zPattern,"--all")==0
19033 if( zPattern==0 ) zPattern = "";
19035 if( azHelp[i][0]=='.' || zPattern[0] ){
19041 /* Look for commands that for which zPattern is an exact prefix */
19042 zPat = sqlite3_mprintf(".%s*", zPattern);
19054 /* when zPattern is a prefix of exactly one command, then include the
19063 /* Look for commands that contain zPattern anywhere. Show the complete
19065 zPat = sqlite3_mprintf("%%%s%%", zPattern);