Home
last modified time | relevance | path

Searched refs:flag_str (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dparse_flags_from_env.cc103 static void ParseArgvFromString(const string& flag_str, EnvArgv* a) { in ParseArgvFromString() argument
104 size_t b = FindFirstNotOf(flag_str, kWS, 0); in ParseArgvFromString()
105 while (b != flag_str.size() && flag_str[b] == '-') { in ParseArgvFromString()
109 while (e != flag_str.size() && isascii(flag_str[e]) && in ParseArgvFromString()
110 (strchr("-_", flag_str[e]) != nullptr || in ParseArgvFromString()
111 absl::ascii_isalnum(flag_str[e]))) { in ParseArgvFromString()
114 if (e != flag_str.size() && flag_str[e] == '=' && in ParseArgvFromString()
115 e + 1 != flag_str.size() && strchr("'\"", flag_str[e + 1]) != nullptr) { in ParseArgvFromString()
120 char quote = flag_str[e]; in ParseArgvFromString()
124 for (; e != flag_str.size() && (c = flag_str[e]) != quote; e++) { in ParseArgvFromString()
[all …]
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc82 const std::string flag_str(flag); in FlagToEnvVar() local
85 for (size_t i = 0; i != flag_str.length(); ++i) in FlagToEnvVar()
86 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
142 const std::string flag_str = std::string("--") + std::string(flag); in ParseFlagValue() local
143 const size_t flag_len = flag_str.length(); in ParseFlagValue()
144 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/llvm-project/llvm/utils/benchmark/src/
Dcommandlineflags.cc82 const std::string flag_str(flag); in FlagToEnvVar() local
85 for (size_t i = 0; i != flag_str.length(); ++i) in FlagToEnvVar()
86 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
142 const std::string flag_str = std::string("--") + std::string(flag); in ParseFlagValue() local
143 const size_t flag_len = flag_str.length(); in ParseFlagValue()
144 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc82 const std::string flag_str(flag); in FlagToEnvVar() local
85 for (size_t i = 0; i != flag_str.length(); ++i) in FlagToEnvVar()
86 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
142 const std::string flag_str = std::string("--") + std::string(flag); in ParseFlagValue() local
143 const size_t flag_len = flag_str.length(); in ParseFlagValue()
144 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/google-benchmark/src/
Dcommandlineflags.cc85 const std::string flag_str(flag); in FlagToEnvVar() local
88 for (size_t i = 0; i != flag_str.length(); ++i) in FlagToEnvVar()
89 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
143 const std::string flag_str = std::string("--") + std::string(flag); in ParseFlagValue() local
144 const size_t flag_len = flag_str.length(); in ParseFlagValue()
145 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/llvm-project/llvm/utils/unittest/googlemock/src/
Dgmock.cc65 const std::string flag_str = std::string("--gmock_") + flag; in ParseGoogleMockFlagValue() local
66 const size_t flag_len = flag_str.length(); in ParseGoogleMockFlagValue()
67 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseGoogleMockFlagValue()
/external/googletest/googlemock/src/
Dgmock.cc68 const std::string flag_str = std::string("--gmock_") + flag; in ParseGoogleMockFlagValue() local
69 const size_t flag_len = flag_str.length(); in ParseGoogleMockFlagValue()
70 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseGoogleMockFlagValue()
/external/strace/tests/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
/external/strace/tests-mx32/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
/external/strace/tests-m32/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
/external/autotest/server/site_tests/firmware_Cr50BID/
Dfirmware_Cr50BID.py181 flag_str = bin(self.test_flags).split('b')[1]
182 flag_str_pad = '0' + flag_str if len(flag_str) < 32 else flag_str
/external/autotest/server/site_tests/firmware_Cr50GetName/
Dfirmware_Cr50GetName.py104 flag_str = board_id.rsplit(':', 1)[-1]
107 "'%s'" % (board_id, flag_str, ext))
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc103 std::string flag_str = in Transaction() local
106 base::StringView(flag_str)))); in Transaction()
/external/skqp/src/compute/hs/vk/bench/
Dmain.c151 char const * flag_str = ""; in vk_debug_report_cb() local
156 flag_str = #c; \ in vk_debug_report_cb()
172 flag_str, in vk_debug_report_cb()
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_tests.py2873 for flag_str in flag_strs:
2874 if not self.bluetooth_le_facade.btmon_find(flag_str):
2876 'Flag descriptor not located: {}'.format(flag_str))
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc4537 const String flag_str = String::Format("--%s%s", GTEST_FLAG_PREFIX_, flag); in ParseFlagValue() local
4538 const size_t flag_len = flag_str.length(); in ParseFlagValue()
4539 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/external/fmtlib/test/
Dgmock-gtest-all.cc6014 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
6015 const size_t flag_len = flag_str.length(); in ParseFlagValue()
6016 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
11127 const std::string flag_str = std::string("--gmock_") + flag; in ParseGoogleMockFlagValue() local
11128 const size_t flag_len = flag_str.length(); in ParseGoogleMockFlagValue()
11129 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseGoogleMockFlagValue()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest.cc5022 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5023 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5024 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc6470 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
6471 const size_t flag_len = flag_str.length(); in ParseFlagValue()
6472 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
12147 const std::string flag_str = std::string("--gmock_") + flag; in ParseGoogleMockFlagValue() local
12148 const size_t flag_len = flag_str.length(); in ParseGoogleMockFlagValue()
12149 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseGoogleMockFlagValue()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc5585 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5586 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5587 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/external/mesa3d/src/gtest/src/
Dgtest.cc5741 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5742 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5743 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest.cc5679 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5680 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5681 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/googletest/googletest/src/
Dgtest.cc6273 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
6274 const size_t flag_len = flag_str.length(); in ParseFlagValue()
6275 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc5783 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5784 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5785 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()