Home
last modified time | relevance | path

Searched refs:vec (Results 1 - 25 of 1601) sorted by relevance

12345678910>>...65

/third_party/skia/third_party/externals/spirv-tools/test/util/
H A Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
30 EXPECT_TRUE(vec.empty()); in TEST()
31 EXPECT_EQ(vec.size(), 0); in TEST()
32 EXPECT_EQ(vec.begin(), vec.end()); in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
38 EXPECT_FALSE(vec.empty()); in TEST()
39 EXPECT_EQ(vec.size(), 4); in TEST()
42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST()
43 EXPECT_EQ(vec[ in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
168 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
181 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
194 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
208 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
222 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
241 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
260 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
271 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
281 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
291 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
302 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
313 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
323 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
333 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
343 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
353 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
363 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
373 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
383 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
393 SmallVector<uint32_t, 2> vec; TEST() local
409 SmallVector<uint32_t, 2> vec; TEST() local
425 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
435 SmallVector<uint32_t, 2> vec = {}; TEST() local
448 SmallVector<uint32_t, 2> vec = {}; TEST() local
461 SmallVector<uint32_t, 2> vec = {0}; TEST() local
474 SmallVector<uint32_t, 6> vec = {0}; TEST() local
487 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
499 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
511 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
524 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
537 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
547 SmallVector<uint32_t, 8> vec = {0, 1, 2}; TEST() local
557 SmallVector<uint32_t, 4> vec = {0, 1, 2}; TEST() local
567 SmallVector<uint32_t, 4> vec = {0, 1, 2, 10, 10, 10}; TEST() local
577 SmallVector<uint32_t, 2> vec = {0, 1, 2, 10, 10, 10}; TEST() local
587 SmallVector<uint32_t, 8> vec = {0, 1, 2, 10, 10, 10}; TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/
H A Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
30 EXPECT_TRUE(vec.empty()); in TEST()
31 EXPECT_EQ(vec.size(), 0); in TEST()
32 EXPECT_EQ(vec.begin(), vec.end()); in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
38 EXPECT_FALSE(vec.empty()); in TEST()
39 EXPECT_EQ(vec.size(), 4); in TEST()
42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST()
43 EXPECT_EQ(vec[ in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
168 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
181 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
194 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
208 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
222 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
241 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
260 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
271 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
281 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
291 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
302 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
313 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
323 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
333 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
343 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
353 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
363 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
373 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
383 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
393 SmallVector<uint32_t, 2> vec; TEST() local
409 SmallVector<uint32_t, 2> vec; TEST() local
425 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
435 SmallVector<uint32_t, 2> vec = {}; TEST() local
448 SmallVector<uint32_t, 2> vec = {}; TEST() local
461 SmallVector<uint32_t, 2> vec = {0}; TEST() local
474 SmallVector<uint32_t, 6> vec = {0}; TEST() local
487 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
499 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
511 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
524 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
537 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
547 SmallVector<uint32_t, 8> vec = {0, 1, 2}; TEST() local
557 SmallVector<uint32_t, 4> vec = {0, 1, 2}; TEST() local
567 SmallVector<uint32_t, 4> vec = {0, 1, 2, 10, 10, 10}; TEST() local
577 SmallVector<uint32_t, 2> vec = {0, 1, 2, 10, 10, 10}; TEST() local
587 SmallVector<uint32_t, 8> vec = {0, 1, 2, 10, 10, 10}; TEST() local
[all...]
/third_party/spirv-tools/test/util/
H A Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
30 EXPECT_TRUE(vec.empty()); in TEST()
31 EXPECT_EQ(vec.size(), 0); in TEST()
32 EXPECT_EQ(vec.begin(), vec.end()); in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
38 EXPECT_FALSE(vec.empty()); in TEST()
39 EXPECT_EQ(vec.size(), 4); in TEST()
42 for (uint32_t i = 0; i < vec.size(); ++i) { in TEST()
43 EXPECT_EQ(vec[ in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
180 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
193 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
206 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
220 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
234 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
253 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
272 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
283 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
293 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
303 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
314 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
325 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
335 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
345 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
355 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
365 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
375 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
385 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; TEST() local
395 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
405 SmallVector<uint32_t, 2> vec; TEST() local
421 SmallVector<uint32_t, 2> vec; TEST() local
437 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; TEST() local
447 SmallVector<uint32_t, 2> vec = {}; TEST() local
460 SmallVector<uint32_t, 2> vec = {}; TEST() local
473 SmallVector<uint32_t, 2> vec = {0}; TEST() local
486 SmallVector<uint32_t, 6> vec = {0}; TEST() local
499 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
511 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
523 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
536 SmallVector<uint32_t, 6> vec = {0, 1, 2}; TEST() local
549 SmallVector<uint32_t, 2> vec = {0, 1, 2}; TEST() local
559 SmallVector<uint32_t, 8> vec = {0, 1, 2}; TEST() local
569 SmallVector<uint32_t, 4> vec = {0, 1, 2}; TEST() local
579 SmallVector<uint32_t, 4> vec = {0, 1, 2, 10, 10, 10}; TEST() local
589 SmallVector<uint32_t, 2> vec = {0, 1, 2, 10, 10, 10}; TEST() local
599 SmallVector<uint32_t, 8> vec = {0, 1, 2, 10, 10, 10}; TEST() local
609 SmallVector<uint32_t, 8> vec = {0, 1, 2, 10, 10, 10}; TEST() local
641 SmallVector<TracksDtor, capacity> vec; TEST() local
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A Dvector_utils_unittest.cpp40 Vector2 vec(1.0, 2.0); in TEST()
41 ASSERT_EQ(1.0, vec[0]); in TEST()
42 ASSERT_EQ(2.0, vec[1]); in TEST()
44 vec[0] = 3.0; in TEST()
45 vec[1] = 4.0; in TEST()
46 ASSERT_EQ(Vector2(3.0, 4.0), vec); in TEST()
54 Vector2 vec(3.0); in TEST()
55 ASSERT_EQ(3.0, vec[0]); in TEST()
56 ASSERT_EQ(3.0, vec[1]); in TEST()
61 Vector2 vec(Vector in TEST()
96 Vector2 vec = Vector2::Load(data); TEST() local
[all...]
H A DFixedVector_unittest.cpp53 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
54 EXPECT_EQ(0, vec.at(0)); in TEST()
55 EXPECT_EQ(vec[0], vec.at(0)); in TEST()
61 FixedVector<int, 5> vec; in TEST() local
62 vec.push_back(1); in TEST()
63 EXPECT_EQ(1, vec[0]); in TEST()
64 vec.push_back(1); in TEST()
65 vec.push_back(1); in TEST()
66 vec in TEST()
74 FixedVector<int, 5> vec; TEST() local
84 FixedVector<int, 5> vec; TEST() local
93 FixedVector<int, 5> vec; TEST() local
106 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; TEST() local
114 FixedVector<int, 5> vec; TEST() local
126 FixedVector<int, 5> vec = {0, 1, 2, 3}; TEST() local
140 FixedVector<int, 2> vec; TEST() local
[all...]
H A DFastVector_unittest.cpp76 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
79 EXPECT_EQ(i, vec.at(i)); in TEST()
80 EXPECT_EQ(vec[i], vec.at(i)); in TEST()
87 FastVector<int, 5> vec; in TEST() local
88 vec.push_back(1); in TEST()
89 EXPECT_EQ(1, vec[0]); in TEST()
90 vec.push_back(1); in TEST()
91 vec.push_back(1); in TEST()
92 vec in TEST()
101 FastVector<size_t, kSize> vec; TEST() local
122 FastVector<int, 5> vec; TEST() local
132 FastVector<int, 5> vec; TEST() local
141 FastVector<int, 5> vec; TEST() local
150 FastVector<int, 5> vec; TEST() local
162 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; TEST() local
170 FastVector<int, 3> vec = {0, 1, 2, 3, 4}; TEST() local
178 FastVector<int, 5> vec; TEST() local
214 FastVector<int, 5> vec = {0, 1, 2, 3}; TEST() local
251 FastVector<s, 3> vec; TEST() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DITypVectorTests.cpp32 Vector vec; in TEST_F() local
33 ASSERT_EQ(vec.size(), Key(0)); in TEST_F()
38 Vector vec(Key(10)); in TEST_F()
39 ASSERT_EQ(vec.size(), Key(10)); in TEST_F()
42 ASSERT_EQ(vec[i], Val(0)); in TEST_F()
48 Vector vec(Key(10), Val(7)); in TEST_F()
49 ASSERT_EQ(vec.size(), Key(10)); in TEST_F()
52 ASSERT_EQ(vec[i], Val(7)); in TEST_F()
58 Vector vec = {Val(2), Val(8), Val(1)}; in TEST_F() local
59 ASSERT_EQ(vec in TEST_F()
88 Vector vec = rhs; TEST_F() local
120 Vector vec = std::move(rhs); TEST_F() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_exception_safety_test.cc124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants() argument
125 if (*vec != *vec) return false; in InlinedVectorInvariants()
126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants()
127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants()
128 if (vec->capacity() > vec->max_size()) return false; in InlinedVectorInvariants()
129 if (vec in InlinedVectorInvariants()
[all...]
H A Dinlined_vector_benchmark.cc245 VecType vec; in BM_Sizeof() local
246 size = sizeof(vec); in BM_Sizeof()
455 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->~VecT(); }, in BM_ConstructFromSize()
472 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->~VecT(); }, in BM_ConstructFromSizeRef()
489 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->~VecT(); }, in BM_ConstructFromRange()
506 [](InlVec<T>* vec, size_t) { vec in BM_ConstructFromCopy()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_collection_ffi.cpp36 void FFICJCommonVector##cjType##Delete(Vector##cjType##Handle vec) \
38 auto actualVec = reinterpret_cast<std::vector<cType>*>(vec); \
42 int64_t FFICJCommonVector##cjType##GetSize(Vector##cjType##Handle vec) \
44 auto actualVec = reinterpret_cast<std::vector<cType>*>(vec); \
61 void FFICJCommonVectorStringSetElement(VectorStringHandle vec, int64_t index, const char* value) in FFICJCommonVectorStringSetElement() argument
63 auto actualVec = reinterpret_cast<std::vector<std::string>*>(vec); in FFICJCommonVectorStringSetElement()
68 const char* FFICJCommonVectorStringGetElement(VectorStringHandle vec, int64_t index) in FFICJCommonVectorStringGetElement() argument
70 auto actualVec = reinterpret_cast<std::vector<std::string>*>(vec); in FFICJCommonVectorStringGetElement()
75 void FFICJCommonVectorInt32SetElement(VectorInt32Handle vec, int64_t index, int32_t value) in FFICJCommonVectorInt32SetElement() argument
77 auto actualVec = reinterpret_cast<std::vector<int32_t>*>(vec); in FFICJCommonVectorInt32SetElement()
81 FFICJCommonVectorInt32GetElement(VectorInt32Handle vec, int64_t index) FFICJCommonVectorInt32GetElement() argument
88 FFICJCommonVectorInt64SetElement(VectorInt64Handle vec, int64_t index, int64_t value) FFICJCommonVectorInt64SetElement() argument
94 FFICJCommonVectorInt64GetElement(VectorInt64Handle vec, int64_t index) FFICJCommonVectorInt64GetElement() argument
101 FFICJCommonVectorUInt8SetElement(VectorUInt8Handle vec, int64_t index, uint8_t value) FFICJCommonVectorUInt8SetElement() argument
107 FFICJCommonVectorUInt8GetElement(VectorUInt8Handle vec, int64_t index) FFICJCommonVectorUInt8GetElement() argument
114 FFICJCommonVectorUInt32SetElement(VectorUInt32Handle vec, int64_t index, uint32_t value) FFICJCommonVectorUInt32SetElement() argument
120 FFICJCommonVectorUInt32GetElement(VectorUInt32Handle vec, int64_t index) FFICJCommonVectorUInt32GetElement() argument
127 FFICJCommonVectorFloat32SetElement(VectorFloat32Handle vec, int64_t index, float value) FFICJCommonVectorFloat32SetElement() argument
133 FFICJCommonVectorFloat32GetElement(VectorFloat32Handle vec, int64_t index) FFICJCommonVectorFloat32GetElement() argument
140 FFICJCommonVectorFloat64SetElement(VectorFloat64Handle vec, int64_t index, double value) FFICJCommonVectorFloat64SetElement() argument
146 FFICJCommonVectorFloat64GetElement(VectorFloat64Handle vec, int64_t index) FFICJCommonVectorFloat64GetElement() argument
153 FFICJCommonVectorBoolSetElement(VectorBoolHandle vec, int64_t index, bool value) FFICJCommonVectorBoolSetElement() argument
159 FFICJCommonVectorBoolGetElement(VectorBoolHandle vec, int64_t index) FFICJCommonVectorBoolGetElement() argument
166 FFICJCommonVectorNavigationItemSetElement(VectorNavigationItemHandle vec, int64_t index, NavigationItemFFI value) FFICJCommonVectorNavigationItemSetElement() argument
172 FFICJCommonVectorNavigationItemGetElement(VectorNavigationItemHandle vec, int64_t index) FFICJCommonVectorNavigationItemGetElement() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Dframe_vector.c16 * @vec: structure which receives pages / pfns of the addresses mapped.
19 * This function maps virtual addresses from @start and fills @vec structure
39 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames()
49 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
50 nr_frames = vec->nr_allocated; in get_vaddr_frames()
76 vec->got_ref = true; in get_vaddr_frames()
77 vec->is_pfns = false; in get_vaddr_frames()
79 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
84 vec->nr_frames = 0; in get_vaddr_frames()
92 vec in get_vaddr_frames()
38 get_vaddr_frames(unsigned long start, unsigned int nr_frames, unsigned int gup_flags, struct frame_vector *vec) get_vaddr_frames() argument
106 put_vaddr_frames(struct frame_vector *vec) put_vaddr_frames() argument
136 frame_vector_to_pages(struct frame_vector *vec) frame_vector_to_pages() argument
162 frame_vector_to_pfns(struct frame_vector *vec) frame_vector_to_pfns() argument
187 struct frame_vector *vec; frame_vector_create() local
217 frame_vector_destroy(struct frame_vector *vec) frame_vector_destroy() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/
H A Dframe_vector.c18 * @vec: structure which receives pages / pfns of the addresses mapped.
21 * This function maps virtual addresses from @start and fills @vec structure
41 struct frame_vector *vec) in get_vaddr_frames()
49 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
50 nr_frames = vec->nr_allocated; in get_vaddr_frames()
58 (struct page **)(vec->ptrs)); in get_vaddr_frames()
59 vec->got_ref = true; in get_vaddr_frames()
60 vec->is_pfns = false; in get_vaddr_frames()
61 vec->nr_frames = ret; in get_vaddr_frames()
66 vec in get_vaddr_frames()
40 get_vaddr_frames(unsigned long start, unsigned int nr_frames, bool write, struct frame_vector *vec) get_vaddr_frames() argument
80 put_vaddr_frames(struct frame_vector *vec) put_vaddr_frames() argument
110 frame_vector_to_pages(struct frame_vector *vec) frame_vector_to_pages() argument
136 frame_vector_to_pfns(struct frame_vector *vec) frame_vector_to_pfns() argument
161 struct frame_vector *vec; frame_vector_create() local
191 frame_vector_destroy(struct frame_vector *vec) frame_vector_destroy() argument
[all...]
/foundation/multimodalinput/input/service/rust/src/
H A Dlib.rs111 data: vec![
113 speeds: vec![8.0, 32.0, 128.0],
114 slopes: vec![0.16, 0.30, 0.56],
115 diff_nums: vec![0.0, -1.12, -9.44],
118 speeds: vec![8.0, 32.0, 128.0],
119 slopes: vec![0.32, 0.60, 1.12],
120 diff_nums: vec![0.0, -2.24, -18.88],
123 speeds: vec![8.0, 32.0, 128.0],
124 slopes: vec![0.64, 1.2, 2.24],
125 diff_nums: vec![0.
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_vec_to_movs.c55 * the vec instruction, insert a MOV to the vec instruction's dest of all the
62 insert_mov(nir_alu_instr *vec, unsigned start_idx, nir_shader *shader) in insert_mov() argument
64 assert(start_idx < nir_op_infos[vec->op].num_inputs); in insert_mov()
67 if (nir_src_is_undef(vec->src[start_idx].src)) in insert_mov()
71 nir_alu_src_copy(&mov->src[0], &vec->src[start_idx]); in insert_mov()
72 nir_alu_dest_copy(&mov->dest, &vec->dest); in insert_mov()
75 mov->src[0].swizzle[start_idx] = vec->src[start_idx].swizzle[0]; in insert_mov()
76 mov->src[0].negate = vec->src[start_idx].negate; in insert_mov()
77 mov->src[0].abs = vec in insert_mov()
131 try_coalesce(nir_alu_instr *vec, unsigned start_idx, void *_data) try_coalesce() argument
[all...]
/third_party/rust/crates/glob/tests/
H A Dglob-std.rs84 vec!( in main()
97 vec!( in main()
109 vec!( in main()
129 vec!( in main()
143 vec!( in main()
153 vec!( in main()
162 vec!( in main()
169 assert_eq!(glob_vec("."), vec!(PathBuf::from("."))); in main()
170 assert_eq!(glob_vec(".."), vec!(PathBuf::from(".."))); in main()
172 assert_eq!(glob_vec("aaa"), vec!(PathBu in main()
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Dutf8.rs21 let m = Positional::try_parse_from(vec![OsString::from(""), OsString::from_vec(vec![0xe9])]); in invalid_utf8_strict_positional()
28 let m = Named::try_parse_from(vec![ in invalid_utf8_strict_option_short_space()
31 OsString::from_vec(vec![0xe9]), in invalid_utf8_strict_option_short_space()
39 let m = Named::try_parse_from(vec![ in invalid_utf8_strict_option_short_equals()
41 OsString::from_vec(vec![0x2d, 0x61, 0x3d, 0xe9]), in invalid_utf8_strict_option_short_equals()
49 let m = Named::try_parse_from(vec![ in invalid_utf8_strict_option_short_no_space()
51 OsString::from_vec(vec![0x2d, 0x61, 0xe9]), in invalid_utf8_strict_option_short_no_space()
59 let m = Named::try_parse_from(vec![ in invalid_utf8_strict_option_long_space()
62 OsString::from_vec(vec![ in invalid_utf8_strict_option_long_space()
[all...]
H A Ddefault_value.rs53 #[arg(default_values_t = vec![1, 2, 3])] in default_values_t()
65 #[arg(long, default_values_t = vec!["hello".to_string(), "world".to_string()])] in default_values_t()
68 #[arg(long, default_values_t = &vec!["foo".to_string(), "bar".to_string()])] in default_values_t()
73 arg1: vec![1, 2, 3], in default_values_t()
74 arg2: vec![4, 5, 6], in default_values_t()
75 arg3: vec![7, 8, 9], in default_values_t()
76 arg4: vec![10, 11, 12], in default_values_t()
77 arg5: vec!["hello".to_string(), "world".to_string()], in default_values_t()
78 arg6: vec!["foo".to_string(), "bar".to_string()], in default_values_t()
84 arg1: vec![ in default_values_t()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSpecConstantUtil.hpp61 std::vector<T> vec; in makeVector() local
62 vec.reserve(1); in makeVector()
63 vec.push_back(o1); in makeVector()
64 return vec; in makeVector()
70 std::vector<T> vec; in makeVector() local
71 vec.reserve(2); in makeVector()
72 vec.push_back(o1); in makeVector()
73 vec.push_back(o2); in makeVector()
74 return vec; in makeVector()
80 std::vector<T> vec; in makeVector() local
91 std::vector<T> vec; makeVector() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSpecConstantUtil.hpp61 std::vector<T> vec; in makeVector() local
62 vec.reserve(1); in makeVector()
63 vec.push_back(o1); in makeVector()
64 return vec; in makeVector()
70 std::vector<T> vec; in makeVector() local
71 vec.reserve(2); in makeVector()
72 vec.push_back(o1); in makeVector()
73 vec.push_back(o2); in makeVector()
74 return vec; in makeVector()
80 std::vector<T> vec; in makeVector() local
91 std::vector<T> vec; makeVector() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dbasic_rust_types.rs93 let vec = match typ {
94 OhCloudExtRustType::I32 => VectorCffi::I32(vec![]),
95 OhCloudExtRustType::U32 => VectorCffi::U32(vec![]),
96 OhCloudExtRustType::STRING => VectorCffi::String(vec![]),
97 OhCloudExtRustType::VALUE => VectorCffi::Value(vec![]),
98 OhCloudExtRustType::VALUE_BUCKET => VectorCffi::ValueBucket(vec![]),
99 OhCloudExtRustType::DATABASE => VectorCffi::Database(vec![]),
100 OhCloudExtRustType::TABLE => VectorCffi::Table(vec![]),
101 OhCloudExtRustType::FIELD => VectorCffi::Field(vec![]),
102 OhCloudExtRustType::RELATION_SET => VectorCffi::RelationSet(vec![]),
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_vec.c173 #define VEC_READ(offset) readl(vec->regs + (offset))
174 #define VEC_WRITE(offset, val) writel(val, vec->regs + (offset))
179 struct vc4_vec *vec; member
191 struct vc4_vec *vec; member
215 void (*mode_set)(struct vc4_vec *vec);
245 static void vc4_vec_ntsc_mode_set(struct vc4_vec *vec) in vc4_vec_ntsc_mode_set() argument
251 static void vc4_vec_ntsc_j_mode_set(struct vc4_vec *vec) in vc4_vec_ntsc_j_mode_set() argument
264 static void vc4_vec_pal_mode_set(struct vc4_vec *vec) in vc4_vec_pal_mode_set() argument
270 static void vc4_vec_pal_m_mode_set(struct vc4_vec *vec) in vc4_vec_pal_m_mode_set() argument
348 struct vc4_vec *vec) in vc4_vec_connector_init()
347 vc4_vec_connector_init(struct drm_device *dev, struct vc4_vec *vec) vc4_vec_connector_init() argument
381 struct vc4_vec *vec = vc4_vec_encoder->vec; vc4_vec_encoder_disable() local
403 struct vc4_vec *vec = vc4_vec_encoder->vec; vc4_vec_encoder_enable() local
482 struct vc4_vec *vec = vc4_vec_encoder->vec; vc4_vec_encoder_atomic_mode_set() local
527 struct vc4_vec *vec; vc4_vec_bind() local
595 struct vc4_vec *vec = dev_get_drvdata(dev); vc4_vec_unbind() local
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dfttrigon.c133 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm()
139 x = vec->x; in ft_trig_prenorm()
140 y = vec->y; in ft_trig_prenorm()
147 vec->x = (FT_Pos)( (FT_ULong)x << shift ); in ft_trig_prenorm()
148 vec->y = (FT_Pos)( (FT_ULong)y << shift ); in ft_trig_prenorm()
153 vec->x = x >> shift; in ft_trig_prenorm()
154 vec->y = y >> shift; in ft_trig_prenorm()
163 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate() argument
171 x = vec->x; in ft_trig_pseudo_rotate()
172 y = vec in ft_trig_pseudo_rotate()
360 FT_Vector_Unit( FT_Vector* vec, FT_Angle angle ) FT_Vector_Unit() argument
377 FT_Vector_Rotate( FT_Vector* vec, FT_Angle angle ) FT_Vector_Rotate() argument
454 FT_Vector_Polarize( FT_Vector* vec, FT_Fixed *length, FT_Angle *angle ) FT_Vector_Polarize() argument
484 FT_Vector_From_Polar( FT_Vector* vec, FT_Fixed length, FT_Angle angle ) FT_Vector_From_Polar() argument
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dframe_vector.h17 void frame_vector_destroy(struct frame_vector *vec);
19 bool write, struct frame_vector *vec);
20 void put_vaddr_frames(struct frame_vector *vec);
21 int frame_vector_to_pages(struct frame_vector *vec);
22 void frame_vector_to_pfns(struct frame_vector *vec);
24 static inline unsigned int frame_vector_count(struct frame_vector *vec) in frame_vector_count() argument
26 return vec->nr_frames; in frame_vector_count()
29 static inline struct page **frame_vector_pages(struct frame_vector *vec) in frame_vector_pages() argument
31 if (vec->is_pfns) { in frame_vector_pages()
32 int err = frame_vector_to_pages(vec); in frame_vector_pages()
40 frame_vector_pfns(struct frame_vector *vec) frame_vector_pfns() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/accessibility/
H A Daccessibility_node_test_ng.cpp139 std::vector<std::pair<std::string, std::string>> vec; in HWTEST_F() local
140 vec.emplace_back(std::make_pair(VALUE, "ACCESSIBILITY_VALUE")); in HWTEST_F()
141 vec.emplace_back(std::make_pair(DISABLED, "ACCESSIBILITY_DISABLED")); in HWTEST_F()
142 vec.emplace_back(std::make_pair(TYPE, "ACCESSIBILITY_TYPE")); in HWTEST_F()
143 vec.emplace_back(std::make_pair(GROUP, "ACCESSIBILITY_GROUP")); in HWTEST_F()
144 vec.emplace_back(std::make_pair(ACCESS_TEXT, "ACCESSIBILITY_TEXT")); in HWTEST_F()
145 vec.emplace_back(std::make_pair(DESCRIPTION, "ACCESSIBILITY_DESCRIPTION")); in HWTEST_F()
146 vec.emplace_back(std::make_pair(IMPORTANCE, "ACCESSIBILITY_IMPORTANCE")); in HWTEST_F()
147 vec.emplace_back(std::make_pair(ID, "ID")); in HWTEST_F()
148 vec in HWTEST_F()
176 std::vector<std::string> vec; HWTEST_F() local
242 std::vector<std::pair<std::string, std::string>> vec; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
H A Dmincore_selftest.c35 unsigned char vec[1]; in TEST() local
41 retval = mincore(0, 0, vec); in TEST()
46 retval = mincore(NULL, page_size, vec); in TEST()
59 retval = mincore(addr + 1, page_size, vec); in TEST()
65 retval = mincore(addr, -1, vec); in TEST()
69 /* <vec> argument points to an illegal address */ in TEST()
86 unsigned char vec[1]; in TEST() local
100 retval = mincore(addr, page_size, vec); in TEST()
102 ASSERT_EQ(0, vec[0]) { in TEST()
109 retval = mincore(addr, page_size, vec); in TEST()
142 unsigned char vec[1]; TEST() local
190 unsigned char *vec; TEST() local
295 unsigned char *vec; TEST() local
[all...]

Completed in 13 milliseconds

12345678910>>...65