Home
last modified time | relevance | path

Searched refs:Level (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/lint/
Ddivergence_analysis_test.cpp72 using Level = DivergenceAnalysis::DivergenceLevel; typedef
121 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
122 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
124 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(14)); in TEST_F()
126 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
128 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
173 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
175 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
178 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
181 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/lint/
Ddivergence_analysis_test.cpp72 using Level = DivergenceAnalysis::DivergenceLevel; typedef
121 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
122 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
124 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(14)); in TEST_F()
126 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
128 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
173 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
175 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
178 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
181 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
[all …]
/third_party/spirv-tools/test/lint/
Ddivergence_analysis_test.cpp72 using Level = DivergenceAnalysis::DivergenceLevel; typedef
121 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
122 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
124 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(14)); in TEST_F()
126 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
128 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
173 EXPECT_EQ(Level::kUniform, divergence_->GetDivergenceLevel(10)); in TEST_F()
175 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(11)); in TEST_F()
178 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(12)); in TEST_F()
181 EXPECT_EQ(Level::kDivergent, divergence_->GetDivergenceLevel(13)); in TEST_F()
[all …]
/third_party/rust/crates/env_logger/src/filter/
Dmod.rs61 use log::{Level, LevelFilter, Metadata, Record};
362 fn enabled(directives: &[Directive], level: Level, target: &str) -> bool { in enabled() argument
375 use log::{Level, LevelFilter};
388 assert!(enabled(&logger.directives, Level::Info, "crate1")); in filter_info()
389 assert!(!enabled(&logger.directives, Level::Debug, "crate1")); in filter_info()
399 assert!(enabled(&logger.directives, Level::Debug, "crate2::mod1")); in filter_beginning_longest_match()
400 assert!(!enabled(&logger.directives, Level::Debug, "crate2")); in filter_beginning_longest_match()
417 let level_universe: Level = Level::Trace; // use of trace variant is arbitrary in ensure_tests_cover_level_universe()
419 Level::Error | Level::Warn | Level::Info | Level::Debug | Level::Trace => (), in ensure_tests_cover_level_universe()
426 assert!(enabled(&logger.directives, Level::Warn, "crate1::mod1")); in parse_default()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DDebug.cpp47 enum class Level enum
59 void logv_android(Level level, const char *msg) in logv_android()
63 case Level::Debug: in logv_android()
66 case Level::Info: in logv_android()
69 case Level::Warn: in logv_android()
72 case Level::Error: in logv_android()
75 case Level::Fatal: in logv_android()
83 void logv_std(Level level, const char *msg) in logv_std()
87 case Level::Debug: in logv_std()
88 case Level::Info: in logv_std()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DDebug.cpp99 enum class Level enum
109 void logv_android(Level level, const char *msg) in logv_android()
113 case Level::Debug: in logv_android()
116 case Level::Info: in logv_android()
119 case Level::Warn: in logv_android()
122 case Level::Error: in logv_android()
125 case Level::Fatal: in logv_android()
131 void logv_std(Level level, const char *msg) in logv_std()
135 case Level::Debug: in logv_std()
136 case Level::Info: in logv_std()
[all …]
/third_party/rust/crates/log/src/
Dlib.rs426 pub enum Level { enum
452 impl Clone for Level { implementation
454 fn clone(&self) -> Level { in clone() argument
459 impl PartialEq for Level { implementation
461 fn eq(&self, other: &Level) -> bool { in eq()
466 impl PartialEq<LevelFilter> for Level { implementation
473 impl PartialOrd for Level { implementation
475 fn partial_cmp(&self, other: &Level) -> Option<cmp::Ordering> { in partial_cmp()
480 fn lt(&self, other: &Level) -> bool { in lt()
485 fn le(&self, other: &Level) -> bool { in le()
[all …]
Dserde.rs10 use {Level, LevelFilter, LOG_LEVEL_NAMES};
17 impl Serialize for Level { implementation
23 Level::Error => serializer.serialize_unit_variant("Level", 0, "ERROR"), in serialize()
24 Level::Warn => serializer.serialize_unit_variant("Level", 1, "WARN"), in serialize()
25 Level::Info => serializer.serialize_unit_variant("Level", 2, "INFO"), in serialize()
26 Level::Debug => serializer.serialize_unit_variant("Level", 3, "DEBUG"), in serialize()
27 Level::Trace => serializer.serialize_unit_variant("Level", 4, "TRACE"), in serialize()
32 impl<'de> Deserialize<'de> for Level { implementation
40 type Value = Level; in deserialize()
77 type Value = Level; in deserialize()
[all …]
Dmacros.rs80 (target: $target:expr, $($arg:tt)+) => (log!(target: $target, $crate::Level::Error, $($arg)+));
83 ($($arg:tt)+) => (log!($crate::Level::Error, $($arg)+))
104 (target: $target:expr, $($arg:tt)+) => (log!(target: $target, $crate::Level::Warn, $($arg)+));
107 ($($arg:tt)+) => (log!($crate::Level::Warn, $($arg)+))
130 (target: $target:expr, $($arg:tt)+) => (log!(target: $target, $crate::Level::Info, $($arg)+));
133 ($($arg:tt)+) => (log!($crate::Level::Info, $($arg)+))
155 (target: $target:expr, $($arg:tt)+) => (log!(target: $target, $crate::Level::Debug, $($arg)+));
158 ($($arg:tt)+) => (log!($crate::Level::Debug, $($arg)+))
182 (target: $target:expr, $($arg:tt)+) => (log!(target: $target, $crate::Level::Trace, $($arg)+));
185 ($($arg:tt)+) => (log!($crate::Level::Trace, $($arg)+))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DIntervalMap.cpp24 NodeRef Path::getLeftSibling(unsigned Level) const { in getLeftSibling()
26 if (Level == 0) in getLeftSibling()
30 unsigned l = Level - 1; in getLeftSibling()
42 for (++l; l != Level; ++l) in getLeftSibling()
47 void Path::moveLeft(unsigned Level) { in moveLeft() argument
48 assert(Level != 0 && "Cannot move the root node"); in moveLeft()
53 l = Level - 1; in moveLeft()
58 } else if (height() < Level) in moveLeft()
60 path.resize(Level + 1, Entry(nullptr, 0, 0)); in moveLeft()
67 for (++l; l != Level; ++l) { in moveLeft()
[all …]
/third_party/typescript/tests/baselines/reference/
DexhaustiveSwitchStatements1.types412 enum Level {
413 >Level : Level
416 >One : Level.One
419 >Two : Level.Two
422 const doSomethingWithLevel = (level: Level) => {
423 >doSomethingWithLevel : (level: Level) => Level
424Level) => { let next: Level; switch (level) { case Level.One: next = Level.Two; bre…
425 >level : Level
427 let next: Level;
428 >next : Level
[all …]
DexhaustiveSwitchStatements1.js125 enum Level {
130 const doSomethingWithLevel = (level: Level) => {
131 let next: Level;
133 case Level.One:
134 next = Level.Two;
136 case Level.Two:
137 next = Level.One;
377 var Level; variable
378 (function (Level) { argument
379 Level[Level["One"] = 0] = "One";
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/frag/
Dimage-query-selective.frag23 uint spvTextureSize(Texture1D<float4> Tex, uint Level, out uint Param)
26 Tex.GetDimensions(Level, ret.x, Param);
30 uint spvTextureSize(Texture1D<int4> Tex, uint Level, out uint Param)
33 Tex.GetDimensions(Level, ret.x, Param);
37 uint spvTextureSize(Texture1D<uint4> Tex, uint Level, out uint Param)
40 Tex.GetDimensions(Level, ret.x, Param);
44 uint2 spvTextureSize(Texture2D<float4> Tex, uint Level, out uint Param)
47 Tex.GetDimensions(Level, ret.x, ret.y, Param);
51 uint3 spvTextureSize(Texture2DArray<int4> Tex, uint Level, out uint Param)
54 Tex.GetDimensions(Level, ret.x, ret.y, ret.z, Param);
[all …]
Dimage-query.frag19 uint spvTextureSize(Texture1D<float4> Tex, uint Level, out uint Param)
22 Tex.GetDimensions(Level, ret.x, Param);
26 uint2 spvTextureSize(Texture2D<float4> Tex, uint Level, out uint Param)
29 Tex.GetDimensions(Level, ret.x, ret.y, Param);
33 uint3 spvTextureSize(Texture2DArray<float4> Tex, uint Level, out uint Param)
36 Tex.GetDimensions(Level, ret.x, ret.y, ret.z, Param);
40 uint3 spvTextureSize(Texture3D<float4> Tex, uint Level, out uint Param)
43 Tex.GetDimensions(Level, ret.x, ret.y, ret.z, Param);
47 uint spvTextureSize(Buffer<float4> Tex, uint Level, out uint Param)
55 uint2 spvTextureSize(TextureCube<float4> Tex, uint Level, out uint Param)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIntervalMap.h794 template <typename NodeT> NodeT &node(unsigned Level) const { in node() argument
795 return *reinterpret_cast<NodeT*>(path[Level].node); in node()
797 unsigned size(unsigned Level) const { return path[Level].size; } in size() argument
798 unsigned offset(unsigned Level) const { return path[Level].offset; } in offset() argument
799 unsigned &offset(unsigned Level) { return path[Level].offset; } in offset() argument
821 NodeRef &subtree(unsigned Level) const { in subtree() argument
822 return path[Level].subtree(path[Level].offset); in subtree()
827 void reset(unsigned Level) { in reset() argument
828 path[Level] = Entry(subtree(Level - 1), offset(Level)); in reset()
847 void setSize(unsigned Level, unsigned Size) { in setSize() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h33 ScheduleDAGSDNodes *(*)(SelectionDAGISel *, CodeGenOpt::Level)> {
36 CodeGenOpt::Level);
64 CodeGenOpt::Level OptLevel);
69 CodeGenOpt::Level OptLevel);
76 CodeGenOpt::Level);
83 CodeGenOpt::Level);
88 CodeGenOpt::Level OptLevel);
94 CodeGenOpt::Level OptLevel);
98 CodeGenOpt::Level OptLevel);
103 CodeGenOpt::Level OptLevel);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp247 static bool isOptimizingForSize(PassBuilder::OptimizationLevel Level) { in isOptimizingForSize() argument
248 switch (Level) { in isOptimizingForSize()
354 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks() argument
356 C(FPM, Level); in invokePeepholeEPCallbacks()
396 PassBuilder::buildFunctionSimplificationPipeline(OptimizationLevel Level, in buildFunctionSimplificationPipeline() argument
399 assert(Level != O0 && "Must request optimizations!"); in buildFunctionSimplificationPipeline()
410 if (Level > O1) { in buildFunctionSimplificationPipeline()
422 if (Level > O1) { in buildFunctionSimplificationPipeline()
430 if (Level == O3) in buildFunctionSimplificationPipeline()
434 if (!isOptimizingForSize(Level)) in buildFunctionSimplificationPipeline()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp189 for (unsigned Level = 1; Level <= D->getLevels(); Level++) { in dumpExampleDependence() local
190 if (D->isSplitable(Level)) { in dumpExampleDependence()
191 OS << " da analyze - split level = " << Level; in dumpExampleDependence()
192 OS << ", iteration = " << *DA->getSplitIteration(*D, Level); in dumpExampleDependence()
269 unsigned FullDependence::getDirection(unsigned Level) const { in getDirection()
270 assert(0 < Level && Level <= Levels && "Level out of range"); in getDirection()
271 return DV[Level - 1].Direction; in getDirection()
276 const SCEV *FullDependence::getDistance(unsigned Level) const { in getDistance()
277 assert(0 < Level && Level <= Levels && "Level out of range"); in getDistance()
278 return DV[Level - 1].Distance; in getDistance()
[all …]
/third_party/rust/crates/log/tests/
Dfilters.rs7 use log::{Level, LevelFilter, Log, Metadata, Record};
19 last_log: Mutex<Option<Level>>,
72 last(&a, t(Level::Error, filter)); in test()
74 last(&a, t(Level::Warn, filter)); in test()
76 last(&a, t(Level::Info, filter)); in test()
78 last(&a, t(Level::Debug, filter)); in test()
80 last(&a, t(Level::Trace, filter)); in test()
82 fn t(lvl: Level, filter: LevelFilter) -> Option<Level> { in test() argument
91 fn last(state: &State, expected: Option<Level>) { in last() argument
Dmacros.rs17 for lvl in log::Level::iter() { in no_args()
37 for lvl in log::Level::iter() { in anonymous_args()
57 for lvl in log::Level::iter() { in named_args()
77 for lvl in log::Level::iter() { in enabled()
88 for lvl in log::Level::iter() { in expr()
96 for lvl in log::Level::iter() { in kv_no_args()
110 for lvl in log::Level::iter() { in kv_expr_args()
125 for lvl in log::Level::iter() { in kv_anonymous_args()
140 for lvl in log::Level::iter() { in kv_named_args()
168 for lvl in log::Level::iter() { in implicit_named_args()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h157 virtual unsigned getDirection(unsigned Level) const { return DVEntry::ALL; } in getDirection() argument
161 virtual const SCEV *getDistance(unsigned Level) const { return nullptr; } in getDistance() argument
165 virtual bool isPeelFirst(unsigned Level) const { return false; } in isPeelFirst() argument
169 virtual bool isPeelLast(unsigned Level) const { return false; } in isPeelLast() argument
173 virtual bool isSplitable(unsigned Level) const { return false; } in isSplitable() argument
178 virtual bool isScalar(unsigned Level) const;
238 unsigned getDirection(unsigned Level) const override;
242 const SCEV *getDistance(unsigned Level) const override;
246 bool isPeelFirst(unsigned Level) const override;
250 bool isPeelLast(unsigned Level) const override;
[all …]
/third_party/rust/crates/log/test_max_level_features/
Dmain.rs5 use log::{Level, LevelFilter, Log, Record, Metadata};
15 last_log: Mutex<Option<Level>>,
48 last(&a, t(Level::Error, filter)); in test()
50 last(&a, t(Level::Warn, filter)); in test()
52 last(&a, t(Level::Info, filter)); in test()
56 last(&a, t(Level::Debug, filter)); in test()
64 fn t(lvl: Level, filter: LevelFilter) -> Option<Level> { in test() argument
69 fn last(state: &State, expected: Option<Level>) { in last() argument
/third_party/mesa3d/src/gallium/frontends/nine/
Dvolumetexture9.c155 UINT Level, in NineVolumeTexture9_GetLevelDesc() argument
158 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetLevelDesc()
160 *pDesc = This->volumes[Level]->desc; in NineVolumeTexture9_GetLevelDesc()
167 UINT Level, in NineVolumeTexture9_GetVolumeLevel() argument
170 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_GetVolumeLevel()
172 NineUnknown_AddRef(NineUnknown(This->volumes[Level])); in NineVolumeTexture9_GetVolumeLevel()
173 *ppVolumeLevel = (IDirect3DVolume9 *)This->volumes[Level]; in NineVolumeTexture9_GetVolumeLevel()
180 UINT Level, in NineVolumeTexture9_LockBox() argument
186 This, Level, pLockedVolume, pBox, Flags); in NineVolumeTexture9_LockBox()
188 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineVolumeTexture9_LockBox()
[all …]
Dcubetexture9.c199 UINT Level, in NineCubeTexture9_GetLevelDesc() argument
202 DBG("This=%p Level=%u pDesc=%p\n", This, Level, pDesc); in NineCubeTexture9_GetLevelDesc()
204 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_GetLevelDesc()
206 *pDesc = This->surfaces[Level * 6]->desc; in NineCubeTexture9_GetLevelDesc()
214 UINT Level, in NineCubeTexture9_GetCubeMapSurface() argument
217 const unsigned s = Level * 6 + FaceType; in NineCubeTexture9_GetCubeMapSurface()
220 This, FaceType, Level, ppCubeMapSurface); in NineCubeTexture9_GetCubeMapSurface()
222 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineCubeTexture9_GetCubeMapSurface()
234 UINT Level, in NineCubeTexture9_LockRect() argument
239 const unsigned s = Level * 6 + FaceType; in NineCubeTexture9_LockRect()
[all …]
Dtexture9.c248 UINT Level, in NineTexture9_GetLevelDesc() argument
251 DBG("This=%p Level=%d pDesc=%p\n", This, Level, pDesc); in NineTexture9_GetLevelDesc()
253 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineTexture9_GetLevelDesc()
256 *pDesc = This->surfaces[Level]->desc; in NineTexture9_GetLevelDesc()
263 UINT Level, in NineTexture9_GetSurfaceLevel() argument
266 DBG("This=%p Level=%d ppSurfaceLevel=%p\n", This, Level, ppSurfaceLevel); in NineTexture9_GetSurfaceLevel()
268 user_assert(Level < This->base.level_count, D3DERR_INVALIDCALL); in NineTexture9_GetSurfaceLevel()
271 NineUnknown_AddRef(NineUnknown(This->surfaces[Level])); in NineTexture9_GetSurfaceLevel()
272 *ppSurfaceLevel = (IDirect3DSurface9 *)This->surfaces[Level]; in NineTexture9_GetSurfaceLevel()
279 UINT Level, in NineTexture9_LockRect() argument
[all …]

12345678910>>...23