Home
last modified time | relevance | path

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

123456789

/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp49 using std::begin;
110 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId()
111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp49 using std::begin;
110 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId()
111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/
DDataItemIndex.cpp75 mClientsPerDataItemMap.begin (); in remove()
77 typename list <CT> :: const_iterator it = r.begin (); in remove()
82 cdiIter->second.begin (), in remove()
116 set_intersection (cdiIter->second.begin (), cdiIter->second.end (), 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()
149 cdiIter->second.begin (), cdiIter->second.end (), in add()
[all …]
DClientIndex.cpp83 mDataItemsPerClientMap.begin (); in remove()
85 typename list <DIT> :: const_iterator it = r.begin (); in remove()
88 find (dicIter->second.begin (), dicIter->second.end (), *it); in remove()
117 set_intersection (dicIter->second.begin (), dicIter->second.end (), in remove()
118 r.begin (), r.end (), in remove()
119 inserter (out,out.begin ())); in remove()
121 typename list <DIT> :: iterator it = out.begin (); in remove()
123 dicIter->second.erase (find (dicIter->second.begin (), in remove()
149 set_difference (l.begin (), l.end (), in add()
150 dicIter->second.begin (), dicIter->second.end (), in add()
[all …]
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp49 using std::begin;
109 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, *gem_handle); in CreateFbId()
110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
112 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DStreamIoUtil.h37 charvectorbuf(CharT *begin, CharT *end) { in charvectorbuf() argument
38 assert(end >= begin); in charvectorbuf()
39 init(begin, end - begin); in charvectorbuf()
42 charvectorbuf(CharT *begin, size_t size) { in charvectorbuf() argument
43 init(begin, size); in charvectorbuf()
51 charvectorbuf(const CharT *begin, const CharT *end) { in charvectorbuf() argument
52 assert(end >= begin); in charvectorbuf()
53 init(begin, end - begin); in charvectorbuf()
56 charvectorbuf(const CharT *begin, size_t size) { in charvectorbuf() argument
57 init(begin, size); in charvectorbuf()
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp78 bool checkUTF8Copy(const char* begin, const char* const end, uint8_t* out) { in checkUTF8Copy() argument
80 while (begin != end) { in checkUTF8Copy()
84 if ((*begin & 0xc0) != 0x80) return false; in checkUTF8Copy()
85 } else if (!((*begin) & 0x80)) { in checkUTF8Copy()
90 char c = *begin << 1; in checkUTF8Copy()
101 if (out) *out++ = *reinterpret_cast<const uint8_t*>(begin++); in checkUTF8Copy()
Dconfirmationui_utils.cpp27 auto lhsi = lhs.begin(); in operator ==()
28 auto rhsi = rhs.begin(); in operator ==()
/hardware/interfaces/broadcastradio/common/tests/
DIdentifierIterator_test.cpp36 auto it = V2_0::begin(sel); in TEST()
49 auto it = V2_0::begin(sel); in TEST()
60 auto it1 = V2_0::begin(sel1); in TEST()
61 auto it2 = V2_0::begin(sel2); in TEST()
69 auto it = V2_0::begin(sel); in TEST()
106 auto it = std::find_if(V2_0::begin(sel), end, isRdsPi); in TEST()
114 it = std::find_if(V2_0::begin(sel), end, isFreq); in TEST()
/hardware/libhardware/modules/camera/3_4/metadata/
Dmap_converter_test.cpp56 auto kv = map_.begin(); in TEST_F()
62 auto kv = map_.begin(); in TEST_F()
68 auto kv = map_.begin(); in TEST_F()
75 auto kv = map_.begin(); in TEST_F()
95 auto kv = map_.begin(); in TEST_F()
Dmetadata_test.cpp110 std::set<int32_t> static_tags(static_tags_1.begin(), static_tags_1.end()); in TEST_F()
111 static_tags.insert(static_tags_2.begin(), static_tags_2.end()); in TEST_F()
112 std::set<int32_t> control_tags(control_tags_1.begin(), control_tags_1.end()); in TEST_F()
113 control_tags.insert(control_tags_2.begin(), control_tags_2.end()); in TEST_F()
114 std::set<int32_t> dynamic_tags(dynamic_tags_1.begin(), dynamic_tags_1.end()); in TEST_F()
115 dynamic_tags.insert(dynamic_tags_2.begin(), dynamic_tags_2.end()); in TEST_F()
/hardware/google/av/media/sfplugin/tests/
DReflectedParamUpdater_test.cpp157 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
159 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
161 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
163 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
165 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
203 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
205 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
207 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
209 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
211 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_LanToLan.cpp152 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
206 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
241 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
308 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_add()
342 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_del()
365 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_wlan_scc_mcc_switch()
380 it = m_cached_client_add_event.begin(); in handle_cached_client_add_event()
402 it = m_cached_client_add_event.begin(); in clear_cached_client_add_event()
427 for(it = m_iface.begin(); it != m_iface.end(); it++) in print_data_structure_info()
435 …for(it_event = m_cached_client_add_event.begin(); it_event != m_cached_client_add_event.end(); it_… in print_data_structure_info()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawDevice.cpp156 info.descriptor.begin()); in populateDeviceInfo()
221 std::copy(mIoBuffer.begin() + 1, mIoBuffer.begin() + size, out->begin()); in getFeature()
249 std::copy(in.begin(), in.end(), &mIoBuffer[1]); in setFeature()
284 std::copy(mIoBuffer.begin() + 1, mIoBuffer.end(), data.begin()); in sendReport()
316 std::copy(buffer + 1, buffer + res, data->begin()); in receiveReport()
320 std::copy(buffer, buffer + res, data->begin()); in receiveReport()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.h127 int find(Tag tag, int begin = -1) const;
138 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin() function
196 move(set.begin(), set.end()); in push_back()
216 template <typename Iterator> void push_back(Iterator begin, Iterator end) { in push_back() argument
217 while (begin != end) { in push_back()
218 push_back(*begin); in push_back()
219 ++begin; in push_back()
223 template <typename Iterator> void move(Iterator begin, Iterator end) { in move() argument
224 std::move(begin, end, std::back_inserter(data_)); in move()
303 move(set.begin(), set.end()); in Authorizations()
[all …]
Dauthorization_set.cpp94 std::sort(data_.begin(), data_.end(), keyParamLess); in Sort()
103 auto curr = data_.begin(); in Deduplicate()
118 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union()
125 auto i = other.begin(); in Subtract()
131 data_.erase(data_.begin() + pos); in Subtract()
139 int AuthorizationSet::find(Tag tag, int begin) const { in find()
140 auto iter = data_.begin() + (1 + begin); in find()
145 if (iter != data_.end()) return iter - data_.begin(); in find()
150 auto pos = data_.begin() + index; in erase()
/hardware/interfaces/confirmationui/support/test/
Dmsg_formatting_test.cpp73 auto begin = out.pos(); in TEST() local
104 ASSERT_EQ(8, const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(prompt.c_str())) - begin); in TEST()
105 ASSERT_EQ(20, extra.data() - begin); in TEST()
106 ASSERT_EQ(27, const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(locale.c_str())) - begin); in TEST()
107 ASSERT_EQ(40, reinterpret_cast<uint8_t*>(uiOpts.data()) - begin); in TEST()
/hardware/interfaces/power/1.2/vts/functional/
DVtsHalPowerV1_2TargetTest.cpp79 std::sort(hints2.begin(), hints2.end(), compareHints); in TEST_F()
81 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F()
85 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F()
89 } while (std::next_permutation(hints2.begin(), hints2.end(), compareHints)); in TEST_F()
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h126 int find(Tag tag, int begin = -1) const;
137 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin() function
191 std::move(set.begin(), set.end(), std::back_inserter(*this)); in push_back()
205 void append(Iterator begin, Iterator end) { in append() argument
206 while (begin != end) { in append()
207 push_back(*begin); in append()
208 ++begin; in append()
/hardware/interfaces/power/1.1/vts/functional/
DVtsHalPowerV1_1TargetTest.cpp94 std::sort(hints2.begin(), hints2.end(), compareHints); in TEST_F()
96 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F()
100 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F()
104 } while (std::next_permutation(hints2.begin(), hints2.end(), compareHints)); in TEST_F()
/hardware/interfaces/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp78 std::fill(vec.begin(), vec.end(), 1000); in TEST_F()
79 for (auto range = ranges.begin(); range != ranges.end(); range++) { in TEST_F()
91 std::fill(vec.begin(), vec.end(), 1); in TEST_F()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp55 char* begin = src + ra[index].location.offset; in copy_back_() local
56 memcpy(m.data(), begin, ra[index].location.length); in copy_back_()
147 char* begin = (char*)p; in EvaluatePreparedModel() local
148 char* end = begin + s; in EvaluatePreparedModel()
150 std::copy(begin, end, inputPtr + inputs_info[index].location.offset); in EvaluatePreparedModel()
194 std::all_of(supported.begin(), supported.end(), [](bool valid) { return valid; }); in Execute()
238 std::all_of(supported.begin(), supported.end(), [](bool valid) { return valid; }); in Execute()
DValidateRequest.cpp56 std::all_of(supported.begin(), supported.end(), [](bool valid) { return valid; }); in createPreparedModel()
118 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
227 char* begin = (char*)p; in createRequests() local
228 char* end = begin + s; in createRequests()
230 std::copy(begin, end, inputPtr + inputs_info[index].location.offset); in createRequests()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp56 std::all_of(supported.begin(), supported.end(), [](bool valid) { return valid; }); in createPreparedModel()
119 std::rotate(vec->begin() + index, vec->begin() + index + 1, vec->end()); in hidl_vec_removeAt()
228 char* begin = (char*)p; in createRequests() local
229 char* end = begin + s; in createRequests()
231 std::copy(begin, end, inputPtr + inputs_info[index].location.offset); in createRequests()
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp145 sort(list.begin(), list.end()); in scan()
147 auto found = lower_bound(list.begin(), list.end(), VirtualProgram({current})); in scan()
152 found = list.begin(); in scan()
155 if (found > list.begin() && found != list.end()) { in scan()
244 std::copy_if(list.begin(), list.end(), std::back_inserter(filteredList), filterCb); in startProgramListUpdates()
252 chunk.modified = hidl_vec<ProgramInfo>(list.begin(), list.end()); in startProgramListUpdates()

123456789