Home
last modified time | relevance | path

Searched refs:to_byte (Results 1 – 4 of 4) sorted by relevance

/external/Microsoft-GSL/tests/
Dbyte_tests.cpp46 const byte b = to_byte<12>();
51 const byte b = to_byte(uc);
65 const byte b = to_byte<0xFF>();
67 byte a = to_byte<0x00>();
68 CHECK((b | a) == to_byte<0xFF>());
69 CHECK(a == to_byte<0x00>());
72 CHECK(a == to_byte<0xFF>());
74 a = to_byte<0x01>();
75 CHECK((b & a) == to_byte<0x01>());
78 CHECK(a == to_byte<0x01>());
[all …]
/external/Microsoft-GSL/include/gsl/
Dgsl_byte171 E, "gsl::to_byte(t) must be provided an unsigned char, otherwise data loss may occur. "
172 "If you are calling to_byte with an integer contant use: gsl::to_byte<t>() version.");
184 constexpr byte to_byte(T t) noexcept
190 constexpr byte to_byte() noexcept
/external/libbrillo/brillo/http/
Dhttp_request.cc129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange() argument
131 ranges_.emplace_back(from_byte, to_byte); in AddRange()
Dhttp_request.h262 void AddRange(uint64_t from_byte, uint64_t to_byte);