Lines Matching refs:zPattern
2772 const char *zPattern; member
2785 int n = strlen30(aTrans[i].zPattern);
2786 if( cli_strncmp(aTrans[i].zPattern, z, n)==0 ){
4611 ** zPattern describes the set of commands for which help text is provided.
4612 ** If zPattern is NULL, then show all commands, but only give a one-line
4617 static int showHelp(FILE *out, const char *zPattern){ argument
4622 if( zPattern==0
4623 || zPattern[0]=='0'
4624 || cli_strcmp(zPattern,"-a")==0
4625 || cli_strcmp(zPattern,"-all")==0
4626 || cli_strcmp(zPattern,"--all")==0
4629 if( zPattern==0 ) zPattern = "";
4631 if( azHelp[i][0]=='.' || zPattern[0] ){
4637 /* Look for commands that for which zPattern is an exact prefix */
4638 zPat = sqlite3_mprintf(".%s*", zPattern);
4650 /* when zPattern is a prefix of exactly one command, then include the
4659 /* Look for commands that contain zPattern anywhere. Show the complete
4661 zPat = sqlite3_mprintf("%%%s%%", zPattern);