Home
last modified time | relevance | path

Searched refs:BoolFromEnv (Results 1 – 5 of 5) sorted by relevance

/third_party/benchmark/test/
Dcommandlineflags_gtest.cc27 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/
Dcommandlineflags.h21 bool FLAG(name) = benchmark::BoolFromEnv(#name, default_val)
38 bool BoolFromEnv(const char* flag, bool default_val);
Dcommandlineflags.cc124 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() function
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dcommandlineflags.h33 bool BoolFromEnv(const char* flag, bool default_val);
Dcommandlineflags.cc95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() function