Searched refs:gsl (Results 1 – 25 of 30) sorted by relevance
12
/external/Microsoft-GSL/ |
D | CMakeLists.txt | 6 "gsl/gsl" 7 "gsl/gsl_assert" 8 "gsl/gsl_byte" 9 "gsl/gsl_util" 10 "gsl/multi_span" 11 "gsl/span" 12 "gsl/string_span" 20 DESTINATION include/gsl
|
D | README.md | 9 The entire implementation is provided inline in the headers under the [gsl](./gsl) directory. The i… 11 While some types have been broken out into their own headers (e.g. [gsl/span](./gsl/span)), 12 it is simplest to just include [gsl/gsl](./gsl/gsl) and gain access to the entire library. 37 <sup>1)</sup> For `gsl::byte` to work correctly with Clang and GCC you might have to use the ` -fno… 71 You can copy the [gsl](./gsl) directory into your source tree so it is available 86 #include <gsl/gsl>
|
/external/Microsoft-GSL/gsl/ |
D | string_span | 70 namespace gsl 561 constexpr string_span_type ensure_z() const noexcept { return gsl::ensure_z(span_); } 585 std::is_convertible<T, gsl::basic_string_span<std::add_const_t<CharT>>>::value>> 586 bool operator==(const gsl::basic_string_span<CharT, Extent>& one, const T& other) noexcept 588 gsl::basic_string_span<std::add_const_t<CharT>> tmp(other); 599 std::is_convertible<T, gsl::basic_string_span<std::add_const_t<CharT>>>::value>> 600 bool operator==(const T& one, const gsl::basic_string_span<CharT, Extent>& other) noexcept 602 gsl::basic_string_span<std::add_const_t<CharT>> tmp(one); 611 template <typename CharT, std::ptrdiff_t Extent = gsl::dynamic_extent, typename T, 613 T, gsl::basic_string_span<std::add_const_t<CharT>, Extent>>::value>> [all …]
|
D | gsl_assert | 30 // 2. GSL_THROW_ON_CONTRACT_VIOLATION: a gsl::fail_fast exception will be thrown 53 namespace gsl 65 throw gsl::fail_fast("GSL: Precondition failure at " __FILE__ ": " GSL_STRINGIFY(__LINE__)); 68 throw gsl::fail_fast("GSL: Postcondition failure at " __FILE__ \
|
D | gsl_byte | 44 namespace gsl 119 "gsl::to_byte(t) must be provided an unsigned char, otherwise data loss may occur. " 120 "If you are calling to_byte with an integer contant use: gsl::to_byte<t>() version." 139 …static_assert(I >= 0 && I <= 255, "gsl::byte only has 8 bits of storage, values must be in range 0… 143 } // namespace gsl
|
D | gsl | 49 namespace gsl 144 } // namespace gsl 149 struct hash<gsl::not_null<T>> 151 size_t operator()(const gsl::not_null<T>& value) const { return hash<T>{}(value); }
|
D | gsl_util | 58 // If building with -fno-exceptions, we'll fall back to gsl::Ensures in places 63 namespace gsl 182 } // namespace gsl
|
D | span | 84 namespace gsl 102 struct is_span_oracle<gsl::span<ElementType, Extent>> : std::true_type 128 : public std::integral_constant<bool, From == To || From == gsl::dynamic_extent || 129 To == gsl::dynamic_extent> 628 // Specialization of gsl::at for span 636 } // namespace gsl
|
/external/Microsoft-GSL/tests/ |
D | byte_tests.cpp | 28 using namespace gsl; 104 CHECK(0x12 == gsl::to_integer<char>(b)); in SUITE() 105 CHECK(0x12 == gsl::to_integer<short>(b)); in SUITE() 106 CHECK(0x12 == gsl::to_integer<long>(b)); in SUITE() 107 CHECK(0x12 == gsl::to_integer<long long>(b)); in SUITE() 109 CHECK(0x12 == gsl::to_integer<unsigned char>(b)); in SUITE() 110 CHECK(0x12 == gsl::to_integer<unsigned short>(b)); in SUITE() 111 CHECK(0x12 == gsl::to_integer<unsigned long>(b)); in SUITE() 112 CHECK(0x12 == gsl::to_integer<unsigned long long>(b)); in SUITE() 118 int modify_both(gsl::byte& b, int& i) in SUITE()
|
D | CMakeLists.txt | 36 …dd_executable(${name} ${name}.cpp ../gsl/gsl ../gsl/gsl_assert ../gsl/gsl_util ../gsl/multi_span .…
|
D | string_span_tests.cpp | 24 using namespace gsl; 107 auto s = gsl::to_string(cstring_span<>{}); in SUITE() 112 auto s2 = gsl::to_string(v); in SUITE() 119 …auto s = gsl::to_basic_string<char,std::char_traits<char>,::std::allocator<char>>(cstring_span<>{}… in SUITE() 124 auto s2 = gsl::to_basic_string<char,std::char_traits<char>,::std::allocator<char>>(v); in SUITE() 158 gsl::span<const char> sp = ensure_z("Hello"); in SUITE() 198 gsl::span<char> sp = ensure_z(ar1); in SUITE() 232 gsl::span<const char> sp = ensure_z("Hello"); in SUITE() 269 gsl::span<char> _sp{ _ar, 5 }; in SUITE() 762 void use(basic_string_span<T, gsl::dynamic_extent> s) {} in SUITE() [all …]
|
D | owner_tests.cpp | 21 using namespace gsl;
|
D | assertion_tests.cpp | 20 using namespace gsl;
|
D | at_tests.cpp | 23 using namespace gsl;
|
D | bounds_tests.cpp | 22 using namespace gsl;;
|
D | notnull_tests.cpp | 21 using namespace gsl;
|
D | utils_tests.cpp | 21 using namespace gsl;
|
D | strided_span_tests.cpp | 28 using namespace gsl; 43 auto sub = av.section({15, 0, 0}, gsl::index<3>{2, 2, 2}); in SUITE() 44 auto subsub = sub.section({1, 0, 0}, gsl::index<3>{1, 1, 1}); in SUITE()
|
D | span_tests.cpp | 29 using namespace gsl;
|
/external/eigen/cmake/ |
D | FindGSL.cmake | 3 # http://www.gnu.org/software/gsl/ and 4 # http://gnuwin32.sourceforge.net/packages/gsl.htm 11 # on Unix/Linux with additional linker flags from "gsl-config --libs" 13 # CMAKE_GSL_CXX_FLAGS = Unix compiler flags for GSL, essentially "`gsl-config --cxxflags`" 27 # JW tested with gsl-1.8, Windows XP, MSVS 7.1 39 NAMES gsl/gsl_cdf.h gsl/gsl_randist.h 46 NAMES libgsl.dll.a gsl libgsl 89 CACHE STRING "preferred path to GSL (gsl-config)") 90 FIND_PROGRAM(GSL_CONFIG gsl-config 157 … MESSAGE("FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=${GSL_CONFIG}")
|
/external/valgrind/auxprogs/ |
D | gsl19test | 83 rm -rf log.verbose gsl-1.9 summary.txt 92 "rm -rf gsl-1.9 && tar xzf $GSL_FILE" && \ 95 "(cd gsl-1.9 && CC=$GSL_CC CFLAGS=\"$GSL_CFLAGS\" ./configure)" && \ 102 (cd gsl-1.9 && for f in $ALL_TESTS ; \ 108 (cd gsl-1.9 && for f in $ALL_TESTS ; \
|
D | gsl16test | 80 rm -rf log.verbose gsl-1.6-patched summary.txt 89 "rm -rf gsl-1.6-patched && tar xzf $GSL_FILE" && \ 92 "(cd gsl-1.6-patched && CC=$GSL_CC CFLAGS=\"$GSL_CFLAGS\" ./configure)" && \ 99 (cd gsl-1.6-patched && for f in $ALL_TESTS ; do ./$f ; done) &> out-REF 104 (cd gsl-1.6-patched && for f in $ALL_TESTS ; do eval $GSL_VV -v --trace-children=yes "$GSL_VFLAGS" …
|
D | gsl16-badfree.patch | 3 RCS file: /home/gsl-cvs/gsl/vector/test_complex_source.c,v 19 RCS file: /home/gsl-cvs/gsl/vector/test_source.c,v
|
/external/valgrind/none/tests/x86/ |
D | getseg.c | 7 unsigned long gsl; in main() local 9 asm ("mov $~0, %0; movl %%gs, %0" : "=r" (gsl)); in main() 12 printf("%s\n", gsl == gsw ? "PASS" : "FAIL"); in main()
|
/external/valgrind/docs/internals/ |
D | release-HOWTO.txt | 100 * Run regression tests from gsl-1.6 on all platforms. This is a good,
|
12