Lines Matching defs:zPattern
7022 const char *zPattern; /* The regular expression */
7030 zPattern = (const char*)sqlite3_value_text(argv[0]);
7031 if( zPattern==0 ) return;
7032 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0);
7066 const char *zPattern;
7075 zPattern = (const char*)sqlite3_value_text(argv[0]);
7076 if( zPattern==0 ) return;
7077 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0);
21125 const char *zPattern;
21138 int n = strlen30(aTrans[i].zPattern);
21139 if( cli_strncmp(aTrans[i].zPattern, z, n)==0 ){
23044 ** zPattern describes the set of commands for which help text is provided.
23045 ** If zPattern is NULL, then show all commands, but only give a one-line
23050 static int showHelp(FILE *out, const char *zPattern){
23055 if( zPattern==0
23056 || zPattern[0]=='0'
23057 || cli_strcmp(zPattern,"-a")==0
23058 || cli_strcmp(zPattern,"-all")==0
23059 || cli_strcmp(zPattern,"--all")==0
23064 ** *zPattern==0 => summary of documented commands only
23065 ** *zPattern=='0' => whole help for undocumented commands
23070 if( zPattern!=0 ){
23071 hw = (*zPattern=='0')? HW_NoCull|HW_Undoc : HW_NoCull;
23095 /* Seek documented commands for which zPattern is an exact prefix */
23096 zPat = sqlite3_mprintf(".%s*", zPattern);
23108 /* when zPattern is a prefix of exactly one command, then include
23117 /* Look for documented commands that contain zPattern anywhere.
23119 zPat = sqlite3_mprintf("%%%s%%", zPattern);