/external/tcpdump/ |
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...] |
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)
|
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)) {
|
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, 195 if (bp + width + 1 > ep) { 226 print_probe(register const u_char *bp, register const u_char *ep, [all...] |
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...] |
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 > bp + len [all...] |
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)
|
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 - (p + ivlen)) [all...] |
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) 454 if (cp >= (const char *)ep) { 466 if (cp >= (const char *)ep) { [all...] |
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' points to the end of available data. * 606 const u_char *cp, *ep; local 730 const u_char *ep; local [all...] |
/device/google/accessory/arduino/USB_Host_Shield/ |
Usb.h | 131 EP_RECORD* getDevTableEntry( byte addr, byte ep );
133 byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
135 byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
136 byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
137 byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
138 byte setAddr( byte oldaddr, byte ep, byte newaddr, unsigned int nak_limit = USB_NAK_LIMIT );
139 byte setConf( byte addr, byte ep, byte conf_value, unsigned int nak_limit = USB_NAK_LIMIT );
141 byte setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit = USB_NAK_LIMIT );
142 byte getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
143 byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT ); [all...] |
Usb.cpp | 54 devtable[ 0 ].epinfo = &dev0ep; //set single ep for uninitialized device
67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep )
71 ptr += ep;
86 byte USB::ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit )
104 rcode = dispatchPkt( tokSETUP, ep, nak_limit ); //dispatch packet
113 rcode = ctrlData( addr, ep, nbytes, dataptr, direction );
120 rcode = ctrlStatus( ep, direction ); //status stage
125 byte USB::ctrlStatus( byte ep, boolean direction, unsigned int nak_limit )
129 rcode = dispatchPkt( tokOUTHS, ep, nak_limit );
132 rcode = dispatchPkt( tokINHS, ep, nak_limit ); [all...] |
/external/bison/lib/ |
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/ |
strtonum.c | 38 char *ep; local 55 ll = strtoll(numstr, &ep, 10); 56 if (numstr == ep || *ep != '\0')
|
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/ |
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; // and space [all...] |
/bionic/libc/netbsd/resolv/ |
res_mkquery.c | 128 register u_char *cp, *ep; local 151 ep = buf + buflen; 162 if (ep - cp < QFIXEDSZ) 164 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 178 if ((ep - cp) < RRFIXEDSZ) 180 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, 200 if (ep - cp < 1 + RRFIXEDSZ + datalen) 238 register u_char *cp, *ep; local 248 ep = buf + buflen; 250 if ((ep - cp) < 1 + RRFIXEDSZ [all...] |
/bionic/libc/upstream-netbsd/libc/inet/ |
inet_ntop.c | 134 char *tp, *ep; local 180 ep = tmp + sizeof(tmp); 191 if (tp + 1 >= ep) 200 if (!inet_ntop4(src+12, tp, (socklen_t)(ep - tp))) 205 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]); 206 if (advance <= 0 || advance >= ep - tp) 213 if (tp + 1 >= ep) 217 if (tp + 1 >= ep)
|
/external/openssh/ |
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 = strrchr(cp, ' ')) != NULL | [all...] |
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/ |
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;
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.cpp | 148 EP_RECORD *ep; local 162 ep = inEp; 164 ep = outEp; 166 ep = NULL; 168 if (ep) { 169 ep->epAddr = epDesc->bEndpointAddress & 0x7f; 170 ep->Attr = epDesc->bmAttributes; 171 ep->MaxPktSize = epDesc->wMaxPacketSize; 172 ep->sndToggle = bmSNDTOG0; 173 ep->rcvToggle = bmRCVTOG0 [all...] |
/external/giflib/ |
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 = Image->ExtensionBlocks [all...] |
/frameworks/av/media/mtp/ |
MtpDataPacket.h | 110 int readDataHeader(struct usb_request *ep); 112 int writeDataHeader(struct usb_request *ep, uint32_t length); 113 int write(struct usb_request *ep); 114 int write(struct usb_request *ep, void* buffer, uint32_t length);
|
/external/libpcap/ |
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...] |