/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgVariableValue.hpp | 36 union Scalar union 42 Scalar (void) : intVal (0) {} in Scalar() function 43 Scalar (float v) : floatVal (v) {} in Scalar() function 44 Scalar (int v) : intVal (v) {} in Scalar() function 45 Scalar (bool v) : boolVal (v) {} in Scalar() function 48 bool operator== (Scalar other) const { return intVal == other.intVal; } in operator ==() 49 bool operator!= (Scalar other) const { return intVal != other.intVal; } in operator !=() 51 template <typename T> static Scalar min (void); 52 template <typename T> static Scalar max (void); 57 DE_STATIC_ASSERT(sizeof(Scalar) == sizeof(deUint32)); [all …]
|
D | rsgExpression.cpp | 178 if (valueRange.getMin().component(ndx).asScalar() != Scalar::min<int>() || in computeRandomValueRangeForInfElements() 179 valueRange.getMax().component(ndx).asScalar() != Scalar::max<int>()) in computeRandomValueRangeForInfElements() 198 if (valueRange.getMin().component(ndx).asScalar() != Scalar::min<float>() || in computeRandomValueRangeForInfElements() 199 valueRange.getMax().component(ndx).asScalar() != Scalar::max<float>()) in computeRandomValueRangeForInfElements() 232 valueRange.getMin().component(ndx) = Scalar::min<bool>(); in setInfiniteRange() 233 valueRange.getMax().component(ndx) = Scalar::max<bool>(); in setInfiniteRange() 240 valueRange.getMin().component(ndx) = Scalar::min<int>(); in setInfiniteRange() 241 valueRange.getMax().component(ndx) = Scalar::max<int>(); in setInfiniteRange() 248 valueRange.getMin().component(ndx) = Scalar::min<float>(); in setInfiniteRange() 249 valueRange.getMax().component(ndx) = Scalar::max<float>(); in setInfiniteRange() [all …]
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
D | scalar.cc | 20 Scalar::Scalar() : type_(kNull) {} in Scalar() function in tint::inspector::Scalar 22 Scalar::Scalar(bool val) : type_(kBool) { in Scalar() function in tint::inspector::Scalar 26 Scalar::Scalar(uint32_t val) : type_(kU32) { in Scalar() function in tint::inspector::Scalar 30 Scalar::Scalar(int32_t val) : type_(kI32) { in Scalar() function in tint::inspector::Scalar 34 Scalar::Scalar(float val) : type_(kFloat) { in Scalar() function in tint::inspector::Scalar 38 bool Scalar::IsNull() const { in IsNull() 42 bool Scalar::IsBool() const { in IsBool() 46 bool Scalar::IsU32() const { in IsU32() 50 bool Scalar::IsI32() const { in IsI32() 54 bool Scalar::IsFloat() const { in IsFloat() [all …]
|
D | scalar.h | 24 class Scalar { 27 Scalar(); 29 explicit Scalar(bool val); 31 explicit Scalar(uint32_t val); 33 explicit Scalar(int32_t val); 35 explicit Scalar(float val);
|
/third_party/PyYAML/tests/data/ |
D | scalars.events | 5 - !Scalar { implicit: [true,true], value: 'empty scalar' } 6 - !Scalar { implicit: [true,false], value: '' } 7 - !Scalar { implicit: [true,true], value: 'implicit scalar' } 8 - !Scalar { implicit: [true,true], value: 'data' } 9 - !Scalar { implicit: [true,true], value: 'quoted scalar' } 10 - !Scalar { value: 'data', style: '"' } 11 - !Scalar { implicit: [true,true], value: 'block scalar' } 12 - !Scalar { value: 'data', style: '|' } 13 - !Scalar { implicit: [true,true], value: 'empty scalar with tag' } 14 - !Scalar { implicit: [false,false], tag: '!mytag', value: '' } [all …]
|
D | mappings.events | 5 - !Scalar { implicit: [true,true], value: 'key' } 6 - !Scalar { implicit: [true,true], value: 'value' } 7 - !Scalar { implicit: [true,true], value: 'empty mapping' } 10 - !Scalar { implicit: [true,true], value: 'empty mapping with tag' } 13 - !Scalar { implicit: [true,true], value: 'block mapping' } 16 - !Scalar { implicit: [true,true], value: 'complex' } 17 - !Scalar { implicit: [true,true], value: 'key' } 18 - !Scalar { implicit: [true,true], value: 'complex' } 19 - !Scalar { implicit: [true,true], value: 'key' } 22 - !Scalar { implicit: [true,true], value: 'complex' } [all …]
|
D | sequences.events | 20 - !Scalar 21 - !Scalar { value: 'data' } 22 - !Scalar { tag: '!mytag', implicit: [false,false], value: 'data' } 27 - !Scalar 34 - !Scalar { value: 'data' } 44 - !Scalar { value: 'key1' } 46 - !Scalar { value: 'data1' } 47 - !Scalar { value: 'data2' } 49 - !Scalar { value: 'key2' } 51 - !Scalar { value: 'data3' } [all …]
|
D | tags.events | 4 - !Scalar { value: 'data' } 5 #- !Scalar { tag: '!', value: 'data' } 6 - !Scalar { tag: 'tag:yaml.org,2002:str', value: 'data' } 7 - !Scalar { tag: '!myfunnytag', value: 'data' } 8 - !Scalar { tag: '!my!ugly!tag', value: 'data' } 9 - !Scalar { tag: 'tag:my.domain.org,2002:data!? #', value: 'data' }
|
D | documents.events | 3 - !Scalar { implicit: [true,false], value: 'data' } 6 - !Scalar { implicit: [true,false] } 9 - !Scalar { implicit: [true,false] }
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] 116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] 117 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] 181 def isEqual(a, b): return Scalar(a.isEqual(b)) 184 def isNotEqual(a, b): return Scalar(not a.isEqual(b)) 215 class Scalar: class 219 def applyUnary(self, func): return Scalar(func(self.x)) 220 def applyBinary(self, func, other): return Scalar(func(self.x, other.x)) 222 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) 225 def toScalar(self): return Scalar(self.x) [all …]
|
/third_party/PyYAML/examples/pygments-lexer/ |
D | yaml.py | 242 something(Literal.Scalar.Plain), 275 (r'\'', Literal.Scalar.Flow.Quote, 'single-quoted-scalar'), 277 (r'\"', Literal.Scalar.Flow.Quote, 'double-quoted-scalar'), 296 something(Literal.Scalar.Plain), 323 Literal.Scalar.Block)), 327 (r'[^\n\r\f\v]+', Literal.Scalar.Block), 349 (r'[ ]+', Literal.Scalar.Flow), 357 (r'\'\'', Literal.Scalar.Flow.Escape), 359 (r'[^ \t\n\r\f\v\']+', Literal.Scalar.Flow), 361 (r'\'', Literal.Scalar.Flow.Quote, '#pop'), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | YAMLTraits.cpp | 358 return NodeKind::Scalar; in getNodeKind() 856 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input() argument 857 if (Scalar.equals("true")) { in input() 860 } else if (Scalar.equals("false")) { in input() 872 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input() argument 874 Val = Scalar; in input() 883 StringRef ScalarTraits<std::string>::input(StringRef Scalar, void *, in input() argument 885 Val = Scalar.str(); in input() 896 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input() argument 898 if (getAsUnsignedInteger(Scalar, 0, n)) in input() [all …]
|
/third_party/vk-gl-cts/modules/gles31/scripts/ |
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] 116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] 118 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] 191 def isEqual(a, b): return Scalar(a.isEqual(b)) 194 def isNotEqual(a, b): return Scalar(not a.isEqual(b)) 228 class Scalar(object): class 232 def applyUnary(self, func): return Scalar(func(self.x)) 233 def applyBinary(self, func, other): return Scalar(func(self.x, other.x)) 235 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) 238 def toScalar(self): return Scalar(self.x) [all …]
|
D | gen-implicit-conversions.py | 29 from genutil import Scalar, Vec2, Vec3, Vec4, Uint, UVec2, UVec3, UVec4, CaseGroup 233 "int": [Scalar(x) for x in IN_ISCALAR], 234 "uint": [Scalar(x) for x in IN_USCALAR], 241 "float": [Scalar(x).toFloat() for x in IN_ISCALAR], 302 if isinstance(a, Scalar) and isinstance(b, Vec2): 304 elif isinstance(a, Scalar) and isinstance(b, Vec3): 306 elif isinstance(a, Scalar) and isinstance(b, Vec4): 320 if isinstance(value, Scalar): 380 "float": Scalar(2.0), 421 if isinstance(a, Scalar) and isinstance(b, Scalar): [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
D | TextStubCommon.cpp | 80 StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO, in input() argument 86 if (Scalar == "zippered") { in input() 95 auto Platform = StringSwitch<PlatformKind>(Scalar) in input() 132 StringRef ScalarTraits<Architecture>::input(StringRef Scalar, void *, in input() argument 134 Value = getArchitectureFromName(Scalar); in input() 145 StringRef ScalarTraits<PackedVersion>::input(StringRef Scalar, void *, in input() argument 147 if (!Value.parse32(Scalar)) in input() 175 StringRef ScalarTraits<SwiftVersion>::input(StringRef Scalar, void *IO, in input() argument 182 if (Scalar.getAsInteger(10, Value)) in input() 186 Value = StringSwitch<SwiftVersion>(Scalar) in input() [all …]
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] 116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] 118 def toBool(lst): return [Scalar(bool(v.x)) for v in lst] 191 def isEqual(a, b): return Scalar(a.isEqual(b)) 194 def isNotEqual(a, b): return Scalar(not a.isEqual(b)) 228 class Scalar(object): class 232 def applyUnary(self, func): return Scalar(func(self.x)) 233 def applyBinary(self, func, other): return Scalar(func(self.x, other.x)) 235 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) 238 def toScalar(self): return Scalar(self.x) [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | declarationEmitPrefersPathKindBasedOnBundling2.types | 2 export interface Scalar { 8 export function scalar(value: string): Scalar { 9 >scalar : (value: string) => Scalar 18 >scalar : (value: string) => import("tests/cases/compiler/src/lib/operators/scalar").Scalar 21 …alar("14px"); }} : { readonly xs: import("tests/cases/compiler/src/lib/operators/scalar").Scalar; } 24 >xs : import("tests/cases/compiler/src/lib/operators/scalar").Scalar 27 >scalar("14px") : import("tests/cases/compiler/src/lib/operators/scalar").Scalar 28 >scalar : (value: string) => import("tests/cases/compiler/src/lib/operators/scalar").Scalar
|
D | declarationEmitPrefersPathKindBasedOnBundling.types | 2 export interface Scalar { 8 export function scalar(value: string): Scalar { 9 >scalar : (value: string) => Scalar 18 >scalar : (value: string) => import("tests/cases/compiler/src/lib/operators/scalar").Scalar 21 …alar("14px"); }} : { readonly xs: import("tests/cases/compiler/src/lib/operators/scalar").Scalar; } 24 >xs : import("tests/cases/compiler/src/lib/operators/scalar").Scalar 27 >scalar("14px") : import("tests/cases/compiler/src/lib/operators/scalar").Scalar 28 >scalar : (value: string) => import("tests/cases/compiler/src/lib/operators/scalar").Scalar
|
D | declarationEmitPrefersPathKindBasedOnBundling2.symbols | 2 export interface Scalar { 3 >Scalar : Symbol(Scalar, Decl(scalar.ts, 0, 0)) 7 >value : Symbol(Scalar.value, Decl(scalar.ts, 1, 12)) 10 export function scalar(value: string): Scalar { 13 >Scalar : Symbol(Scalar, Decl(scalar.ts, 0, 0))
|
D | declarationEmitPrefersPathKindBasedOnBundling.symbols | 2 export interface Scalar { 3 >Scalar : Symbol(Scalar, Decl(scalar.ts, 0, 0)) 7 >value : Symbol(Scalar.value, Decl(scalar.ts, 1, 12)) 10 export function scalar(value: string): Scalar { 13 >Scalar : Symbol(Scalar, Decl(scalar.ts, 0, 0))
|
D | declarationEmitPrefersPathKindBasedOnBundling.js | 4 export interface Scalar { 9 export function scalar(value: string): Scalar { 42 export interface Scalar { 46 export declare function scalar(value: string): Scalar; 49 readonly xs: import("../lib/operators/scalar").Scalar;
|
D | declarationEmitPrefersPathKindBasedOnBundling2.js | 4 export interface Scalar { 9 export function scalar(value: string): Scalar { 45 export interface Scalar { 49 export function scalar(value: string): Scalar; 53 readonly xs: import("lib/operators/scalar").Scalar;
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | constant.h | 36 union Scalar { union 48 Scalar(ProgramBuilder::i32 v) : i32(v) {} // NOLINT in Scalar() function 52 Scalar(ProgramBuilder::u32 v) : u32(v) {} // NOLINT in Scalar() function 56 Scalar(ProgramBuilder::f32 v) : f32(v) {} // NOLINT in Scalar() function 60 Scalar(bool v) : bool_(v) {} // NOLINT in Scalar() function 64 using Scalars = std::vector<Scalar>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | YAML.cpp | 27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input() argument 29 if (Scalar.size() % 2 != 0) in input() 33 for (unsigned I = 0, N = Scalar.size(); I != N; ++I) in input() 34 if (!llvm::isHexDigit(Scalar[I])) in input() 36 Val = yaml::BinaryRef(Scalar); in input()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/ |
D | Android.bp | 719 "llvm/lib/Transforms/Scalar/ADCE.cpp", 720 "llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp", 721 "llvm/lib/Transforms/Scalar/BDCE.cpp", 722 "llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp", 723 "llvm/lib/Transforms/Scalar/ConstantHoisting.cpp", 724 "llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp", 725 "llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp", 726 "llvm/lib/Transforms/Scalar/DivRemPairs.cpp", 727 "llvm/lib/Transforms/Scalar/EarlyCSE.cpp", 728 "llvm/lib/Transforms/Scalar/Float2Int.cpp", [all …]
|