Home
last modified time | relevance | path

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

/base/update/updater/services/flashd/
Dpartition.cpp51 uint64_t range[2] = { 0, size }; in DoErase() local
52 if (ioctl(fd, BLKSECDISCARD, &range) >= 0) { in DoErase()
57 range[0] = 0; in DoErase()
58 range[1] = size; in DoErase()
59 if (ioctl(fd, BLKDISCARD, &range) < 0) { in DoErase()
/base/hiviewdfx/hiview/base/
Devent_dispatcher.cpp65 [&](const EventListener::EventIdRange &range) { in DispatchEvent() argument
66 return ((event.eventId_ >= range.begin) && (event.eventId_ <= range.end)); in DispatchEvent()
85 [&](const EventListener::EventIdRange &range) { in DispatchEvent() argument
86 return ((event.eventId_ >= range.begin) && (event.eventId_ <= range.end)); in DispatchEvent()
Devent.cpp76 void EventListener::AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range) in AddListenerInfo() argument
84 listenerInfo.insert(range); in AddListenerInfo()
Dplugin.cpp98 void Plugin::AddEventListenerInfo(uint32_t type, const EventListener::EventIdRange& range) in AddEventListenerInfo() argument
105 listenerInfo.insert(range); in AddEventListenerInfo()
/base/update/packaging_tools/
Dblocks_manager.py41 for i in range(0, len(self.range_data), 2):
124 for i in range(len(data) // 2):
125 for j in range(len(other_data) // 2):
165 for i in range(len(data) // 2):
199 for i in range(len(data) // 2):
202 for i in range(len(data) // 2 - 1):
222 for i in range(len(data) // 2):
Dgigraph_process.py65 for i in range(start_value, end_value):
110 for i in range(start_value, end_value):
147 self.marked = [False for _ in range(self.graph.vertices)]
149 self.ontrack = [False for _ in range(self.graph.vertices)]
Dimage_class.py145 for i in range(self.total_blocks):
223 for each_value in range(start_value, end_value):
Dunpack_updater_package.py178 for image_id in range(0, self.count):
Dcreate_update_package.py282 for i in range(0, self.head_list.entry_count):
Dbuild_update.py709 for idx in range(0, len(each_line_list), 2):
/base/hiviewdfx/hiview/base/include/
Devent.h269 bool operator<(const EventIdRange &range) const
271 return (end < range.begin);
274 bool operator==(const EventIdRange &range) const
276 return ((begin == range.begin) && (end == range.end));
291 …void AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::Even…
Dplugin.h100 …void AddEventListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener:…
/base/security/selinux/sepolicy/base/public/
Dusers14 user u roles {r} level s0 range s0 - s0:c0.c0;
/base/update/updater/services/fs_manager/
Dmount.cpp156 uint64_t range[] { 0, size }; in ErasePartition() local
157 ret = ioctl(fd, BLKDISCARD, &range); in ErasePartition()
/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py398 for i in range(len(syscall_nr_list_order) - 1):
427 for i in range(index + 1, len(self.syscall_nr_policy_list)):
444 for i in range(1, syscall_list_len):
498 for i in range(0, range_size):
543 if arg_id not in range(6):
/base/hiviewdfx/hiview/
Dhiview_zh.md70 …void AddEventListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener:…
332 …void AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::Even…
/base/startup/hvb/tools/
Dhvbtool.py225 for bit_pos in range(num_bits, 0, -8):
360 for i in range(self.total_chunks):
658 for i in range(0, chunk_idx_for_update):
829 for i in range(levels):
831 for j in range(i + 1, levels):
1029 for i in range(verity_num):
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp1086 [&](const EventListener::EventIdRange& range) { in GetListenerInfo() argument
1087 return ((eventId >= range.begin) && (eventId <= range.end)); in GetListenerInfo()
/base/security/permission_lite/
DREADME.md28 …ultiple lightweight network protocols and graphics frameworks, and a wide range of read/write comp…
296 …1. **RANGE**: Processes with a specified range of UIDs can access BMS APIs. **uidMin** and **u…
312 .type=RANGE, // Processes with a specified range of UIDs can access BMS APIs.