/freebsd-13-stable/contrib/less/ |
H A D | tags.c | 58 * Use either pattern or line number. 59 * findgtag() always uses line number, so pattern is always NULL. 60 * findctag() uses either pattern (in which case line number is 0), 61 * or line number (in which case pattern is NULL). 72 char tag_endline; /* True if the pattern includes '$' */ 116 maketagent(name, file, linenum, pattern, endline) 120 char *pattern; 130 if (pattern == NULL) 134 tp->tag_pattern = (char *) ecalloc(strlen(pattern) + 1, sizeof(char)); 135 strcpy(tp->tag_pattern, pattern); [all...] |
H A D | funcs.h | 289 public int compile_pattern LESSPARAMS ((char *pattern, int search_type, int show_error, PATTERN_TYPE *comp_pattern)); 290 public void uncompile_pattern LESSPARAMS ((PATTERN_TYPE *pattern)); 291 public int valid_pattern LESSPARAMS ((char *pattern)); 292 public int is_null_pattern LESSPARAMS ((PATTERN_TYPE pattern)); 293 public int match_pattern LESSPARAMS ((PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int notbol, int search_type)); 323 public int search LESSPARAMS ((int search_type, char *pattern, int n)); 325 public void set_filter_pattern LESSPARAMS ((char *pattern, int search_type));
|
H A D | command.c | 94 static void multi_search LESSPARAMS((char *pattern, int n, int silent)); 523 * the pattern have special meaning: 688 char *pattern = get_cmdbuf(); local 690 if (*pattern == '\0') 692 /* User has backspaced to an empty pattern. */ 696 if (search(st | SRCH_INCR, pattern, 1) != 0) 697 /* No match, invalid pattern, etc. */ 1040 * Search for a pattern, possibly in multiple files. 1045 multi_search(pattern, n, silent) 1046 char *pattern; [all...] |
/freebsd-13-stable/stand/lua/ |
H A D | config.lua | 147 -- Escapes the named value for use as a literal in a replacement pattern. 210 local function checkPattern(line, pattern) 215 if pattern:find('$VALUE') then 217 k, v, c = _realCheck(line, pattern:gsub('$VALUE', QVALREPL)) 221 return _realCheck(line, pattern:gsub('$VALUE', WORDREPL)) 223 return _realCheck(line, pattern) 227 -- str in this table is a regex pattern. It will automatically be anchored to 229 -- pattern should have no more than two captures patterns, which correspond to 232 -- token included in a pattern will be tried first with a quoted value capture 238 -- capture group, but the difference is that the full-line comment pattern wil [all...] |
/freebsd-13-stable/crypto/heimdal/kuser/ |
H A D | klist.c | 338 krb5_creds pattern; local 343 krb5_cc_clear_mcred(&pattern); 347 ret = krb5_make_principal (context, &pattern.server, 351 pattern.client = principal; 353 ret = krb5_cc_retrieve_cred (context, ccache, 0, &pattern, &creds); 354 krb5_free_principal (context, pattern.server);
|
/freebsd-13-stable/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 134 const uint8_t *pattern, const uint8_t *mask, 179 b = *pattern++; 216 b = *pattern++; 255 const uint8_t *pattern; local 268 pattern = vtfont_lookup(vf, c); 273 pattern, NULL, vf->vf_width, vf->vf_height, 133 ofwfb_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument
|
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | exc.c | 467 ** SM_EXC_MATCH -- Match exception category against a glob pattern. 471 ** pattern -- glob pattern. 478 sm_exc_match(exc, pattern) 480 const char *pattern; 485 return sm_match(exc->exc_type->etype_category, pattern);
|
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | utf8proc.c | 275 const char *pattern = APR_ARRAY_IDX(patterns, i, const char *); 276 if (apr_fnmatch(pattern, normalized, 0) == APR_SUCCESS) 323 const char *pattern, apr_size_t pattern_len, 342 SVN_ERR(decompose_normalized(&tempbuf_len, pattern, pattern_len, temp_buf)); 348 /* Convert a LIKE pattern to a GLOB pattern that apr_fnmatch can use. */ 273 const char *pattern = APR_ARRAY_IDX(patterns, i, const char *); local 320 svn_utf__glob(svn_boolean_t *match, const char *pattern, apr_size_t pattern_len, const char *string, apr_size_t string_len, const char *escape, apr_size_t escape_len, svn_boolean_t sql_like, svn_membuf_t *pattern_buf, svn_membuf_t *string_buf, svn_membuf_t *temp_buf) argument
|
H A D | dirent_uri.c | 1862 unsigned pattern = 0; 1899 pattern = ((pattern & 0xff) << 8) + (unsigned char)ptr[i]; 1900 if (pattern == 0x101 * (unsigned char)('/')) 2787 svn_cert__match_dns_identity(svn_string_t *pattern, svn_string_t *hostname) 2793 if (pattern->len >= 2 && 2794 pattern->data[pattern_pos] == '*' && 2795 pattern->data[pattern_pos + 1] == '.') 2812 while (pattern_pos < pattern->len && hostname_pos < hostname->len) 2814 char pattern_c = pattern 1860 unsigned pattern = 0; local 2782 svn_cert__match_dns_identity(svn_string_t *pattern, svn_string_t *hostname) argument [all...] |
/freebsd-13-stable/libexec/getty/ |
H A D | subr.c | 468 edithost(const char *pattern) argument 474 if (pattern == NULL || *pattern == '\0') 476 if (regcomp(®ex, pattern, REG_EXTENDED) != 0) 491 * subexpressions in the pattern, use entire matched 505 * In case of any errors, or if the pattern did not match, pass
|
/freebsd-13-stable/contrib/ncurses/menu/ |
H A D | m_global.c | 61 0, /* Index into pattern buffer */ 155 if (menu->pattern) 156 free(menu->pattern); 157 menu->pattern = (char *)0; 212 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen))))
|
/freebsd-13-stable/sys/dev/qlxgb/ |
H A D | qla_glbl.h | 101 void *buf, uint32_t pattern);
|
H A D | qla_ioctl.c | 123 wrf->buffer, wrf->pattern)))
|
/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_log.h | 161 * Set the log level for a given type based on shell pattern. 163 * @param pattern 164 * The match pattern identifying the log type. 170 int rte_log_set_level_pattern(const char *pattern, uint32_t level);
|
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | ArchHandler.h | 305 /// Create normalized Relocation initialized from pattern. 306 static normalized::Relocation relocFromPattern(RelocPattern pattern); 310 RelocPattern pattern);
|
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | varmod-match.mk | 4 # given pattern.
|
/freebsd-13-stable/sys/dev/vt/hw/vga/ |
H A D | vt_vga.c | 91 * o store pixels pattern. 397 uint8_t *pattern, uint8_t *mask) 415 *pattern = src[n]; 417 *pattern >>= (dst_x - src_x % 8); 419 *pattern <<= (src_x % 8 - dst_x); 423 *pattern = 427 *pattern = 442 uint8_t pattern, relevant_bits, mask; local 448 bytes, src_x, x_count, dst_x, &pattern, &relevant_bits); 459 * we shifted the source pattern 395 vga_compute_shifted_pattern(const uint8_t *src, unsigned int bytes, unsigned int src_x, unsigned int x_count, unsigned int dst_x, uint8_t *pattern, uint8_t *mask) argument 955 vga_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument [all...] |
/freebsd-13-stable/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 265 const uint8_t *pattern, const uint8_t *mask, 305 cc = pattern[byte] & bit ? fgc : bgc; 339 const uint8_t *pattern; local 353 pattern = vtfont_lookup(vf, c); 364 pattern, NULL, vf->vf_width, vf->vf_height, 264 vt_fb_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument
|
/freebsd-13-stable/bin/sh/ |
H A D | expand.c | 778 * Terminate the string and start recording the pattern 1036 expandmeta(char *pattern, struct arglist *dstlist) argument 1043 p = pattern; 1048 expmeta(expdir, pattern, dstlist); 1057 rmescapes(pattern); 1058 appendarglist(dstlist, pattern); 1259 * Returns true if the pattern matches the string. 1263 patmatch(const char *pattern, const char *string) argument 1270 p = pattern; 1303 * If the pattern end 1442 casematch(union node *pattern, const char *val) argument [all...] |
/freebsd-13-stable/lib/libc/regex/ |
H A D | regcomp.c | 212 const char * __restrict pattern, 232 if (preg->re_endp < pattern) 234 len = preg->re_endp - pattern; 236 len = strlen(pattern); 243 * Limit the pattern space to avoid a 32-bit overflow on buffer 268 p->next = pattern; /* convenience; we do not modify it */ 325 /* only use Boyer-Moore algorithm if the pattern is bigger 367 const char * __restrict pattern, 371 return (regcomp_internal(preg, pattern, cflags, 0)); 380 const char * __restrict pattern, 211 regcomp_internal(regex_t * __restrict preg, const char * __restrict pattern, int cflags, int pflags) argument 366 regcomp(regex_t * __restrict preg, const char * __restrict pattern, int cflags) argument 379 freebsd12_regcomp(regex_t * __restrict preg, const char * __restrict pattern, int cflags, int pflags) argument [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 373 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 411 if (strcmp("*", pattern) == 0) { 427 if (gmatch(name, pattern)) 372 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/opie/ |
H A D | glob.c | 1 /* glob.c: The csh et al glob pattern matching routines. 360 static VOIDRET matchdir FUNCTION((pattern), char *pattern) argument 385 if (match(dp->d_name, pattern)) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | FileSpec.h | 187 /// Match FileSpec \a pattern against FileSpec \a file. If \a pattern has a 190 /// pattern matches everything. 191 static bool Match(const FileSpec &pattern, const FileSpec &file);
|
/freebsd-13-stable/sbin/camcontrol/ |
H A D | fwdownload.c | 133 * pattern: Pattern to match for the Vendor ID from the SCSI 164 const char *pattern; member in struct:fw_vendor 305 for (vp = vendors_list; vp->pattern != NULL; vp++) { 313 for (vp = vendors_list; vp->pattern != NULL; vp++) { 315 (const u_char *)vp->pattern, strlen(vendor))) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/interception/ |
H A D | interception_win.cpp | 230 static bool FunctionHasPrefix(uptr address, const T &pattern) { argument 231 u8* function = (u8*)address - sizeof(pattern); 232 for (size_t i = 0; i < sizeof(pattern); ++i) 233 if (function[i] != pattern[i])
|