/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);
|
/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;
|
/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 | 223 ExtensionBlock *ep; local 235 ep = &(*ExtensionBlocks)[(*ExtensionBlockCount)++]; 237 ep->Function = Function; 238 ep->ByteCount=Len; 239 ep->Bytes = (GifByteType *)malloc(ep->ByteCount); 240 if (ep->Bytes == NULL) 244 memcpy(ep->Bytes, ExtData, Len); 254 ExtensionBlock *ep; local 259 for (ep = *ExtensionBlocks [all...] |
/external/chromium_org/mojo/system/ |
message_pipe_perftest.cc | 113 scoped_refptr<ChannelEndpoint> ep; local 114 scoped_refptr<MessagePipe> mp(MessagePipe::CreateLocalProxy(&ep)); 115 channel_thread.Start(client_platform_handle.Pass(), ep); 160 scoped_refptr<ChannelEndpoint> ep; local 161 scoped_refptr<MessagePipe> mp(MessagePipe::CreateLocalProxy(&ep)); 162 Init(ep);
|
multiprocess_message_pipe_unittest.cc | 51 scoped_refptr<ChannelEndpoint> ep; local 52 scoped_refptr<MessagePipe> mp(MessagePipe::CreateLocalProxy(&ep)); 53 channel_thread.Start(client_platform_handle.Pass(), ep); 107 scoped_refptr<ChannelEndpoint> ep; local 108 scoped_refptr<MessagePipe> mp(MessagePipe::CreateLocalProxy(&ep)); 109 Init(ep); 152 scoped_refptr<ChannelEndpoint> ep; local 153 scoped_refptr<MessagePipe> mp(MessagePipe::CreateLocalProxy(&ep)); 154 Init(ep); 219 scoped_refptr<ChannelEndpoint> ep; local 319 scoped_refptr<ChannelEndpoint> ep; local 415 scoped_refptr<ChannelEndpoint> ep; local 474 scoped_refptr<ChannelEndpoint> ep; local [all...] |
/external/iputils/ |
iputils.spec | 72 %attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/clockdiff 74 %attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/arping 76 %attr(0755,root,root) %caps(cap_net_raw=ep cap_net_admin=ep) %{_bindir}/ping 78 %attr(0755,root,root) %caps(cap_net_raw=ep cap_net_admin=ep) %{_bindir}/ping6
|
/external/libpng/contrib/tools/ |
cvtcolor.c | 36 char *ep; local 37 unsigned long c = strtoul(arg, &ep, 0); 39 if (ep <= arg || *ep || c > 65535 || (issRGB && c > 255))
|
/external/libpcap/ |
optimize.c | 263 propedom(struct edge *ep) 265 SET_INSERT(ep->edom, ep->id); 266 if (ep->succ) { 267 SET_INTERSECT(ep->succ->et.edom, ep->edom, edgewords); 268 SET_INTERSECT(ep->succ->ef.edom, ep->edom, edgewords); 1267 fold_edge(struct block *child, struct edge *ep) 1271 int code = ep->code 1379 struct edge *ep; local 1471 struct edge *ep; local [all...] |
/external/mksh/src/ |
main.c | 902 struct env *ep; local 911 ep = (void *)(cp - ALLOC_SIZE); 913 ainit(&ep->area); 914 ep->oenv = e; 915 ep->loc = e->loc; 916 ep->savefd = NULL; 917 ep->temps = NULL; 918 ep->yyrecursive_statep = NULL; 919 ep->type = type; 920 ep->flags = 0 928 struct env *ep = e; local 1014 struct env *ep; local 1048 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...] |
/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/chromium_org/third_party/icu/source/test/intltest/ |
plurults.cpp | 511 const char* ep = rp; 512 while (*ep && *ep != ':') ++ep; 515 UnicodeString keyword(rp, ep - rp, US_INV); 528 if (*ep) { 529 ++ep; // skip colon 530 while (*ep && *ep == ' ') ++ep; // and space [all...] |
/external/icu/icu4c/source/test/intltest/ |
plurults.cpp | 511 const char* ep = rp; 512 while (*ep && *ep != ':') ++ep; 515 UnicodeString keyword(rp, ep - rp, US_INV); 528 if (*ep) { 529 ++ep; // skip colon 530 while (*ep && *ep == ' ') ++ep; // and space [all...] |
/external/libedit/src/ |
emacs.c | 287 Char *cp, *ep; local 289 ep = c__next_word(el->el_line.cursor, el->el_line.lastchar, 292 for (cp = el->el_line.cursor; cp < ep; cp++) 296 el->el_line.cursor = ep; 311 Char *cp, *ep; local 313 ep = c__next_word(el->el_line.cursor, el->el_line.lastchar, 316 for (cp = el->el_line.cursor; cp < ep; cp++) { 324 for (; cp < ep; cp++) 328 el->el_line.cursor = ep; 343 Char *cp, *ep; local [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...] |