Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 2490) sorted by relevance

12345678910>>...100

/aosp12/art/libartbase/base/
H A Dintrusive_forward_list_test.cc66 ASSERT_TRUE(std::equal((expected).begin(), (expected).end(), (value).begin())); \
129 typename ListType::iterator begin = ifl.begin(); in IteratorToConstIterator() local
289 ifl_it = ifl.insert_after(ifl.begin(), storage2.begin(), storage2.end()); in InsertAfter2()
294 ref_it = ref.begin(); in InsertAfter2()
295 ifl_it = ifl.begin(); in InsertAfter2()
331 ref_it = ref.begin(); in EraseAfter1()
332 ifl_it = ifl.begin(); in EraseAfter1()
471 ref1.splice_after(ref1.begin(), ref2, ref2.begin()); in SpliceAfter()
472 ifl1.splice_after(ifl1.begin(), ifl2, ifl2.begin()); in SpliceAfter()
725 std::transform(ref.begin(), ref.end(), ref.begin(), add1); in ModifyValue()
[all …]
/aosp12/system/bt/stack/test/
H A Dcrypto_toolbox_test.cc66 std::reverse(std::begin(k), std::end(k)); in TEST()
91 std::reverse(std::begin(k), std::end(k)); in TEST()
92 std::reverse(std::begin(m), std::end(m)); in TEST()
120 std::reverse(std::begin(k), std::end(k)); in TEST()
121 std::reverse(std::begin(m), std::end(m)); in TEST()
145 std::reverse(std::begin(k), std::end(k)); in TEST()
146 std::reverse(std::begin(m), std::end(m)); in TEST()
172 std::reverse(std::begin(u), std::end(u)); in TEST()
173 std::reverse(std::begin(v), std::end(v)); in TEST()
174 std::reverse(std::begin(x), std::end(x)); in TEST()
[all …]
/aosp12/system/bt/gd/crypto_toolbox/
H A Dcrypto_toolbox_test.cc59 std::reverse(std::begin(k), std::end(k)); in TEST()
81 std::reverse(std::begin(k), std::end(k)); in TEST()
82 std::reverse(std::begin(m), std::end(m)); in TEST()
107 std::reverse(std::begin(k), std::end(k)); in TEST()
108 std::reverse(std::begin(m), std::end(m)); in TEST()
127 std::reverse(std::begin(k), std::end(k)); in TEST()
128 std::reverse(std::begin(m), std::end(m)); in TEST()
150 std::reverse(std::begin(u), std::end(u)); in TEST()
151 std::reverse(std::begin(v), std::end(v)); in TEST()
152 std::reverse(std::begin(x), std::end(x)); in TEST()
[all …]
/aosp12/system/memory/libmemunreachable/
H A DHeapWalker.cpp46 if (end == begin) { in Allocation()
47 end = begin + 1; in Allocation()
49 begin = UntagAddress(begin); in Allocation()
51 Range range{begin, end}; in Allocation()
53 (begin < valid_mappings_range_.begin || end > valid_mappings_range_.end)) { in Allocation()
61 valid_allocations_range_.begin = std::min(valid_allocations_range_.begin, begin); in Allocation()
123 valid_mappings_range_.begin = std::min(valid_mappings_range_.begin, begin); in Mapping()
127 void HeapWalker::Root(uintptr_t begin, uintptr_t end) { in Root() argument
128 roots_.push_back(Range{begin, end}); in Root()
171 leak_bytes += it->first.end - it->first.begin; in Leaked()
[all …]
H A DHeapWalker.h32 uintptr_t begin; member
35 size_t size() const { return end - begin; }; in size()
37 return this->begin == other.begin && this->end == other.end;
44 bool operator()(const Range& a, const Range& b) const { return a.end <= b.begin; } in operator()
62 valid_allocations_range_.begin = ~valid_allocations_range_.end;
64 valid_mappings_range_.begin = ~valid_allocations_range_.end;
77 bool Allocation(uintptr_t begin, uintptr_t end);
78 void Mapping(uintptr_t begin, uintptr_t end);
79 void Root(uintptr_t begin, uintptr_t end);
124 uintptr_t begin = (range.begin + (sizeof(uintptr_t) - 1)) & ~(sizeof(uintptr_t) - 1); in ForEachPtrInRange() local
[all …]
/aosp12/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java1223 begin("glClear"); in glClear()
1548 begin("glEnable"); in glEnable()
1580 begin("glFinish"); in glFinish()
1588 begin("glFlush"); in glFlush()
1596 begin("glFogf"); in glFogf()
1606 begin("glFogfv"); in glFogfv()
1617 begin("glFogfv"); in glFogfv()
1627 begin("glFogx"); in glFogx()
1637 begin("glFogxv"); in glFogxv()
1648 begin("glFogxv"); in glFogxv()
[all …]
H A DEGLLogWrapper.java49 begin("eglChooseConfig"); in eglChooseConfig()
66 begin("eglCopyBuffers"); in eglCopyBuffers()
80 begin("eglCreateContext"); in eglCreateContext()
182 begin("eglGetConfigs"); in eglGetConfigs()
231 begin("eglGetDisplay"); in eglGetDisplay()
243 begin("eglGetError"); in eglGetError()
253 begin("eglInitialize"); in eglInitialize()
265 begin("eglMakeCurrent"); in eglMakeCurrent()
340 begin("eglTerminate"); in eglTerminate()
350 begin("eglWaitGL"); in eglWaitGL()
[all …]
/aosp12/system/extras/simpleperf/
H A Dread_symbol_map.cpp34 size_t begin = content_ref.find_first_not_of(" \t"); in ConsumeWord() local
35 if (begin == content_ref.npos) { in ConsumeWord()
39 size_t end = content_ref.find_first_of(" \t", begin + 1); in ConsumeWord()
44 auto res = content_ref.substr(begin, end - begin); in ConsumeWord()
94 for (size_t begin = 0;;) { in ReadSymbolMapFromString() local
95 size_t end = content.find_first_of("\n\r", begin); in ReadSymbolMapFromString()
98 ReadSymbol({content.c_str() + begin, content.size() - begin}, &symbols); in ReadSymbolMapFromString()
99 std::sort(symbols.begin(), symbols.end(), Symbol::CompareValueByAddr); in ReadSymbolMapFromString()
103 ReadSymbol({content.c_str() + begin, end - begin}, &symbols); in ReadSymbolMapFromString()
104 begin = end + 1; in ReadSymbolMapFromString()
/aosp12/system/bt/gd/packet/
H A Dpacket_view.cc39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin() function in bluetooth::packet::PacketView
72 std::forward_list<View> PacketView<little_endian>::GetSubviewList(size_t begin, size_t end) const { in __anon53371b2b0402()
73 ASSERT(begin <= end); in __anon53371b2b0402()
78 size_t length = end - begin; in __anon53371b2b0402()
80 if (begin >= fragment.size()) { in __anon53371b2b0402()
81 begin -= fragment.size(); in __anon53371b2b0402()
83 View view(fragment, begin, begin + std::min(length, fragment.size() - begin)); in __anon53371b2b0402()
86 begin = 0; in __anon53371b2b0402()
94 return PacketView<true>(GetSubviewList(begin, end)); in __anon53371b2b0502()
99 return PacketView<false>(GetSubviewList(begin, end)); in __anon53371b2b0602()
[all …]
H A Dpacket_view_unittest.cc252 auto begin = this->packet->begin(); in TYPED_TEST() local
261 auto begin = this->packet->begin(); in TYPED_TEST() local
270 auto begin = this->packet->begin(); in TYPED_TEST() local
276 ASSERT_NE(begin, end); in TYPED_TEST()
277 ASSERT_TRUE(begin < end); in TYPED_TEST()
279 ASSERT_FALSE(end < begin); in TYPED_TEST()
280 ASSERT_FALSE(begin > end); in TYPED_TEST()
282 ASSERT_TRUE(end > begin); in TYPED_TEST()
283 ASSERT_TRUE(begin <= end); in TYPED_TEST()
285 ASSERT_FALSE(end <= begin); in TYPED_TEST()
[all …]
/aosp12/art/cmdline/
H A Dtoken_range.h44 begin_(token_list_->begin()), in TokenRange()
52 begin_(token_list_->begin()), in TokenRange()
62 begin_(token_list_->begin()),
72 begin_(token_list_->begin()), in TokenRange()
79 begin_(token_list_->begin()), in TokenRange()
146 iterator begin() const { in begin() function
183 return std::equal(begin(), end(), other.begin());
189 return *(begin() + index);
205 return std::equal(smaller.begin(), smaller.end(), greater.begin()); in StartsWith()
342 auto name_it = begin(); in MaybeMatches()
[all …]
/aosp12/system/core/trusty/coverage/
H A Dcoverage.cpp183 volatile uint8_t* begin = nullptr; in ResetCounts() local
185 GetRawCounts(&begin, &end); in ResetCounts()
193 volatile uintptr_t* begin = nullptr; in ResetPCs() local
195 GetRawPCs(&begin, &end); in ResetPCs()
226 *begin = shm_; in GetRawData()
233 *begin = 0; in GetRawCounts()
247 *begin = 0; in GetRawPCs()
263 volatile uint8_t* begin = NULL; in TotalEdgeCounts() local
266 GetRawCounts(&begin, &end); in TotalEdgeCounts()
289 volatile uintptr_t* begin = nullptr; in SaveSancovFile() local
[all …]
/aosp12/frameworks/base/tools/bit/
H A Dutil.cpp183 ssize_t begin = 0; in trim() local
184 while (begin < N && spacechr(str[begin])) { in trim()
185 begin++; in trim()
188 while (end >= begin && spacechr(str[end])) { in trim()
191 return string(str, begin, end-begin+1); in trim()
214 int begin = 0; in split_lines() local
219 if (begin != end) { in split_lines()
220 result->push_back(string(str, begin, end-begin)); in split_lines()
222 begin = end+1; in split_lines()
225 if (begin != end) { in split_lines()
[all …]
/aosp12/system/teeui/libteeui/include/teeui/
H A Dutf8range.h32 UTF8Range(CharIterator begin, CharIterator end) : begin_(begin), end_(end) {} in UTF8Range() argument
57 static unsigned long codePoint(CharIterator begin) { in codePoint() argument
58 unsigned long c = (uint8_t)*begin; in codePoint()
65 ++begin; in codePoint()
68 result |= *begin & 0x3f; in codePoint()
69 ++begin; in codePoint()
80 Iter(CharIterator begin) : begin_(begin) {} in Iter() argument
100 Iter begin() const { return Iter(begin_); } in begin() function
/aosp12/system/bt/main/shim/
H A Dle_advertising_manager.cc88 auto begin = data.begin() + offset; in SetData() local
89 auto end = begin + len + 1; // 1 byte for len in SetData()
93 GapData::Parse(&gap_data, packet.begin()); in SetData()
142 auto begin = advertise_data.begin() + offset; in StartAdvertisingSet() local
147 GapData::Parse(&gap_data, packet.begin()); in StartAdvertisingSet()
156 auto begin = scan_response_data.begin() + offset; in StartAdvertisingSet() local
161 GapData::Parse(&gap_data, packet.begin()); in StartAdvertisingSet()
170 auto begin = periodic_data.begin() + offset; in StartAdvertisingSet() local
175 GapData::Parse(&gap_data, packet.begin()); in StartAdvertisingSet()
211 auto begin = data.begin() + offset; in SetPeriodicAdvertisingData() local
[all …]
/aosp12/system/connectivity/wificond/tests/
H A Dclient_interface_impl_unittest.cpp136 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
150 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
176 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
199 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
220 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
239 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
268 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
308 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
319 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
346 vector<uint8_t>(std::begin(kTestFrame), std::end(kTestFrame)), in TEST_F()
[all …]
/aosp12/packages/modules/StatsD/statsd/tests/metrics/
H A DGaugeMetricProducer_test.cpp155 auto it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin(); in TEST()
164 .mFields->begin() in TEST()
171 it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin(); in TEST()
180 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
192 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
324 .mFields->begin() in TEST_P()
345 .mFields->begin() in TEST_P()
355 .mFields->begin() in TEST_P()
392 .mFields->begin() in TEST()
402 .mFields->begin() in TEST()
[all …]
/aosp12/packages/services/Car/cpp/evs/manager/1.1/
H A DVirtualCamera.cpp246 auto halCamera = mHalCamera.begin()->second.promote(); in getCameraInfo()
321 auto iter = mHalCamera.begin(); in startVideoStream()
338 auto rb = mHalCamera.begin(); in startVideoStream()
353 auto pHwCamera = mHalCamera.begin()->second.promote(); in startVideoStream()
445 auto& frameQueue = mFramesHeld.begin()->second; in doneWithFrame()
446 auto it = frameQueue.begin(); in doneWithFrame()
468 << mHalCamera.begin()->first in doneWithFrame()
541 auto pHwCamera = mHalCamera.begin()->second.promote(); in getExtendedInfo()
558 auto pHwCamera = mHalCamera.begin()->second.promote(); in setExtendedInfo()
577 auto pHwCamera = mHalCamera.begin()->second.promote(); in getCameraInfo_1_1()
[all …]
/aosp12/system/gatekeeper/tests/
H A Dgatekeeper_messages_test.cpp59 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
82 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
110 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
138 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
160 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
188 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
207 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
219 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
231 deserialized_msg.Deserialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
287 const uint8_t* begin = msgbuf + i; in parse_garbage() local
[all …]
/aosp12/system/core/trusty/fuzz/
H A Dcounters.cpp51 volatile uint8_t* begin = NULL; in ExtraCounters() local
53 record_->GetRawCounts(&begin, &end); in ExtraCounters()
54 assert(end - begin <= sizeof(counters)); in ExtraCounters()
75 volatile uint8_t* begin = NULL; in Flush() local
78 record_->GetRawCounts(&begin, &end); in Flush()
79 if (!begin || !end) { in Flush()
84 size_t num_counters = end - begin; in Flush()
90 *(counters + i) = *(begin + i); in Flush()
/aosp12/frameworks/compile/mclinker/include/mcld/
H A DModule.h78 const_obj_iterator obj_begin() const { return m_ObjectList.begin(); } in obj_begin()
79 obj_iterator obj_begin() { return m_ObjectList.begin(); } in obj_begin()
87 const_lib_iterator lib_begin() const { return m_LibraryList.begin(); } in lib_begin()
88 lib_iterator lib_begin() { return m_LibraryList.begin(); } in lib_begin()
96 const_input_iterator input_begin() const { return m_MainTree.begin(); } in input_begin()
97 input_iterator input_begin() { return m_MainTree.begin(); } in input_begin()
109 iterator begin() { return m_SectionTable.begin(); } in begin() function
110 const_iterator begin() const { return m_SectionTable.begin(); } in begin() function
131 sym_iterator sym_begin() { return m_SymbolTable.begin(); } in sym_begin()
132 const_sym_iterator sym_begin() const { return m_SymbolTable.begin(); } in sym_begin()
/aosp12/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
H A Dslice.mod.py27 begin=Input("begin", "TENSOR_INT32", "{1}"),
36 begin=Input("begin", "TENSOR_INT32", "{2}"),
45 begin=Input("begin", "TENSOR_INT32", "{3}"),
54 begin=Input("begin", "TENSOR_INT32", "{4}"),
63 begin=Input("begin", "TENSOR_INT32", "{4}"),
72 begin=Input("begin", "TENSOR_INT32", "{4}"),
81 begin=Input("begin", "TENSOR_INT32", "{4}"),
90 begin=Input("begin", "TENSOR_INT32", "{4}"),
99 model = Model().Operation("SLICE", test_case.inp, test_case.begin,
103 test_case.begin: test_case.begin_data,
/aosp12/hardware/qcom/gps/msm8909w_3100/core/data-items/common/
H A DDataItemIndex.cpp75 mClientsPerDataItemMap.begin (); in remove()
77 typename list <CT> :: const_iterator it = r.begin (); in remove()
82 cdiIter->second.begin (), in remove()
117 r.begin (), r.end (), in remove()
118 inserter (out, out.begin ())); in remove()
120 typename list <CT> :: iterator it = out.begin (); in remove()
122 cdiIter->second.erase (find (cdiIter->second.begin (), in remove()
148 set_difference (l.begin (), l.end (), in add()
150 inserter (difference, difference.begin ())); in add()
174 typename list <DIT> :: const_iterator it = l.begin (); in add()
[all …]
/aosp12/art/disassembler/
H A Ddisassembler_arm.cc75 const uintptr_t begin = reinterpret_cast<uintptr_t>(options_->base_address_); in operator <<() local
78 if ((address >= begin && address < end && end - address >= 4u) && in operator <<()
168 const uintptr_t begin = reinterpret_cast<uintptr_t>(options_->base_address_); in PrintLiteral() local
175 literal_addr += begin; in PrintLiteral()
182 if (literal_addr < begin || literal_addr > end - literal_size[type]) { in PrintLiteral()
223 size_t DisassemblerArm::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
226 const uintptr_t instr_ptr = reinterpret_cast<uintptr_t>(begin) & ~1; in Dump()
228 const bool is_t32 = (reinterpret_cast<uintptr_t>(begin) & 1) != 0; in Dump()
248 DCHECK_LE(begin, end); in Dump()
251 const uintptr_t base = reinterpret_cast<uintptr_t>(begin) & ~1; in Dump()
[all …]
/aosp12/frameworks/minikin/tests/unittest/
H A DBidiUtilsTest.cpp37 auto it = bidiText.begin(); in TEST()
46 auto it = bidiText.begin(); in TEST()
55 auto it = bidiText.begin(); in TEST()
64 auto it = bidiText.begin(); in TEST()
73 auto it = bidiText.begin(); in TEST()
82 auto it = bidiText.begin(); in TEST()
96 auto it = bidiText.begin(); in TEST()
105 auto it = bidiText.begin(); in TEST()
114 auto it = bidiText.begin(); in TEST()
123 auto it = bidiText.begin(); in TEST()
[all …]

12345678910>>...100