| /third_party/libdrm/freedreno/msm/ |
| H A D | msm_ringbuffer.c | 95 /* maps fd_bo to idx: */ 204 uint32_t idx; in append_bo() local 206 idx = APPEND(&msm_ring->submit, bos); in append_bo() 207 idx = APPEND(msm_ring, bos); in append_bo() 209 msm_ring->submit.bos[idx].flags = 0; in append_bo() 210 msm_ring->submit.bos[idx].handle = bo->handle; in append_bo() 211 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed; in append_bo() 213 msm_ring->bos[idx] = fd_bo_ref(bo); in append_bo() 215 return idx; in append_bo() 218 /* add (if needed) bo, return idx 223 uint32_t idx; bo2idx() local 426 unsigned idx = orig_relocs[i].reloc_idx; handle_stateobj_relocs() local 566 uint32_t idx = APPEND(cmd, relocs); msm_ringbuffer_emit_reloc() local 618 uint32_t idx = 0; msm_ringbuffer_emit_reloc_ring() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | ecma_runtime_call_info.h | 97 inline void SetCallArg(uint32_t idx, const JSTaggedValue tagged) in SetCallArg() 99 ASSERT_PRINT(idx < GetArgsNumber(), "Can not set values out of index range"); in SetCallArg() 100 SetArg(idx + FIRST_ARGS_INDEX, tagged); in SetCallArg() 188 inline JSHandle<JSTaggedValue> GetCallArg(uint32_t idx) const 190 return GetArg(idx + FIRST_ARGS_INDEX); 211 inline JSTaggedValue GetCallArgValue(uint32_t idx) const 213 JSHandle<JSTaggedValue> arg = GetCallArg(idx); 234 inline uintptr_t GetArgAddress(uint32_t idx) const 236 if (idx < GetArgsNumber() + NUM_MANDATORY_JSFUNC_ARGS) { 237 return reinterpret_cast<uintptr_t>(&stackArgs_[idx]); [all...] |
| /third_party/elfutils/lib/ |
| H A D | fixedsizehash.h | 135 size_t idx = 1 + hval % htab->nslots; in CONCAT() local 137 if (htab->table[idx].hval != 0) in CONCAT() 142 if (htab->table[idx].hval == hval in CONCAT() 143 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT() 144 return &htab->table[idx]; in CONCAT() 151 if (idx <= hash) in CONCAT() 152 idx = htab->nslots + idx - hash; in CONCAT() 154 idx -= hash; in CONCAT() 156 if (htab->table[idx] in CONCAT() [all...] |
| /third_party/ffmpeg/libavformat/ |
| H A D | oggparsetheora.c | 38 static int theora_header(AVFormatContext *s, int idx) in theora_header() argument 41 struct ogg_stream *os = ogg->streams + idx; in theora_header() 42 AVStream *st = s->streams[idx]; in theora_header() 145 static uint64_t theora_gptopts(AVFormatContext *ctx, int idx, uint64_t gp, in theora_gptopts() argument 149 struct ogg_stream *os = ogg->streams + idx; in theora_gptopts() 171 static int theora_packet(AVFormatContext *s, int idx) in theora_packet() argument 174 struct ogg_stream *os = ogg->streams + idx; in theora_packet() 192 pts = theora_gptopts(s, idx, os->granule, NULL); in theora_packet() 196 if(s->streams[idx]->start_time == AV_NOPTS_VALUE && os->lastpts != AV_NOPTS_VALUE) { in theora_packet() 197 s->streams[idx] in theora_packet() [all...] |
| H A D | oggparsedirac.c | 28 static int dirac_header(AVFormatContext *s, int idx) in dirac_header() argument 31 struct ogg_stream *os = ogg->streams + idx; in dirac_header() 32 AVStream *st = s->streams[idx]; in dirac_header() 66 static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, in dirac_gptopts() argument 71 struct ogg_stream *os = ogg->streams + idx; in dirac_gptopts() 86 static int old_dirac_header(AVFormatContext *s, int idx) in old_dirac_header() argument 89 struct ogg_stream *os = ogg->streams + idx; in old_dirac_header() 90 AVStream *st = s->streams[idx]; in old_dirac_header() 102 static uint64_t old_dirac_gptopts(AVFormatContext *s, int idx, uint64_t gp, in old_dirac_gptopts() argument 106 struct ogg_stream *os = ogg->streams + idx; in old_dirac_gptopts() [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_lower_two_sided_color.c | 144 int idx; in nir_lower_two_sided_color_block() local 146 for (idx = 0; idx < state->colors_count; idx++) { in nir_lower_two_sided_color_block() 148 state->colors[idx].front->data.driver_location; in nir_lower_two_sided_color_block() 159 for (idx = 0; idx < state->colors_count; idx++) { in nir_lower_two_sided_color_block() 160 unsigned loc = state->colors[idx].front->data.location; in nir_lower_two_sided_color_block() 167 if (idx in nir_lower_two_sided_color_block() [all...] |
| /third_party/node/deps/openssl/openssl/crypto/property/ |
| H A D | property_string.c | 30 OSSL_PROPERTY_IDX idx; member 128 ps->idx = ++*pidx; in new_property_string() 129 if (ps->idx == 0) { in new_property_string() 168 return ps != NULL ? ps->idx : 0; in ossl_property_string() 173 OSSL_PROPERTY_IDX idx; member 180 if (prop->idx == findstr->idx) in find_str_fn() 185 OSSL_PROPERTY_IDX idx) in ossl_property_str() 196 findstr.idx = idx; in ossl_property_str() 184 ossl_property_str(int name, OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_str() argument 224 ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_name_str() argument 243 ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_value_str() argument [all...] |
| /third_party/openssl/crypto/property/ |
| H A D | property_string.c | 30 OSSL_PROPERTY_IDX idx; member 128 ps->idx = ++*pidx; in new_property_string() 129 if (ps->idx == 0) { in new_property_string() 168 return ps != NULL ? ps->idx : 0; in ossl_property_string() 173 OSSL_PROPERTY_IDX idx; member 180 if (prop->idx == findstr->idx) in find_str_fn() 185 OSSL_PROPERTY_IDX idx) in ossl_property_str() 196 findstr.idx = idx; in ossl_property_str() 184 ossl_property_str(int name, OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_str() argument 224 ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_name_str() argument 243 ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx) ossl_property_value_str() argument [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | dirac.c | 146 int idx; in parse_source_parameters() local 257 idx = dsh->pixel_range_index - 1; in parse_source_parameters() 258 luma_depth = pixel_range_presets[idx].bitdepth; in parse_source_parameters() 259 dsh->color_range = pixel_range_presets[idx].color_range; in parse_source_parameters() 284 idx = dsh->color_spec_index = get_interleaved_ue_golomb(gb); in parse_source_parameters() 289 dsh->color_primaries = dirac_color_presets[idx].color_primaries; in parse_source_parameters() 290 dsh->colorspace = dirac_color_presets[idx].colorspace; in parse_source_parameters() 291 dsh->color_trc = dirac_color_presets[idx].color_trc; in parse_source_parameters() 296 idx = get_interleaved_ue_golomb(gb); in parse_source_parameters() 297 if (idx < in parse_source_parameters() [all...] |
| /third_party/ffmpeg/libavcodec/aarch64/ |
| H A D | vp9dsp_init_aarch64.c | 112 #define init_copy(idx, sz, suffix) \ in vp9dsp_mc_init_aarch64() 113 init_fpel(idx, 0, sz, copy, suffix) in vp9dsp_mc_init_aarch64() 115 #define init_avg(idx, sz, suffix) \ in vp9dsp_mc_init_aarch64() 116 init_fpel(idx, 1, sz, avg, suffix) in vp9dsp_mc_init_aarch64() 118 #define init_copy_avg(idx, sz) \ in vp9dsp_mc_init_aarch64() 119 init_copy(idx, sz, _neon); \ in vp9dsp_mc_init_aarch64() 120 init_avg (idx, sz, _neon) in vp9dsp_mc_init_aarch64() 131 #define init_mc_funcs(idx, dir, mx, my, sz, pfx) \ in vp9dsp_mc_init_aarch64() 132 init_mc_func(idx, 0, put, FILTER_8TAP_REGULAR, regular, dir, mx, my, sz, pfx); \ in vp9dsp_mc_init_aarch64() 133 init_mc_func(idx, in vp9dsp_mc_init_aarch64() [all...] |
| /third_party/libinput/src/ |
| H A D | util-prop-parsers.c | 190 for (size_t idx = 0; idx < 6; idx++) { in parse_calibration_property() 192 if (!safe_atod(strv[idx], &v)) in parse_calibration_property() 195 calibration[idx] = v; in parse_calibration_property() 382 for (size_t idx = 0; strv[idx]; idx++) { in parse_evcode_property() 383 char *s = strv[idx]; in parse_evcode_property() 411 evs[idx] in parse_evcode_property() [all...] |
| /third_party/skia/third_party/externals/freetype/src/sfnt/ |
| H A D | ttpost.c | 214 FT_Int idx; in load_format_20() local 217 idx = glyph_indices[n]; in load_format_20() 218 if ( idx >= 258 ) in load_format_20() 220 idx -= 257; in load_format_20() 221 if ( idx > num_names ) in load_format_20() 222 num_names = (FT_UShort)idx; in load_format_20() 340 FT_Long idx = (FT_Long)n + offset_table[n]; in load_format_25() local 343 if ( idx < 0 || idx > num_glyphs ) in load_format_25() 462 * idx [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| H A D | ets_array_test.cpp | 83 for (uint32_t idx = 0; idx < arrayLength; ++idx) { in TestEtsPrimitiveArray() 84 array->Set(idx, element); in TestEtsPrimitiveArray() 85 ASSERT_EQ(array->Get(idx), element); in TestEtsPrimitiveArray() 115 for (uint32_t idx = 0; idx < arrayLength; idx++) { in TestEtsObjectArray() 117 array->Set(idx, obj); in TestEtsObjectArray() 118 ASSERT_EQ(array->Get(idx), ob in TestEtsObjectArray() [all...] |
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| H A D | vReg.h | 28 explicit constexpr VReg(const uint32_t idx) noexcept : idx_(idx) {} in idx_() 35 constexpr void SetIndex(const Index idx) noexcept 37 idx_ = idx; 103 [[nodiscard]] constexpr bool operator!=(const Index idx) const noexcept 105 return !(*this == idx); 108 [[nodiscard]] constexpr bool operator==(const Index idx) const noexcept 110 return idx_ == idx; 113 [[nodiscard]] constexpr VReg operator+(const Index idx) const noexcept 115 return VReg(idx_ + idx); [all...] |
| /foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/ |
| H A D | render_data_store_default_camera.cpp | 109 for (uint32_t idx = 0; idx < static_cast<uint32_t>(cameras_.size()); ++idx) { in GetCameraIndex() 110 if (cameras_[idx].name == name) { in GetCameraIndex() 111 return idx; in GetCameraIndex() 119 for (uint32_t idx = 0; idx < static_cast<uint32_t>(cameras_.size()); ++idx) { in GetCameraIndex() 120 if (cameras_[idx].id == id) { in GetCameraIndex() 121 return idx; in GetCameraIndex() [all...] |
| /foundation/resourceschedule/ffrt/src/queue/ |
| H A D | queue_strategy.h | 86 for (int idx = 0; idx < ffrt_inner_queue_priority_idle; idx++) {
in DequeSingleAgainstStarvation() 87 if ((*pulledTaskCount)[idx] >= maxPullTaskCount) {
in DequeSingleAgainstStarvation() 92 [idx, now](const auto& pair) { return (pair.first < now) && (pair.second->GetPriority() == idx); });
in DequeSingleAgainstStarvation() 101 for (int idx = 0; idx < head->GetPriority(); idx++) {
in DequeSingleAgainstStarvation() 102 (*pulledTaskCount)[idx] in DequeSingleAgainstStarvation() [all...] |
| /third_party/jerryscript/jerry-ext/handler/ |
| H A D | handler-register.c | 65 uint32_t idx = 0; in jerryx_set_properties() local 72 for (; (entries[idx].name != NULL); idx++) in jerryx_set_properties() 74 const jerryx_property_entry *entry = &entries[idx]; in jerryx_set_properties() 87 return JERRYX_SET_PROPERTIES_RESULT (result, idx); in jerryx_set_properties() 94 return JERRYX_SET_PROPERTIES_RESULT (jerry_create_undefined (), idx); in jerryx_set_properties() 113 for (uint32_t idx = register_result.registered; entries[idx].name != NULL; idx++) in jerryx_release_property_entry() 115 jerry_release_value (entries[idx] in jerryx_release_property_entry() [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
| H A D | tr_dump.h | 151 size_t idx; \ 153 for(idx = 0; idx < (_size); ++idx) { \ 155 trace_dump_##_type((_obj)[idx]); \ 167 size_t idx; \ 169 for(idx = 0; idx < (_size); ++idx) { \ 171 trace_dump_##_type(&(_obj)[idx]); \ [all...] |
| /third_party/skia/src/gpu/gl/ |
| H A D | GrGLExtensions.cpp | 27 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), in find_string() local 31 return idx; in find_string() 132 int idx = find_string(fStrings, ext); in remove() local 133 if (idx < 0) { in remove() 139 fStrings.removeShuffle(idx); in remove() 140 if (idx != fStrings.count()) { in remove() 141 SkTInsertionSort(fStrings.begin() + idx, fStrings.size() - idx, extension_compare); in remove() 147 int idx = find_string(fStrings, ext); in add() local 148 if (idx < in add() [all...] |
| /third_party/icu/icu4c/source/tools/toolutil/ |
| H A D | package.cpp | 421 int32_t idx; in ~Package() local 425 for(idx=0; idx<itemCount; ++idx) { in ~Package() 426 if(items[idx].isDataOwned) { in ~Package() 427 uprv_free(items[idx].data); in ~Package() 974 int32_t idx, nameLength, middleLength; in findNextItem() local 981 idx=findNextIndex++; in findNextItem() 982 name=items[idx].name; in findNextItem() 1009 return idx; in findNextItem() 1029 int32_t idx; addItem() local 1087 removeItem(int32_t idx) removeItem() argument 1108 int32_t idx; removeItems() local 1127 extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) extractItem() argument 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1191 int32_t idx; extractItems() local [all...] |
| /third_party/node/deps/icu-small/source/tools/toolutil/ |
| H A D | package.cpp | 421 int32_t idx; in ~Package() local 425 for(idx=0; idx<itemCount; ++idx) { in ~Package() 426 if(items[idx].isDataOwned) { in ~Package() 427 uprv_free(items[idx].data); in ~Package() 974 int32_t idx, nameLength, middleLength; in findNextItem() local 981 idx=findNextIndex++; in findNextItem() 982 name=items[idx].name; in findNextItem() 1009 return idx; in findNextItem() 1029 int32_t idx; addItem() local 1087 removeItem(int32_t idx) removeItem() argument 1108 int32_t idx; removeItems() local 1127 extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) extractItem() argument 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1191 int32_t idx; extractItems() local [all...] |
| /third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
| H A D | package.cpp | 421 int32_t idx; in ~Package() local 425 for(idx=0; idx<itemCount; ++idx) { in ~Package() 426 if(items[idx].isDataOwned) { in ~Package() 427 uprv_free(items[idx].data); in ~Package() 974 int32_t idx, nameLength, middleLength; in findNextItem() local 981 idx=findNextIndex++; in findNextItem() 982 name=items[idx].name; in findNextItem() 1009 return idx; in findNextItem() 1029 int32_t idx; addItem() local 1087 removeItem(int32_t idx) removeItem() argument 1108 int32_t idx; removeItems() local 1127 extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) extractItem() argument 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1191 int32_t idx; extractItems() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
| H A D | vktRayTracingShaderBindingTableTests.cpp | 245 for (size_t idx = cornerNdx; idx < cornerNdx + geometryCount; ++idx) in initBottomAccelerationStructures() 248 geometry->addVertex(corners[idx] + v0); in initBottomAccelerationStructures() 249 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures() 250 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures() 251 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures() 252 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures() 253 geometry->addVertex(corners[idx] + v3); in initBottomAccelerationStructures() 332 for (deUint32 idx in initRayTracingShaders() 343 csname << "chit_" << idx; initRayTracingShaders() local 369 csname << "miss_" << idx; initRayTracingShaders() local 385 csname << "chit_call_" << idx; initRayTracingShaders() local 399 csname << "chit_call_" << idx; initRayTracingShaders() local 406 csname << "call_" << idx; initRayTracingShaders() local 722 " hitValue = uvec4("<< idx << ",0,0,1);\\n" initPrograms() local 725 csname << "chit_" << idx; initPrograms() local 757 " executeCallableEXT(" << idx << ", 0);\\n" initPrograms() local 761 csname << "chit_call_" << idx; initPrograms() local 775 " hitValue = uvec4(" << idx <<",0,0,1);\\n" initPrograms() local 778 csname << "miss_" << idx; initPrograms() local 810 " result = uvec4(" << idx << ",0,0,1);\\n" initPrograms() local 813 csname << "call_" << idx; initPrograms() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
| H A D | vktRayTracingShaderBindingTableTests.cpp | 245 for (size_t idx = cornerNdx; idx < cornerNdx + geometryCount; ++idx) in initBottomAccelerationStructures() 248 geometry->addVertex(corners[idx] + v0); in initBottomAccelerationStructures() 249 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures() 250 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures() 251 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures() 252 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures() 253 geometry->addVertex(corners[idx] + v3); in initBottomAccelerationStructures() 332 for (deUint32 idx in initRayTracingShaders() 343 csname << "chit_" << idx; initRayTracingShaders() local 369 csname << "miss_" << idx; initRayTracingShaders() local 385 csname << "chit_call_" << idx; initRayTracingShaders() local 399 csname << "chit_call_" << idx; initRayTracingShaders() local 406 csname << "call_" << idx; initRayTracingShaders() local 722 " hitValue = uvec4("<< idx << ",0,0,1);\\n" initPrograms() local 725 csname << "chit_" << idx; initPrograms() local 757 " executeCallableEXT(" << idx << ", 0);\\n" initPrograms() local 761 csname << "chit_call_" << idx; initPrograms() local 775 " hitValue = uvec4(" << idx <<",0,0,1);\\n" initPrograms() local 778 csname << "miss_" << idx; initPrograms() local 810 " result = uvec4(" << idx << ",0,0,1);\\n" initPrograms() local 813 csname << "call_" << idx; initPrograms() local [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
| H A D | animated_image.cpp | 94 void AnimatedImage::PostPlayTask(uint32_t idx, int iteration) in PostPlayTask() argument 96 if (idx == static_cast<uint32_t>(duration_.size())) { in PostPlayTask() 98 idx = 0; in PostPlayTask() 104 RenderFrame(idx); in PostPlayTask() 106 currentIdx_ = idx; in PostPlayTask() 108 currentTask_.Reset([weak = WeakClaim(this), idx, iteration] { in PostPlayTask() 111 self->PostPlayTask(idx + 1, iteration); in PostPlayTask() 113 ImageUtils::PostDelayedTaskToUI(currentTask_, duration_[idx], "ArkUIImageAnimatedPostPlayTask"); in PostPlayTask() 163 void AnimatedImage::RenderFrame(uint32_t idx) in RenderFrame() argument 165 if (GetCachedFrame(idx)) { in RenderFrame() 178 DecodeFrame(uint32_t idx) DecodeFrame() argument 203 GetCachedFrame(uint32_t idx) GetCachedFrame() argument 237 DecodeImpl(uint32_t idx) DecodeImpl() argument 354 DecodeImpl(uint32_t idx) DecodeImpl() argument [all...] |