Home
last modified time | relevance | path

Searched refs:default_val (Results 1 – 25 of 70) sorted by relevance

123

/external/google-benchmark/src/
Dcommandlineflags.h18 #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/
Dcommandlineflags.h18 #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/tensorflow/tensorflow/core/util/
Denv_var.cc28 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 ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val, in ReadStringFromEnvVar() argument
69 *value = string(default_val); in ReadStringFromEnvVar()
Denv_var.h30 Status ReadBoolFromEnvVar(StringPiece env_var_name, bool default_val,
36 Status ReadInt64FromEnvVar(StringPiece env_var_name, int64 default_val,
41 Status ReadStringFromEnvVar(StringPiece env_var_name, StringPiece default_val,
/external/googletest/googlemock/include/gmock/internal/
Dgmock-port.h78 # 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_ ::testing::internal::Int32 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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/
Dgmock-port.h82 #define GMOCK_DEFINE_bool_(name, default_val, doc) \ argument
83 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
84 #define GMOCK_DEFINE_int32_(name, default_val, doc) \ argument
85 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
86 #define GMOCK_DEFINE_string_(name, default_val, doc) \ argument
87 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-port.h71 #define GMOCK_DEFINE_bool_(name, default_val, doc) \ argument
72 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
73 #define GMOCK_DEFINE_int32_(name, default_val, doc) \ argument
74 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
75 #define GMOCK_DEFINE_string_(name, default_val, doc) \ argument
76 GTEST_API_ ::testing::internal::String GMOCK_FLAG(name) = (default_val)
/external/u-boot/lib/
Dfdtdec_common.c22 int default_val) in fdtdec_get_int() argument
36 return default_val; in fdtdec_get_int()
40 unsigned int default_val) in fdtdec_get_uint() argument
54 return default_val; in fdtdec_get_uint()
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsharded_mutable_dense_hashtable_test.py39 default_val = -1
47 default_val,
64 default_val = [-0.1, 0.2]
74 default_val,
94 default_val = -1
101 default_val,
/external/dtc/
Dfdtget.c48 const char *default_val; /* default value if node/property not found */ member
229 } else if (disp->default_val) { in show_data_for_item()
230 puts(disp->default_val); in show_data_for_item()
264 if (disp->default_val) { in do_fdtget()
265 puts(disp->default_val); in do_fdtget()
342 disp.default_val = optarg; in main()
/external/googletest/googlemock/include/gmock/internal/custom/
DREADME.md14 * `GMOCK_DEFINE_bool_(name, default_val, doc)`
15 * `GMOCK_DEFINE_int32_(name, default_val, doc)`
16 * `GMOCK_DEFINE_string_(name, default_val, doc)`
/external/tensorflow/tensorflow/python/kernel_tests/
Dlookup_ops_test.py68 default_val = -1
72 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
91 default_val = -1
95 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
108 default_val = -1
113 keys, values, value_dtype=dtypes.int64), default_val)
125 default_val = -1
129 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
141 default_val = -1
146 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
[all …]
/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops_test.py43 default_val = -1
47 lookup.KeyValueTensorInitializer(keys, values), default_val)
67 default_val = -1
71 lookup.KeyValueTensorInitializer(keys, values), default_val)
85 default_val = -1
91 default_val)
104 default_val = -1
108 lookup.KeyValueTensorInitializer(keys, values), default_val)
121 default_val = -1
126 lookup.KeyValueTensorInitializer(keys, values), default_val)
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/custom/
DREADME.md26 * `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/
DREADME.md26 * `GTEST_DEFINE_bool_(name, default_val, doc)`
27 * `GTEST_DEFINE_int32_(name, default_val, doc)`
28 * `GTEST_DEFINE_string_(name, default_val, doc)`
/external/u-boot/include/
Dfdtdec.h469 s32 default_val);
482 unsigned int default_val);
508 uint64_t default_val);
745 int default_val);
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1756 #define GTEST_DEFINE_bool_(name, default_val, doc) \
1757 GTEST_API_ bool GTEST_FLAG(name) = (default_val)
1758 #define GTEST_DEFINE_int32_(name, default_val, doc) \
1759 GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val)
1760 #define GTEST_DEFINE_string_(name, default_val, doc) \
1761 GTEST_API_ ::testing::internal::String GTEST_FLAG(name) = (default_val)
1773 bool BoolFromGTestEnv(const char* flag, bool default_val);
1774 GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val);
1775 const char* StringFromGTestEnv(const char* flag, const char* default_val);
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1764 #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/google-breakpad/src/testing/gtest/test/
Dgtest_env_var_test.py74 def TestFlag(flag, test_val, default_val): argument
81 AssertEq(default_val, GetFlag(flag))
/external/googletest/googletest/test/
Dgoogletest-env-var-test.py71 def TestFlag(flag, test_val, default_val): argument
78 AssertEq(default_val, GetFlag(flag))
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h1823 #define GTEST_DEFINE_bool_(name, default_val, doc) \
1824 GTEST_API_ bool GTEST_FLAG(name) = (default_val)
1825 #define GTEST_DEFINE_int32_(name, default_val, doc) \
1826 GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val)
1827 #define GTEST_DEFINE_string_(name, default_val, doc) \
1828 GTEST_API_ ::testing::internal::String GTEST_FLAG(name) = (default_val)
1844 bool BoolFromGTestEnv(const char* flag, bool default_val);
1845 GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val);
1846 const char* StringFromGTestEnv(const char* flag, const char* default_val);
/external/u-boot/tools/patman/
Dsettings.py242 default_val = getattr(defaults, name)
243 if isinstance(default_val, bool):
245 elif isinstance(default_val, int):
/external/python/uritemplates/uritemplate/
Dvariable.py94 default_val = None
97 name, default_val = tuple(var.split('=', 1))
109 if default_val:
110 self.defaults[name] = default_val
/external/webrtc/webrtc/base/
Doptional.h114 const T& value_or(const T& default_val) const { in value_or() argument
115 return has_value_ ? value_ : default_val; in value_or()
/external/u-boot/drivers/pinctrl/
Dpinctrl-generic.c251 u32 arg, default_val; in pinctrl_generic_set_state_one() local
271 &default_val); in pinctrl_generic_set_state_one()
278 arg = default_val; in pinctrl_generic_set_state_one()

123