Home
last modified time | relevance | path

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

12

/hardware/intel/img/psb_video/fw/topazhp/
Dtopazhp_bin.c160 int iter = 0; in create_firmware_A0() local
167 for (iter = 0; iter < size; iter++) { in create_firmware_A0()
171 iter = 0; in create_firmware_A0()
173 sec_t[iter].addr = FW_NUM * 16 + SECURE_VRL_HEADER + SECURE_FIP_HEADER; in create_firmware_A0()
174 sec_t[iter].text_size_bytes = tng_fw_table[iter].header.text_size * 4; in create_firmware_A0()
175 sec_t[iter].data_size_bytes = tng_fw_table[iter].header.data_size * 4; in create_firmware_A0()
176 sec_t[iter].data_relocation = tng_fw_table[iter].header.data_location; in create_firmware_A0()
177 fwrite(&(sec_t[iter]), sizeof(struct fw_table_A0), 1, fp); in create_firmware_A0()
179 iter = 1; in create_firmware_A0()
183 while (iter < FW_NUM) { in create_firmware_A0()
[all …]
Dfwinfo.c118 topaz_fw_codec_t iter = FW_H264_NO_RC; in main() local
151 while (iter < FW_NUM) { in main()
154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); in main()
159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); in main()
161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)); in main()
162 printf("topaz: data_location : 0x%08x\n\n", topaz_fw_table[iter].header.data_location); in main()
164 …fseek(fp, topaz_fw_table[iter].header.text_size + topaz_fw_table[iter].header.data_size, SEEK_CUR); in main()
[all …]
/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/intel/img/psb_video/fw/topazsc/
Dfwinfo.c118 topaz_fw_codec_t iter = FW_H264_NO_RC; in main() local
151 while (iter < FW_NUM) { in main()
154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); in main()
159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); in main()
160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); in main()
161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)); in main()
162 printf("topaz: data_location : 0x%08x\n\n", topaz_fw_table[iter].header.data_location); in main()
164 …fseek(fp, topaz_fw_table[iter].header.text_size + topaz_fw_table[iter].header.data_size, SEEK_CUR); in main()
[all …]
Dtopaz_bin.c83 topaz_fw_codec_t iter = FW_H264_NO_RC; in main() local
226 while (iter < FW_NUM) { in main()
228 topaz_fw_table[iter].header.data_size *= 4; in main()
229 topaz_fw_table[iter].header.text_size *= 4; in main()
232 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
235 size = topaz_fw_table[iter].header.text_size; in main()
236 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp); in main()
239 size = topaz_fw_table[iter].header.data_size; in main()
240 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp); in main()
242 ++iter; in main()
Dtopazsc_bin.c133 topaz_fw_codec_t iter = FW_MASTER_JPEG; in main() local
175 while (iter < FW_NUM) { in main()
177 topaz_fw_table[iter].header.data_size *= 4; in main()
178 topaz_fw_table[iter].header.text_size *= 4; in main()
181 fwrite(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); in main()
184 size = topaz_fw_table[iter].header.text_size; in main()
185 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp); in main()
188 size = topaz_fw_table[iter].header.data_size; in main()
189 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp); in main()
191 ++iter; in main()
/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/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/google/av/codec2/vndk/bufferpool/
DAccessorImpl.cpp93 auto iter = mapOfSet->find(key); in insert() local
94 if (iter == mapOfSet->end()) { in insert()
98 } else if (iter->second.find(value) == iter->second.end()) { in insert()
99 iter->second.insert(value); in insert()
108 auto iter = mapOfSet->find(key); in erase() local
109 if (iter != mapOfSet->end()) { in erase()
110 if (iter->second.erase(value) > 0) { in erase()
113 if (iter->second.size() == 0) { in erase()
114 mapOfSet->erase(iter); in erase()
122 auto iter = mapOfSet->find(key); in contains() local
[all …]
/hardware/intel/img/psb_video/src/
Dobject_heap.c146 object_base_p object_heap_first(object_heap_p heap, object_heap_iterator *iter) in object_heap_first() argument
148 *iter = -1; in object_heap_first()
149 return object_heap_next(heap, iter); in object_heap_first()
156 object_base_p object_heap_next(object_heap_p heap, object_heap_iterator *iter) in object_heap_next() argument
159 int i = *iter + 1; in object_heap_next()
163 *iter = i; in object_heap_next()
168 *iter = i; in object_heap_next()
Dobject_heap.h75 object_base_p object_heap_first(object_heap_p heap, object_heap_iterator *iter);
81 object_base_p object_heap_next(object_heap_p heap, object_heap_iterator *iter);
/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/interfaces/wifi/1.2/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/keymaster/4.0/support/
Dauthorization_set.cpp149 auto iter = data_.begin() + (1 + begin); in find() local
151 while (iter != data_.end() && iter->tag != tag) ++iter; in find()
153 if (iter != data_.end()) return iter - data_.begin(); in find()
/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/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp213 vpx_codec_iter_t iter = nullptr; in onFlush_sm() local
214 while (vpx_codec_get_frame(mCodecCtx, &iter)) { in onFlush_sm()
422 vpx_codec_iter_t iter = nullptr; in outputBuffer() local
423 vpx_image_t *img = vpx_codec_get_frame(mCodecCtx, &iter); in outputBuffer()

12