OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsValueInRangeForNumericType
(Results
1 - 9
of
9
) sorted by null
/external/libchrome/base/numerics/
safe_numerics_unittest.cc
25
using base::
IsValueInRangeForNumericType
;
688
TEST(SafeNumerics,
IsValueInRangeForNumericType
) {
689
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(0));
690
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(1));
691
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(2));
692
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(-1));
693
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(0xffffffffu));
694
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0xffffffff)));
695
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0x100000000)));
696
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0x100000001)))
[
all
...]
safe_conversions.h
21
inline bool
IsValueInRangeForNumericType
(Src value) {
49
CHECK(
IsValueInRangeForNumericType
<Dst>(value));
/external/libweave/third_party/chromium/base/numerics/
safe_numerics_unittest.cc
21
using base::
IsValueInRangeForNumericType
;
684
TEST(SafeNumerics,
IsValueInRangeForNumericType
) {
685
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(0));
686
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(1));
687
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(2));
688
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(-1));
689
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(0xffffffffu));
690
EXPECT_TRUE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0xffffffff)));
691
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0x100000000)));
692
EXPECT_FALSE(
IsValueInRangeForNumericType
<uint32_t>(UINT64_C(0x100000001)))
[
all
...]
safe_conversions.h
21
inline bool
IsValueInRangeForNumericType
(Src value) {
49
CHECK(
IsValueInRangeForNumericType
<Dst>(value));
/external/pdfium/third_party/base/numerics/
safe_conversions.h
19
inline bool
IsValueInRangeForNumericType
(Src value) {
29
CHECK(
IsValueInRangeForNumericType
<Dst>(value));
/external/v8/src/base/
safe_conversions.h
21
inline bool
IsValueInRangeForNumericType
(Src value) {
31
CHECK(
IsValueInRangeForNumericType
<Dst>(value));
/external/webrtc/webrtc/base/
safe_conversions.h
26
inline bool
IsValueInRangeForNumericType
(Src value) {
35
RTC_CHECK(
IsValueInRangeForNumericType
<Dst>(value));
rtccertificate_unittests.cc
70
RTC_CHECK(
IsValueInRangeForNumericType
<time_t>(expires_s));
/external/libchrome/base/files/
important_file_writer.cc
163
if (!
IsValueInRangeForNumericType
<int32_t>(data->length())) {
Completed in 3225 milliseconds