Home
last modified time | relevance | path

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

12345678910>>...38

/hardware/interfaces/gnss/common/utils/default/
DGnssReplayUtils.cpp30 if (property_get("debug.location.gnss.devname", devname_value.begin(), NULL) > 0) { in getGnssPath()
31 return devname_value.begin(); in getGnssPath()
35 if (property_get("vendor.ser.gnss-uart", devname_value.begin(), NULL) > 0) { in getGnssPath()
36 return devname_value.begin(); in getGnssPath()
46 if (property_get("debug.location.fixedlocation.devname", devname_value.begin(), NULL) > 0) { in getFixedLocationPath()
47 return devname_value.begin(); in getFixedLocationPath()
51 if (property_get("vendor.ser.gnss-uart", devname_value.begin(), NULL) > 0) { in getFixedLocationPath()
52 return devname_value.begin(); in getFixedLocationPath()
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-hwcal.cpp141 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F()
154 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F()
167 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F()
184 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
193 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
202 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
214 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
238 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
262 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
296 std::transform(volTickExpect.begin(), volTickExpect.end(), volActual.begin(), [](uint32_t &e) { in TEST_F()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
Dmathtest.adoc214 \begin{cases}
238 \begin{aligned}
250 \begin{aligned}
252 \begin{cases}
265 \begin{aligned}
277 \begin{aligned}
279 \begin{cases}
290 \begin{aligned}
310 \begin{aligned}
312 \begin{cases}
[all …]
/hardware/google/aemu/base/include/aemu/base/containers/
DSmallVector.h96 iterator begin() { return mBegin; } in begin() function
97 const_iterator begin() const { return mBegin; } in begin() function
104 size_type size() const { return end() - begin(); } in size()
106 bool empty() const { return begin() == end(); } in empty()
108 reference front() { return *begin(); } in front()
113 reference operator[](size_t i) { return *(begin() + i); }
136 destruct(begin(), end()); in clear()
166 this->destruct(this->begin(), this->end()); in dtor()
173 void init(iterator begin, iterator end, size_type capacity) { in init() argument
174 this->mBegin = begin; in init()
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DSmallVector.h96 iterator begin() { return mBegin; } in begin() function
97 const_iterator begin() const { return mBegin; } in begin() function
104 size_type size() const { return end() - begin(); } in size()
106 bool empty() const { return begin() == end(); } in empty()
108 reference front() { return *begin(); } in front()
113 reference operator[](size_t i) { return *(begin() + i); }
136 destruct(begin(), end()); in clear()
166 this->destruct(this->begin(), this->end()); in dtor()
173 void init(iterator begin, iterator end, size_type capacity) { in init() argument
174 this->mBegin = begin; in init()
[all …]
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_master.cpp52 using std::begin;
112 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId()
113 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
114 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
115 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp51 using std::begin;
111 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId()
112 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId()
113 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId()
114 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId()
/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/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/compatibility_matrices/exclude/
Dfcm_exclude.cpp114 if (!std::any_of(included_prefixes.begin(), included_prefixes.end(), package_has_prefix)) { in ShouldCheckMissingHidlHalsInFcm()
118 if (std::find(excluded_exact.begin(), excluded_exact.end(), packageAndVersion) != in ShouldCheckMissingHidlHalsInFcm()
123 return !std::any_of(excluded_prefixes.begin(), excluded_prefixes.end(), package_has_prefix); in ShouldCheckMissingHidlHalsInFcm()
177 if (!std::any_of(included_prefixes.begin(), included_prefixes.end(), package_has_prefix)) { in ShouldCheckMissingAidlHalsInFcm()
181 if (std::find(excluded_exact.begin(), excluded_exact.end(), packageAndVersion) != in ShouldCheckMissingAidlHalsInFcm()
186 return !std::any_of(excluded_prefixes.begin(), excluded_prefixes.end(), package_has_prefix); in ShouldCheckMissingAidlHalsInFcm()
/hardware/google/gfxstream/guest/vulkan_enc/
DResources.cpp197 void appendObject(struct goldfish_vk_object_list** begin, void* val) { in appendObject() argument
203 if (!*begin) { in appendObject()
205 *begin = o; in appendObject()
209 struct goldfish_vk_object_list* q = *begin; in appendObject()
221 void eraseObject(struct goldfish_vk_object_list** begin, void* val) { in eraseObject() argument
223 if (!*begin) { in eraseObject()
228 struct goldfish_vk_object_list* q = *begin; in eraseObject()
236 if (*begin == q) { in eraseObject()
238 *begin = n; in eraseObject()
252 void eraseObjects(struct goldfish_vk_object_list** begin) { in eraseObjects() argument
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_blend_operation_advanced/
Dadvanced_blend.adoc153 \begin{aligned}
172 \begin{aligned}
174 \begin{cases}
186 \begin{aligned}
201 \begin{aligned}
203 \begin{cases}
215 \begin{aligned}
277 \begin{aligned}
287 \begin{aligned}
296 \begin{aligned}
[all …]
/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/google/pixel/vibrator/cs40l25/tests/
Dtest-hwcal.cpp164 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F()
181 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
193 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
207 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
221 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F()
242 std::transform(volExpect.begin(), volExpect.end(), volActual.begin(), [](uint32_t &e) { in TEST_F()
274 std::transform(volExpect.begin(), volExpect.end(), volActual.begin(), [](uint32_t &e) { in TEST_F()
/hardware/nxp/nfc/snxxx/halimpl/observe_mode/
DReaderPollConfigParser.cc43 eventData.insert(std::end(eventData), std::begin(timeStamp), in getWellKnownModEventData()
46 eventData.insert(std::end(eventData), std::begin(data), std::end(data)); in getWellKnownModEventData()
70 eventData.insert(std::end(eventData), std::begin(timeStamp), in getUnknownEvent()
73 eventData.insert(std::end(eventData), std::begin(data), std::end(data)); in getUnknownEvent()
98 eventData.insert(std::end(eventData), std::begin(timeStamp), in getRFEventData()
161 vector<uint8_t>(p_event.begin() + INDEX_OF_L2_EVT_TYPE, in getEvent()
178 vector<uint8_t>(p_event.begin() + INDEX_OF_L2_EVT_TYPE, in getEvent()
200 vector<uint8_t>(p_event.begin() + INDEX_OF_CMA_EVT_DATA, in getEvent()
209 p_event.begin() + INDEX_OF_CMA_DATA, p_event.end()); in getEvent()
235 p_event.begin() + INDEX_OF_CMA_EVT_TYPE, p_event.end()); in getEvent()
[all …]
/hardware/google/aemu/base/include/aemu/base/misc/
DStringUtils.h52 using std::begin; in join()
54 auto it = begin(range); in join()
89 size_t begin = 0; in split() local
93 func(str.substr(begin, end - begin)); in split()
95 begin = end + splitSize; in split()
96 end = str.find(splitBy, begin); in split()
128 result << *things.begin(); in Join()
129 for (auto it = std::next(things.begin()); it != things.end(); ++it) { in Join()
/hardware/nxp/keymint/KM300/
DJavacardKeyMintOperation.cpp145 buffer_.insert(buffer_.end(), view.data.begin() + offset, view.data.end()); in blockAlign()
147 buffer_.insert(buffer_.end(), view.buffer.begin() + offset, view.buffer.end()); in blockAlign()
150 buffer_.insert(buffer_.end(), view.buffer.begin() + offset, view.buffer.end()); in blockAlign()
151 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in blockAlign()
154 buffer_.insert(buffer_.end(), view.data.begin() + offset, view.data.end()); in blockAlign()
192 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in bufferData()
202 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in bufferData()
205 buffer_.erase(buffer_.begin() + EC_BUFFER_SIZE, buffer_.end()); in bufferData()
253 chunk = {view.buffer.begin() + start, view.buffer.begin() + end}; in popNextChunk()
256 chunk = {view.buffer.begin() + start, view.buffer.end()}; in popNextChunk()
[all …]
/hardware/nxp/keymint/KM200/
DJavacardKeyMintOperation.cpp138 buffer_.insert(buffer_.end(), view.data.begin() + offset, view.data.end()); in blockAlign()
140 buffer_.insert(buffer_.end(), view.buffer.begin() + offset, view.buffer.end()); in blockAlign()
143 buffer_.insert(buffer_.end(), view.buffer.begin() + offset, view.buffer.end()); in blockAlign()
144 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in blockAlign()
147 buffer_.insert(buffer_.end(), view.data.begin() + offset, view.data.end()); in blockAlign()
185 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in bufferData()
195 buffer_.insert(buffer_.end(), view.data.begin(), view.data.end()); in bufferData()
198 buffer_.erase(buffer_.begin() + EC_BUFFER_SIZE, buffer_.end()); in bufferData()
246 chunk = {view.buffer.begin() + start, view.buffer.begin() + end}; in popNextChunk()
249 chunk = {view.buffer.begin() + start, view.buffer.end()}; in popNextChunk()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DIOVector.h48 IOVector(iterator begin, iterator end) : mIOVecs(begin, end) {} in IOVector() argument
62 iterator begin() { return mIOVecs.data(); } in begin() function
64 const_iterator begin() const { return mIOVecs.data(); } in begin() function
86 mIOVecs.begin(), mIOVecs.end(), size_t(0), in summedLength()
/hardware/google/aemu/base/include/aemu/base/testing/
DGTestUtils.h40 std::distance(std::begin(expected), std::end(expected)); in RangesMatch()
41 const auto actualSize = std::distance(std::begin(actual), std::end(actual)); in RangesMatch()
48 auto itExp = std::begin(expected); in RangesMatch()
51 const auto index = std::distance(std::begin(expected), itExp); in RangesMatch()
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Drange.hpp61 inline typename genType::value_type const * begin(genType const & v) in begin() function
69 return begin(v) + components(v); in end()
73 inline typename genType::value_type * begin(genType& v) in begin() function
81 return begin(v) + components(v); in end()

12345678910>>...38