/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...] |
/system/core/toolbox/upstream-netbsd/usr.bin/printenv/ |
printenv.c | 63 char *cp, **ep; local 77 for (ep = environ; *ep; ep++) 78 (void)printf("%s\n", *ep); 86 for (ep = environ; *ep; ep++) 87 if (!memcmp(*ep, *argv, len)) { 88 cp = *ep + len [all...] |
/external/tcpdump/ |
print-openflow.c | 54 of_header_body_print(const u_char *cp, const u_char *ep) { 59 if (ep < cp + OF_HEADER_LEN) 90 return of10_header_body_print(cp, ep, type, length, xid); 99 TCHECK2(*cp, ep - cp); 100 return ep; 103 return ep; 110 const u_char *ep = cp + len; local 113 while (cp < ep) 114 cp = of_header_body_print(cp, ep);
|
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-zeromq.c | 78 zmtp1_print_frame(const u_char *cp, const u_char *ep) { 105 body_len_captured = ep - cp - header_len; 137 return ep; 142 const u_char *ep = MIN(snapend, cp + len); local 145 while (cp < ep) 146 cp = zmtp1_print_frame(cp, ep); 209 const u_char *ep = MIN(snapend, cp + len); local 212 while (cp < ep) 213 cp = zmtp1_print_frame(cp, 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 | 98 register const struct ether_header *ep; local 101 ep = (const struct ether_header *)bp; 104 etheraddr_string(ESRC(ep)), 105 etheraddr_string(EDST(ep)))); 107 ether_type = EXTRACT_16BITS(&ep->ether_type); 136 struct ether_header *ep; local 155 ep = (struct ether_header *)p; 158 ether_type = EXTRACT_16BITS(&ep->ether_type); 166 if (llc_print(p, length, caplen, ESRC(ep), EDST(ep), [all...] |
print-pim.c | 210 register const u_char *ep; local 213 ep = (const u_char *)snapend; 214 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-openflow-1.0.c | 615 of10_data_print(const u_char *cp, const u_char *ep, const u_int len) { 627 return ep; 632 of10_vendor_data_print(const u_char *cp, const u_char *ep, const u_int len) { 640 return of10_data_print(cp, ep, len - 4); 648 return ep; 652 of10_packet_data_print(const u_char *cp, const u_char *ep, const u_int len) { 668 return ep; 673 of10_phy_ports_print(const u_char *cp, const u_char *ep, u_int len) { 741 return ep; 746 of10_queue_props_print(const u_char *cp, const u_char *ep, u_int len) [all...] |
print-rrcp.c | 91 register const struct ether_header *ep; local 95 ep = (const struct ether_header *)cp; 103 etheraddr_string(ESRC(ep)), 104 etheraddr_string(EDST(ep)),
|
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)
|
/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);
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
getbsize.c | 58 char *ep, *p; local 67 if ((n = strtol(p, &ep, 10)) < 0) 71 if (*ep && ep[1]) 73 switch (*ep) {
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
mktemp.c | 45 char *start, *cp, *ep; local 57 ep = path + len - slen; 59 for (start = ep; start > path && start[-1] == 'X'; start--) 61 if (ep - start < MIN_X) { 78 for (i = 0; i < nitems(rbuf) && cp != ep; i++) 80 } while (cp != ep);
|
/bionic/libc/dns/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-openbsd/lib/libc/net/ |
inet_ntop.c | 104 char *tp, *ep; local 145 ep = tmp + sizeof(tmp); 146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 151 if (tp + 1 >= ep) { 161 if (tp + 1 >= ep) { 170 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 175 advance = snprintf(tp, ep - tp, "%x", words[i]); 176 if (advance <= 0 || advance >= ep - tp) { 184 if (tp + 1 >= ep) { 190 if (tp + 1 >= ep) { [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...] |
/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/perf-3.12.0/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;
|
/system/core/toolbox/upstream-netbsd/bin/kill/ |
kill.c | 76 char *ep; local 93 numsig = strtoimax(*argv, &ep, 10); 95 if (*ep != '\0' || numsig == INTMAX_MIN || numsig == INTMAX_MAX) { 130 numsig = strtoimax(sn, &ep, 10); 132 if (*ep || numsig == INTMAX_MIN || numsig == INTMAX_MAX ) { 161 pid = strtoimax(*argv, &ep, 10); 163 if (!**argv || *ep || pid == INTMAX_MIN ||
|