Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 19 of 19) 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/nvram/messages/
Dmessage_codec.cpp72 const FieldDescriptor& desc = descriptors_[i]; in EncodeData() local
73 writer->set_field_number(desc.field_number); in EncodeData()
74 if (!desc.encode_function(object_, writer)) { in EncodeData()
109 const FieldDescriptor* desc = FindDescriptor(reader); in DecodeData() local
110 if (desc) { in DecodeData()
111 if (!desc->decode_function(object_, reader)) { in DecodeData()
128 const FieldDescriptor& desc = descriptors_[i]; in FindDescriptor() local
129 if (reader->field_number() == desc.field_number && in FindDescriptor()
130 reader->wire_type() == desc.wire_type) { in FindDescriptor()
131 return &desc; in FindDescriptor()
/system/core/libusbhost/
Dusbhost.c85 unsigned char desc[4096]; member
371 length = read(fd, device->desc, sizeof(device->desc)); in usb_device_new()
442 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_vendor_id() local
443 return __le16_to_cpu(desc->idVendor); in usb_device_get_vendor_id()
448 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_product_id() local
449 return __le16_to_cpu(desc->idProduct); in usb_device_get_product_id()
454 return (struct usb_device_descriptor*)device->desc; in usb_device_get_device_descriptor()
501 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; in usb_device_get_manufacturer_name() local
502 return usb_device_get_string(device, desc->iManufacturer, timeout); in usb_device_get_manufacturer_name()
507 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; in usb_device_get_product_name() local
[all …]
/system/core/fastboot/
Dusb_linux.cpp89 int desc; member
337 char desc[1024]; in find_usb_device() local
363 n = read(fd, desc, sizeof(desc)); in find_usb_device()
365 if (filter_usb_device(de->d_name, desc, n, writable, callback, &in, &out, &ifc) == 0) { in find_usb_device()
370 usb->desc = fd; in find_usb_device()
394 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write()
407 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write()
429 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read()
443 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read()
444 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read()
[all …]
/system/bt/service/common/android/bluetooth/
Dbluetooth_gatt_characteristic.cc45 for (const auto& desc : descriptors_) { in writeToParcel() local
46 descriptors.push_back(desc); in writeToParcel()
76 for (const auto& desc : descriptors) { in readFromParcel() local
77 descriptors_.push_back(desc); in readFromParcel()
/system/core/adb/sysdeps/win32/
Derrno.cpp47 #define ERR(errnum, desc) case errnum: custom_msg = desc; break in adb_strerror() argument
/system/connectivity/wificond/tests/
Doffload_test_utils.cpp96 const std::string& desc) { in createOffloadStatus() argument
97 return {code, desc}; in createOffloadStatus()
Doffload_test_utils.h42 const std::string& desc);
/system/chre/build/sys_support/qcom/
Duimg_dl_ver.c48 int desc[3]; member
/system/extras/simpleperf/
Drecord_file_reader.cpp146 SectionDesc desc; in ReadFeatureSectionDescriptors() local
147 if (!Read(&desc, sizeof(desc))) { in ReadFeatureSectionDescriptors()
150 feature_section_descriptors_.emplace(id, desc); in ReadFeatureSectionDescriptors()
/system/extras/ioshark/
Dioshark_bench.h143 void print_bytes(char *desc, struct rw_bytes_s *rw_bytes);
Dioshark_bench_subr.c322 print_bytes(char *desc, struct rw_bytes_s *rw_bytes) in print_bytes() argument
326 desc, in print_bytes()
/system/core/fs_mgr/
Dfs_mgr_avb.cpp438 AvbDescriptor desc; in get_hashtree_descriptor() local
439 if (!avb_descriptor_validate_and_byteswap(descriptors[j], &desc)) { in get_hashtree_descriptor()
443 if (desc.tag == AVB_DESCRIPTOR_TAG_HASHTREE) { in get_hashtree_descriptor()
/system/libfmq/tests/
Dmsgq_test_client.cpp838 auto desc = mQueue->getDesc(); in TEST_F() local
840 new (std::nothrow) MessageQueue<uint16_t, kUnsynchronizedWrite>(*desc)); in TEST_F()
871 auto desc = mQueue->getDesc(); in TEST_F() local
873 new (std::nothrow) MessageQueue<uint16_t, kUnsynchronizedWrite>(*desc)); in TEST_F()
/system/extras/pagecache/
Dpagecache.py351 desc = 'Example: %prog'
352 parser = optparse.OptionParser(usage=usage, description=desc)
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp95 EXPECT_OK(baz->interfaceDescriptor([&] (const auto &desc) { in TEST_F() argument
96 EXPECT_EQ(desc, IBaz::descriptor); in TEST_F()
/system/core/adb/client/
Dusb_libusb.cpp50 void operator()(libusb_config_descriptor* desc) { in operator ()()
51 libusb_free_config_descriptor(desc); in operator ()()
/system/tools/hidl/test/
Dhidl_test_client.cpp918 EXPECT_OK(foo->interfaceDescriptor([&] (const auto &desc) { in TEST_F() argument
919 EXPECT_EQ(desc, mode == BINDERIZED in TEST_F()
/system/core/libpixelflinger/
Dscanline.cpp152 const char* desc; member