Home
last modified time | relevance | path

Searched refs:IsWithinBounds (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp1218 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 0)); in TEST()
1219 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 0)); in TEST()
1220 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 1)); in TEST()
1221 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 1)); in TEST()
1222 EXPECT_TRUE(analysis.IsWithinBounds(-2, -2, -2)); in TEST()
1223 EXPECT_TRUE(analysis.IsWithinBounds(-2, -3, 0)); in TEST()
1224 EXPECT_TRUE(analysis.IsWithinBounds(-2, 0, -3)); in TEST()
1225 EXPECT_TRUE(analysis.IsWithinBounds(2, 2, 2)); in TEST()
1226 EXPECT_TRUE(analysis.IsWithinBounds(2, 3, 0)); in TEST()
1228 EXPECT_FALSE(analysis.IsWithinBounds(2, 3, 3)); in TEST()
[all …]
/third_party/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp1218 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 0)); in TEST()
1219 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 0)); in TEST()
1220 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 1)); in TEST()
1221 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 1)); in TEST()
1222 EXPECT_TRUE(analysis.IsWithinBounds(-2, -2, -2)); in TEST()
1223 EXPECT_TRUE(analysis.IsWithinBounds(-2, -3, 0)); in TEST()
1224 EXPECT_TRUE(analysis.IsWithinBounds(-2, 0, -3)); in TEST()
1225 EXPECT_TRUE(analysis.IsWithinBounds(2, 2, 2)); in TEST()
1226 EXPECT_TRUE(analysis.IsWithinBounds(2, 3, 0)); in TEST()
1228 EXPECT_FALSE(analysis.IsWithinBounds(2, 3, 3)); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp1218 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 0)); in TEST()
1219 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 0)); in TEST()
1220 EXPECT_TRUE(analysis.IsWithinBounds(0, 0, 1)); in TEST()
1221 EXPECT_TRUE(analysis.IsWithinBounds(0, -1, 1)); in TEST()
1222 EXPECT_TRUE(analysis.IsWithinBounds(-2, -2, -2)); in TEST()
1223 EXPECT_TRUE(analysis.IsWithinBounds(-2, -3, 0)); in TEST()
1224 EXPECT_TRUE(analysis.IsWithinBounds(-2, 0, -3)); in TEST()
1225 EXPECT_TRUE(analysis.IsWithinBounds(2, 2, 2)); in TEST()
1226 EXPECT_TRUE(analysis.IsWithinBounds(2, 3, 0)); in TEST()
1228 EXPECT_FALSE(analysis.IsWithinBounds(2, 3, 3)); in TEST()
[all …]
/third_party/node/src/
Dnode_buffer.h75 static inline bool IsWithinBounds(size_t off, size_t len, size_t max) { in IsWithinBounds() function
Dnode_zlib.cc330 CHECK(Buffer::IsWithinBounds(in_off, in_len, Buffer::Length(in_buf))); in Write()
338 CHECK(Buffer::IsWithinBounds(out_off, out_len, Buffer::Length(out_buf))); in Write()
Dnode_file.cc2039 CHECK(Buffer::IsWithinBounds(off, len, buffer_length)); in WriteBuffer()
2244 CHECK(Buffer::IsWithinBounds(off, len, buffer_length)); in Read()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_dependence.h336 bool IsWithinBounds(int64_t value, int64_t bound_one, int64_t bound_two);
Dloop_dependence_helpers.cpp123 bool LoopDependenceAnalysis::IsWithinBounds(int64_t value, int64_t bound_one, in IsWithinBounds() function in spvtools::opt::LoopDependenceAnalysis
Dloop_dependence.cpp753 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroSourceSIVTest()
906 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroDestinationSIVTest()
/third_party/spirv-tools/source/opt/
Dloop_dependence.h336 bool IsWithinBounds(int64_t value, int64_t bound_one, int64_t bound_two);
Dloop_dependence_helpers.cpp123 bool LoopDependenceAnalysis::IsWithinBounds(int64_t value, int64_t bound_one, in IsWithinBounds() function in spvtools::opt::LoopDependenceAnalysis
Dloop_dependence.cpp753 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroSourceSIVTest()
906 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroDestinationSIVTest()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_dependence.h336 bool IsWithinBounds(int64_t value, int64_t bound_one, int64_t bound_two);
Dloop_dependence_helpers.cpp123 bool LoopDependenceAnalysis::IsWithinBounds(int64_t value, int64_t bound_one, in IsWithinBounds() function in spvtools::opt::LoopDependenceAnalysis
Dloop_dependence.cpp753 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroSourceSIVTest()
906 if (!IsWithinBounds(llabs(distance), lower_bound_value, in WeakZeroDestinationSIVTest()