/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)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 70 ep = select.epoll(16) 73 self.assertTrue(ep.fileno() > 0, ep.fileno()) 74 self.assertTrue(not ep.closed) 75 ep.close() 76 self.assertTrue(ep.closed) 77 self.assertRaises(ValueError, ep.fileno) 90 ep = select.epoll(2) 92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT) 93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 70 ep = select.epoll(16) 73 self.assertTrue(ep.fileno() > 0, ep.fileno()) 74 self.assertTrue(not ep.closed) 75 ep.close() 76 self.assertTrue(ep.closed) 77 self.assertRaises(ValueError, ep.fileno) 90 ep = select.epoll(2) 92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT) 93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT [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/chromium_org/ppapi/native_client/src/untrusted/irt_stub/ |
ppapi_plugin_start.c | 34 char **ep = environ; local 35 while (*ep != NULL) 36 ++ep; 37 return (void *) (ep + 1);
|
/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...] |
/external/lzma/CPP/7zip/Compress/ |
LzmaEncoder.cpp | 76 HRESULT SetLzmaProp(PROPID propID, const PROPVARIANT &prop, CLzmaEncProps &ep)
82 return ParseMatchFinder(prop.bstrVal, &ep.btMode, &ep.numHashBytes) ? S_OK : E_INVALIDARG;
89 case NCoderPropID::kNumFastBytes: ep.fb = v; break;
90 case NCoderPropID::kMatchFinderCycles: ep.mc = v; break;
91 case NCoderPropID::kAlgorithm: ep.algo = v; break;
92 case NCoderPropID::kDictionarySize: ep.dictSize = v; break;
93 case NCoderPropID::kPosStateBits: ep.pb = v; break;
94 case NCoderPropID::kLitPosBits: ep.lp = v; break;
95 case NCoderPropID::kLitContextBits: ep.lc = v; break; [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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
expr.h | 227 * \param ep expression (pointer to) 234 /*@only@*/ /*@null@*/ yasm_expr *yasm_expr_extract_deep_segoff(yasm_expr **ep); 237 * \param ep expression (pointer to) 244 /*@only@*/ /*@null@*/ yasm_expr *yasm_expr_extract_segoff(yasm_expr **ep); 248 * \param ep expression (pointer to) 255 /*@only@*/ /*@null@*/ yasm_expr *yasm_expr_extract_wrt(yasm_expr **ep); 258 * \param ep expression (pointer to) 267 (yasm_expr **ep, int calc_bc_dist); 270 * \param ep expression (pointer to) 277 (yasm_expr **ep, int simplify) [all...] |
/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...] |
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.cpp | 266 struct dirent *ep; local 274 while ((ep = readdir (dp))) { 275 if(ep != NULL) { 276 LOGV_IF(0,"file name %s", ep->d_name); 277 if(!strcmp(ep->d_name, ".") || !strcmp(ep->d_name, "..") || 278 !strcmp(ep->d_name, "uevent") || !strcmp(ep->d_name, "dev") || 279 !strcmp(ep->d_name, "self_test")) 281 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name) [all...] |