Home
last modified time | relevance | path

Searched refs:idx (Results 51 - 75 of 4815) sorted by relevance

12345678910>>...193

/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp167 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in CreatePipelineDescriptorSetBinder()
168 if (pipelineLayout.descriptorSetLayouts[idx].set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in CreatePipelineDescriptorSetBinder()
169 descriptorSetLayoutBindings[idx] = { pipelineLayout.descriptorSetLayouts[idx].bindings }; in CreatePipelineDescriptorSetBinder()
220 for (size_t idx = 0; idx < descSetBindingRes.bindings.size(); ++idx) { in ShaderPipelineBinder()
221 const auto& ref = descSetBindingRes.bindings[idx]; in ShaderPipelineBinder()
376 const uint32_t idx = setResources.bindingToIndex[binding]; BindBuffer() local
407 const uint32_t idx = setResources.bindingToIndex[binding]; BindBuffers() local
439 const uint32_t idx = setResources.bindingToIndex[binding]; BindImage() local
472 const uint32_t idx = setResources.bindingToIndex[binding]; BindImages() local
505 const uint32_t idx = setResources.bindingToIndex[binding]; BindSampler() local
534 const uint32_t idx = setResources.bindingToIndex[binding]; BindSamplers() local
609 const uint32_t idx = setResources.bindingToIndex[binding]; GetResourceBinding() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dhash.cpp22 size_t idx = 0; in HashFunc() local
24 for (idx = 0; idx < input.size(); idx++) { in HashFunc()
25 hash = (hash * PRIME_SEED) + input.at(idx); in HashFunc()
34 size_t idx = 0; in Hash32Func() local
36 for (idx = 0; idx < input.size(); idx++) { in Hash32Func()
37 hash = (hash << 4) + input.at(idx); // lef in Hash32Func()
[all...]
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-common.c91 size_t idx; in maximize_sockbuf() local
96 for (idx = 0; idx < (sizeof(level) / sizeof(int)); idx++) { in maximize_sockbuf()
101 if ((fp = fopen(procfile[idx], "r")) == NULL) { in maximize_sockbuf()
102 fprintf(stderr, "Failed to open %s\n", procfile[idx]); in maximize_sockbuf()
107 procfile[idx]); in maximize_sockbuf()
111 (sd, SOL_SOCKET, level[idx], &bufsiz, sizeof(int))) { in maximize_sockbuf()
116 procfile[idx]); in maximize_sockbuf()
123 (sd, SOL_SOCKET, level[idx], in maximize_sockbuf()
182 size_t idx; fill_payload() local
260 size_t idx; eth_pton() local
518 uint32_t idx; create_source_filter() local
[all...]
/third_party/vk-gl-cts/external/amber/src/src/
H A Ddescriptor_set_and_binding_parser.cc30 size_t idx = 0; in Parse() local
33 if (!std::isdigit(buffer_id[idx]) && std::isalpha(buffer_id[idx]) && in Parse()
34 buffer_id[idx] != ':' && buffer_id[idx] != '-') { in Parse()
35 idx++; in Parse()
36 while (idx < buffer_id.size() && buffer_id[idx] != ':') in Parse()
37 idx++; in Parse()
39 pipeline_name_ = buffer_id.substr(0, idx); in Parse()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Didxset.h60 /* Store a new item in the idxset. The index of the item is returned in *idx */
61 int pa_idxset_put(pa_idxset*s, void *p, uint32_t *idx);
63 /* Get the entry by its idx */
64 void* pa_idxset_get_by_index(pa_idxset*s, uint32_t idx);
66 /* Get the entry by its data. The index is returned in *idx */
67 void* pa_idxset_get_by_data(pa_idxset*s, const void *p, uint32_t *idx);
70 void* pa_idxset_remove_by_index(pa_idxset*s, uint32_t idx);
73 void* pa_idxset_remove_by_data(pa_idxset*s, const void *p, uint32_t *idx);
80 next following. The function is best called with *idx =
84 void* pa_idxset_rrobin(pa_idxset *s, uint32_t *idx);
[all...]
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsstack.c186 CF2_UInt idx ) in FT_LOCAL_DEF()
190 if ( idx >= cf2_stack_count( stack ) ) in FT_LOCAL_DEF()
196 switch ( stack->buffer[idx].type ) in FT_LOCAL_DEF()
199 return cf2_intToFixed( stack->buffer[idx].u.i ); in FT_LOCAL_DEF()
201 return cf2_fracToFixed( stack->buffer[idx].u.f ); in FT_LOCAL_DEF()
203 return stack->buffer[idx].u.r; in FT_LOCAL_DEF()
211 CF2_UInt idx, in cf2_stack_setReal()
214 if ( idx > cf2_stack_count( stack ) ) in cf2_stack_setReal()
220 stack->buffer[idx].u.r = val; in cf2_stack_setReal()
221 stack->buffer[idx] in cf2_stack_setReal()
210 cf2_stack_setReal( CF2_Stack stack, CF2_UInt idx, CF2_Fixed val ) cf2_stack_setReal() argument
247 CF2_Int start_idx, idx, i; cf2_stack_roll() local
[all...]
/third_party/elfutils/tests/
H A Delfputzdata.c78 size_t idx = elf_ndxscn (scn); in main() local
85 printf ("Cannot compress %zd %s\n", idx, name); in main()
90 printf ("Already compressed %zd %s\n", idx, name); in main()
96 idx, name, shdr->sh_size); in main()
100 printf ("Couldn't get orig data for section %zd\n", idx); in main()
107 printf ("Unexpected data size for orig section %zd\n", idx); in main()
116 printf ("No memory to copy section %zd data\n", idx); in main()
135 idx, elf_errmsg (-1)); in main()
151 idx, elf_errmsg (-1)); in main()
164 idx); in main()
[all...]
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_internal.c39 const int idx = u_bit_scan(&cache->bucket_mask); in vn_renderer_shmem_cache_fini() local
40 struct vn_renderer_shmem_bucket *bucket = &cache->buckets[idx]; in vn_renderer_shmem_cache_fini()
59 const uint32_t idx = ffsll(size) - 1; in choose_bucket() local
60 if (unlikely(idx >= ARRAY_SIZE(cache->buckets))) in choose_bucket()
63 *out_idx = idx; in choose_bucket()
64 return &cache->buckets[idx]; in choose_bucket()
73 const int idx = u_bit_scan(&bucket_mask); in vn_renderer_shmem_cache_remove_expired_locked() local
74 struct vn_renderer_shmem_bucket *bucket = &cache->buckets[idx]; in vn_renderer_shmem_cache_remove_expired_locked()
99 int idx; in vn_renderer_shmem_cache_add() local
101 choose_bucket(cache, shmem->mmap_size, &idx); in vn_renderer_shmem_cache_add()
124 int idx; vn_renderer_shmem_cache_get() local
169 const int idx = u_bit_scan(&bucket_mask); vn_renderer_shmem_cache_debug_dump() local
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dast_array_index.cpp49 update_max_array_access(ir_rvalue *ir, int idx, YYLTYPE *loc, in update_max_array_access() argument
54 if (idx > (int)var->data.max_array_access) { in update_max_array_access()
55 var->data.max_array_access = idx; in update_max_array_access()
60 check_builtin_array_max_size(var->name, idx+1, *loc, state); in update_max_array_access()
99 if (idx > max_ifc_array_access[field_idx]) { in update_max_array_access()
100 max_ifc_array_access[field_idx] = idx; in update_max_array_access()
107 check_builtin_array_max_size(field_name, idx+1, *loc, state); in update_max_array_access()
145 ir_rvalue *array, ir_rvalue *idx, in _mesa_ast_array_index_to_hir()
157 if (!idx->type->is_error()) { in _mesa_ast_array_index_to_hir()
158 if (!idx in _mesa_ast_array_index_to_hir()
143 _mesa_ast_array_index_to_hir(void *mem_ctx, struct _mesa_glsl_parse_state *state, ir_rvalue *array, ir_rvalue *idx, YYLTYPE &loc, YYLTYPE &idx_loc) _mesa_ast_array_index_to_hir() argument
172 const int idx = const_index->value.i[0]; _mesa_ast_array_index_to_hir() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_refconvert_array.h39 static ElemCpptype GetElem(coretypes::Array *arr, size_t idx) in GetElem() argument
42 auto elem = EtsObject::FromCoreType(arr->Get<ObjectHeader *>(idx)); in GetElem()
45 return arr->Get<ElemCpptype>(idx); in GetElem()
49 static void SetElem(coretypes::Array *arr, size_t idx, ElemCpptype value) in SetElem() argument
52 arr->Set(idx, AsEtsObject(value)->GetCoreType()); in SetElem()
54 arr->Set(idx, value); in SetElem()
70 for (size_t idx = 0; idx < len; ++idx) { in WrapImpl()
71 ElemCpptype etsElem = GetElem(etsArr, idx); in WrapImpl()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_graph_share_manager.cpp95 for (size_t idx = 0; idx < inOut_.inputView.size(); ++idx) { in BeginFrame()
96 inOut_.inputView[idx] = inputs[idx].handle; in BeginFrame()
97 inOut_.namedInputView[idx] = inputs[idx]; in BeginFrame()
99 for (size_t idx = 0; idx < inOut_.outputView.size(); ++idx) { in BeginFrame()
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Dmodule_data_accessor-inl.h30 for (size_t idx = 0; idx < regular_import_num; idx++) { in EnumerateModuleRecord()
38 for (size_t idx = 0; idx < namespace_import_num; idx++) { in EnumerateModuleRecord()
45 for (size_t idx = 0; idx < local_export_num; idx++) { in EnumerateModuleRecord()
52 for (size_t idx in EnumerateModuleRecord()
[all...]
/third_party/openssl/test/
H A Drecordlentest.c80 static int test_record_overflow(int idx) in test_record_overflow() argument
93 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow()
94 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK) in test_record_overflow()
99 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow()
100 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) in test_record_overflow()
110 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow()
111 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK) { in test_record_overflow()
117 } else if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow()
118 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) { in test_record_overflow()
128 if (idx in test_record_overflow()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dgrd_api_manager.h34 GRD_SqlStmt *stmt, uint32_t idx, const void *val, int32_t len, void (*freeFunc)(void *));
36 GRD_SqlStmt *stmt, uint32_t idx, const void *val, int32_t len, void (*freeFunc)(void *));
37 typedef int32_t (*DBSqlBindInt)(GRD_SqlStmt *stmt, uint32_t idx, int32_t val);
38 typedef int32_t (*DBSqlBindInt64)(GRD_SqlStmt *stmt, uint32_t idx, int64_t val);
39 typedef int32_t (*DBSqlBindDouble)(GRD_SqlStmt *stmt, uint32_t idx, double val);
40 typedef int32_t (*DBSqlBindNull)(GRD_SqlStmt *stmt, uint32_t idx);
42 GRD_SqlStmt *stmt, uint32_t idx, const float *val, uint32_t dim, void (*freeFunc)(void *));
46 typedef GRD_DbDataTypeE (*DBSqlColType)(GRD_SqlStmt *stmt, uint32_t idx);
47 typedef uint32_t (*DBSqlColBytes)(GRD_SqlStmt *stmt, uint32_t idx);
48 typedef char *(*DBSqlColName)(GRD_SqlStmt *stmt, uint32_t idx);
[all...]
/third_party/toybox/toys/net/
H A Drfkill.c34 int fd, tvar, idx = -1, tid = RFKILL_TYPE_ALL; in rfkill_main() local
45 int idx; in rfkill_main() member
55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX); in rfkill_main()
56 else tid = rftypes[i].idx; in rfkill_main()
65 if (idx >= 0) { in rfkill_main()
66 rfevent.idx = idx; in rfkill_main()
79 if ((tid > 0 && tid != rfevent.type) || (idx != -1 && idx != rfevent.idx)) in rfkill_main()
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dfor-pattern.js15 var idx = 0; variable
18 if (idx == 0)
22 idx = 1;
34 idx = 0;
37 if (idx == 0)
41 idx = 1;
53 idx = 0;
56 if (idx == 0)
60 idx = 1;
/third_party/node/deps/cares/src/lib/
H A Dares__htable.c175 unsigned int idx, const void *key) in ares__htable_find()
179 for (node = ares__llist_node_first(htable->buckets[idx]); node != NULL; in ares__htable_find()
245 size_t idx = HASH_IDX(htable, htable->bucket_key(val)); in ares__htable_expand() local
247 if (buckets[idx] == NULL) { in ares__htable_expand()
249 buckets[idx] = htable->buckets[i]; in ares__htable_expand()
258 size_t idx = HASH_IDX(htable, htable->bucket_key(val)); in ares__htable_expand() local
262 if (buckets[idx] == NULL && ares__llist_len(htable->buckets[i]) == 1) { in ares__htable_expand()
264 buckets[idx] = htable->buckets[i]; in ares__htable_expand()
270 if (buckets[idx] == NULL) { in ares__htable_expand()
275 buckets[idx] in ares__htable_expand()
174 ares__htable_find(const ares__htable_t *htable, unsigned int idx, const void *key) ares__htable_find() argument
315 unsigned int idx = 0; ares__htable_insert() local
370 unsigned int idx; ares__htable_get() local
384 unsigned int idx; ares__htable_remove() local
[all...]
/third_party/alsa-lib/test/
H A Dseq.c64 int err, idx, min, max; in show_queue_status() local
70 for (idx = min; idx < max; idx++) { in show_queue_status()
71 if ((err = snd_seq_get_queue_status(handle, idx, status))<0) { in show_queue_status()
74 fprintf(stderr, "Client %i info error: %s\n", idx, snd_strerror(err)); in show_queue_status()
88 int err, idx, min, max; in show_port_info() local
94 for (idx = min; idx < max; idx in show_port_info()
116 int err, idx, min, max; show_client_info() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cLimitsTests.cpp235 for (int idx = 0; idx < DE_LENGTH_OF_ARRAY(intLimits); idx++) in init()
237 const Limit<GLint>& limit = intLimits[idx]; in init()
241 for (int idx = 0; idx < DE_LENGTH_OF_ARRAY(int64Limits); idx++) in init()
243 const Limit<GLint64>& limit = int64Limits[idx]; in init()
247 for (int idx = 0; idx < DE_LENGTH_OF_ARRA in init()
[all...]
/third_party/jerryscript/tests/jerry/
H A Dregression-test-issue-3711.js27 for (var idx = 0; idx < 50; idx++) {
28 var args = new Array(idx);
36 for (var idx = 0; idx < 25; idx++) {
37 var args = new Array(idx);
/base/security/device_auth/frameworks/src/lite/
H A Dipc_dev_auth_stub.c133 ipcData->idx = SetRemoteObject(&tmp); in WithObject()
134 if (ipcData->idx >= 0) { in WithObject()
135 ipcData->val = (uint8_t *)(&(ipcData->idx)); in WithObject()
136 LOGI("object trans success, set id %d", ipcData->idx); in WithObject()
277 int32_t idx = -1; in SetRemoteObject() local
283 idx = i; in SetRemoteObject()
287 LOGI("remote object cache index %d", idx); in SetRemoteObject()
288 if (idx == -1) { in SetRemoteObject()
292 g_cbStub[idx].cbStub = *object; in SetRemoteObject()
293 g_cbStub[idx] in SetRemoteObject()
330 ResetRemoteObject(int32_t idx) ResetRemoteObject() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_decoder.cpp172 for (auto idx = 0, i = 0; i < INDEX_4; i++, idx += VALUE_5) { in Synthesize4()
175 PROTO_4_40M0[idx + INDEX_0], in Synthesize4()
177 PROTO_4_40M1[idx + INDEX_0], in Synthesize4()
179 PROTO_4_40M0[idx + INDEX_1], in Synthesize4()
181 PROTO_4_40M1[idx + INDEX_1], in Synthesize4()
183 PROTO_4_40M0[idx + INDEX_2], in Synthesize4()
185 PROTO_4_40M1[idx + INDEX_2], in Synthesize4()
187 PROTO_4_40M0[idx + INDEX_3], in Synthesize4()
189 PROTO_4_40M1[idx in Synthesize4()
200 int idx = 0; Synthesize8() local
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.cpp97 for (size_t idx = 0; idx < size; idx++) { in ConvertFromJsColor()
98 int32_t* curChannel = argb + idx; in ConvertFromJsColor()
99 napi_get_named_property(env, jsValue, g_argbString[idx], &tempValue); in ConvertFromJsColor()
117 for (size_t idx = 0; idx < size; idx++) { in ConvertFromJsColorWithNumber()
118 int32_t* curChannel = argb + idx; in ConvertFromJsColorWithNumber()
119 *curChannel = (tempColorValue >> (alphaShift - idx * channelShif in ConvertFromJsColorWithNumber()
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dvp9dsp_init_mips.c92 #define init_copy_avg(idx, sz) \ in vp9dsp_mc_init_msa()
93 init_fpel(idx, 0, sz, copy); \ in vp9dsp_mc_init_msa()
94 init_fpel(idx, 1, sz, avg) in vp9dsp_mc_init_msa()
96 #define init_avg(idx, sz) \ in vp9dsp_mc_init_msa()
97 init_fpel(idx, 1, sz, avg) in vp9dsp_mc_init_msa()
119 #define init_subpel2(idx, idxh, idxv, dir, type) \ in vp9dsp_mc_init_msa()
120 init_subpel1(0, idx, idxh, idxv, 64, dir, type); \ in vp9dsp_mc_init_msa()
121 init_subpel1(1, idx, idxh, idxv, 32, dir, type); \ in vp9dsp_mc_init_msa()
122 init_subpel1(2, idx, idxh, idxv, 16, dir, type); \ in vp9dsp_mc_init_msa()
123 init_subpel1(3, idx, idx in vp9dsp_mc_init_msa()
[all...]
/third_party/libdrm/etnaviv/
H A Detnaviv_cmd_stream.c131 uint32_t idx; in append_bo() local
133 idx = APPEND(&priv->submit, bos); in append_bo()
134 idx = APPEND(priv, bos); in append_bo()
136 priv->submit.bos[idx].flags = 0; in append_bo()
137 priv->submit.bos[idx].handle = bo->handle; in append_bo()
139 priv->bos[idx] = etna_bo_ref(bo); in append_bo()
141 return idx; in append_bo()
144 /* add (if needed) bo, return idx: */
149 uint32_t idx; in bo2idx() local
154 idx in bo2idx()
252 uint32_t idx = APPEND(&priv->submit, relocs); etna_cmd_stream_reloc() local
269 uint32_t idx = APPEND(&priv->submit, pmrs); etna_cmd_stream_perf() local
[all...]

Completed in 12 milliseconds

12345678910>>...193