Searched refs:bool_str (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_text_util.cc | 22 StringPiece bool_str; in ProtoParseBoolFromScanner() local 25 .GetResult(nullptr, &bool_str)) { in ProtoParseBoolFromScanner() 29 if (bool_str == "false" || bool_str == "False" || bool_str == "0") { in ProtoParseBoolFromScanner() 32 } else if (bool_str == "true" || bool_str == "True" || bool_str == "1") { in ProtoParseBoolFromScanner()
|
/external/dynamic_depth/internal/xmpmeta/ |
D | xmp_parser.cc | 31 bool BoolStringToBool(const string& bool_str, bool* value) { in BoolStringToBool() argument 32 if (dynamic_depth::StringCaseEqual(bool_str, "true")) { in BoolStringToBool() 36 if (dynamic_depth::StringCaseEqual(bool_str, "false")) { in BoolStringToBool()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_graph_utils.cc | 31 Status ParseBoolString(const string& bool_str, bool* bool_val) { in ParseBoolString() argument 32 const string lower_bool_str = str_util::Lowercase(bool_str); in ParseBoolString() 40 return errors::InvalidArgument("Invalid string for bool value: ", bool_str); in ParseBoolString()
|
/external/dynamic_depth/internal/xmpmeta/xml/ |
D | serializer_impl.cc | 131 const string& bool_str = (value ? "true" : "false"); in WriteBoolProperty() local 132 return WriteProperty(prefix, name, bool_str); in WriteBoolProperty()
|
D | deserializer_impl.cc | 21 bool BoolStringToBool(const string& bool_str, bool* value) { in BoolStringToBool() argument 22 string bool_str_lower = bool_str; in BoolStringToBool()
|
/external/autotest/site_utils/ |
D | run_suite.py | 231 def bool_str(x): function 305 "-n", "--no_wait", dest="no_wait", default=False, type=bool_str, 332 "-f", "--file_bugs", dest="file_bugs", default=False, type=bool_str, 348 '--retry', dest='retry', default=False, type=bool_str, action='store', 370 dest='offload_failures_only', type=bool_str,
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 1915 const char *bool_str = (obj == Py_True) ? "I01\n" : "I00\n"; in save_bool() local 1916 if (_Pickler_Write(self, bool_str, strlen(bool_str)) < 0) in save_bool()
|