Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 46) 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.cpp68 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
69 ret = power->powerHintAsync_1_2(*iter, 0); in TEST_P()
72 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
73 ret = power->powerHintAsync_1_2(*iter, 30000); in TEST_P()
/hardware/interfaces/audio/common/all-versions/default/service/
Dservice.cpp100 auto iter = listIter.begin(); in main() local
101 const std::string& interfaceFamilyName = *iter++; in main()
102 LOG_ALWAYS_FATAL_IF(!registerPassthroughServiceImplementations(iter, listIter.end()), in main()
107 auto iter = listIter.begin(); in main() local
108 const std::string& interfaceFamilyName = *iter++; in main()
109 ALOGW_IF(!registerPassthroughServiceImplementations(iter, listIter.end()), in main()
/hardware/qcom/sm8150/gps/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/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.cpp83 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
84 ret = power->powerHintAsync(*iter, 0); in TEST_P()
87 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
88 ret = power->powerHintAsync(*iter, 30000); in TEST_P()
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp141 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
142 ret = power->powerHint(*iter, 0); in TEST_P()
145 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() local
146 ret = power->powerHint(*iter, 30000); in TEST_P()
/hardware/google/av/media/eco/
DECOService.cpp74 SanitizeSession([&](MapIterType iter) { in obtainSession() argument
75 if (iter->first == newCfg) { in obtainSession()
76 sp<ECOSession> session = iter->second.promote(); in obtainSession()
114 SanitizeSession([&](MapIterType iter) { in getSessions() argument
115 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()
307 ECODataKeyValueIterator iter(stats); in processFrameStats() local
308 while (iter.hasNext()) { in processFrameStats()
309 ECOData::ECODataKeyValuePair entry = iter.next(); in processFrameStats()
/hardware/google/pixel/misc_writer/
Dmisc_writer_main.cpp88 } else if (auto iter = action_map.find(option_name); iter != action_map.end()) { in main() local
93 misc_writer = std::make_unique<MiscWriter>(iter->second); in main()
/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/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h40 auto iter = instances.find(name); in reset() local
41 if (iter == instances.end()) return true; in reset()
42 ::android::wp<Interface> weak = iter->second; in reset()
43 instances.erase(iter); in reset()
/hardware/interfaces/identity/support/include/cppbor/
DREADME.md158 auto iter = std::back_inserter(result);
159 encodeHeader(MAP, 2 /* # of map entries */, iter);
161 encodeHeader(TSTR, s.size(), iter);
162 std::copy(s.begin(), s.end(), iter);
163 encodeHeader(ARRAY, 2 /* # of array entries */, iter);
164 Map().add("key_a", 99).add("key_b", vec).encode(iter)
166 encodeHeader(TSTR, foo.size(), iter);
167 std::copy(s.begin(), s.end(), iter);
169 encodeHeader(TSTR, foo.size(), iter);
170 std::copy(s.begin(), s.end(), iter);
[all …]
/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/qcom/sm8150/display/sdm/libs/core/
Dcore_impl.cpp174 auto iter = hw_displays_info_.find(display_id); in CreateDisplay() local
176 if (iter == hw_displays_info_.end()) { in CreateDisplay()
182 DisplayType display_type = iter->second.display_type; in CreateDisplay()
/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/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_info_drm.cpp783 for (auto &iter : conns_info) { in GetDisplaysStatus() local
786 ((0 == iter.first) || (iter.first > INT32_MAX)) ? -1 : (int32_t)(iter.first); in GetDisplaysStatus()
787 switch (iter.second.type) { in GetDisplaysStatus()
802 DLOGE("Unknown display type = %d on connector id %u.", iter.second.type, in GetDisplaysStatus()
806 hw_info.is_connected = iter.second.is_connected ? 1 : 0; in GetDisplaysStatus()
807 hw_info.is_primary = iter.second.is_primary ? 1 : 0; in GetDisplaysStatus()
808 hw_info.is_wb_ubwc_supported = iter.second.is_wb_ubwc_supported; in GetDisplaysStatus()
847 for (auto &iter : encoders_info) { in GetMaxDisplaysSupported() local
848 switch (iter.second.type) { in GetMaxDisplaysSupported()

12