Home
last modified time | relevance | path

Searched refs:array_length (Results 1 – 25 of 67) sorted by relevance

123

/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ray_queries.c36 unsigned array_length; member
40 rq_variable_create(nir_shader *shader, nir_function_impl *impl, unsigned array_length, in rq_variable_create() argument
44 result->array_length = array_length; in rq_variable_create()
47 if (array_length != 1) in rq_variable_create()
48 variable_type = glsl_array_type(type, array_length, glsl_get_explicit_stride(type)); in rq_variable_create()
76 if (var->array_length == 1) in rq_load_var()
86 if (var->array_length == 1) { in rq_store_var()
102 if (var->array_length == 1) in rq_load_array()
115 if (var->array_length == 1) { in rq_store_array()
172 init_ray_query_traversal_vars(nir_shader *shader, nir_function_impl *impl, unsigned array_length, in init_ray_query_traversal_vars() argument
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c504 ecma_typedarray_create_object_with_length (ecma_length_t array_length, /**< length of the typedarra… in ecma_typedarray_create_object_with_length() argument
510 if (array_length > (UINT32_MAX >> element_size_shift)) in ecma_typedarray_create_object_with_length()
515 ecma_length_t byte_length = array_length << element_size_shift; in ecma_typedarray_create_object_with_length()
584 … ecma_length_t array_length, /**< length of the typedarray */ in ecma_typedarray_create_object_with_buffer() argument
595 bool needs_ext_typedarray_obj = (byte_offset != 0 || array_length != expected_length); in ecma_typedarray_create_object_with_buffer()
613 typedarray_info_p->array_length = array_length; in ecma_typedarray_create_object_with_buffer()
634 ecma_length_t array_length = ecma_typedarray_get_length (typedarray_p); in ecma_typedarray_create_object_with_typedarray() local
641 ecma_value_t new_typedarray = ecma_typedarray_create_object_with_length (array_length, in ecma_typedarray_create_object_with_typedarray()
665 memcpy (dst_buf_p, src_buf_p, array_length << element_size_shift); in ecma_typedarray_create_object_with_typedarray()
674 for (uint32_t i = 0; i < array_length; i++) in ecma_typedarray_create_object_with_typedarray()
[all …]
Decma-typedarray-object.h69 ecma_length_t array_length);
71 ecma_value_t ecma_typedarray_create_object_with_length (ecma_length_t array_length,
Decma-regexp-object.c2135 ecma_length_t array_length = 0; in ecma_regexp_split_helper() local
2150 array_length, in ecma_regexp_split_helper()
2230 array_length++, in ecma_regexp_split_helper()
2237 if (array_length == limit) in ecma_regexp_split_helper()
2274 array_length++, in ecma_regexp_split_helper()
2281 if (array_length == limit) in ecma_regexp_split_helper()
2297 array_length++, in ecma_regexp_split_helper()
2345 ecma_length_t array_length = 0; in ecma_regexp_split_helper()
2386 array_length, in ecma_regexp_split_helper()
2419 array_length++, in ecma_regexp_split_helper()
[all …]
/third_party/mindspore/patches/
D0024-js-info2-bugfix.patch72 uint32_t array_length = 0;
73 status = napi_get_array_length(env, item, &array_length);
74 if (status != napi_ok || array_length <= 0) {
79 MS_LOG(DEBUG) << "GetPropertyInt32Array array_length: " << array_length;
261 uint32_t array_length = 0;
262 status = napi_get_array_length(env, argv[PARAM0], &array_length);
263 if (status != napi_ok || array_length <= 0) {
268 if (inputs.size() != array_length) {
297 uint32_t array_length = 0;
298 napi_status status = napi_get_array_length(env, argv, &array_length);
[all …]
D0008-add-js-api.patch968 + uint32_t array_length = 0;
969 + status = napi_get_array_length(env, item, &array_length);
970 + if (status != napi_ok || array_length <= 0) {
974 + MS_LOG(DEBUG) << "GetPropertyInt32Array array_length: " << array_length;
976 + for (size_t i = 0; i < array_length; i++) {
1011 + uint32_t array_length = 0;
1012 + status = napi_get_array_length(env, item, &array_length);
1013 + if (status != napi_ok || array_length <= 0) {
1018 + for (size_t i = 0; i < array_length; i++) {
1832 + uint32_t array_length = 0;
[all …]
D0020-add-ohos-js-callback-api-and-bugfix.patch831 uint32_t array_length = 0;
832 status = napi_get_array_length(env, item, &array_length);
833 if (status != napi_ok || array_length <= 0) {
838 MS_LOG(DEBUG) << "GetPropertyInt32Array array_length: " << array_length;
840 for (size_t i = 0; i < array_length; i++) {
872 uint32_t array_length = 0;
873 status = napi_get_array_length(env, item, &array_length);
874 if (status != napi_ok || array_length <= 0) {
/third_party/jerryscript/jerry-ext/handler/
Dhandler-assert.c56 uint32_t array_length = jerry_get_array_length (backtrace_array); in jerryx_handler_assert_fatal() local
58 for (uint32_t idx = 0; idx < array_length; idx++) in jerryx_handler_assert_fatal()
/third_party/node/test/js-native-api/test_array/
Dtest_array.c163 int32_t array_length; in NewWithLength() local
164 NAPI_CALL(env, napi_get_value_int32(env, args[0], &array_length)); in NewWithLength()
167 NAPI_CALL(env, napi_create_array_with_length(env, array_length, &ret)); in NewWithLength()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-prototype.c823 ecma_length_t array_length = 0; in ecma_builtin_string_prototype_object_split() local
829 array_length, in ecma_builtin_string_prototype_object_split()
842 array_length, in ecma_builtin_string_prototype_object_split()
880 array_length++, in ecma_builtin_string_prototype_object_split()
886 if (array_length >= limit) in ecma_builtin_string_prototype_object_split()
902 array_length, in ecma_builtin_string_prototype_object_split()
Decma-builtin-json.c1030 uint32_t array_length; in ecma_builtin_json_serialize_array() local
1035 ecma_value_t length_value = ecma_op_object_get_length (obj_p, &array_length); in ecma_builtin_json_serialize_array()
1045 array_length = ((ecma_extended_object_t *) obj_p)->u.array.length; in ecma_builtin_json_serialize_array()
1054 for (uint32_t index = 0; index < array_length; index++) in ecma_builtin_json_serialize_array()
1410 uint32_t array_length = array_object_p->u.array.length; in ecma_builtin_json_stringify() local
1414 while (index < array_length) in ecma_builtin_json_stringify()
/third_party/mesa3d/src/intel/vulkan/
Danv_batch_chain.c69 list->array_length = other_list->array_length; in anv_reloc_list_init_clone()
73 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
79 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
87 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
89 list->array_length * sizeof(*list->reloc_bos)); in anv_reloc_list_init_clone()
124 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow()
127 size_t new_length = MAX2(16, list->array_length * 2); in anv_reloc_list_grow()
147 list->array_length = new_length; in anv_reloc_list_grow()
1192 uint32_t array_length; member
1280 if (exec->bo_count >= exec->array_length) { in anv_execbuf_add_bo()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/third_party/spirv-tools/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
Dinterface_var_sroa.cpp781 uint32_t elem_type_id, uint32_t array_length) { in GetArrayType() argument
784 context()->get_constant_mgr()->GetUIntConst(array_length); in GetArrayType()
787 analysis::Array::LengthInfo{array_length_id, {0, array_length}}); in GetArrayType()
805 uint32_t array_length = GetArrayLength(def_use_mgr, interface_var_type); in CreateScalarInterfaceVarsForArray() local
809 while (array_length > 0) { in CreateScalarInterfaceVarsForArray()
814 --array_length; in CreateScalarInterfaceVarsForArray()
Dinterface_var_sroa.h344 uint32_t GetArrayType(uint32_t elem_type_id, uint32_t array_length);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/third_party/mesa3d/docs/drivers/
Danv.rst201 <b0> binding 0\n STORAGE_IMAGE \n (array_length=3) | \
202 <b1> binding 1\n COMBINED_IMAGE_SAMPLER \n (array_length=2) | \
203 <b2> binding 2\n UNIFORM_BUFFER \n (array_length=1) | \
204 <b3> binding 3\n UNIFORM_TEXEL_BUFFER \n (array_length=1)"];
/third_party/skia/third_party/externals/tint/src/transform/
Darray_length_from_uniform.cc194 auto* array_length = in Run() local
198 ctx.Replace(call_expr, array_length); in Run()
Dcalculate_array_length.cc183 auto array_length = utils::GetOrCreate( in Run() local
231 ctx.Replace(call_expr, ctx.dst->Expr(array_length)); in Run()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp170 uint32_t array_length = in FindComponentsToConstructArray() local
177 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp170 uint32_t array_length = in FindComponentsToConstructArray() local
177 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp170 uint32_t array_length = in FindComponentsToConstructArray() local
177 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/third_party/node/src/
Dnode_process_methods.cc93 size_t array_length) { in get_fields_array_buffer() argument
96 CHECK_EQ(arr->Length(), array_length); in get_fields_array_buffer()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp5134 …Location(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length, bool ignore_pr… in getLastInputLocation() argument
5170 if (0 == array_length) in getLastInputLocation()
5172 array_length += 1; in getLastInputLocation()
5200 const GLuint n_req_location = type.GetLocations(stage == Utils::Shader::VERTEX) * array_length; in getLastInputLocation()
5213 …Location(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length, bool ignore_ne… in getLastOutputLocation() argument
5244 if (0 == array_length) in getLastOutputLocation()
5246 array_length += 1; in getLastOutputLocation()
5275 const GLuint n_req_location = type.GetLocations() * array_length; in getLastOutputLocation()
6845 const GLuint array_length = std::max(1u, variable.m_descriptor.m_n_array_elements); in test() local
6846 for (GLuint loc = 0; loc < array_length; loc++) in test()
[all …]

123