/external/llvm-project/llvm/utils/benchmark/src/ |
D | commandlineflags.h | 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) argument 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) argument 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) argument 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) argument 22 #define DEFINE_string(name, default_val, doc) \ argument 23 std::string FLAG(name) = (default_val) 33 bool BoolFromEnv(const char* flag, bool default_val); 34 int32_t Int32FromEnv(const char* flag, int32_t default_val); 35 double DoubleFromEnv(const char* flag, double default_val); 36 const char* StringFromEnv(const char* flag, const char* default_val);
|
/external/libcxx/utils/google-benchmark/src/ |
D | commandlineflags.h | 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) argument 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) argument 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) argument 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) argument 22 #define DEFINE_string(name, default_val, doc) \ argument 23 std::string FLAG(name) = (default_val) 33 bool BoolFromEnv(const char* flag, bool default_val); 34 int32_t Int32FromEnv(const char* flag, int32_t default_val); 35 double DoubleFromEnv(const char* flag, double default_val); 36 const char* StringFromEnv(const char* flag, const char* default_val);
|
/external/llvm-project/libcxx/utils/google-benchmark/src/ |
D | commandlineflags.h | 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) argument 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) argument 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) argument 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) argument 22 #define DEFINE_string(name, default_val, doc) \ argument 23 std::string FLAG(name) = (default_val) 33 bool BoolFromEnv(const char* flag, bool default_val); 34 int32_t Int32FromEnv(const char* flag, int32_t default_val); 35 double DoubleFromEnv(const char* flag, double default_val); 36 const char* StringFromEnv(const char* flag, const char* default_val);
|
/external/google-benchmark/src/ |
D | commandlineflags.h | 17 #define DEFINE_bool(name, default_val) \ argument 19 benchmark::BoolFromEnv(#name, default_val) 20 #define DEFINE_int32(name, default_val) \ argument 22 benchmark::Int32FromEnv(#name, default_val) 23 #define DEFINE_double(name, default_val) \ argument 25 benchmark::DoubleFromEnv(#name, default_val) 26 #define DEFINE_string(name, default_val) \ argument 28 benchmark::StringFromEnv(#name, default_val) 37 bool BoolFromEnv(const char* flag, bool default_val); 44 int32_t Int32FromEnv(const char* flag, int32_t default_val); [all …]
|
D | commandlineflags.cc | 96 bool BoolFromEnv(const char* flag, bool default_val) { in BoolFromEnv() argument 99 return value_str == nullptr ? default_val : IsTruthyFlagValue(value_str); in BoolFromEnv() 102 int32_t Int32FromEnv(const char* flag, int32_t default_val) { in Int32FromEnv() argument 105 int32_t value = default_val; in Int32FromEnv() 109 return default_val; in Int32FromEnv() 114 double DoubleFromEnv(const char* flag, double default_val) { in DoubleFromEnv() argument 117 double value = default_val; in DoubleFromEnv() 121 return default_val; in DoubleFromEnv() 126 const char* StringFromEnv(const char* flag, const char* default_val) { in StringFromEnv() argument 129 return value == nullptr ? default_val : value; in StringFromEnv()
|
/external/tensorflow/tensorflow/core/util/ |
D | env_var.cc | 28 Status ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val, in ReadBoolFromEnvVar() argument 30 *value = default_val; in ReadBoolFromEnvVar() 45 tf_env_var_val, ". Use the default value: ", default_val)); in ReadBoolFromEnvVar() 48 Status ReadInt64FromEnvVar(StringPiece env_var_name, int64 default_val, in ReadInt64FromEnvVar() argument 50 *value = default_val; in ReadInt64FromEnvVar() 60 tf_env_var_val, ". Use the default value: ", default_val)); in ReadInt64FromEnvVar() 63 Status ReadFloatFromEnvVar(StringPiece env_var_name, float default_val, in ReadFloatFromEnvVar() argument 65 *value = default_val; in ReadFloatFromEnvVar() 75 tf_env_var_val, ". Use the default value: ", default_val)); in ReadFloatFromEnvVar() 78 Status ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val, in ReadStringFromEnvVar() argument [all …]
|
D | env_var.h | 30 Status ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val, 36 Status ReadInt64FromEnvVar(StringPiece env_var_name, int64 default_val, 41 Status ReadFloatFromEnvVar(StringPiece env_var_name, float default_val, 46 Status ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val,
|
/external/googletest/googlemock/include/gmock/internal/ |
D | gmock-port.h | 78 # define GMOCK_DEFINE_bool_(name, default_val, doc) \ argument 79 GTEST_API_ bool GMOCK_FLAG(name) = (default_val) 80 # define GMOCK_DEFINE_int32_(name, default_val, doc) \ argument 81 GTEST_API_ int32_t GMOCK_FLAG(name) = (default_val) 82 # define GMOCK_DEFINE_string_(name, default_val, doc) \ argument 83 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
|
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/internal/ |
D | gmock-port.h | 84 #define GMOCK_DEFINE_bool_(name, default_val, doc) \ argument 85 GTEST_API_ bool GMOCK_FLAG(name) = (default_val) 86 #define GMOCK_DEFINE_int32_(name, default_val, doc) \ argument 87 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val) 88 #define GMOCK_DEFINE_string_(name, default_val, doc) \ argument 89 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
|
/external/googletest/googlemock/include/gmock/internal/custom/ |
D | README.md | 14 * `GMOCK_DEFINE_bool_(name, default_val, doc)` 15 * `GMOCK_DEFINE_int32_(name, default_val, doc)` 16 * `GMOCK_DEFINE_string_(name, default_val, doc)`
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | StructuredData.h | 209 IntType default_val) const { in GetItemAtIndexAsInteger() argument 212 result = default_val; in GetItemAtIndexAsInteger() 228 llvm::StringRef default_val) const { in GetItemAtIndexAsString() argument 231 result = default_val; in GetItemAtIndexAsString() 247 const char *default_val) const { in GetItemAtIndexAsString() argument 250 result.SetCString(default_val); in GetItemAtIndexAsString() 416 IntType default_val) const { in GetValueForKeyAsInteger() argument 419 result = default_val; in GetValueForKeyAsInteger() 436 const char *default_val) const { in GetValueForKeyAsString() argument 439 if (default_val) in GetValueForKeyAsString() [all …]
|
/external/dtc/ |
D | fdtget.c | 34 const char *default_val; /* default value if node/property not found */ member 232 } else if (disp->default_val) { in show_data_for_item() 233 puts(disp->default_val); in show_data_for_item() 267 if (disp->default_val) { in do_fdtget() 268 puts(disp->default_val); in do_fdtget() 345 disp.default_val = optarg; in main()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | lookup_ops_test.py | 83 default_val = -1 87 lookup_ops.KeyValueTensorInitializer(keys, values), default_val) 106 default_val = -1 110 lookup_ops.KeyValueTensorInitializer(keys, values), default_val) 123 default_val = -1 128 keys, values, value_dtype=dtypes.int64), default_val) 140 default_val = -1 144 lookup_ops.KeyValueTensorInitializer(keys, values), default_val) 156 default_val = -1 161 lookup_ops.KeyValueTensorInitializer(keys, values), default_val) [all …]
|
/external/mesa3d/src/gtest/include/gtest/internal/custom/ |
D | README.md | 26 * `GTEST_DEFINE_bool_(name, default_val, doc)` 27 * `GTEST_DEFINE_int32_(name, default_val, doc)` 28 * `GTEST_DEFINE_string_(name, default_val, doc)`
|
/external/googletest/googletest/include/gtest/internal/custom/ |
D | README.md | 26 * `GTEST_DEFINE_bool_(name, default_val, doc)` 27 * `GTEST_DEFINE_int32_(name, default_val, doc)` 28 * `GTEST_DEFINE_string_(name, default_val, doc)`
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/custom/ |
D | README.md | 26 * `GTEST_DEFINE_bool_(name, default_val, doc)` 27 * `GTEST_DEFINE_int32_(name, default_val, doc)` 28 * `GTEST_DEFINE_string_(name, default_val, doc)`
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/custom/ |
D | README.md | 26 * `GTEST_DEFINE_bool_(name, default_val, doc)` 27 * `GTEST_DEFINE_int32_(name, default_val, doc)` 28 * `GTEST_DEFINE_string_(name, default_val, doc)`
|
/external/googletest/googletest/test/ |
D | googletest-env-var-test.py | 71 def TestFlag(flag, test_val, default_val): argument 78 AssertEq(default_val, GetFlag(flag))
|
/external/rust/crates/clap/src/args/ |
D | any_arg.rs | 35 fn default_val(&self) -> Option<&'e OsStr>; in default_val() method 116 fn default_val(&self) -> Option<&'e OsStr> { in default_val() function 117 (*self).default_val() in default_val()
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-port.h | 1764 #define GTEST_DEFINE_bool_(name, default_val, doc) \ 1765 GTEST_API_ bool GTEST_FLAG(name) = (default_val) 1766 #define GTEST_DEFINE_int32_(name, default_val, doc) \ 1767 GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val) 1768 #define GTEST_DEFINE_string_(name, default_val, doc) \ 1769 GTEST_API_ ::testing::internal::String GTEST_FLAG(name) = (default_val) 1781 bool BoolFromGTestEnv(const char* flag, bool default_val); 1782 GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val); 1783 const char* StringFromGTestEnv(const char* flag, const char* default_val);
|
/external/rust/crates/clap/src/args/arg_builder/ |
D | valued.rs | 22 pub default_val: Option<&'b OsStr>, field 39 default_val: None, in default()
|
/external/python/uritemplates/uritemplate/ |
D | variable.py | 98 default_val = None 101 name, default_val = tuple(var.split('=', 1)) 113 if default_val: 114 self.defaults[name] = default_val
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-port.h | 2181 # define GTEST_DEFINE_bool_(name, default_val, doc) \ 2182 GTEST_API_ bool GTEST_FLAG(name) = (default_val) 2183 # define GTEST_DEFINE_int32_(name, default_val, doc) \ 2184 GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val) 2185 # define GTEST_DEFINE_string_(name, default_val, doc) \ 2186 GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val) 2203 bool BoolFromGTestEnv(const char* flag, bool default_val); 2204 GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val); 2206 const char* StringFromGTestEnv(const char* flag, const char* default_val);
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/ |
D | gtest-port.h | 2242 # define GTEST_DEFINE_bool_(name, default_val, doc) \ 2243 GTEST_API_ bool GTEST_FLAG(name) = (default_val) 2244 # define GTEST_DEFINE_int32_(name, default_val, doc) \ 2245 GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val) 2246 # define GTEST_DEFINE_string_(name, default_val, doc) \ 2247 GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val) 2264 bool BoolFromGTestEnv(const char* flag, bool default_val); 2265 GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val); 2267 const char* StringFromGTestEnv(const char* flag, const char* default_val);
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-port.h | 2154 #define GTEST_DEFINE_bool_(name, default_val, doc) \ 2155 GTEST_API_ bool GTEST_FLAG(name) = (default_val) 2156 #define GTEST_DEFINE_int32_(name, default_val, doc) \ 2157 GTEST_API_ std::int32_t GTEST_FLAG(name) = (default_val) 2158 #define GTEST_DEFINE_string_(name, default_val, doc) \ 2159 GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val) 2176 bool BoolFromGTestEnv(const char *flag, bool default_val); 2177 GTEST_API_ int32_t Int32FromGTestEnv(const char *flag, int32_t default_val); 2179 const char *StringFromGTestEnv(const char *flag, const char *default_val);
|