Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 14 of 14) sorted by relevance

/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
Dstrsuftoll.c116 strsuftoll(const char *desc, const char *val, in __weak_alias()
122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); in __weak_alias()
134 __strsuftollx(const char *desc, const char *val, in __strsuftollx() argument
140 _DIAGASSERT(desc != NULL); in __strsuftollx()
145 snprintf(ebuf, ebuflen, "%s: Recursion limit exceeded", desc); in __strsuftollx()
211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, in __strsuftollx()
218 snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno)); in __strsuftollx()
224 snprintf(ebuf, ebuflen, "%s `%s': illegal number", desc, val); in __strsuftollx()
230 desc, (long long)num, (long long)min); in __strsuftollx()
236 desc, (long long)num, (long long)max); in __strsuftollx()
[all …]
/system/core/libusbhost/
Dusbhost.c80 unsigned char desc[4096]; member
366 length = read(fd, device->desc, sizeof(device->desc)); in usb_device_new()
437 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_vendor_id() local
438 return __le16_to_cpu(desc->idVendor); in usb_device_get_vendor_id()
443 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_product_id() local
444 return __le16_to_cpu(desc->idProduct); in usb_device_get_product_id()
449 return (struct usb_device_descriptor*)device->desc; in usb_device_get_device_descriptor()
494 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; in usb_device_get_manufacturer_name() local
495 return usb_device_get_string(device, desc->iManufacturer); in usb_device_get_manufacturer_name()
500 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; in usb_device_get_product_name() local
[all …]
/system/core/fastboot/
Dusb_linux.cpp85 int desc; member
333 char desc[1024]; in find_usb_device() local
360 n = read(fd, desc, sizeof(desc)); in find_usb_device()
362 if (filter_usb_device(de->d_name, desc, n, writable, callback, &in, &out, &ifc) == 0) { in find_usb_device()
367 usb->desc = fd; in find_usb_device()
392 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write()
405 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write()
427 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read()
441 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read()
442 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read()
[all …]
/system/extras/tests/net_test/
Dtcp_test.py87 desc, syn = packets.SYN(self.port, version, remoteaddr, myaddr)
89 msg = "Received %s, expected to see reply %s" % (desc, synack_desc)
106 desc, data = packets.ACK(version, myaddr, remoteaddr, establishing_ack,
109 self.ExpectPacketOn(netid, msg + ": expecting %s" % desc, data)
111 desc, fin = packets.FIN(version, remoteaddr, myaddr, data)
114 msg = "Received %s, expected to see reply %s" % (desc, ack_desc)
Dforwarding_test.py56 desc, syn = packets.SYN(listenport, version, remoteaddr, myaddr)
58 msg = "Sent %s, expected %s" % (desc, synack_desc)
67 desc, fin = packets.FIN(version, myaddr, remoteaddr, establishing_ack)
68 self.ExpectPacketOn(netid, msg + ": expecting %s after close" % desc, fin)
70 desc, finack = packets.FIN(version, remoteaddr, myaddr, fin)
Dmultinetwork_test.py102 desc, expected = packets.ICMPEcho(version, myaddr, dstaddr)
104 version, desc, self.GetInterfaceName(netid))
116 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
122 version, desc, self.GetInterfaceName(netid))
132 desc, expected = packets.UDP(version, myaddr, dstaddr, sport=None)
134 version, desc, self.GetInterfaceName(netid))
160 desc, expected = packets.GRE(version, myaddr, dstaddr, ethertype, inner)
162 version, inner_version, desc, self.GetInterfaceName(netid))
230 desc, expected = packets.UDP(version, unspec, dstaddr, sport)
249 connected_str, version, mode, desc, self.GetInterfaceName(netid))
[all …]
Dsock_diag_test.py395 desc, rst = self.RstPacket()
396 msg = "%s: expecting %s: " % (msg, desc)
540 desc, syn = packets.SYN(53, version, self.MyAddress(version, self.netid),
542 self.ExpectPacketOn(self.netid, desc, syn)
Dpackets.py111 desc = "TCP data" if payload else "TCP ACK"
113 return (desc,
Dmultinetwork_base.py628 def _FormatMessage(self, iif, ip_if, extra, desc, reply_desc): argument
629 msg = "Receiving %s on %s to %s IP, %s" % (desc, iif, ip_if, extra)
/system/extras/simpleperf/
Drecord_file_writer.cpp239 SectionDesc desc; in WriteFeatureEnd() local
240 desc.offset = start_offset; in WriteFeatureEnd()
241 desc.size = end_offset - start_offset; in WriteFeatureEnd()
248 if (!Write(&desc, sizeof(SectionDesc))) { in WriteFeatureEnd()
Drecord_file_reader.cpp123 SectionDesc desc; in ReadFeatureSectionDescriptors() local
124 if (fread(&desc, sizeof(desc), 1, record_fp_) != 1) { in ReadFeatureSectionDescriptors()
128 feature_section_descriptors_.emplace(id, desc); in ReadFeatureSectionDescriptors()
/system/extras/pagecache/
Dpagecache.py351 desc = 'Example: %prog'
352 parser = optparse.OptionParser(usage=usage, description=desc)
/system/core/adb/
Dsysdeps_win32.cpp563 #define ERR(errnum, desc) case errnum: custom_msg = desc; break in adb_strerror() argument
/system/core/libpixelflinger/
Dscanline.cpp157 const char* desc; member