/system/extras/perfprofd/quipper/ |
D | address_mapper.cc | 26 MappedRange range; in MapWithID() local 27 range.real_addr = real_addr; in MapWithID() 28 range.size = size; in MapWithID() 29 range.id = id; in MapWithID() 30 range.offset_base = offset_base; in MapWithID() 53 if (!iter->Intersects(range)) in MapWithID() 58 if (!old_range_found && iter->Covers(range) && iter->size > range.size) { in MapWithID() 67 const MappedRange& range = mappings_to_delete.front(); in MapWithID() local 68 CHECK(Unmap(range)); in MapWithID() 77 uint64_t gap_before = range.real_addr - old_range.real_addr; in MapWithID() [all …]
|
D | address_mapper.h | 89 inline bool Intersects(const MappedRange& range) const { in Intersects() 90 return (real_addr <= range.real_addr + range.size - 1) && in Intersects() 91 (real_addr + size - 1 >= range.real_addr); in Intersects() 95 inline bool Covers(const MappedRange& range) const { in Covers() 96 return (real_addr <= range.real_addr) && in Covers() 97 (real_addr + size - 1 >= range.real_addr + range.size - 1); in Covers() 102 inline bool Contains(const MappedRange& range) const { in Contains() 103 return (real_addr < range.real_addr) && in Contains() 104 (real_addr + size - 1 > range.real_addr + range.size - 1); in Contains() 118 bool Unmap(const MappedRange& range);
|
/system/extras/ext4_utils/ |
D | wipe.c | 37 u64 range[2]; in wipe_block_device() local 45 range[0] = 0; in wipe_block_device() 46 range[1] = len; in wipe_block_device() 47 ret = ioctl(fd, BLKSECDISCARD, &range); in wipe_block_device() 49 range[0] = 0; in wipe_block_device() 50 range[1] = len; in wipe_block_device() 51 ret = ioctl(fd, BLKDISCARD, &range); in wipe_block_device()
|
/system/vold/ |
D | TrimTask.cpp | 126 struct fstrim_range range; in run() local 127 memset(&range, 0, sizeof(range)); in run() 128 range.len = ULLONG_MAX; in run() 131 if (ioctl(fd, (mFlags & Flags::kDeepTrim) ? FIDTRIM : FITRIM, &range)) { in run() 136 LOG(INFO) << "Trimmed " << range.len << " bytes on " << path in run() 138 notifyResult(path, range.len, delta); in run()
|
D | Utils.cpp | 499 unsigned long long range[2]; in WipeBlockDevice() local 512 range[0] = 0; in WipeBlockDevice() 513 range[1] = (unsigned long long) nr_sec * 512; in WipeBlockDevice() 515 LOG(INFO) << "About to discard " << range[1] << " on " << path; in WipeBlockDevice() 516 if (ioctl(fd, BLKDISCARD, &range) == 0) { in WipeBlockDevice()
|
/system/extras/tests/storage/ |
D | wipe_blkdev.c | 53 u64 range[2]; in wipe_block_device() local 57 range[0] = 0; in wipe_block_device() 58 range[1] = len; in wipe_block_device() 65 ret = ioctl(fd, req, &range); in wipe_block_device()
|
/system/extras/libpagemap/ |
D | pm_process.c | 108 uint64_t *range; in pm_process_pagemap_range() local 124 range = malloc(numpages * sizeof(uint64_t)); in pm_process_pagemap_range() 125 if (!range) in pm_process_pagemap_range() 131 free(range); in pm_process_pagemap_range() 134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range() 138 free(range); in pm_process_pagemap_range() 143 free(range); in pm_process_pagemap_range() 147 *range_out = range; in pm_process_pagemap_range()
|
/system/extras/perfprofd/ |
D | perf_profile.proto | 29 // [start, end] represents the range of addresses, end->to represents the 30 // taken branch that ends the range. 32 // Start instruction address of a range. 59 // Map from a range triplet (start, end, to) to count.
|
/system/media/camera/docs/ |
D | metadata_template.mako | 166 % if prop.range is not None: 167 <range>${prop.range | x}</range>
|
D | camera_metadata_tag_info.mako | 84 msg = "error: enum value out of range";
|
D | metadata_helpers.py | 677 if entry.range: 682 text += '%s\n' % (dedent(entry.range))
|
D | html.mako | 340 % if prop.range is not None: 341 ${prop.range | md_html, linkify_tags(metadata), wbr}
|
D | metadata_model.py | 1187 def range(self): member in Entry
|
/system/netd/server/ |
D | RouteController.cpp | 765 for (const UidRanges::Range& range : uidRanges.getRanges()) { in modifyVirtualNetwork() local 766 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) { in modifyVirtualNetwork() 769 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.first, in modifyVirtualNetwork() 770 range.second, add)) { in modifyVirtualNetwork() 773 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.first, in modifyVirtualNetwork() 774 range.second, add)) { in modifyVirtualNetwork()
|
/system/core/adb/tests/ |
D | test_adb.py | 110 for _ in range(num_files): 132 for i in range(num_files):
|
/system/extras/perfprofd/tests/ |
D | perfprofd_test.cc | 471 …W: line 6: specified value 0 for 'collection_interval' outside permitted range [100 4294967295] (i… in TEST_F() 473 …W: line 8: specified value 2 for 'collection_interval' outside permitted range [100 4294967295] (i… in TEST_F()
|
/system/bt/gki/common/ |
D | gki_buffer.c | 26 #error Number of pools out of range (16 Max)!
|
/system/core/logcat/ |
D | event.logtags | 140 # NOTE - the range 1000000-2000000 is reserved for partners and others who
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 7 allow it to be used across a wide range of devices and from hosts running
|
/system/core/liblog/ |
D | README | 140 opened, or the log buffer id is out of range.
|
/system/core/libutils/ |
D | README | 117 (inclusive); values outside this range are invalid.
|