Searched refs:BoolFromEnv (Results 1 – 5 of 5) sorted by relevance
/third_party/benchmark/test/ |
D | commandlineflags_gtest.cc | 27 TEST(BoolFromEnv, Default) { in TEST() argument 29 EXPECT_EQ(BoolFromEnv("not_in_env", true), true); in TEST() 32 TEST(BoolFromEnv, False) { in TEST() argument 34 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 38 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 42 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 46 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 50 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 54 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() 58 EXPECT_EQ(BoolFromEnv("in_env", true), false); in TEST() [all …]
|
/third_party/benchmark/src/ |
D | commandlineflags.h | 21 bool FLAG(name) = benchmark::BoolFromEnv(#name, default_val) 38 bool BoolFromEnv(const char* flag, bool default_val);
|
D | commandlineflags.cc | 124 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() function
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | commandlineflags.h | 33 bool BoolFromEnv(const char* flag, bool default_val);
|
D | commandlineflags.cc | 95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() function
|