Home
last modified time | relevance | path

Searched refs:bool_str (Results 1 – 10 of 10) 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/angle/src/libANGLE/renderer/
Dgen_angle_format_table.py277 def bool_str(cond): function
340 parsed["isBlock"] = bool_str(is_block)
341 parsed["isFixed"] = bool_str("FIXED" in format_id)
342 parsed["isScaled"] = bool_str("SCALED" in format_id)
343 parsed["isSRGB"] = bool_str("SRGB" in format_id)
346 parsed["isYUV"] = bool_str("PLANE" in format_id)
/external/oss-fuzz/projects/abseil-cpp/
Dstring_utilities_fuzzer.cc40 std::string bool_str = absl::StrFormat("%d", bool_value); in LLVMFuzzerTestOneInput() local
48 if (!absl::SimpleAtob(bool_str, &bool_value)) in LLVMFuzzerTestOneInput()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc32 bool BoolStringToBool(const string& bool_str, bool* value) { in BoolStringToBool() argument
33 if (dynamic_depth::StringCaseEqual(bool_str, "true")) { in BoolStringToBool()
37 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/skia/src/core/
DSkPath.cpp1945 auto bool_str = [](bool v) { return v ? "true" : "false"; }; in dumpArrays() local
1947 builder.appendf("// fBoundsIsDirty = %s\n", bool_str(fPathRef->fBoundsIsDirty)); in dumpArrays()
1950 builder.appendf("// fIsOval = %s\n", bool_str(fPathRef->fIsOval)); in dumpArrays()
1951 builder.appendf("// fIsRRect = %s\n", bool_str(fPathRef->fIsRRect)); in dumpArrays()
2003 bool_str(fIsVolatile)); in dumpArrays()
/external/python/cpython3/Modules/
D_pickle.c2071 const char *bool_str = (obj == Py_True) ? "I01\n" : "I00\n"; in save_bool() local
2072 if (_Pickler_Write(self, bool_str, strlen(bool_str)) < 0) in save_bool()