/third_party/flutter/skia/include/private/ |
D | SkVx.h | 54 struct SKVX_ALIGNMENT Vec { struct 58 Vec<N/2,T> lo, hi; argument 65 Vec() = default; 69 Vec(U x) : lo(x), hi(x) {} in Vec() argument 71 Vec(std::initializer_list<T> xs) { in Vec() function 75 lo = Vec<N/2,T>::Load(vals + 0); in Vec() 76 hi = Vec<N/2,T>::Load(vals + N/2); in Vec() 82 static Vec Load(const void* ptr) { in Load() argument 83 Vec v; in Load() 84 memcpy(&v, ptr, sizeof(Vec)); in Load() [all …]
|
/third_party/skia/include/private/ |
D | SkVx.h | 57 struct alignas(N*sizeof(T)) Vec; 60 SI Vec<sizeof...(Ix),T> shuffle(const Vec<N,T>&); 71 Vec<N/2,T> lo, hi; 79 SKVX_ALWAYS_INLINE VecStorage(Vec<2,T> xy, T z, T w) : lo(xy), hi(z,w) {} 80 SKVX_ALWAYS_INLINE VecStorage(T x, T y, Vec<2,T> zw) : lo(x,y), hi(zw) {} 81 SKVX_ALWAYS_INLINE VecStorage(Vec<2,T> xy, Vec<2,T> zw) : lo(xy), hi(zw) {} 83 SKVX_ALWAYS_INLINE Vec<2,T>& xy() { return lo; } 84 SKVX_ALWAYS_INLINE Vec<2,T>& zw() { return hi; } 90 SKVX_ALWAYS_INLINE Vec<2,T> xy() const { return lo; } 91 SKVX_ALWAYS_INLINE Vec<2,T> zw() const { return hi; } [all …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadUtils.h | 49 inline void Outset(const skvx::Vec<4, float>& edgeDistances, GrQuad* quad); 73 skvx::Vec<4, float> inset(const skvx::Vec<4, float>& edgeDistances, 80 void outset(const skvx::Vec<4, float>& edgeDistances, 87 void getEdgeEquations(skvx::Vec<4, float>* a, 88 skvx::Vec<4, float>* b, 89 skvx::Vec<4, float>* c); 93 skvx::Vec<4, float> getEdgeLengths(); 108 skvx::Vec<4, float> fX2D, fY2D; 111 skvx::Vec<4, float> fDX, fDY; 113 skvx::Vec<4, float> fInvLengths; [all …]
|
D | GrQuad.h | 105 skvx::Vec<4, float> x4f() const { return skvx::Vec<4, float>::Load(fX); } in x4f() 106 skvx::Vec<4, float> y4f() const { return skvx::Vec<4, float>::Load(fY); } in y4f() 107 skvx::Vec<4, float> w4f() const { return skvx::Vec<4, float>::Load(fW); } in w4f() 108 skvx::Vec<4, float> iw4f() const { return 1.f / this->w4f(); } in iw4f() 146 GrQuad(const skvx::Vec<4, float>& xs, const skvx::Vec<4, float>& ys, Type type) in GrQuad() 153 GrQuad(const skvx::Vec<4, float>& xs, const skvx::Vec<4, float>& ys, in GrQuad() 154 const skvx::Vec<4, float>& ws, Type type) in GrQuad()
|
/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsFunctionLikeClasses2.types | 5 export function Vec(len) { 6 >Vec : typeof Vec 22 Vec.prototype = { 23 …Vec.prototype = { /** * @param {Vec} other */ dot(other) { if (other.storage.… 24 >Vec.prototype : { dot(other: Vec): number; magnitude(): number; } 25 >Vec : typeof Vec 26 >prototype : { dot(other: Vec): number; magnitude(): number; } 27 …Vec} other */ dot(other) { if (other.storage.length !== this.storage.length) { … 30 * @param {Vec} other 33 >dot : (other: Vec) => number [all …]
|
D | jsDeclarationsFunctionLikeClasses2.js | 7 export function Vec(len) { class 14 Vec.prototype = { 45 Vec.call(this, 2); 51 __proto__: Vec, 82 exports.Point2D = exports.Vec = void 0; 86 function Vec(len) { 92 exports.Vec = Vec; 93 Vec.prototype = { 123 Vec.call(this, 2); 129 __proto__: Vec, [all …]
|
D | jsDeclarationsFunctionLikeClasses2.symbols | 5 export function Vec(len) { 6 >Vec : Symbol(Vec, Decl(source.js, 0, 0), Decl(source.js, 8, 1)) 13 >this.storage : Symbol(Vec.storage, Decl(source.js, 3, 26)) 14 >this : Symbol(Vec, Decl(source.js, 0, 0), Decl(source.js, 8, 1)) 15 >storage : Symbol(Vec.storage, Decl(source.js, 3, 26)) 20 Vec.prototype = { 21 >Vec.prototype : Symbol(Vec.prototype, Decl(source.js, 8, 1)) 22 >Vec : Symbol(Vec, Decl(source.js, 0, 0), Decl(source.js, 8, 1)) 23 >prototype : Symbol(Vec.prototype, Decl(source.js, 8, 1)) 26 * @param {Vec} other [all …]
|
/third_party/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 242 return bufferCount * sizeof(skvx::Vec<4, uint32_t>); in MakeMaker() 252 skvx::Vec<4, uint32_t>* buffer0 = static_cast<skvx::Vec<4, uint32_t>*>(buffers); in Make() 253 skvx::Vec<4, uint32_t>* buffer1 = buffer0 + passSize; in Make() 254 skvx::Vec<4, uint32_t>* buffer2 = buffer1 + passSize; in Make() 257 skvx::Vec<4, uint32_t>* buffersEnd = buffer2 + ((window & 1) ? passSize : passSize + 1); in Make() 312 GaussPass(skvx::Vec<4, uint32_t>* buffer0, in GaussPass() 313 skvx::Vec<4, uint32_t>* buffer1, in GaussPass() 314 skvx::Vec<4, uint32_t>* buffer2, in GaussPass() 315 skvx::Vec<4, uint32_t>* buffersEnd, in GaussPass() 327 skvx::Vec<4, uint32_t> zero = {0u, 0u, 0u, 0u}; in startBlur() [all …]
|
/third_party/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/ |
D | rwyw.rs | 39 fn qc_vec_bool(xs: Vec<bool>) -> bool { 49 fn qc_vec_uint(xs: Vec<u64>) -> bool { 59 fn qc_vec_int(xs: Vec<i64>) -> bool { 69 fn qc_vec_float(xs: Vec<f64>) -> bool { 79 fn qc_vec_string(xs: Vec<String>) -> bool { 113 fn qc_blob(xs: Vec<Vec<u8>>) -> bool { 126 u8s: Vec<u8>, 127 u16s: Vec<u16>, 128 u32s: Vec<u32>, 129 u64s: Vec<u64>, [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | scalar_multiplication.hpp | 29 template <typename T, typename Vec> 32 && std::is_arithmetic<T>::value, Vec // But it may be an int or double (no vec3 or mat3, ...) 35 #define GLM_IMPLEMENT_SCAL_MULT(Vec) \ argument 37 return_type_scalar_multiplication<T, Vec> \ 38 operator*(T const & s, Vec rh){ \ 43 return_type_scalar_multiplication<T, Vec> \ 44 operator*(Vec lh, T const & s){ \ 49 return_type_scalar_multiplication<T, Vec> \ 50 operator/(Vec lh, T const & s){ \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | ArrayRef.h | 74 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() argument 75 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef() 80 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() argument 81 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef() 93 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() argument 94 : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()), in ArrayRef() 95 Length(Vec.size()) {} in ArrayRef() 111 const SmallVectorTemplateCommon<U *, DummyT> &Vec, 114 : Data(Vec.data()), Length(Vec.size()) { 120 ArrayRef(const std::vector<U *, A> &Vec, [all …]
|
/third_party/flutter/skia/tests/ |
D | SkVxTest.cpp | 11 using float2 = skvx::Vec<2,float>; 12 using float4 = skvx::Vec<4,float>; 13 using float8 = skvx::Vec<8,float>; 15 using double2 = skvx::Vec<2,double>; 16 using double4 = skvx::Vec<4,double>; 17 using double8 = skvx::Vec<8,double>; 19 using byte2 = skvx::Vec< 2,uint8_t>; 20 using byte4 = skvx::Vec< 4,uint8_t>; 21 using byte8 = skvx::Vec< 8,uint8_t>; 22 using byte16 = skvx::Vec<16,uint8_t>; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 81 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() argument 82 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef() 87 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() argument 88 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef() 107 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() argument 108 : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()), in ArrayRef() 109 Length(Vec.size()) {} in ArrayRef() 128 const SmallVectorTemplateCommon<U *, DummyT> &Vec, 131 : Data(Vec.data()), Length(Vec.size()) { 137 ArrayRef(const std::vector<U *, A> &Vec, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | StringTableBuilder.cpp | 89 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort() argument 91 if (Vec.size() <= 1) in multikeySort() 97 int Pivot = charTailAt(Vec[0], Pos); in multikeySort() 99 size_t J = Vec.size(); in multikeySort() 101 int C = charTailAt(Vec[K], Pos); in multikeySort() 103 std::swap(Vec[I++], Vec[K++]); in multikeySort() 105 std::swap(Vec[--J], Vec[K]); in multikeySort() 110 multikeySort(Vec.slice(0, I), Pos); in multikeySort() 111 multikeySort(Vec.slice(J), Pos); in multikeySort() 116 Vec = Vec.slice(I, J - I); in multikeySort()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuad.h | 48 GrQuad(const skvx::Vec<4, float>& xs, const skvx::Vec<4, float>& ys, Type type) in GrQuad() 56 GrQuad(const skvx::Vec<4, float>& xs, const skvx::Vec<4, float>& ys, in GrQuad() 57 const skvx::Vec<4, float>& ws, Type type) in GrQuad() 120 skvx::Vec<4, float> x4f() const { return skvx::Vec<4, float>::Load(fX); } in x4f() 121 skvx::Vec<4, float> y4f() const { return skvx::Vec<4, float>::Load(fY); } in y4f() 122 skvx::Vec<4, float> w4f() const { return skvx::Vec<4, float>::Load(fW); } in w4f() 123 skvx::Vec<4, float> iw4f() const { return 1.f / this->w4f(); } in iw4f()
|
/third_party/flatbuffers/rust/flexbuffers/src/builder/ |
D | push.rs | 95 forward_to_builder!(&Vec<u8>, push_uints); 96 forward_to_builder!(&Vec<u16>, push_uints); 97 forward_to_builder!(&Vec<u32>, push_uints); 98 forward_to_builder!(&Vec<u64>, push_uints); 99 forward_to_builder!(&Vec<i8>, push_ints); 100 forward_to_builder!(&Vec<i16>, push_ints); 101 forward_to_builder!(&Vec<i32>, push_ints); 102 forward_to_builder!(&Vec<i64>, push_ints); 103 forward_to_builder!(&Vec<f32>, push_floats); 104 forward_to_builder!(&Vec<f64>, push_floats); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InterleavedAccess.cpp | 285 ArrayRef<Value *> Vec, ArrayRef<uint32_t> VPShuf, in reorderSubVector() argument 292 Vec[i], UndefValue::get(Vec[i]->getType()), VPShuf); in reorderSubVector() 303 Vec[i % Stride], Vec[(i + 1) % Stride], OptimizeShuf); in reorderSubVector() 521 static void concatSubVector(Value **Vec, ArrayRef<Instruction *> InVec, in concatSubVector() argument 525 Vec[i] = InVec[i]; in concatSubVector() 531 Vec[i + j * 3] = Builder.CreateShuffleVector( in concatSubVector() 538 Vec[i] = Builder.CreateShuffleVector(Vec[i], Vec[i + 3], Concat); in concatSubVector() 555 Value *Vec[6], *TempVector[3]; in deinterleave8bitStride3() local 568 concatSubVector(Vec, InVec, VecElems, Builder); in deinterleave8bitStride3() 574 Vec[i] = Builder.CreateShuffleVector( in deinterleave8bitStride3() [all …]
|
/third_party/skia/tests/ |
D | SkVxTest.cpp | 12 using float2 = skvx::Vec<2,float>; 13 using float4 = skvx::Vec<4,float>; 14 using float8 = skvx::Vec<8,float>; 16 using double2 = skvx::Vec<2,double>; 17 using double4 = skvx::Vec<4,double>; 18 using double8 = skvx::Vec<8,double>; 20 using byte2 = skvx::Vec< 2,uint8_t>; 21 using byte4 = skvx::Vec< 4,uint8_t>; 22 using byte8 = skvx::Vec< 8,uint8_t>; 23 using byte16 = skvx::Vec<16,uint8_t>; [all …]
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles.cc | 75 class Vec { class 77 Vec() { Init(); } in Vec() function in absl::synchronization_internal::__anonf7c977ba0111::Vec 78 ~Vec() { Discard(); } in ~Vec() 113 void MoveFrom(Vec<T>* src) { in MoveFrom() 156 Vec(const Vec&) = delete; 157 Vec& operator=(const Vec&) = delete; 210 Vec<int32_t> table_; 244 Vec<int32_t> copy; in Grow() 294 explicit PointerMap(const Vec<Node*>* nodes) : nodes_(nodes) { in PointerMap() 335 const Vec<Node*>* nodes_; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles.cc | 75 class Vec { class 77 Vec() { Init(); } in Vec() function in absl::synchronization_internal::__anonbc76c36f0111::Vec 78 ~Vec() { Discard(); } in ~Vec() 113 void MoveFrom(Vec<T>* src) { in MoveFrom() 156 Vec(const Vec&) = delete; 157 Vec& operator=(const Vec&) = delete; 210 Vec<int32_t> table_; 244 Vec<int32_t> copy; in Grow() 294 explicit PointerMap(const Vec<Node*>* nodes) : nodes_(nodes) { in PointerMap() 335 const Vec<Node*>* nodes_; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrMVE.td | 284 ValueType Vec = vec; 287 // of those in Vec, so we can use it in ISel patterns. It is up to the 603 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm))), 605 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm)))>; 610 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm), 613 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm), 774 def _pat : Pat<(i32 (intr (i32 rGPR:$prev), (VTI.Vec MQPR:$vec))), 775 (i32 (Inst (i32 rGPR:$prev), (VTI.Vec MQPR:$vec)))>; 867 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm))), 869 (VTI.Vec MQPR:$Qn), (VTI.Vec MQPR:$Qm)))>; [all …]
|
/third_party/python/Lib/turtledemo/ |
D | planet_and_moon.py | 20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec unknown 54 a = Vec(0,0) 95 sun = Star(1000000, Vec(0,0), Vec(0,-2.5), gs, "circle") 99 earth = Star(12500, Vec(210,0), Vec(0,195), gs, "planet") 102 moon = Star(1, Vec(220,0), Vec(0,295), gs, "planet")
|
/third_party/skia/src/opts/ |
D | SkBitmapProcState_opts.h | 56 auto bilerp = [&](skvx::Vec<8,uint32_t> packed_x_coordinates) -> skvx::Vec<8,uint32_t> { in S32_alpha_D32_filter_DX() 58 skvx::Vec<8,uint32_t> x0,x1,wx; in S32_alpha_D32_filter_DX() 67 auto gather = [](const uint32_t* ptr, skvx::Vec<8,uint32_t> ix) { in S32_alpha_D32_filter_DX() 70 return skvx::bit_pun<skvx::Vec<8,uint32_t>>( in S32_alpha_D32_filter_DX() 74 return skvx::Vec<8,uint32_t>{ in S32_alpha_D32_filter_DX() 82 skvx::Vec<8,uint32_t> tl = gather(row0, x0), tr = gather(row0, x1), in S32_alpha_D32_filter_DX() 87 auto lerp_x = [&](skvx::Vec<8,uint32_t> L, skvx::Vec<8,uint32_t> R) { in S32_alpha_D32_filter_DX() 111 return skvx::join(skvx::bit_pun<skvx::Vec<16,uint16_t>>(abcd), in S32_alpha_D32_filter_DX() 112 skvx::bit_pun<skvx::Vec<16,uint16_t>>(efgh)); in S32_alpha_D32_filter_DX() 115 skvx::Vec<32, uint16_t> top = lerp_x(tl, tr), in S32_alpha_D32_filter_DX() [all …]
|
/third_party/qrcodegen/rust/src/ |
D | lib.rs | 133 modules: Vec<bool>, 136 isfunction: Vec<bool>, 155 let chrs: Vec<char> = text.chars().collect(); in encode_text() 156 let segs: Vec<QrSegment> = QrSegment::make_segments(&chrs); in encode_text() 239 let mut bb = BitBuffer(Vec::new()); in encode_segments_advanced() 296 let allcodewords: Vec<u8> = result.add_ecc_and_interleave(datacodewords); in encode_codewords() 390 let alignpatpos: Vec<i32> = self.get_alignment_pattern_positions(); in draw_function_patterns() 513 fn add_ecc_and_interleave(&self, data: &[u8]) -> Vec<u8> { in add_ecc_and_interleave() 526 let mut blocks = Vec::<Vec<u8>>::with_capacity(numblocks); in add_ecc_and_interleave() 527 let rsdiv: Vec<u8> = QrCode::reed_solomon_compute_divisor(blockecclen); in add_ecc_and_interleave() [all …]
|
/third_party/python/Tools/demo/ |
D | vector.py | 7 class Vec: class 69 return Vec.fromlist(v) 74 return Vec.fromlist(v) 79 return Vec.fromlist(v) 85 if not isinstance(other, Vec):
|