/third_party/abseil-cpp/absl/random/ |
D | generators_test.cc | 29 absl::Uniform(*gen, 0, 100); // int in TestUniform() 30 absl::Uniform(*gen, 0, 1.0); // Promoted to double in TestUniform() 31 absl::Uniform(*gen, 0.0f, 1.0); // Promoted to double in TestUniform() 32 absl::Uniform(*gen, 0.0, 1.0); // double in TestUniform() 33 absl::Uniform(*gen, -1, 1L); // Promoted to long in TestUniform() 36 absl::Uniform(absl::IntervalClosedClosed, *gen, 1, 6); in TestUniform() 39 absl::Uniform(absl::IntervalOpenOpen, *gen, 0.0, 1.0); in TestUniform() 43 elems[absl::Uniform(*gen, 0u, elems.size())] = 5; in TestUniform() 44 elems[absl::Uniform<size_t>(*gen, 0, elems.size())] = 3; in TestUniform() 47 absl::Uniform(absl::IntervalOpenOpen, *gen, -1.0, 1.0); in TestUniform() [all …]
|
D | distributions_test.cc | 37 -> decltype(absl::Uniform(std::declval<absl::InsecureBitGen&>(), 45 -> decltype(absl::Uniform(std::declval<TagType>(), 96 absl::Uniform<ExplicitRet>(*std::declval<absl::InsecureBitGen*>(), 103 auto ExplicitTaggedUniformReturnT(int) -> decltype(absl::Uniform<ExplicitRet>( 204 EXPECT_NE(1, absl::Uniform(gen, static_cast<uint16_t>(0), 1.0f)); in TEST_F() 205 EXPECT_NE(1, absl::Uniform(gen, 0, 1.0)); in TEST_F() 206 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, in TEST_F() 208 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, 0, 1.0)); in TEST_F() 209 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, -1, 1.0)); in TEST_F() 210 EXPECT_NE(1, absl::Uniform<double>(absl::IntervalOpenOpen, gen, -1, 1)); in TEST_F() [all …]
|
D | mocking_bit_gen_test.cc | 35 EXPECT_NE(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 38 EXPECT_EQ(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 40 EXPECT_NE(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 43 EXPECT_EQ(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 78 EXPECT_NE(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 81 EXPECT_EQ(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 83 EXPECT_NE(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 86 EXPECT_EQ(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 134 EXPECT_EQ(absl::Uniform(gen, 1, 10000), 20); in TEST() 135 EXPECT_EQ(absl::Uniform(gen, 1, 10000), 40); in TEST() [all …]
|
D | examples_test.cc | 31 auto elem = objs[absl::Uniform(gen, 0u, objs.size())]; in TEST() 35 auto dice_roll = absl::Uniform<int>(absl::IntervalClosedClosed, gen, 1, 6); in TEST() 39 auto byte = absl::Uniform<uint8_t>(gen); in TEST() 43 auto fraction = absl::Uniform<float>(gen, 0, 1); in TEST() 71 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST() 83 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST() 96 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | generators_test.cc | 29 absl::Uniform(*gen, 0, 100); // int in TestUniform() 30 absl::Uniform(*gen, 0, 1.0); // Promoted to double in TestUniform() 31 absl::Uniform(*gen, 0.0f, 1.0); // Promoted to double in TestUniform() 32 absl::Uniform(*gen, 0.0, 1.0); // double in TestUniform() 33 absl::Uniform(*gen, -1, 1L); // Promoted to long in TestUniform() 36 absl::Uniform(absl::IntervalClosedClosed, *gen, 1, 6); in TestUniform() 39 absl::Uniform(absl::IntervalOpenOpen, *gen, 0.0, 1.0); in TestUniform() 43 elems[absl::Uniform(*gen, 0u, elems.size())] = 5; in TestUniform() 44 elems[absl::Uniform<size_t>(*gen, 0, elems.size())] = 3; in TestUniform() 47 absl::Uniform(absl::IntervalOpenOpen, *gen, -1.0, 1.0); in TestUniform() [all …]
|
D | mocking_bit_gen_test.cc | 38 EXPECT_NE(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 41 EXPECT_EQ(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 43 EXPECT_NE(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 46 EXPECT_EQ(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 81 EXPECT_NE(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 84 EXPECT_EQ(absl::Uniform<int>(gen, 1, 1000000), 20); in TEST() 86 EXPECT_NE(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 89 EXPECT_EQ(absl::Uniform<double>(gen, 0.0, 100.0), 5.0); in TEST() 137 EXPECT_EQ(absl::Uniform(gen, 1, 10000), 20); in TEST() 138 EXPECT_EQ(absl::Uniform(gen, 1, 10000), 40); in TEST() [all …]
|
D | distributions_test.cc | 38 -> decltype(absl::Uniform(std::declval<absl::InsecureBitGen&>(), 46 -> decltype(absl::Uniform(std::declval<TagType>(), 97 absl::Uniform<ExplicitRet>(*std::declval<absl::InsecureBitGen*>(), 104 auto ExplicitTaggedUniformReturnT(int) -> decltype(absl::Uniform<ExplicitRet>( 205 EXPECT_NE(1, absl::Uniform(gen, static_cast<uint16_t>(0), 1.0f)); in TEST_F() 206 EXPECT_NE(1, absl::Uniform(gen, 0, 1.0)); in TEST_F() 207 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, in TEST_F() 209 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, 0, 1.0)); in TEST_F() 210 EXPECT_NE(1, absl::Uniform(absl::IntervalOpenOpen, gen, -1, 1.0)); in TEST_F() 211 EXPECT_NE(1, absl::Uniform<double>(absl::IntervalOpenOpen, gen, -1, 1)); in TEST_F() [all …]
|
D | examples_test.cc | 31 auto elem = objs[absl::Uniform(gen, 0u, objs.size())]; in TEST() 35 auto dice_roll = absl::Uniform<int>(absl::IntervalClosedClosed, gen, 1, 6); in TEST() 39 auto byte = absl::Uniform<uint8_t>(gen); in TEST() 43 auto fraction = absl::Uniform<float>(gen, 0, 1); in TEST() 71 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST() 83 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST() 96 EXPECT_EQ(absl::Uniform<uint32_t>(gen_1), absl::Uniform<uint32_t>(gen_2)); in TEST()
|
/third_party/skia/third_party/externals/spirv-cross/shaders/asm/comp/ |
D | decoration-group.asm.comp | 54 %30 = OpTypePointer Uniform %25 55 %31 = OpTypePointer Uniform %26 61 %34 = OpTypePointer Uniform %6 62 %15 = OpVariable %34 Uniform 64 %35 = OpTypePointer Uniform %7 65 %16 = OpVariable %35 Uniform 67 %36 = OpTypePointer Uniform %8 68 %17 = OpVariable %36 Uniform 70 %37 = OpTypePointer Uniform %9 71 %18 = OpVariable %37 Uniform [all …]
|
D | block-name-alias-global.asm.comp | 63 %_ptr_Uniform_A = OpTypePointer Uniform %A 64 %C1 = OpVariable %_ptr_Uniform_A Uniform 76 %_ptr_Uniform_A_0 = OpTypePointer Uniform %A_0 77 %C2 = OpVariable %_ptr_Uniform_A_0 Uniform 78 %_ptr_Uniform_Foo_0 = OpTypePointer Uniform %Foo_0 79 %_ptr_Uniform_Foo = OpTypePointer Uniform %Foo 80 %_ptr_Uniform_int = OpTypePointer Uniform %int 84 %_ptr_Uniform_B = OpTypePointer Uniform %B 85 %C3 = OpVariable %_ptr_Uniform_B Uniform 88 %_ptr_Uniform_B_0 = OpTypePointer Uniform %B_0 [all …]
|
/third_party/skia/experimental/graphite/src/ |
D | Uniform.h | 20 class Uniform { 24 constexpr Uniform(const char* name, SLType type) : Uniform(name, type, kNonArray) {} in Uniform() function 26 constexpr Uniform(const char* name, SLType type, int count) in Uniform() function 32 constexpr Uniform(const Uniform&) = default; 33 Uniform& operator=(const Uniform&) = default;
|
/third_party/glslang/Test/baseResults/ |
D | spv.multiStruct.comp.out | 93 18: TypePointer Uniform 17(SSBO0) 94 19(inBuf): 18(ptr) Variable Uniform 97 22: TypePointer Uniform 16(MyStruct) 104 40: TypePointer Uniform 39(SSBO1) 105 41(outBuf): 40(ptr) Variable Uniform 106 45: TypePointer Uniform 15 107 48: TypePointer Uniform 7(fvec2) 109 55: TypePointer Uniform 8(int) 113 60: TypePointer Uniform 59(UBO) 114 61(uBuf): 60(ptr) Variable Uniform [all …]
|
D | spv.boolInBlock.frag.out | 20 Name 40 "Uniform" 21 MemberName 40(Uniform) 0 "b4" 30 MemberDecorate 40(Uniform) 0 Offset 0 31 Decorate 40(Uniform) Block 48 26: TypePointer Uniform 25(Buffer) 49 27: 26(ptr) Variable Uniform 58 37: TypePointer Uniform 24(ivec2) 60 40(Uniform): TypeStruct 39(ivec4) 61 41: TypePointer Uniform 40(Uniform) 62 42: 41(ptr) Variable Uniform [all …]
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnProgramDataManager.cpp | 26 Uniform& uniform = fUniforms[i]; in GrDawnProgramDataManager() 43 void* GrDawnProgramDataManager::getBufferPtrAndMarkDirty(const Uniform& uni) const { in getBufferPtrAndMarkDirty() 58 const Uniform& uni = fUniforms[u.toIndex()]; in set1i() 64 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv() 74 const Uniform& uni = fUniforms[u.toIndex()]; in set2i() 81 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv() 91 const Uniform& uni = fUniforms[u.toIndex()]; in set3i() 98 const Uniform& uni = fUniforms[u.toIndex()]; in set3iv() 112 const Uniform& uni = fUniforms[u.toIndex()]; in set4i() 119 const Uniform& uni = fUniforms[u.toIndex()]; in set4iv() [all …]
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/static_index/ |
D | read.wgsl.expected.spvasm | 63 %_ptr_Uniform_S = OpTypePointer Uniform %S 64 %s = OpVariable %_ptr_Uniform_S Uniform 68 %_ptr_Uniform_v3int = OpTypePointer Uniform %v3int 70 %_ptr_Uniform_int = OpTypePointer Uniform %int 72 %_ptr_Uniform_v3uint = OpTypePointer Uniform %v3uint 74 %_ptr_Uniform_uint = OpTypePointer Uniform %uint 75 %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float 77 %_ptr_Uniform_float = OpTypePointer Uniform %float 79 %_ptr_Uniform_v2int = OpTypePointer Uniform %v2int 82 %_ptr_Uniform_mat2v3float = OpTypePointer Uniform %mat2v3float [all …]
|
/third_party/mindspore/tests/ut/python/nn/probability/distribution/ |
D | test_uniform.py | 32 msd.Uniform([[2.], [1.]], [[2.], [3.], [4.]], dtype=dtype.float32) 37 msd.Uniform(0., 1., dtype=dtype.int32) 42 msd.Uniform(0., 1., name=1.0) 47 msd.Uniform(0., 1., seed='seed') 54 u = msd.Uniform() 56 u = msd.Uniform([3.0], [4.0], dtype=dtype.float32) 65 msd.Uniform(0.0, 0.0, dtype=dtype.float32) 67 msd.Uniform(1.0, 0.0, dtype=dtype.float32) 77 self.u = msd.Uniform(3.0, 4.0, dtype=dtype.float32) 106 self.u = msd.Uniform(dtype=dtype.float32) [all …]
|
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/graphicsfuzz/ |
D | cov-struct-float-array-mix-uniform-vectors.amber | 148 %16 = OpTypePointer Uniform %15 149 %17 = OpVariable %16 Uniform 153 %21 = OpTypePointer Uniform %6 158 %34 = OpTypePointer Uniform %33 159 %35 = OpVariable %34 Uniform 164 %55 = OpTypePointer Uniform %32 166 %60 = OpTypePointer Uniform %59 167 %61 = OpVariable %60 Uniform 172 %74 = OpTypePointer Uniform %73 173 %75 = OpVariable %74 Uniform [all …]
|
D | cov-value-tracking-max-uintbitstofloat.amber | 117 %14 = OpTypePointer Uniform %13 118 %15 = OpVariable %14 Uniform 121 %18 = OpTypePointer Uniform %9 124 %26 = OpTypePointer Uniform %25 125 %27 = OpVariable %26 Uniform 126 %28 = OpTypePointer Uniform %6 134 %41 = OpTypePointer Uniform %40 135 %42 = OpVariable %41 Uniform 136 %43 = OpTypePointer Uniform %16
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/asm/comp/ |
D | access-chain-load-store-composite.asm.comp | 78 %_ptr_Uniform_SSBO = OpTypePointer Uniform %SSBO 79 %_ = OpVariable %_ptr_Uniform_SSBO Uniform 82 %_ptr_Uniform_Foo_0 = OpTypePointer Uniform %Foo_0 99 %_ptr_Uniform_mat2v2float = OpTypePointer Uniform %mat2v2float 100 %_ptr_Uniform_v2float = OpTypePointer Uniform %v2float 101 %_ptr_Uniform__arr_Bar_0_uint_5 = OpTypePointer Uniform %_arr_Bar_0_uint_5 102 %_ptr_Uniform_Bar_0 = OpTypePointer Uniform %Bar_0 103 %_ptr_Uniform__arr__arr_float_uint_4_0_uint_2 = OpTypePointer Uniform %_arr__arr_float_uint_4_0_uin… 104 %_ptr_Uniform__arr_float_uint_4_0 = OpTypePointer Uniform %_arr_float_uint_4_0 105 %_ptr_Uniform_float = OpTypePointer Uniform %float [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cExplicitUniformLocationTest.cpp | 664 class Uniform class 667 Uniform(UniformValueGenerator& generator, UniformType _type, Loc _location, in Uniform() function in glcts::__anonf6269bca0111::Uniform 689 Uniform(generator, type.childTypes[child], childLocation, declOccurence, usageOccurence)); in Uniform() 734 std::vector<Uniform> childUniforms; 948 …static void streamUniformDefinitions(const std::vector<Uniform>& uniforms, GLenum shader, std::ost… in streamUniformDefinitions() 1012 static void streamUniformValidator(std::ostringstream& ret, const Uniform& uniform, GLenum shader, in streamUniformValidator() 1075 …static void streamUniformValidators(std::ostringstream& ret, const std::vector<Uniform>& uniforms,… in streamUniformValidators() 1124 …static std::string generateFragmentShader(const ShaderKey& key, const std::vector<Uniform>& unifor… in generateFragmentShader() 1145 static std::string generateVertexShader(const ShaderKey& key, const std::vector<Uniform>& uniforms, in generateVertexShader() 1165 static std::string generateComputeShader(const ShaderKey&, const std::vector<Uniform>& uniforms, in generateComputeShader() [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/comp/ |
D | block-name-alias-global.asm.comp | 63 %_ptr_Uniform_A = OpTypePointer Uniform %A 64 %C1 = OpVariable %_ptr_Uniform_A Uniform 76 %_ptr_Uniform_A_0 = OpTypePointer Uniform %A_0 77 %C2 = OpVariable %_ptr_Uniform_A_0 Uniform 78 %_ptr_Uniform_Foo_0 = OpTypePointer Uniform %Foo_0 79 %_ptr_Uniform_Foo = OpTypePointer Uniform %Foo 80 %_ptr_Uniform_int = OpTypePointer Uniform %int 84 %_ptr_Uniform_B = OpTypePointer Uniform %B 85 %C3 = OpVariable %_ptr_Uniform_B Uniform 88 %_ptr_Uniform_B_0 = OpTypePointer Uniform %B_0 [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/asm/comp/ |
D | block-name-alias-global.asm.comp | 63 %_ptr_Uniform_A = OpTypePointer Uniform %A 64 %C1 = OpVariable %_ptr_Uniform_A Uniform 76 %_ptr_Uniform_A_0 = OpTypePointer Uniform %A_0 77 %C2 = OpVariable %_ptr_Uniform_A_0 Uniform 78 %_ptr_Uniform_Foo_0 = OpTypePointer Uniform %Foo_0 79 %_ptr_Uniform_Foo = OpTypePointer Uniform %Foo 80 %_ptr_Uniform_int = OpTypePointer Uniform %int 84 %_ptr_Uniform_B = OpTypePointer Uniform %B 85 %C3 = OpVariable %_ptr_Uniform_B Uniform 88 %_ptr_Uniform_B_0 = OpTypePointer Uniform %B_0 [all …]
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/ |
D | 0-opt.spvasm | 19 %_ptr_Uniform_uint = OpTypePointer Uniform %uint 31 %_ptr_Uniform_int = OpTypePointer Uniform %int 33 %_ptr_Uniform__struct_5 = OpTypePointer Uniform %_struct_5 35 %6 = OpVariable %_ptr_Uniform__struct_5 Uniform 36 %7 = OpVariable %_ptr_Uniform__struct_5 Uniform 37 %8 = OpVariable %_ptr_Uniform__struct_5 Uniform 38 %9 = OpVariable %_ptr_Uniform__struct_5 Uniform
|
/third_party/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 22 Uniform& uniform = fUniforms[i++]; in GrGLProgramDataManager() 46 const Uniform& uni = fUniforms[u.toIndex()]; in set1i() 57 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv() 67 const Uniform& uni = fUniforms[u.toIndex()]; in set1f() 78 const Uniform& uni = fUniforms[u.toIndex()]; in set1fv() 92 const Uniform& uni = fUniforms[u.toIndex()]; in set2i() 103 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv() 113 const Uniform& uni = fUniforms[u.toIndex()]; in set2f() 124 const Uniform& uni = fUniforms[u.toIndex()]; in set2fv() 134 const Uniform& uni = fUniforms[u.toIndex()]; in set3i() [all …]
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/dynamic_index/ |
D | read.wgsl.expected.spvasm | 71 %_ptr_Uniform_S = OpTypePointer Uniform %S 72 %s = OpVariable %_ptr_Uniform_S Uniform 76 %_ptr_Uniform_v3int = OpTypePointer Uniform %v3int 78 %_ptr_Uniform_int = OpTypePointer Uniform %int 80 %_ptr_Uniform_v3uint = OpTypePointer Uniform %v3uint 82 %_ptr_Uniform_uint = OpTypePointer Uniform %uint 83 %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float 85 %_ptr_Uniform_float = OpTypePointer Uniform %float 87 %_ptr_Uniform_v2int = OpTypePointer Uniform %v2int 89 %_ptr_Uniform_mat2v3float = OpTypePointer Uniform %mat2v3float [all …]
|