/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
D | strsuftoll.c | 116 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/ |
D | message_codec.cpp | 72 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/libunwindstack/ |
D | JitDebug.cpp | 84 JITDescriptor32 desc; in ReadDescriptor32() local 85 if (!memory_->ReadFully(addr, &desc, sizeof(desc))) { in ReadDescriptor32() 89 if (desc.header.version != 1 || desc.first_entry == 0) { in ReadDescriptor32() 94 return desc.first_entry; in ReadDescriptor32() 98 JITDescriptor64 desc; in ReadDescriptor64() local 99 if (!memory_->ReadFully(addr, &desc, sizeof(desc))) { in ReadDescriptor64() 103 if (desc.header.version != 1 || desc.first_entry == 0) { in ReadDescriptor64() 108 return desc.first_entry; in ReadDescriptor64()
|
/system/core/libusbhost/ |
D | usbhost.c | 83 unsigned char desc[MAX_DESCRIPTORS_LENGTH]; member 379 length = read(fd, device->desc, sizeof(device->desc)); in usb_device_new() 452 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_vendor_id() local 453 return __le16_to_cpu(desc->idVendor); in usb_device_get_vendor_id() 458 struct usb_device_descriptor* desc = (struct usb_device_descriptor*)device->desc; in usb_device_get_product_id() local 459 return __le16_to_cpu(desc->idProduct); in usb_device_get_product_id() 463 return (struct usb_device_descriptor*)device->desc; in usb_device_get_device_descriptor() 471 return device->desc; in usb_device_get_raw_descriptors() 560 struct usb_device_descriptor *desc = (struct usb_device_descriptor *)device->desc; in usb_device_get_manufacturer_name() local 561 return usb_device_get_string(device, desc->iManufacturer, timeout); in usb_device_get_manufacturer_name() [all …]
|
/system/core/fastboot/ |
D | usb_linux.cpp | 89 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/ |
D | bluetooth_gatt_characteristic.cc | 45 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/ |
D | errno.cpp | 47 #define ERR(errnum, desc) case errnum: custom_msg = desc; break in adb_strerror() argument
|
/system/bt/bta/gatt/ |
D | bta_gattc_cache.cc | 696 for (const tBTA_GATTC_DESCRIPTOR& desc : charac.descriptors) { in bta_gattc_get_descriptor_srcb() local 697 if (handle == desc.handle) return &desc; in bta_gattc_get_descriptor_srcb() 722 for (const tBTA_GATTC_DESCRIPTOR& desc : charac.descriptors) { in bta_gattc_get_owning_characteristic_srcb() local 723 if (handle == desc.handle) return &charac; in bta_gattc_get_owning_characteristic_srcb() 849 for (const tBTA_GATTC_DESCRIPTOR& desc : charac.descriptors) { in bta_gattc_get_gatt_db_impl() local 851 curr_db_attr, BTGATT_DB_DESCRIPTOR, desc.handle, 0 /* s_handle */, in bta_gattc_get_gatt_db_impl() 852 0 /* e_handle */, desc.handle, desc.uuid, 0 /* property */); in bta_gattc_get_gatt_db_impl() 1001 for (const tBTA_GATTC_DESCRIPTOR& desc : charac.descriptors) { in bta_gattc_cache_save() local 1003 desc.handle, 0, desc.uuid, 0 /* properties */, in bta_gattc_cache_save()
|
/system/connectivity/wificond/tests/ |
D | offload_test_utils.cpp | 96 const std::string& desc) { in createOffloadStatus() argument 97 return {code, desc}; in createOffloadStatus()
|
D | offload_test_utils.h | 42 const std::string& desc);
|
/system/chre/build/sys_support/qcom/ |
D | uimg_dl_ver.c | 48 int desc[3]; member
|
/system/extras/simpleperf/ |
D | record_file_reader.cpp | 186 SectionDesc desc; in ReadFeatureSectionDescriptors() local 187 if (!Read(&desc, sizeof(desc))) { in ReadFeatureSectionDescriptors() 190 feature_section_descriptors_.emplace(id, desc); in ReadFeatureSectionDescriptors()
|
/system/core/fs_mgr/ |
D | fs_mgr_avb.cpp | 438 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/extras/ioshark/ |
D | ioshark_bench.h | 143 void print_bytes(char *desc, struct rw_bytes_s *rw_bytes);
|
D | ioshark_bench_subr.c | 325 print_bytes(char *desc, struct rw_bytes_s *rw_bytes) in print_bytes() argument 329 desc, in print_bytes()
|
/system/core/adb/daemon/ |
D | usb.cpp | 240 usb_endpoint_descriptor desc; in getMaxPacketSize() local 241 if (ioctl(ffs_fd, FUNCTIONFS_ENDPOINT_DESC, reinterpret_cast<unsigned long>(&desc))) { in getMaxPacketSize() 245 return desc.wMaxPacketSize; in getMaxPacketSize()
|
/system/libfmq/tests/ |
D | msgq_test_client.cpp | 858 auto desc = mQueue->getDesc(); in TEST_F() local 860 new (std::nothrow) MessageQueue<uint16_t, kUnsynchronizedWrite>(*desc)); in TEST_F() 891 auto desc = mQueue->getDesc(); in TEST_F() local 893 new (std::nothrow) MessageQueue<uint16_t, kUnsynchronizedWrite>(*desc)); in TEST_F()
|
/system/extras/pagecache/ |
D | pagecache.py | 351 desc = 'Example: %prog' 352 parser = optparse.OptionParser(usage=usage, description=desc)
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 99 EXPECT_OK(baz->interfaceDescriptor([&] (const auto &desc) { in TEST_F() argument 100 EXPECT_EQ(desc, IBaz::descriptor); in TEST_F()
|
/system/core/adb/client/ |
D | usb_libusb.cpp | 49 void operator()(libusb_config_descriptor* desc) { in operator ()() 50 libusb_free_config_descriptor(desc); in operator ()()
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 470 for (const tBTA_GATTC_DESCRIPTOR& desc : p_char->descriptors) { in find_descriptor_by_short_uuid() local 471 if (desc.uuid == Uuid::From16Bit(short_uuid)) return &desc; in find_descriptor_by_short_uuid()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 968 EXPECT_OK(foo->interfaceDescriptor([&] (const auto &desc) { in TEST_F() argument 969 EXPECT_EQ(desc, mode == BINDERIZED in TEST_F()
|
/system/core/libpixelflinger/ |
D | scanline.cpp | 152 const char* desc; member
|