Home
last modified time | relevance | path

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

12345678910>>...16

/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/sm8150/display/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/qcom/sdm845/display/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/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/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/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/interfaces/confirmationui/support/src/
Dcbor.cpp81 bool checkUTF8Copy(const char* begin, const char* const end, uint8_t* out) { in checkUTF8Copy() argument
83 while (begin != end) { in checkUTF8Copy()
87 if ((*begin & 0xc0) != 0x80) return false; in checkUTF8Copy()
88 } else if (!((*begin) & 0x80)) { in checkUTF8Copy()
93 char c = *begin << 1; in checkUTF8Copy()
104 if (out) *out++ = *reinterpret_cast<const uint8_t*>(begin++); in checkUTF8Copy()
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor_parse.h37 ParseResult parse(const uint8_t* begin, const uint8_t* end);
65 inline ParseResult parse(const uint8_t* begin, size_t size) { in parse() argument
66 return parse(begin, begin + size); in parse()
75 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient);
/hardware/interfaces/identity/support/src/
Dcppbor_parse.cpp53 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end,
189 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end, in parseRecursively() argument
191 const uint8_t* pos = begin; in parseRecursively()
225 if (!success) return {begin, nullptr}; in parseRecursively()
229 return handleUint(addlData, begin, pos, parseClient); in parseRecursively()
232 return handleNint(addlData, begin, pos, parseClient); in parseRecursively()
235 return handleString<Bstr>(addlData, begin, pos, end, "byte string", parseClient); in parseRecursively()
238 return handleString<Tstr>(addlData, begin, pos, end, "text string", parseClient); in parseRecursively()
241 return handleCompound(std::make_unique<IncompleteArray>(addlData), addlData, begin, pos, in parseRecursively()
245 return handleCompound(std::make_unique<IncompleteMap>(addlData), addlData * 2, begin, in parseRecursively()
[all …]
/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()
/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/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp131 for(it = m_iface.begin(); it != m_iface.end(); it++) in has_l2tp_iface()
246 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
297 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_iface_up()
309 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
321 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
357 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
377 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
389 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
448 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_client_add()
464 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_add()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp131 for(it = m_iface.begin(); it != m_iface.end(); it++) in has_l2tp_iface()
249 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
300 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_iface_up()
312 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
324 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up()
362 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
382 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
394 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down()
453 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_client_add()
469 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_add()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp75 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
76 operations.begin(), [](const TestOperation& op) -> Operation { in createModel()
87 const uint8_t* begin = op.data.get<uint8_t>(); in createModel() local
88 const uint8_t* end = begin + op.data.size(); in createModel()
89 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
109 const uint8_t* begin = op.data.get<uint8_t>(); in createModel() local
110 const uint8_t* end = begin + op.data.size(); in createModel()
111 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
/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()
228 hidl_vec<KeyParameter> result(begin(), end()); in hidl_data()
[all …]
/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
196 std::move(set.begin(), set.end(), std::back_inserter(*this)); in push_back()
210 void append(Iterator begin, Iterator end) { in append() argument
211 while (begin != end) { in append()
212 push_back(*begin); in append()
213 ++begin; in append()
218 hidl_vec<KeyParameter> result(begin(), end()); in hidl_data()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp82 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
83 operations.begin(), [](const TestOperation& op) -> Operation { in createModel()
94 const uint8_t* begin = op.data.get<uint8_t>(); in createModel() local
95 const uint8_t* end = begin + op.data.size(); in createModel()
96 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
116 const uint8_t* begin = op.data.get<uint8_t>(); in createModel() local
117 const uint8_t* end = begin + op.data.size(); in createModel()
118 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
/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/power/1.2/vts/functional/
DVtsHalPowerV1_2TargetTest.cpp66 std::sort(hints2.begin(), hints2.end(), compareHints); in TEST_P()
68 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P()
72 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P()
76 } while (std::next_permutation(hints2.begin(), hints2.end(), compareHints)); in TEST_P()
/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/identity/aidl/vts/
DVtsAttestationTests.cpp74 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
98 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
101 vector<uint8_t> attestationApplicationId = {applicationId.begin(), applicationId.end()}; in TEST_P()
123 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
126 vector<uint8_t> attestationApplicationId = {applicationId.begin(), applicationId.end()}; in TEST_P()

12345678910>>...16