Home
last modified time | relevance | path

Searched defs:vec (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/angle2/src/common/
Dvector_utils_unittest.cpp40 Vector2 vec(1.0, 2.0); in TEST() local
54 Vector2 vec(3.0); in TEST() local
61 Vector2 vec(Vector2(1.0, 2.0)); in TEST() local
68 Vector4 vec(1.0, Vector2(2.0, 3.0), 4.0); in TEST() local
79 Vector2 vec(1.0, 2.0); in TEST() local
96 Vector2 vec = Vector2::Load(data); in TEST() local
127 Vector2 vec(1.0, 2.0); in TEST() local
132 Vector2 vec(1.0, 2.0); in TEST() local
137 Vector2 vec(1.0, 2.0); in TEST() local
142 Vector2 vec(3.0, 4.0); in TEST() local
[all …]
DFixedVector_unittest.cpp53 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
61 FixedVector<int, 5> vec; in TEST() local
74 FixedVector<int, 5> vec; in TEST() local
84 FixedVector<int, 5> vec; in TEST() local
93 FixedVector<int, 5> vec; in TEST() local
106 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
114 FixedVector<int, 5> vec; in TEST() local
126 FixedVector<int, 5> vec = {0, 1, 2, 3}; in TEST() local
140 FixedVector<int, 2> vec; in TEST() local
DFastVector_unittest.cpp76 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
87 FastVector<int, 5> vec; in TEST() local
101 FastVector<size_t, kSize> vec; in TEST() local
122 FastVector<int, 5> vec; in TEST() local
132 FastVector<int, 5> vec; in TEST() local
141 FastVector<int, 5> vec; in TEST() local
150 FastVector<int, 5> vec; in TEST() local
162 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
170 FastVector<int, 3> vec = {0, 1, 2, 3, 4}; in TEST() local
178 FastVector<int, 5> vec; in TEST() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dvector_utils_unittest.cpp40 Vector2 vec(1.0, 2.0); in TEST() local
54 Vector2 vec(3.0); in TEST() local
61 Vector2 vec(Vector2(1.0, 2.0)); in TEST() local
68 Vector4 vec(1.0, Vector2(2.0, 3.0), 4.0); in TEST() local
79 Vector2 vec(1.0, 2.0); in TEST() local
96 Vector2 vec = Vector2::Load(data); in TEST() local
127 Vector2 vec(1.0, 2.0); in TEST() local
132 Vector2 vec(1.0, 2.0); in TEST() local
137 Vector2 vec(1.0, 2.0); in TEST() local
142 Vector2 vec(3.0, 4.0); in TEST() local
[all …]
DFixedVector_unittest.cpp53 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
61 FixedVector<int, 5> vec; in TEST() local
74 FixedVector<int, 5> vec; in TEST() local
84 FixedVector<int, 5> vec; in TEST() local
93 FixedVector<int, 5> vec; in TEST() local
106 FixedVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
114 FixedVector<int, 5> vec; in TEST() local
126 FixedVector<int, 5> vec = {0, 1, 2, 3}; in TEST() local
140 FixedVector<int, 2> vec; in TEST() local
DFastVector_unittest.cpp53 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
64 FastVector<int, 5> vec; in TEST() local
78 FastVector<size_t, kSize> vec; in TEST() local
99 FastVector<int, 5> vec; in TEST() local
109 FastVector<int, 5> vec; in TEST() local
118 FastVector<int, 5> vec; in TEST() local
127 FastVector<int, 5> vec; in TEST() local
139 FastVector<int, 5> vec = {0, 1, 2, 3, 4}; in TEST() local
147 FastVector<int, 3> vec = {0, 1, 2, 3, 4}; in TEST() local
155 FastVector<int, 5> vec; in TEST() local
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DITypVectorTests.cpp32 Vector vec; in TEST_F() local
38 Vector vec(Key(10)); in TEST_F() local
48 Vector vec(Key(10), Val(7)); in TEST_F() local
58 Vector vec = {Val(2), Val(8), Val(1)}; in TEST_F() local
72 Vector vec(rhs); in TEST_F() local
88 Vector vec = rhs; in TEST_F() local
107 Vector vec(std::move(rhs)); in TEST_F() local
120 Vector vec = std::move(rhs); in TEST_F() local
132 Vector vec(Key(10)); in TEST_F() local
155 Vector vec(Key(10)); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector_exception_safety_test.cc124 bool InlinedVectorInvariants(VecT* vec) { in InlinedVectorInvariants()
238 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
242 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
247 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
252 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
257 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
261 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
278 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
282 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
296 EXPECT_TRUE(tester.Test([](VecT* vec) { in TYPED_TEST()
[all …]
Dinlined_vector_benchmark.cc245 VecType vec; in BM_Sizeof() local
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->~VecT(); }, in BM_ConstructFromCopy()
523 [&](InlVec<T>* vec, size_t i) { in BM_ConstructFromMove()
565 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->resize(FromSize); }, in BM_AssignSizeRef()
567 [&](InlVec<T>* vec, size_t) { in BM_AssignSizeRef()
581 /* prepare_vec = */ [](InlVec<T>* vec, size_t) { vec->resize(FromSize); }, in BM_AssignRange()
583 [&](InlVec<T>* vec, size_t) { in BM_AssignRange()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
168 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
181 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
194 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
208 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
222 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
241 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
260 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
168 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
181 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
194 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
208 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
222 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
241 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
260 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
[all …]
/third_party/spirv-tools/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST() local
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
168 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
181 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
194 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
208 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
222 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST() local
241 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
260 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST() local
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DTypes.hpp83 struct alignas(sizeof(T) * bit_ceil(N)) vec struct
87 constexpr explicit vec(T replicate) in vec() function
96 constexpr vec(T arg0, ARGS... args) in vec() argument
104 T &operator[](int i) in operator []()
109 const T &operator[](int i) const in operator []()
114 T v[N];
118 struct alignas(sizeof(T) * 4) vec<T, 4> struct
122 constexpr explicit vec(T replicate) in vec() argument
130 constexpr vec(T x, T y, T z, T w) in vec() argument
141 T &operator[](int i) in operator []()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp44 inline VkClearValue makeClearValueColorVec4 (tcu::Vec4 vec) in makeClearValueColorVec4()
102 inline VkExtent3D makeExtent3D (const tcu::IVec3& vec) in makeExtent3D()
107 inline VkExtent3D makeExtent3D (const tcu::UVec3& vec) in makeExtent3D()
123 inline VkRect2D makeRect2D(const tcu::IVec2& vec) in makeRect2D()
128 inline VkRect2D makeRect2D(const tcu::IVec3& vec) in makeRect2D()
133 inline VkRect2D makeRect2D(const tcu::UVec2& vec) in makeRect2D()
153 inline VkViewport makeViewport(const tcu::IVec2& vec) in makeViewport()
158 inline VkViewport makeViewport(const tcu::IVec3& vec) in makeViewport()
163 inline VkViewport makeViewport(const tcu::UVec2& vec) in makeViewport()
/third_party/skia/third_party/externals/freetype/src/base/
Dfttrigon.c133 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm()
163 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate()
218 ft_trig_pseudo_polarize( FT_Vector* vec ) in ft_trig_pseudo_polarize()
360 FT_Vector_Unit( FT_Vector* vec, in FT_Vector_Unit()
377 FT_Vector_Rotate( FT_Vector* vec, in FT_Vector_Rotate()
417 FT_Vector_Length( FT_Vector* vec ) in FT_Vector_Length()
454 FT_Vector_Polarize( FT_Vector* vec, in FT_Vector_Polarize()
484 FT_Vector_From_Polar( FT_Vector* vec, in FT_Vector_From_Polar()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dfttrigon.c134 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm()
164 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate()
219 ft_trig_pseudo_polarize( FT_Vector* vec ) in ft_trig_pseudo_polarize()
361 FT_Vector_Unit( FT_Vector* vec, in FT_Vector_Unit()
378 FT_Vector_Rotate( FT_Vector* vec, in FT_Vector_Rotate()
418 FT_Vector_Length( FT_Vector* vec ) in FT_Vector_Length()
455 FT_Vector_Polarize( FT_Vector* vec, in FT_Vector_Polarize()
485 FT_Vector_From_Polar( FT_Vector* vec, in FT_Vector_From_Polar()
/third_party/freetype/src/base/
Dfttrigon.c133 ft_trig_prenorm( FT_Vector* vec ) in ft_trig_prenorm()
163 ft_trig_pseudo_rotate( FT_Vector* vec, in ft_trig_pseudo_rotate()
218 ft_trig_pseudo_polarize( FT_Vector* vec ) in ft_trig_pseudo_polarize()
360 FT_Vector_Unit( FT_Vector* vec, in FT_Vector_Unit()
377 FT_Vector_Rotate( FT_Vector* vec, in FT_Vector_Rotate()
417 FT_Vector_Length( FT_Vector* vec ) in FT_Vector_Length()
454 FT_Vector_Polarize( FT_Vector* vec, in FT_Vector_Polarize()
484 FT_Vector_From_Polar( FT_Vector* vec, in FT_Vector_From_Polar()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffers.kt309 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toByteArray() constant
324 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toShortArray() constant
339 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toIntArray() constant
354 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toLongArray() constant
369 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUByteArray() constant
384 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUShortArray() constant
399 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUIntArray() constant
414 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toULongArray() constant
429 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toFloatArray() constant
444 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toDoubleArray() constant
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantUtil.hpp85 std::vector<T> vec; in makeVector() local
94 std::vector<T> vec; in makeVector() local
104 std::vector<T> vec; in makeVector() local
115 std::vector<T> vec; in makeVector() local
/third_party/flatbuffers/include/flatbuffers/
Dreflection.h232 inline int64_t GetAnyVectorElemI(const VectorOfAny *vec, in GetAnyVectorElemI()
238 inline double GetAnyVectorElemF(const VectorOfAny *vec, in GetAnyVectorElemF()
244 inline std::string GetAnyVectorElemS(const VectorOfAny *vec, in GetAnyVectorElemS()
254 T *GetAnyVectorElemPointer(const VectorOfAny *vec, size_t i) { in GetAnyVectorElemPointer()
265 T *GetAnyVectorElemAddressOf(const VectorOfAny *vec, size_t i, in GetAnyVectorElemAddressOf()
357 inline void SetAnyVectorElemI(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemI()
363 inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemF()
369 inline void SetAnyVectorElemS(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemS()
380 pointer_inside_vector(T *ptr, std::vector<U> &vec) in pointer_inside_vector()
398 pointer_inside_vector<T, U> piv(T *ptr, std::vector<U> &vec) { in piv()
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/
DFlexBuffersBenchmark.kt97 val vec = map.get("intarray").asVector() in mapJava() constant
120 val vec = root.asVector() in intArrayJava() constant
134 val vec = root.toVector() in stringArrayKotlin() constant
146 val vec = root.asVector() in stringArrayJava() constant
/third_party/freetype/src/dlg/
Ddlg.c582 #define vec__raw(vec) (((unsigned int*) vec) - 2) argument
594 static void vec_do_erase(void* vec, unsigned int pos, unsigned int size) {
601 static void* vec_do_add(void** vec, unsigned int size) {
620 #define vec_free(vec) (free((vec) ? vec__raw(vec) : NULL), vec = NULL) argument
621 #define vec_erase_range(vec, pos, count) vec_do_erase(vec, pos * sizeof(*vec), count * sizeof(*vec)) argument
622 #define vec_erase(vec, pos) vec_do_erase(vec, pos * sizeof(*vec), sizeof(*vec)) argument
623 #define vec_size(vec) (vec__raw(vec)[0] / sizeof(*vec)) argument
624 #define vec_capacity(vec) (vec_raw(vec)[1] / sizeof(*vec)) argument
625 #define vec_add(vec) vec_do_add((void**) &vec, sizeof(*vec)) argument
626 #define vec_addc(vec, count) (vec_do_add((void**) &vec, sizeof(*vec) * count)) argument
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/mman/
Dmincore.c56 unsigned char vec[TEST_SIZE]; in mincore_0100() local
77 unsigned char vec[TEST_SIZE]; in mincore_0200() local
/third_party/flutter/skia/src/effects/imagefilters/
DSkOffsetImageFilter.cpp81 SkVector vec = ctm.mapVector(offset.fX, offset.fY); in map_offset_vector() local
93 SkIPoint vec = map_offset_vector(ctx.ctm(), fOffset); in onFilterImage() local
139 SkIPoint vec = map_offset_vector(ctm, fOffset); in onFilterNodeBounds() local
/third_party/skia/src/effects/imagefilters/
DSkOffsetImageFilter.cpp79 SkVector vec = ctm.mapVector(offset.fX, offset.fY); in map_offset_vector() local
91 SkIPoint vec = map_offset_vector(ctx.ctm(), fOffset); in onFilterImage() local
137 SkIPoint vec = map_offset_vector(ctm, fOffset); in onFilterNodeBounds() local

12345678910>>...19