/freebsd-current/contrib/tcpdump/ |
H A D | print-domain.c | 68 const u_char *cp) 72 if (!ND_TTEST_1(cp)) 74 i = GET_U_1(cp); 75 cp++; 80 return (cp + 1); 87 if (!ND_TTEST_1(cp)) 89 if ((bitlen = GET_U_1(cp)) == 0) 91 cp++; 93 cp += bytelen; 101 cp 67 ns_nskip(netdissect_options *ndo, const u_char *cp) argument 113 blabel_print(netdissect_options *ndo, const u_char *cp) argument 146 labellen(netdissect_options *ndo, const u_char *cp) argument 185 fqdn_print(netdissect_options *ndo, const u_char *cp, const u_char *bp) argument 296 ns_cprint(netdissect_options *ndo, const u_char *cp) argument 311 print_eopt_ecs(netdissect_options *ndo, const u_char *cp, u_int data_len) argument 373 eopt_print(netdissect_options *ndo, const u_char *cp) argument 638 ns_qprint(netdissect_options *ndo, const u_char *cp, const u_char *bp, int is_mdns) argument 673 ns_rprint(netdissect_options *ndo, const u_char *cp, const u_char *bp, int is_mdns) argument 907 const u_char *cp; local [all...] |
H A D | print-ahcp.c | 102 const u_char *cp, uint8_t len) 109 t = GET_BE_U_4(cp); 117 ND_TCHECK_LEN(cp, len); 122 const u_char *cp, uint8_t len) 126 ND_PRINT(": %us", GET_BE_U_4(cp)); 131 ND_TCHECK_LEN(cp, len); 136 const u_char *cp, uint8_t len) 143 ND_PRINT("%s%s", sep, GET_IP6ADDR_STRING(cp)); 144 cp += 16; 152 ND_TCHECK_LEN(cp, le 101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 121 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 135 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 156 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 177 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 198 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, uint8_t len) argument 237 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, uint16_t len) argument 276 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 321 ahcp_print(netdissect_options *ndo, const u_char *cp, u_int len) argument [all...] |
H A D | print-openflow-1.0.c | 12 * * cp -- the pointer to the first octet to decode 699 const u_char *cp, u_int len) 706 subtype = GET_BE_U_4(cp); 726 ND_PRINT(", index %u", GET_U_1(cp)); 730 ND_TCHECK_7(cp); 749 ND_PRINT(", index %u", GET_U_1(cp)); 754 ND_PRINT(", mask %s", GET_IPADDR_STRING(cp)); 773 tok2str(bsn_onoff_str, "bogus (%u)", GET_U_1(cp))); 777 ND_TCHECK_3(cp); 809 ND_PRINT(", vport_no %u", GET_BE_U_4(cp)); 698 of10_bsn_message_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 878 of10_bsn_actions_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 942 of10_vendor_action_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 968 of10_vendor_message_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 987 of10_vendor_data_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1008 of10_packet_data_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument 1038 of10_phy_port_print(netdissect_options *ndo, const u_char *cp) argument 1095 of10_queue_props_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1162 of10_queues_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1198 of10_match_print(netdissect_options *ndo, const char *pfx, const u_char *cp) argument 1286 of10_actions_print(netdissect_options *ndo, const char *pfx, const u_char *cp, u_int len) argument 1447 of10_features_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1485 of10_switch_config_msg_print(netdissect_options *ndo, const u_char *cp, u_int len _U_) argument 1498 of10_flow_mod_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1546 of10_port_mod_print(netdissect_options *ndo, const u_char *cp, u_int len _U_) argument 1574 of10_queue_get_config_request_print(netdissect_options *ndo, const u_char *cp, u_int len _U_) argument 1587 of10_queue_get_config_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1602 of10_stats_request_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1677 of10_desc_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1715 of10_flow_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1777 of10_aggregate_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1803 of10_table_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1846 of10_port_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1908 of10_queue_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1942 of10_stats_reply_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 1976 of10_packet_out_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 2006 of10_packet_in_print(netdissect_options *ndo, const u_char *cp, u_int len) argument 2032 of10_flow_removed_print(netdissect_options *ndo, const u_char *cp, u_int len _U_) argument 2072 of10_port_status_print(netdissect_options *ndo, const u_char *cp, u_int len _U_) argument 2088 of10_error_print(netdissect_options *ndo, const u_char *cp, u_int len) argument [all...] |
H A D | print-krb.c | 136 const u_char *cp) 138 cp += 2; 140 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc 147 return (cp); 158 const u_char *cp) 164 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc 167 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? GET_LE_U_2(cp) 135 krb4_print_hdr(netdissect_options *ndo, const u_char *cp) argument 157 krb4_print(netdissect_options *ndo, const u_char *cp) argument [all...] |
/freebsd-current/contrib/vis/ |
H A D | foldit.c | 47 const char *cp; local 54 cp = chunk; 55 while (*cp) { 56 switch(*cp) { 75 cp++;
|
/freebsd-current/lib/libc/resolv/ |
H A D | res_mkquery.c | 102 u_char *cp, *ep; local 125 cp = buf + HFIXEDSZ; 137 if (ep - cp < QFIXEDSZ) 139 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 142 cp += n; 143 ns_put16(type, cp); 144 cp += INT16SZ; 145 ns_put16(class, cp); 146 cp 210 u_char *cp, *ep; local 268 register u_char *cp, *ep; local [all...] |
/freebsd-current/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-current/crypto/openssh/ |
H A D | addrmatch.c | 51 char *list, *cp, *o; local 62 while ((cp = strsep(&list, ",")) != NULL) { 63 neg = *cp == '!'; 65 cp++; 66 if (*cp == '\0') { 71 r = addr_pton_cidr(cp, &match_addr, &masklen); 74 "match network \"%.100s\"", cp); 90 if (addr != NULL && match_pattern(addr, cp) == 1) 111 char *list, *cp, *o; local 122 while ((cp [all...] |
/freebsd-current/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-current/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-current/usr.bin/locate/code/ |
H A D | locate.code.c | 104 u_char *cp, *oldpath, *path; local 138 for (cp = bigrams, i = 0; *cp != '\0'; i += 2, cp += 2) 139 big[(u_char)*cp][(u_char)*(cp + 1)] = i; 152 for (cp = path; *cp != '\0'; cp++) { 154 if (*cp [all...] |
/freebsd-current/contrib/blocklist/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-current/lib/libutil/ |
H A D | fparseln.c | 51 const char *cp; local 64 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) 84 char *ptr, *cp; local 118 for (cp = ptr; cp < ptr + s; cp++) 119 if (*cp == com && !isescaped(ptr, cp, es [all...] |
/freebsd-current/stand/common/ |
H A D | boot.c | 133 char *cp, *prompt; local 142 howlong = strtol(argv[1], &cp, 0); 143 if (*cp != 0) { 164 char *cp; local 166 cp = getenv("autoboot_delay"); 167 if ((autoboot_tried == 0) && ((cp == NULL) || strcasecmp(cp, "NO"))) 176 char *argv[2], *cp, *ep; local 187 if ((cp = getenv("autoboot_delay"))) { 188 timeout = strtol(cp, 322 char lbuf[KENV_MVALLEN], *cp, *ep, *dev, *fstyp, *options; local 419 char *cp; local [all...] |
/freebsd-current/lib/libc/inet/ |
H A D | inet_network.c | 47 inet_network(const char *cp) argument 56 if (*cp == '0') 57 digit = 1, base = 8, cp++; 58 if (*cp == 'x' || *cp == 'X') 59 base = 16, cp++; 60 while ((c = *cp) != 0) { 65 cp++; 72 cp++; 82 if (*cp [all...] |
/freebsd-current/lib/libbluetooth/ |
H A D | bluetooth.c | 65 char **cp; local 71 for (cp = p->h_aliases; *cp != NULL; cp++) 72 if (strcasecmp(*cp, name) == 0) 103 char *p, *cp, **q; local 119 if ((cp = strpbrk(p, "#\n")) == NULL) 121 *cp = 0; 122 if ((cp = strpbrk(p, " \t")) == NULL) 124 *cp 178 char **cp; local 211 char *p, *cp, **q; local [all...] |
/freebsd-current/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-current/usr.bin/tip/tip/ |
H A D | hunt.c | 53 char *cp; local 57 while ((cp = getremote(name))) { 59 uucplock = strrchr(cp, '/'); 61 uucplock = cp; 78 FD = open(cp, (O_RDWR | 83 perror(cp); 95 return ((long)cp); 100 return (deadfl ? -1 : (long)cp);
|
/freebsd-current/sys/libkern/ |
H A D | strchr.c | 36 strchr(const char *cp, int ch) argument 40 p = __DECONST(char *, cp);
|
/freebsd-current/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-current/sys/contrib/openzfs/lib/libspl/include/ |
H A D | umem.h | 167 umem_cache_t *cp; local 169 cp = (umem_cache_t *)umem_alloc(sizeof (umem_cache_t), UMEM_DEFAULT); 170 if (cp) { 171 strlcpy(cp->cache_name, name, UMEM_CACHE_NAMELEN); 172 cp->cache_bufsize = bufsize; 173 cp->cache_align = align; 174 cp->cache_constructor = constructor; 175 cp->cache_destructor = destructor; 176 cp->cache_reclaim = reclaim; 177 cp 186 umem_cache_destroy(umem_cache_t *cp) argument 193 umem_cache_alloc(umem_cache_t *cp, int flags) argument 210 umem_cache_free(umem_cache_t *cp, void *ptr) argument [all...] |
/freebsd-current/lib/libc/string/ |
H A D | wcscpy.c | 42 wchar_t *cp; local 44 cp = s1; 45 while ((*cp++ = *s2++) != L'\0')
|
/freebsd-current/share/examples/tests/tests/plain/ |
H A D | cp_test.sh | 59 cp "$(dirname "${0}")/file1" . 60 cp file1 file2 || err "cp failed" 67 cp -f file1 file3 || err "cp failed"
|
/freebsd-current/usr.bin/ctags/ |
H A D | fortran.c | 48 char *cp; local 115 for (cp = lbp + 1; *cp && intoken(*cp); ++cp) 117 if (cp == lbp + 1) 119 *cp = EOS; 133 cicmp(const char *cp) argument 138 for (len = 0, bp = lbp; *cp && (*cp [all...] |