/external/tcpdump/ |
print-isakmp.c | 347 isakmp_attrmap_print(const u_char *p, const u_char *ep, 359 if (ep < p + totlen) { 361 return ep + 1; 386 isakmp_attr_print(const u_char *p, const u_char *ep) 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, phase, doi0 1285 const u_char *ep; local 1397 const u_char *ep; local [all...] |
util.c | 49 * If ep is NULL, assume no truncation check is needed. 53 fn_print(register const u_char *s, register const u_char *ep) 59 while (ep == NULL || s < ep) { 81 * If ep is NULL, assume no truncation check is needed. 86 register const u_char *ep) 90 while (n > 0 && (ep == NULL || s < ep)) { 109 * If ep is NULL, assume no truncation check is needed. 114 register const u_char *ep) [all...] |
addrtoname.c | 318 /* Find the hash node that corresponds the ether address 'ep' */ 321 lookup_emem(const u_char *ep) 326 k = (ep[0] << 8) | ep[1]; 327 j = (ep[2] << 8) | ep[3]; 328 i = (ep[4] << 8) | ep[5]; 465 etheraddr_string(register const u_char *ep) 473 tp = lookup_emem(ep); 821 register struct pcap_etherent *ep; local [all...] |
print-dhcp6.c | 319 dhcp6opt_print(const u_char *cp, const u_char *ep) 334 if (cp == ep) 336 while (cp < ep) { 337 if (ep < cp + sizeof(*dh6o)) 341 if (ep < cp + sizeof(*dh6o) + optlen) 675 const u_char *ep; local 681 ep = (u_char *)snapend; 682 if (cp + length < ep) 683 ep = cp + length; 753 dhcp6opt_print(extp, ep); [all...] |
print-udp.c | 207 rtcp_print(const u_char *hdr, const u_char *ep) 217 if ((u_char *)(rh + 1) > ep) { 219 return (ep); 232 if ((u_char *)(sr + 1) > ep) { 234 return (ep); 271 if ((u_char *)(rr + 1) > ep) { 273 return (ep); 426 register const u_char *ep = bp + length; local 432 if (ep > snapend) 433 ep = snapend [all...] |
/external/mksh/src/ |
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->flags = 0 953 struct env *ep = e; local 1035 struct env *ep; local 1069 struct env *ep; local [all...] |
/external/libusb-compat/libusb/ |
core.c | 349 static void clear_endpoint_descriptor(struct usb_endpoint_descriptor *ep) 351 if (ep->extra) 352 free(ep->extra); 729 API_EXPORTED int usb_resetep(usb_dev_handle *dev, unsigned int ep) 731 return compat_err(usb_clear_halt(dev, ep)); 734 API_EXPORTED int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) 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, 751 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout) [all...] |
usb.h | 295 int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, 301 int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, 303 int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, 305 int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, 307 int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, 315 int usb_resetep(usb_dev_handle *dev, unsigned int ep); 316 int usb_clear_halt(usb_dev_handle *dev, unsigned int ep);
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbDevice.java | 58 UsbEndpoint ep = intf.getEndpoint(i); local 59 if (ep.getType() == UsbConstants.USB_ENDPOINT_XFER_BULK) { 60 if (ep.getDirection() == UsbConstants.USB_DIR_OUT) { 61 epOut = ep; 63 epIn = ep;
|
/external/libgsm/src/ |
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[ Mc + (3*i) ] = xMp[i] [all...] |
/external/ipsec-tools/src/libipsec/ |
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 = ((caddr_t)(void *)newmsg) + len 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...] |
/external/libpcap/ |
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);
|
pcap-nit.c | 103 register u_char *bp, *cp, *ep; local 127 ep = bp + cc; 128 while (bp < ep) { 143 p->cc = ep - bp; 185 p->cc = ep - bp;
|
/system/core/sh/ |
error.c | 357 struct errname const *ep; local 360 for (ep = errormsg ; ep->errcode ; ep++) { 361 if (ep->errcode == e && (ep->action & action) != 0) 362 return ep->msg;
|
/external/iptables/extensions/ |
libip6t_dst.c | 35 char* ep; local 37 id = strtoul(idstr, &ep, 0); 39 if ( idstr == ep ) { 48 if ( *idstr != '\0' && *ep != '\0' ) {
|
libip6t_hbh.c | 37 char* ep; local 39 id = strtoul(idstr,&ep,0) ; 41 if ( idstr == ep ) { 50 if ( *idstr != '\0' && *ep != '\0' ) {
|
/external/regex-re2/re2/ |
dfa.cc | 66 // If a match is found, sets *ep to the end point of the best match in text. 77 bool* failed, const char** ep, vector<int>* matches); 262 ep(NULL), 274 const char* ep; // "out" parameter: end pointer for match member in struct:re2::DFA::SearchParams 714 int* ep = ip + n; local 715 while (ip < ep) { 717 while (markp < ep && *markp != Mark) 720 if (markp < ep) 1325 const uint8* ep = BytePtr(params->text.end()); \/\/ end of text local 1910 const char* ep; local [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
lib.c | 607 extern char ebuf[], *ep; 611 p = ep - 1; 619 for (q=ep-1; q>=p && *q!=' ' && *q!='\t' && *q!='\n'; q--) 625 for ( ; p < ep; p++) 629 if (*ep) 635 ep = ebuf; 685 char *ep; local 687 r = strtod(s, &ep); 688 if (ep == s || r == HUGE_VAL || errno == ERANGE) 690 while (*ep == ' ' || *ep == '\t' || *ep == '\n' [all...] |
/bionic/libc/unistd/ |
fnmatch.c | 100 classmatch(const char *pattern, char test, int foldcase, const char **ep) 109 *ep = mismatch; 116 *ep = mismatch; 119 *ep = colon + 2; 133 *ep = mismatch;
|
/external/clang/lib/Driver/ |
WindowsToolChain.cpp | 150 const char *ep = sp + 1; local 151 while (*ep && (isDigit(*ep) || (*ep == '.'))) 152 ep++;
|
/external/kernel-headers/original/linux/ |
usb.h | 1178 struct usb_host_endpoint *ep; local [all...] |
ethtool.h | 35 static inline void ethtool_cmd_speed_set(struct ethtool_cmd *ep, 39 ep->speed = (__u16)speed; 40 ep->speed_hi = (__u16)(speed >> 16); 43 static inline __u32 ethtool_cmd_speed(struct ethtool_cmd *ep) 45 return (ep->speed_hi << 16) | ep->speed;
|
/external/libppp/src/ |
async.c | 107 u_char *cp, *sp, *ep; local 120 ep = cp + HDLCSIZE - 10; 127 if (cp >= ep) {
|
/external/libusb/libusb/ |
core.c | 689 const struct libusb_endpoint_descriptor *ep = local 691 if (ep->bEndpointAddress == endpoint) 692 return ep; 719 const struct libusb_endpoint_descriptor *ep; local 729 ep = find_endpoint(config, endpoint); 730 if (!ep) 733 r = ep->wMaxPacketSize; 768 const struct libusb_endpoint_descriptor *ep; local 780 ep = find_endpoint(config, endpoint); 781 if (!ep) [all...] |
/bionic/libc/netbsd/ |
gethnamaddr.c | 184 char *bp, **ap, **hap, *ep; local 217 ep = rs->hostbuf + sizeof rs->hostbuf; 224 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 254 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 297 if (n > ep - bp || n >= MAXHOSTNAMELEN) { 301 strlcpy(bp, tbuf, (size_t)(ep - bp)); 319 if (n > ep - bp || n >= MAXHOSTNAMELEN) { 323 strlcpy(bp, tbuf, (size_t)(ep - bp)); 345 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 380 map_v4v6_hostent(&rs->host, &bp, ep); 624 char *bp, *ep; local 1310 char qbuf[MAXDNAME + 1], *qp, *ep; local [all...] |