Home
last modified time | relevance | path

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

123

/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/boost/boost/range/detail/
Dcollection_traits_detail.hpp206 struct array_length struct
234 struct array_length struct
261 struct array_length struct
314 BOOST_NESTED_TEMPLATE array_length<traits_type> array_length_type;
/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/mindspore/mindspore/numpy/
Darray_creations.py2235 idx, array_length, times_to_pad_before, additional_pad_before, reflect_type = pad_args
2246 endpoint = array_length
2261 idx, array_length, times_to_pad_after, additional_pad_after, reflect_type = pad_args
2272 startpoint = arr.shape[idx] - array_length
2288 array_length = arr.shape[i]
2293 times_to_pad_before = pad_width[i][0] // array_length + 1
2294 additional_pad_before = pad_width[i][0] % array_length
2295 times_to_pad_after = pad_width[i][1] // array_length + 1
2296 additional_pad_after = pad_width[i][1] % array_length
2299 pad_args = (i, array_length, times_to_pad_before, additional_pad_before, reflect_type)
[all …]
/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/mesa3d/src/intel/vulkan/
Danv_batch_chain.c66 list->array_length = other_list->array_length; in anv_reloc_list_init_clone()
70 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
76 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
84 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
86 list->array_length * sizeof(*list->reloc_bos)); in anv_reloc_list_init_clone()
121 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow()
124 size_t new_length = MAX2(16, list->array_length * 2); in anv_reloc_list_grow()
144 list->array_length = new_length; in anv_reloc_list_grow()
1181 uint32_t array_length; member
1258 if (exec->bo_count >= exec->array_length) { in anv_execbuf_add_bo()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_array_merge.cpp212 if (a->array_length() < b->array_length()) in merge()
220 if (a->array_length() < b->array_length()) in interleave()
Dst_glsl_to_tgsi_array_merge.h63 unsigned array_length() const { return length;} in array_length() function
/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/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/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/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/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/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/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/spirv-tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp169 uint32_t array_length = in FindComponentsToConstructArray() local
176 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/third_party/mesa3d/src/mesa/state_tracker/tests/
Dtest_glsl_to_tgsi_array_merge.cpp116 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
147 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
179 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
222 EXPECT_EQ(a2.array_length(), 9u); in TEST_F()
238 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.h236 unsigned array_length() const { return length;} in array_length() function
/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/grpc/src/ruby/ext/grpc/
Drb_call.c398 long array_length; in grpc_rb_md_ary_fill_hash_cb() local
427 array_length = RARRAY_LEN(val); in grpc_rb_md_ary_fill_hash_cb()
429 for (i = 0; i < array_length; i++) { in grpc_rb_md_ary_fill_hash_cb()
/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