/freebsd-11-stable/usr.bin/yacc/tests/ |
H A D | yacc_tests.sh | 14 cp -Rf "$(dirname "$0")"/* "test" 15 cp -p /usr/bin/yacc ./yacc
|
/freebsd-11-stable/contrib/vis/ |
H A D | foldit.c | 47 const char *cp; local 54 cp = chunk; 55 while (*cp) { 56 switch(*cp) { 75 cp++;
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_mkquery.c | 107 u_char *cp, *ep; local 130 cp = buf + HFIXEDSZ; 142 if (ep - cp < QFIXEDSZ) 144 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 147 cp += n; 148 ns_put16(type, cp); 149 cp += INT16SZ; 150 ns_put16(class, cp); 151 cp 215 u_char *cp, *ep; local 273 register u_char *cp, *ep; local [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 118 char **sp, *cp; local 135 for(cp = tmp, nsh = 0; *cp; cp += strlen(cp) + 1, nsh++); 141 strings = malloc(cp - tmp); 147 memcpy(strings, tmp, cp - tmp); 148 for(sp = shells, cp = strings; *cp; cp [all...] |
H A D | inet_aton.c | 42 inet_aton(const char *cp, struct in_addr *addr) argument 44 addr->s_addr = inet_addr(cp);
|
/freebsd-11-stable/usr.bin/colcrt/ |
H A D | colcrt.c | 84 wchar_t *cp, *dp; local 165 cp = &page[outline][outcol]; 170 cp += 132; 173 if (*cp == 0) { 175 cp[i] = c; 176 dp = cp - (outcol - w); 177 for (cp--; cp >= dp && *cp == 0; cp 221 wchar_t *cp; local 261 wchar_t *cp, *dp; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | st_parse.c | 62 static char *soudef(char *cp, stabtype_t type, tdesc_t **rtdp); 63 static void enumdef(char *cp, tdesc_t **rtdp); 66 static char *number(char *cp, int *n); 67 static char *name(char *cp, char **w); 68 static char *id(char *cp, int *h); 69 static char *whitesp(char *cp); 72 static char *tdefdecl(char *cp, int h, tdesc_t **rtdp); 73 static char *intrinsic(char *cp, tdesc_t **rtdp); 74 static char *arraydef(char *cp, tdesc_t **rtdp); 80 parse_debug(int level, char *cp, cons argument 159 read_tid(char *cp, tdesc_t **tdpp) argument 187 parse_fun(char *cp, iidesc_t *ii) argument 246 parse_sym(char *cp, iidesc_t *ii) argument 286 parse_type(char *cp, iidesc_t *ii) argument 343 parse_sou(char *cp, iidesc_t *idp) argument 402 parse_stab(stab_t *stab, char *cp, iidesc_t **iidescp) argument 477 whitesp(char *cp) argument 488 name(char *cp, char **w) argument 515 number(char *cp, int *n) argument 526 id(char *cp, int *h) argument 569 tdefdecl(char *cp, int h, tdesc_t **rtdp) argument 773 intrinsic(char *cp, tdesc_t **rtdp) argument 849 offsize(char *cp, mlist_t *mlp) argument 885 soudef(char *cp, stabtype_t type, tdesc_t **rtdp) argument 975 arraydef(char *cp, tdesc_t **rtdp) argument 1028 enumdef(char *cp, tdesc_t **rtdp) argument [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | pwcache.c | 57 struct ncache *cp; local 59 cp = c_uid + (uid & MASK); 60 if (cp->uid != uid || cp->name == NULL) { 72 cp->uid = uid; 73 if (cp->name != NULL) 74 free(cp->name); 75 cp->name = strdup(pw ? pw->pw_name : nbuf); 77 return (cp->name); 92 struct ncache *cp; local [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-krb.c | 127 const u_char *cp) 129 cp += 2; 131 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc 138 return (cp); 149 const u_char *cp) 155 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc 158 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) 126 krb4_print_hdr(netdissect_options *ndo, const u_char *cp) argument 148 krb4_print(netdissect_options *ndo, const u_char *cp) argument [all...] |
H A D | print-zeromq.c | 77 zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 83 ND_TCHECK2(*cp, 1); /* length/0xFF */ 85 if (cp[0] != 0xFF) { 87 body_len_declared = cp[0]; 92 ND_TCHECK2(*cp, header_len); /* 0xFF, length */ 93 body_len_declared = EXTRACT_64BITS(cp + 1); 97 return cp + header_len; /* skip to the next frame */ 98 ND_TCHECK2(*cp, header_len + 1); /* ..., flags */ 99 flags = cp[header_len]; 101 body_len_captured = ep - cp 144 zmtp1_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 170 zmtp1_print_intermediate_part(netdissect_options *ndo, const u_char *cp, const u_int len) argument 213 zmtp1_print_datagram(netdissect_options *ndo, const u_char *cp, const u_int len) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_exec.sh | 38 atf_check -s eq:0 -o empty -e empty cp /bin/cp . 40 [ $(md5 cp | cut -d ' ' -f 4) = $(md5 /bin/cp | cut -d ' ' -f 4) ] || \ 42 atf_check -s eq:0 -o empty -e empty ./cp cp foo
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | nls.c | 207 char *cp, *language, *result; local 209 cp = language = name; 212 while (*cp && *cp != '_' && *cp != '@' && *cp != '+' && *cp != ',') 213 cp++; 218 if (language == cp) 226 if (*cp [all...] |
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | percent_m.c | 28 char *cp = ibuf; local 30 while (*bp = *cp) 31 if (*cp == '%' && cp[1] == 'm') { 38 cp += 2; 40 bp++, cp++;
|
/freebsd-11-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_subr.c | 86 ffs_isblock(fs, cp, h) 88 u_char *cp; 95 return (cp[h] == 0xff); 98 return ((cp[h >> 1] & mask) == mask); 101 return ((cp[h >> 2] & mask) == mask); 104 return ((cp[h >> 3] & mask) == mask); 117 ffs_isfreeblock(fs, cp, h) 119 u_char *cp; 125 return (cp[h] == 0); 127 return ((cp[ [all...] |
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | fparseln.c | 61 const char *cp; local 69 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) 89 char *ptr, *cp; local 121 for (cp = ptr; cp < ptr + s; cp++) 122 if (*cp == com && !isescaped(ptr, cp, es [all...] |
/freebsd-11-stable/lib/libutil/ |
H A D | fparseln.c | 52 const char *cp; local 65 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) 85 char *ptr, *cp; local 119 for (cp = ptr; cp < ptr + s; cp++) 120 if (*cp == com && !isescaped(ptr, cp, es [all...] |
/freebsd-11-stable/stand/common/ |
H A D | boot.c | 125 char *cp, *prompt; local 134 howlong = strtol(argv[1], &cp, 0); 135 if (*cp != 0) { 156 char *cp; local 158 cp = getenv("autoboot_delay"); 159 if ((autoboot_tried == 0) && ((cp == NULL) || strcasecmp(cp, "NO"))) 168 char *argv[2], *cp, *ep; local 179 if ((cp = getenv("autoboot_delay"))) { 180 timeout = strtol(cp, 313 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; local 410 char *cp; local [all...] |
/freebsd-11-stable/lib/libc/inet/ |
H A D | inet_network.c | 51 inet_network(const char *cp) argument 60 if (*cp == '0') 61 digit = 1, base = 8, cp++; 62 if (*cp == 'x' || *cp == 'X') 63 base = 16, cp++; 64 while ((c = *cp) != 0) { 69 cp++; 76 cp++; 86 if (*cp [all...] |
/freebsd-11-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 64 char **cp; local 70 for (cp = p->h_aliases; *cp != NULL; cp++) 71 if (strcasecmp(*cp, name) == 0) 102 char *p, *cp, **q; local 118 if ((cp = strpbrk(p, "#\n")) == NULL) 120 *cp = 0; 121 if ((cp = strpbrk(p, " \t")) == NULL) 123 *cp 177 char **cp; local 210 char *p, *cp, **q; local [all...] |
/freebsd-11-stable/bin/cp/ |
H A D | Makefile | 5 PROG= cp 6 SRCS= cp.c utils.c
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/ |
H A D | tst.Bean.ksh | 40 java -cp test.jar TestBean TestBean.out
|
/freebsd-11-stable/crypto/openssl/util/ |
H A D | point.sh | 5 cp "$1" "$2"
|
/freebsd-11-stable/crypto/heimdal/appl/rcp/ |
H A D | util.c | 49 colon(cp) 50 char *cp; 52 if (*cp == ':') /* Leading colon is part of file name. */ 55 for (; *cp; ++cp) { 56 if (*cp == ':') 57 return (cp); 58 if (*cp == '/') 65 unbracket(char *cp) argument 69 if (*cp 99 unsigned char *cp; local [all...] |
/freebsd-11-stable/lib/libc/string/ |
H A D | wcscpy.c | 42 wchar_t *cp; local 44 cp = s1; 45 while ((*cp++ = *s2++) != L'\0')
|
/freebsd-11-stable/usr.bin/ctags/ |
H A D | fortran.c | 54 char *cp; local 121 for (cp = lbp + 1; *cp && intoken(*cp); ++cp) 123 if (cp == lbp + 1) 125 *cp = EOS; 139 cicmp(const char *cp) argument 144 for (len = 0, bp = lbp; *cp && (*cp [all...] |