/src/usr.sbin/mtree/ |
excludes.c | 110 #define MATCH(g, n) (fnmatch((g), (n), FNM_PATHNAME) == 0) 114 if ((e->pathname && MATCH(e->glob, path)) 115 || MATCH(e->glob, fname)) {
|
/src/common/dist/zlib/ |
inflate.h | 45 MATCH, /* o: waiting for output space to copy string */ 74 LENEXT -> DIST -> DISTEXT -> MATCH -> LEN 125 unsigned was; /* initial length of match */
|
inflate.c | 27 * - Make hbuf[] unsigned char to match parameter type in inflate.c 39 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used 48 * - Unroll last copy for window match in inflate_fast() 367 output will fall in the output data, making match copies simpler and faster. 600 unsigned copy; /* number of stored or match bytes to copy */ 601 unsigned char FAR *from; /* where to copy match bytes from */ 1139 state->mode = MATCH; 1141 case MATCH: 1527 (state->mode == MATCH ? state->was - state->length : 0));
|
/src/lib/libc/citrus/modules/ |
citrus_utf1632.c | 361 #define MATCH(x, act) \ 376 MATCH(big, ei->preffered_endian = _ENDIAN_BIG); 380 MATCH(little, ei->preffered_endian = _ENDIAN_LITTLE); 384 MATCH(force, ei->mode |= _MODE_FORCE_ENDIAN); 388 MATCH(utf32, ei->mode |= _MODE_UTF32);
|
citrus_gbk2k.c | 429 #define MATCH(x, act) \ 443 MATCH("2byte", ei->mb_cur_max = 2);
|
citrus_mskanji.c | 502 #define MATCH(x, act) \ 515 MATCH(JIS2004, ei->mode |= MODE_JIS2004);
|
citrus_ues.c | 434 #define MATCH(x, act) \ 447 MATCH(C99, ei->mode |= MODE_C99);
|
/src/sys/kern/ |
vfs_lookup.c | 97 #define MATCH(str) \ 142 if (MATCH("machine_arch")) { 145 } else if (MATCH("machine")) { 148 } else if (MATCH("hostname")) { 150 } else if (MATCH("osrelease")) { 153 } else if (MATCH("emul")) { 156 } else if (MATCH("kernel_ident")) { 159 } else if (MATCH("domainname")) { 161 } else if (MATCH("ostype")) { 164 } else if (MATCH("uid")) [all...] |
/src/usr.sbin/isibootd/ |
isibootd.c | 417 #define MATCH(x, v) ((v) == ((v) & (x))) 434 if (MATCH(ifa->ifa_flags, IFF_UP | IFF_BROADCAST)) { 456 #undef MATCH
|
/src/sys/arch/hpc/stand/hpcboot/sh3/dev/ |
sh3_dev.cpp | 302 #define MATCH(p) \ 306 if (!MATCH(HP_LX) && 307 !MATCH(HP_JORNADA_6XX) && 308 !MATCH(HITACHI_PERSONA_HPW230JC)) {
|
/src/usr.bin/sed/ |
process.c | 96 regmatch_t *match; variable in typeref:typename:regmatch_t * 290 #define MATCH(a) \ 318 if (MATCH(cp->a2)) { 334 } else if (cp->a1 && MATCH(cp->a1)) { 353 r = MATCH(cp->a1); 413 if (lastempty || match[0].rm_so != match[0].rm_eo) { 415 re_off = match[0].rm_so; 422 /* Move past this match. */ 423 if (match[0].rm_so != match[0].rm_eo) [all...] |
/src/lib/libc/resolv/ |
res_init.c | 356 #define MATCH(line, name) \ 371 if (MATCH(buf, "domain")) { 387 if (MATCH(buf, "search")) { 424 if (MATCH(buf, "nameserver") && nserv < maxns) { 459 if (MATCH(buf, "sortlist")) { 502 if (MATCH(buf, "options")) {
|
/src/sys/arch/sparc/sparc/ |
cpu.c | 205 * put in some special case "if"'s in the match routines of esp, 1151 0, /* ncontext set in `match' function */ 1272 0, /* ncontext set in `match' function */ 1991 #define ANY -1 /* match any version */ 2116 #define MATCH(x) (mp->x == x || mp->x == ANY) 2117 if (!MATCH(cpu_impl) || 2118 !MATCH(cpu_vers) || 2119 !MATCH(mmu_impl) || 2120 !MATCH(mmu_vers)) 2122 #undef MATCH [all...] |
/src/lib/libc/net/ |
getaddrinfo.c | 354 #define MATCH(x, y, w) \ 573 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex))) 575 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex))) 628 /* require exact match for family field */ 632 if (!MATCH(pai->ai_socktype, ex->e_socktype, 636 if (!MATCH(pai->ai_protocol, ex->e_protocol, 847 goto next; /* not match */ 944 int match = 0; local in function:matchlen 971 match++; 976 match += 8 [all...] |
/src/sys/dev/scsipi/ |
scsipi_base.c | 1188 #define MATCH(field) \ 1190 if (MATCH(vendor) && MATCH(product) && MATCH(revision))
|