Home
last modified time | relevance | path

Searched refs:bool_str (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/lib/strings/
Dproto_text_util.cc24 StringPiece bool_str; in ProtoParseBoolFromScanner() local
27 .GetResult(nullptr, &bool_str)) { in ProtoParseBoolFromScanner()
31 if (bool_str == "false" || bool_str == "False" || bool_str == "0") { in ProtoParseBoolFromScanner()
34 } else if (bool_str == "true" || bool_str == "True" || bool_str == "1") { in ProtoParseBoolFromScanner()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc31 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/selinux/libsemanage/tests/
Dtest_bool.c499 void helper_bool_query(level_t level, const char *bool_str, int exp_res) in helper_bool_query() argument
506 key = get_bool_key_from_str(bool_str); in helper_bool_query()
512 CU_ASSERT_STRING_EQUAL(name, bool_str); in helper_bool_query()
532 void helper_bool_exists(level_t level, const char *bool_str, int exp_resp) in helper_bool_exists() argument
539 key = get_bool_key_from_str(bool_str); in helper_bool_exists()
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc31 Status ParseBoolString(const string& bool_str, bool* bool_val) { in ParseBoolString() argument
32 const string lower_bool_str = absl::AsciiStrToLower(bool_str); in ParseBoolString()
40 return errors::InvalidArgument("Invalid string for bool value: ", bool_str); in ParseBoolString()
/external/dynamic_depth/internal/xmpmeta/xml/
Dserializer_impl.cc131 const string& bool_str = (value ? "true" : "false"); in WriteBoolProperty() local
132 return WriteProperty(prefix, name, bool_str); in WriteBoolProperty()
Ddeserializer_impl.cc21 bool BoolStringToBool(const string& bool_str, bool* value) { in BoolStringToBool() argument
22 string bool_str_lower = bool_str; in BoolStringToBool()
/external/python/cpython3/Modules/
D_pickle.c2038 const char *bool_str = (obj == Py_True) ? "I01\n" : "I00\n"; in save_bool() local
2039 if (_Pickler_Write(self, bool_str, strlen(bool_str)) < 0) in save_bool()