/external/tcpdump/ |
H A D | print-lane.c | 66 register const struct lecdatahdr_8023 *ep; local 68 ep = (const struct lecdatahdr_8023 *)bp; 71 EXTRACT_16BITS(&ep->le_header), 72 etheraddr_string(ep->h_source), 73 etheraddr_string(ep->h_dest), 77 EXTRACT_16BITS(&ep->le_header), 78 etheraddr_string(ep->h_source), 79 etheraddr_string(ep->h_dest), 80 etherproto_string(ep->h_type), 96 struct lecdatahdr_8023 *ep; local [all...] |
H A D | print-ah.c | 47 register const u_char *ep; local 52 ep = snapend; /* 'ep' points to the end of available data. */ 63 if (bp + sizeof(struct ah) + sumlen > ep)
|
H A D | print-ipcomp.c | 54 register const u_char *ep; local 63 /* 'ep' points to the end of available data. */ 64 ep = snapend; 66 if ((u_char *)(ipcomp + 1) >= ep - sizeof(struct ipcomp)) {
|
H A D | print-dvmrp.c | 78 register const u_char *ep; local 81 ep = (const u_char *)snapend; 82 if (bp >= ep) 97 if (print_probe(bp, ep, len) < 0) 105 if (print_report(bp, ep, len) < 0) 116 if (print_neighbors(bp, ep, len) < 0) 135 if (print_neighbors2(bp, ep, len) < 0) 169 print_report(register const u_char *bp, register const u_char *ep, argument 195 if (bp + width + 1 > ep) { 226 print_probe(register const u_char *bp, register const u_char *ep, argument 259 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument 290 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument [all...] |
H A D | print-ether.c | 82 register const struct ether_header *ep; local 83 ep = (const struct ether_header *)bp; 86 etheraddr_string(ESRC(ep)), 87 etheraddr_string(EDST(ep))); 90 if (ntohs(ep->ether_type) <= ETHERMTU) 94 tok2str(ethertype_values,"Unknown", ntohs(ep->ether_type)), 95 ntohs(ep->ether_type)); 97 if (ntohs(ep->ether_type) <= ETHERMTU) 100 (void)printf(", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ntohs(ep->ether_type))); 109 struct ether_header *ep; local [all...] |
H A D | print-pim.c | 214 register const u_char *ep; local 217 ep = (const u_char *)snapend; 218 if (bp >= ep) 418 register const u_char *ep; local 421 ep = (const u_char *)snapend; 422 if (bp >= ep) 623 register const u_char *ep; local 627 ep = (const u_char *)snapend; 628 if (bp >= ep) 630 if (ep > b [all...] |
H A D | print-rt6.c | 48 register const u_char *ep; local 55 /* 'ep' points to the end of available data. */ 56 ep = snapend; 86 if ((u_char *)(addr + 1) > ep)
|
H A D | print-esp.c | 346 register const u_char *ep; local 382 /* 'ep' points to the end of available data. */ 383 ep = ndo->ndo_snapend; 385 if ((u_char *)(esp + 1) >= ep) { 461 if (ep - bp2 < len) 463 if (ep - bp2 > len) { 465 ep = bp2 + len; 472 ep = ep - sa->authlen; 483 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep [all...] |
H A D | print-atalk.c | 387 const u_char *ep; local 400 /* ep points to end of available data */ 401 ep = snapend; 402 if ((const u_char *)tp > ep) { 412 if ((const u_char *)(tp + 1) > ep) { 416 (void)nbp_name_print(tp, ep); 438 tp = nbp_tuple_print(tp, ep, snet, snode, skt); 450 print_cstring(register const char *cp, register const u_char *ep) argument 454 if (cp >= (const char *)ep) { 466 if (cp >= (const char *)ep) { 476 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument 506 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument [all...] |
H A D | print-icmp6.c | 180 const u_int8_t *ep, *q; local 183 ep = p + l; 184 while (l > 0 && q < ep) { 243 const u_char *ep; local 249 /* 'ep' points to the end of available data. */ 250 ep = snapend; 461 icmp6_rrenum_print(bp, ep); 465 icmp6_nodeinfo_print(length, bp, ep); 524 const u_char *ep; local 533 /* 'ep' point 606 const u_char *cp, *ep; local 730 const u_char *ep; local 867 dnsname_print(const u_char *cp, const u_char *ep) argument 903 icmp6_nodeinfo_print(u_int icmp6len, const u_char *bp, const u_char *ep) argument 1152 icmp6_rrenum_print(const u_char *bp, const u_char *ep) argument [all...] |
H A D | print-isakmp.c | 347 isakmp_attrmap_print(const u_char *p, const u_char *ep, argument 359 if (ep < p + totlen) { 361 return ep + 1; 386 isakmp_attr_print(const u_char *p, const u_char *ep) argument 397 if (ep < p + totlen) { 399 return ep + 1; 420 const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, 469 cp = isakmp_sub_print(ISAKMP_NPTYPE_P, ext, ep, phase, doi, proto0, 480 const u_char *ep, u_int32_t phase, u_int32_t doi0, 503 cp = isakmp_sub_print(ISAKMP_NPTYPE_T, ext, ep, phas 418 isakmp_sa_print(const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0, int depth) argument 479 isakmp_p_print(const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0, u_int32_t proto0 _U_, int depth) argument 569 isakmp_t_print(const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto, int depth _U_) argument 974 isakmp_n_print(const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth) argument 1181 isakmp_sub0_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument 1220 isakmp_sub_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument 1285 const u_char *ep; local 1397 const u_char *ep; local [all...] |
/external/bison/lib/ |
H A D | unsetenv.c | 60 char **ep; local 72 ep = __environ; 73 while (*ep != NULL) 74 if (!strncmp (*ep, name, len) && (*ep)[len] == '=') 77 char **dp = ep; 85 ++ep;
|
/external/openssh/openbsd-compat/ |
H A D | strtonum.c | 38 char *ep; local 55 ll = strtoll(numstr, &ep, 10); 56 if (numstr == ep || *ep != '\0')
|
H A D | inet_ntop.c | 118 char *tp, *ep; local 159 ep = tmp + sizeof(tmp); 160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 165 if (tp + 1 >= ep) 173 if (tp + 1 >= ep) 180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 185 advance = snprintf(tp, ep - tp, "%x", words[i]); 186 if (advance <= 0 || advance >= ep - tp) 192 if (tp + 1 >= ep) 196 if (tp + 1 >= ep) [all...] |
/external/icu4c/test/intltest/ |
H A D | plurults.cpp | 462 const char* ep = rp; local 463 while (*ep && *ep != ':') ++ep; 466 UnicodeString keyword(rp, ep - rp, US_INV); 479 if (*ep) { 480 ++ep; // skip colon 481 while (*ep && *ep == ' ') ++ep; // an [all...] |
/external/openssh/ |
H A D | auth2-pubkey.c | 204 char line[SSH_MAX_PUBKEY_BYTES], *cp, *ep, *line_opts; local 219 if ((ep = strchr(cp, '#')) != NULL) 220 *ep = '\0'; 224 ep = cp + strlen(cp) - 1; 225 while (ep > cp && (*ep == '\n' || *ep == ' ' || *ep == '\t')) 226 *ep-- = '\0'; 232 if ((ep [all...] |
H A D | md5crypt.c | 54 static const char *sp, *ep; local 68 for (ep = sp; *ep != '$'; ep++) { 69 if (*ep == '\0' || ep >= (sp + 8)) 74 sl = ep - sp;
|
/external/linux-tools-perf/util/ |
H A D | strfilter.c | 77 const char **ep) 141 *ep = s; 146 *ep = s; 153 * Return NULL if fail, and *ep == NULL if memory allocation failed. 158 const char *ep = NULL; local 161 ret->root = strfilter_node__new(rules, &ep); 163 if (!ret || !ret->root || *ep != '\0') { 165 *err = ep; 76 strfilter_node__new(const char *s, const char **ep) argument
|
/external/giflib/ |
H A D | gifalloc.c | 255 ExtensionBlock *ep; local 267 ep = &New->ExtensionBlocks[New->ExtensionBlockCount++]; 269 ep->ByteCount=Len; 270 ep->Bytes = (char *)malloc(ep->ByteCount); 271 if (ep->Bytes == NULL) 275 memcpy(ep->Bytes, ExtData, Len); 276 ep->Function = New->Function; 285 ExtensionBlock *ep; local 290 for (ep [all...] |
/external/libpcap/ |
H A D | optimize.c | 290 propedom(ep) 291 struct edge *ep; 293 SET_INSERT(ep->edom, ep->id); 294 if (ep->succ) { 295 SET_INTERSECT(ep->succ->et.edom, ep->edom, edgewords); 296 SET_INTERSECT(ep->succ->ef.edom, ep->edom, edgewords); 1310 fold_edge(child, ep) 1427 struct edge *ep; local 1520 struct edge *ep; local [all...] |
H A D | nametoaddr.c | 407 register u_char *ep, *e; local 410 e = ep = (u_char *)malloc(6); 420 *ep++ = d; 431 register struct pcap_etherent *ep; local 446 while ((ep = pcap_next_etherent(fp)) != NULL) { 447 if (strcmp(ep->name, name) == 0) { 450 memcpy(ap, ep->addr, 6);
|
/external/mksh/src/ |
H A D | main.c | 927 struct env *ep; local 936 ep = (void *)(cp - ALLOC_SIZE); 938 ainit(&ep->area); 939 ep->oenv = e; 940 ep->loc = e->loc; 941 ep->savefd = NULL; 942 ep->temps = NULL; 943 ep->yyrecursive_statep = NULL; 944 ep->type = type; 945 ep 953 struct env *ep = e; local 1035 struct env *ep; local 1069 struct env *ep; local [all...] |
/external/libusb-compat/libusb/ |
H A D | core.c | 349 static void clear_endpoint_descriptor(struct usb_endpoint_descriptor *ep) argument 351 if (ep->extra) 352 free(ep->extra); 729 API_EXPORTED int usb_resetep(usb_dev_handle *dev, unsigned int ep) argument 731 return compat_err(usb_clear_halt(dev, ep)); 734 API_EXPORTED int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) argument 736 usbi_dbg("endpoint %x", ep); 737 return compat_err(libusb_clear_halt(dev->handle, ep & 0xff)); 746 static int usb_bulk_io(usb_dev_handle *dev, int ep, char *bytes, argument 751 usbi_dbg("endpoint %x size %d timeout %d", ep, siz 763 usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 777 usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 791 usb_interrupt_io(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 808 usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 821 usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 884 usb_get_descriptor_by_endpoint(usb_dev_handle *dev, int ep, unsigned char type, unsigned char desc_index, void *buf, int size) argument [all...] |
/external/libgsm/src/ |
H A D | rpe.c | 387 static void RPE_grid_positioning P3((Mc,xMp,ep), 390 register word * ep /* [0..39] OUT */ 394 * ep[0..39] for the LTP analysis filter. The inputs are the Mc 405 case 3: *ep++ = 0; 407 *ep++ = 0; 408 case 1: *ep++ = 0; 409 case 0: *ep++ = *xMp++; 412 while (++Mc < 4) *ep++ = 0; 417 for (k = 0; k <= 39; k++) ep[k] = 0; 419 ep[ M [all...] |
/external/ipsec-tools/src/libipsec/ |
H A D | pfkey.c | 384 caddr_t ep; local 432 ep = ((caddr_t)(void *)newmsg) + len; 434 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_GETSPI, 441 p = pfkey_setsadbxsa2(p, ep, mode, reqid); 448 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen, 456 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen, 467 if (p + sizeof(spirange) > ep) { 482 if (p != ep) { 579 caddr_t ep; local 613 ep 760 caddr_t ep; local 1140 caddr_t ep; local 1222 caddr_t ep; local 1499 caddr_t ep; local 1583 caddr_t ep; local 1652 caddr_t ep; local 1741 caddr_t ep; local 1934 caddr_t ep; /* XXX should be passed from upper layer */ local [all...] |