/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_decompress.ksh | 46 pattern="_match__pattern_" 58 four_k=$four_k$pattern 87 echo $output |grep $pattern > /dev/null
|
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | debug.c | 272 ** pattern -- a shell-style glob pattern (see sm_match). 273 ** WARNING: the storage for 'pattern' will be owned by 286 sm_debug_addsetting_x(pattern, level) 287 const char *pattern; 292 SM_REQUIRE(pattern != NULL); 295 s->ds_pattern = pattern;
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/mips/ |
H A D | dt_isadep.c | 70 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 69 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
|
/freebsd-13-stable/contrib/ncurses/menu/ |
H A D | m_item_cur.c | 72 assert(menu->pattern);
|
/freebsd-13-stable/sys/dev/qlxgb/ |
H A D | qla_ioctl.h | 59 uint32_t pattern; member in struct:qla_wr_flash
|
/freebsd-13-stable/contrib/libevent/sample/ |
H A D | http-server.c | 222 char *pattern; local 235 pattern = malloc(dirlen+3); 236 memcpy(pattern, whole_path, dirlen); 237 pattern[dirlen] = '\\'; 238 pattern[dirlen+1] = '*'; 239 pattern[dirlen+2] = '\0'; 240 d = FindFirstFileA(pattern, &ent); 241 free(pattern);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/ |
H A D | zpool_labelclear_valid.ksh | 27 # 3. Write a known pattern over the first two device labels. 32 # 8. Verify the pattern is intact to confirm `zpool labelclear` did 49 PATTERN_FILE=$TEST_BASE_DIR/pattern 50 DISK_PATTERN_FILE=$TEST_BASE_DIR/disk-pattern 82 # Verify the original pattern over the first two labels is intact
|
/freebsd-13-stable/contrib/ntp/sntp/unity/auto/ |
H A D | generate_module.rb | 22 " -p\"MCH\" sets the output pattern to MCH.", 86 when /^-p(\w+)/ then @pattern = $1 124 @pattern = 'src' if @pattern.nil? 134 #prepare the pattern for use 135 @patterns = PATTERNS[@pattern.downcase] 136 raise "ERROR: The design pattern specified isn't one that I recognize!" if @patterns.nil?
|
/freebsd-13-stable/crypto/openssh/ |
H A D | sftp-glob.c | 137 remote_glob(struct sftp_conn *conn, const char *pattern, int flags, argument 149 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob));
|
/freebsd-13-stable/usr.bin/login/ |
H A D | login_fbtab.c | 123 login_protect(const char *table, char *pattern, int mask, uid_t uid, gid_t gid) argument 129 if (glob(pattern, GLOB_NOSORT, NULL, &gl) != 0)
|
/freebsd-13-stable/bin/pax/ |
H A D | pat_rep.c | 59 * routines to handle pattern matching, name modification (regular expression 66 static PATTERN *pathead = NULL; /* file pattern match list head */ 67 static PATTERN *pattail = NULL; /* file pattern match list tail */ 127 * allocate space for the node that handles this replacement pattern 211 * add a pattern match to the pattern match list. Pattern matches are used 215 * pattern match list is empty). 217 * 0 if the pattern was added to the list, -1 otherwise 229 paxwarn(1, "Empty pattern string"); 234 * allocate space for the pattern an 494 fn_match(char *pattern, char *string, char **pend) argument 567 range_match(char *pattern, int test) argument [all...] |
/freebsd-13-stable/usr.bin/diff/ |
H A D | diff.c | 421 char *buf, *pattern; local 431 if ((pattern = strndup(buf, len)) == NULL) 433 push_excludes(pattern); 440 * Push a pattern onto the excludes list. 443 push_excludes(char *pattern) argument 448 entry->pattern = pattern; 454 push_ignore_pats(char *pattern) argument 459 ignore_pats = xstrdup(pattern); 462 len = strlen(ignore_pats) + strlen(pattern) [all...] |
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | varmod-edge.mk | 27 # After the :M modifier has parsed the pattern, only the closing brace 39 # When the :M and :N modifiers are parsed, the pattern finishes as soon 60 # The final ] in the pattern is needed to close the character class. 66 # The pattern in the nested variable has an unclosed character class. 67 # No error is reported though, and the pattern is closed implicitly. 81 # This means that the pattern ends there. 88 # the pattern, therefore (} would match. 100 # The second :M in the pattern is nested between ( and }, therefore it 107 # The double backslash is passed verbatim to the pattern matcher. 108 # The Str_Match pattern i [all...] |
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_match.c | 51 struct archive_mstring pattern; member in struct:match 313 archive_match_exclude_pattern(struct archive *_a, const char *pattern) argument 322 if (pattern == NULL || *pattern == '\0') { 323 archive_set_error(&(a->archive), EINVAL, "pattern is empty"); 326 if ((r = add_pattern_mbs(a, &(a->exclusions), pattern)) != ARCHIVE_OK) 332 archive_match_exclude_pattern_w(struct archive *_a, const wchar_t *pattern) argument 341 if (pattern == NULL || *pattern == L'\0') { 342 archive_set_error(&(a->archive), EINVAL, "pattern i 379 archive_match_include_pattern(struct archive *_a, const char *pattern) argument 398 archive_match_include_pattern_w(struct archive *_a, const wchar_t *pattern) argument 552 add_pattern_mbs(struct archive_match *a, struct match_list *list, const char *pattern) argument 572 add_pattern_wcs(struct archive_match *a, struct match_list *list, const wchar_t *pattern) argument [all...] |
/freebsd-13-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_utl.c | 529 typedef int (*equal_fn) (const unsigned char *pattern, size_t pattern_len, 533 /* Skip pattern prefix to match "wildcard" subject */ 538 const unsigned char *pattern = *p; local 543 * pattern is longer, compare just an equal-length suffix with the 550 while (pattern_len > subject_len && *pattern) { 552 *pattern == '.') 554 ++pattern; 560 *p = pattern; 566 static int equal_nocase(const unsigned char *pattern, size_t pattern_len, argument 570 skip_prefix(&pattern, 595 equal_case(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) argument 756 equal_wildcard(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) argument [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/arm/ |
H A D | dt_isadep.c | 152 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 165 * pattern. 167 if (strcmp("*", pattern) == 0) { 176 if (gmatch(name, pattern)) 151 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/powerpc/ |
H A D | dt_isadep.c | 161 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 174 * pattern. 176 if (strcmp("*", pattern) == 0) { 185 if (gmatch(name, pattern)) 160 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
|
/freebsd-13-stable/usr.bin/unzip/ |
H A D | unzip.c | 252 struct pattern { struct 253 STAILQ_ENTRY(pattern) link; 254 char pattern[]; member in struct:pattern 257 STAILQ_HEAD(pattern_list, pattern); 262 * Add an entry to a pattern list 265 add_pattern(struct pattern_list *list, const char *pattern) argument 267 struct pattern *entry; 270 debug("adding pattern '%s'\n", pattern); 271 len = strlen(pattern); [all...] |
/freebsd-13-stable/usr.bin/primes/ |
H A D | primes.c | 269 /* initial pattern copy */ 271 memcpy(table, &pattern[factor], pattern_size-factor); 272 /* main block pattern copies */ 275 memcpy(&table[fact_lim], pattern, pattern_size); 277 /* final block pattern copy */ 278 memcpy(&table[fact_lim], pattern, TABSIZE-fact_lim);
|
/freebsd-13-stable/contrib/bmake/ |
H A D | dir.c | 93 * Expand a filename pattern to find all matching files 631 * See if any files match the pattern and add their names to the 'expansions' 642 * pattern Pattern to look for 647 DirMatchFiles(const char *pattern, CachedDir *dir, StringList *expansions) argument 655 * pattern is a plain string without any wildcards, a direct lookup 663 if (!Str_Match(base, pattern)) 668 * if the pattern begins with a dot. The pattern '.*' does 672 * This means that the pattern '[a-z.]*' does not find 676 if (base[0] == '.' && pattern[ 845 SearchPath_ExpandMiddle(SearchPath *path, const char *pattern, const char *wildcardComponent, StringList *expansions) argument 898 SearchPath_Expand(SearchPath *path, const char *pattern, StringList *expansions) argument [all...] |
/freebsd-13-stable/usr.bin/grep/ |
H A D | grep.c | 61 /* 4*/ "\t[-e pattern] [-f file] [--binary-files=value] [--color=when]\n", 63 /* 6*/ "\t[--null] [pattern] [file ...]\n", 77 struct pat *pattern; variable in typeref:struct:pat 107 bool wflag; /* -w: pattern must start and end on word boundaries */ 108 bool xflag; /* -x: pattern must match entire line */ 207 * Adds a searching pattern to the internal array. 221 pattern = grep_realloc(pattern, ++pattern_sz * 227 pattern[patterns].pat = grep_malloc(len + 1); 228 memcpy(pattern[pattern [all...] |
/freebsd-13-stable/contrib/subversion/subversion/svn/ |
H A D | log-cmd.c | 120 match(const char *pattern, const char *str, svn_membuf_t *buf) 132 return apr_fnmatch(pattern, str, 0) == APR_SUCCESS; 147 /* Match any substring containing the pattern, like UNIX 'grep' does. */ local 148 const char *pattern = apr_psprintf(pool, "*%s*", search_pattern); 150 /* Does the author match the search pattern? */ 151 if (author && match(pattern, author, buf)) 154 /* Does the date the search pattern? */ 155 if (date && match(pattern, date, buf)) 158 /* Does the log message the search pattern? */ 159 if (log_message && match(pattern, log_messag 119 match(const char *pattern, const char *str, svn_membuf_t *buf) argument 214 const char *pattern; local [all...] |
/freebsd-13-stable/contrib/tcsh/ |
H A D | sh.glob.c | 887 Gmatch(const Char *string, const Char *pattern) argument 889 return Gnmatch(string, pattern, NULL); 893 Gnmatch(const Char *string, const Char *pattern, const Char **endstr) argument 899 if (*pattern == '^') { 901 pattern++; 906 (*fblk)[0] = Strsave(pattern); 941 t_pmatch(const Char *string, const Char *pattern, const Char **estr, int cs) argument 949 patternc = *pattern++ & TRIM; 959 if (!*pattern) { 966 switch(t_pmatch(string, pattern, est [all...] |
/freebsd-13-stable/contrib/less/ |
H A D | search.c | 12 * Routines to search a file for a pattern. 106 * search pattern and filter pattern. 145 * Discard a saved pattern. 160 * Compile and save a search pattern. 163 set_pattern(info, pattern, search_type, show_error) 165 char *pattern; 170 if (pattern == NULL) 172 else if (compile_pattern(pattern, search_type, show_error, &info->compiled) < 0) 179 if (pattern ! 1514 char *pattern; local [all...] |
/freebsd-13-stable/lib/libc/tests/gen/ |
H A D | fnmatch_testcases.h | 33 const char *pattern; member in struct:testcase
|