Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 32) sorted by relevance

12

/hardware/qcom/msm8998/json-c/
Djson_object_iterator.c69 struct json_object_iterator iter; in json_object_iter_begin() local
79 iter.opaque_ = pTable->head; in json_object_iter_begin()
80 return iter; in json_object_iter_begin()
89 struct json_object_iterator iter; in json_object_iter_end() local
94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end()
96 return iter; in json_object_iter_end()
103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument
105 JASSERT(NULL != iter); in json_object_iter_next()
106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next()
108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next()
[all …]
Djson_object.h378 #define json_object_object_foreachC(obj,iter) \ argument
379iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
Djson_object_iterator.h158 json_object_iter_next(struct json_object_iterator* iter);
177 json_object_iter_peek_name(const struct json_object_iterator* iter);
200 json_object_iter_peek_value(const struct json_object_iterator* iter);
Djson_object.c315 struct json_object_iter iter; in json_object_object_to_json_string() local
320 json_object_object_foreachC(jso, iter) in json_object_object_to_json_string()
333 json_escape_str(pb, iter.key, strlen(iter.key)); in json_object_object_to_json_string()
338 if(iter.val == NULL) in json_object_object_to_json_string()
341 iter.val->_to_json_string(iter.val, pb, level+1,flags); in json_object_object_to_json_string()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwcomposer.cpp202 auto iter = displays.find(display); in Hwc2ImplDestroyVirtualDisplay() local
204 if (iter == displays.end()) { in Hwc2ImplDestroyVirtualDisplay()
208 if (iter->second.IsPhysical()) { in Hwc2ImplDestroyVirtualDisplay()
216 displays.erase(iter); in Hwc2ImplDestroyVirtualDisplay()
271 auto iter = displays.find(display); in Hwc2ImplCreateLayer() local
273 if (iter == displays.end()) { in Hwc2ImplCreateLayer()
277 *out_layer = iter->second.CreateLayer(); in Hwc2ImplCreateLayer()
284 auto iter = displays.find(display); in Hwc2ImplDestroyLayer() local
286 if (iter == displays.end()) { in Hwc2ImplDestroyLayer()
290 iter->second.DestroyLayer(layer); in Hwc2ImplDestroyLayer()
[all …]
/hardware/interfaces/power/1.2/vts/functional/
DVtsHalPowerV1_2TargetTest.cpp81 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
82 ret = power->powerHintAsync_1_2(*iter, 0); in TEST_F()
85 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
86 ret = power->powerHintAsync_1_2(*iter, 30000); in TEST_F()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocUnorderedSetMap.h80 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument
82 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove()
83 bool removeEntry = (iter->second.empty()); in trimOrRemove()
85 mMap.erase(iter); in trimOrRemove()
134 auto iter = mMap.find(key); in trimOrRemove() local
135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove()
136 goneKeys->insert(iter->first); in trimOrRemove()
146 auto iter = mMap.find(key); in add() local
147 if (iter != mMap.end()) { in add()
148 iter->second.insert(newVals.begin(), newVals.end()); in add()
/hardware/interfaces/power/1.1/vts/functional/
DVtsHalPowerV1_1TargetTest.cpp96 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
97 ret = power->powerHintAsync(*iter, 0); in TEST_F()
100 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
101 ret = power->powerHintAsync(*iter, 30000); in TEST_F()
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp154 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
155 ret = power->powerHint(*iter, 0); in TEST_F()
158 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_F() local
159 ret = power->powerHint(*iter, 30000); in TEST_F()
/hardware/google/av/media/eco/
DECOService.cpp68 SanitizeSession([&](MapIterType iter) { in obtainSession() argument
69 if (iter->first == newCfg) { in obtainSession()
70 sp<ECOSession> session = iter->second.promote(); in obtainSession()
108 SanitizeSession([&](MapIterType iter) { in getSessions() argument
109 sp<ECOSession> session = iter->second.promote(); in getSessions()
DECOSession.cpp180 ECODataKeyValueIterator iter(stats); in processSessionStats() local
181 while (iter.hasNext()) { in processSessionStats()
182 ECOData::ECODataKeyValuePair entry = iter.next(); in processSessionStats()
295 ECODataKeyValueIterator iter(stats); in processFrameStats() local
296 while (iter.hasNext()) { in processFrameStats()
297 ECOData::ECODataKeyValuePair entry = iter.next(); in processFrameStats()
/hardware/interfaces/wifi/1.3/default/
Dhidl_callback_util.h93 const auto& iter = cb_set_.find(cb); in onObjectDeath() local
94 if (iter == cb_set_.end()) { in onObjectDeath()
98 cb_set_.erase(iter); in onObjectDeath()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerResources.h73 auto iter = mDisplayResources.find(display); in getDisplayReadbackBuffer() local
74 if (iter == mDisplayResources.end()) { in getDisplayReadbackBuffer()
79 *static_cast<ComposerDisplayResource*>(iter->second.get()); in getDisplayReadbackBuffer()
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/
DClientIndex.cpp87 typename list <DIT> :: iterator iter = in remove() local
89 if (iter != dicIter->second.end ()) { in remove()
90 dicIter->second.erase (iter); in remove()
DDataItemIndex.cpp79 typename list <CT> :: iterator iter = in remove() local
86 if (iter != cdiIter->second.end ()) { in remove()
87 cdiIter->second.erase (iter); in remove()
/hardware/libhardware/tests/input/evdev/
DInputMocks.h85 auto iter = mAbsAxes.find(axis); in getAbsoluteAxisInfo() local
86 if (iter != mAbsAxes.end()) { in getAbsoluteAxisInfo()
87 return iter->second; in getAbsoluteAxisInfo()
DInputMocks.cpp22 auto iter = mKeys.lower_bound(startKey); in hasKeyInRange() local
23 if (iter == mKeys.end()) return false; in hasKeyInRange()
24 return *iter < endKey; in hasKeyInRange()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp140 auto iter = data_.begin() + (1 + begin); in find() local
142 while (iter != data_.end() && iter->tag != tag) in find()
143 ++iter; in find()
145 if (iter != data_.end()) return iter - data_.begin(); in find()
/hardware/interfaces/sensors/2.0/default/
DSensor.cpp187 for (auto iter = events.begin(); iter != events.end(); ++iter) { in readEvents() local
188 Event ev = *iter; in readEvents()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp161 auto iter = data_.begin() + (1 + begin); in find() local
163 while (iter != data_.end() && iter->tag != tag) ++iter; in find()
165 if (iter != data_.end()) return iter - data_.begin(); in find()
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp181 List<Vector<uint8_t> >::iterator iter = legacySecureStops.begin(); in getSecureStops() local
183 while (iter != legacySecureStops.end()) { in getSecureStops()
185 secureStop.opaqueData = toHidlVec(*iter++); in getSecureStops()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp319 vpx_codec_iter_t iter = nullptr; in onFlush_sm() local
320 while (vpx_codec_get_frame(mCodecCtx, &iter)) { in onFlush_sm()
559 vpx_codec_iter_t iter = nullptr; in outputBuffer() local
560 vpx_image_t *img = vpx_codec_get_frame(mCodecCtx, &iter); in outputBuffer()
/hardware/interfaces/camera/common/1.0/default/
DVendorTagDescriptor.cpp119 auto iter = mTagToTypeMap.find(tag); in getTagType() local
120 if (iter == mTagToTypeMap.end()) { in getTagType()
123 return iter->second; in getTagType()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h459 auto iter = mDisplayResources.find(display); in findDisplayResourceLocked() local
460 if (iter == mDisplayResources.end()) { in findDisplayResourceLocked()
463 return iter->second.get(); in findDisplayResourceLocked()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp623 auto iter = std::find(intents.cbegin(), intents.cend(), requiredIntent); in TEST_F() local
624 EXPECT_NE(intents.cend(), iter); in TEST_F()

12