Home
last modified time | relevance | path

Searched refs:range (Results 1 – 21 of 21) sorted by relevance

/system/extras/perfprofd/quipper/
Daddress_mapper.cc26 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 …]
Daddress_mapper.h89 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/
Dwipe.c37 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/
DTrimTask.cpp126 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()
DUtils.cpp499 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/
Dwipe_blkdev.c53 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/
Dpm_process.c108 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/
Dperf_profile.proto29 // [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/
Dmetadata_template.mako166 % if prop.range is not None:
167 <range>${prop.range | x}</range>
Dcamera_metadata_tag_info.mako84 msg = "error: enum value out of range";
Dmetadata_helpers.py677 if entry.range:
682 text += '%s\n' % (dedent(entry.range))
Dhtml.mako340 % if prop.range is not None:
341 ${prop.range | md_html, linkify_tags(metadata), wbr}
Dmetadata_model.py1187 def range(self): member in Entry
/system/netd/server/
DRouteController.cpp765 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/
Dtest_adb.py110 for _ in range(num_files):
132 for i in range(num_files):
/system/extras/perfprofd/tests/
Dperfprofd_test.cc471 …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/
Dgki_buffer.c26 #error Number of pools out of range (16 Max)!
/system/core/logcat/
Devent.logtags140 # NOTE - the range 1000000-2000000 is reserved for partners and others who
/system/core/fastboot/
Dfastboot_protocol.txt7 allow it to be used across a wide range of devices and from hosts running
/system/core/liblog/
DREADME140 opened, or the log buffer id is out of range.
/system/core/libutils/
DREADME117 (inclusive); values outside this range are invalid.