Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/
Dparse_flags_from_env.cc101 static void ParseArgvFromString(const string& flag_str, EnvArgv* a) { in ParseArgvFromString() argument
102 size_t b = FindFirstNotOf(flag_str, kWS, 0); in ParseArgvFromString()
103 while (b != flag_str.size() && flag_str[b] == '-') { in ParseArgvFromString()
107 while (e != flag_str.size() && isascii(flag_str[e]) && in ParseArgvFromString()
108 (strchr("-_", flag_str[e]) != nullptr || in ParseArgvFromString()
109 absl::ascii_isalnum(flag_str[e]))) { in ParseArgvFromString()
112 if (e != flag_str.size() && flag_str[e] == '=' && in ParseArgvFromString()
113 e + 1 != flag_str.size() && strchr("'\"", flag_str[e + 1]) != nullptr) { in ParseArgvFromString()
118 char quote = flag_str[e]; in ParseArgvFromString()
122 for (; e != flag_str.size() && (c = flag_str[e]) != quote; e++) { in ParseArgvFromString()
[all …]
/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.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-breakpad/src/testing/src/
Dgmock.cc65 const String flag_str = String::Format("--gmock_%s", 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/swiftshader/third_party/llvm-7.0/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-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/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/autotest/server/site_tests/firmware_Cr50BID/
Dfirmware_Cr50BID.py215 flag_str = bin(self.test_flags).split('b')[1]
216 flag_str_pad = '0' + flag_str if len(flag_str) < 32 else flag_str
/external/autotest/server/site_tests/firmware_Cr50GetName/
Dfirmware_Cr50GetName.py92 flag_str = board_id.rsplit(':', 1)[-1]
95 "'%s'" % (board_id, flag_str, ext))
/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/skia/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/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc4534 const String flag_str = String::Format("--%s%s", GTEST_FLAG_PREFIX_, flag); in ParseFlagValue() local
4535 const size_t flag_len = flag_str.length(); in ParseFlagValue()
4536 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/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/google-breakpad/src/testing/gtest/src/
Dgtest.cc4599 const String flag_str = String::Format("--%s%s", GTEST_FLAG_PREFIX_, flag); in ParseFlagValue() local
4600 const size_t flag_len = flag_str.length(); in ParseFlagValue()
4601 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc5023 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5024 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5025 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()
/external/mesa3d/src/gtest/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/swiftshader/third_party/llvm-7.0/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/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/googletest/googletest/src/
Dgtest.cc5646 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
5647 const size_t flag_len = flag_str.length(); in ParseFlagValue()
5648 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; in ParseFlagValue()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc6474 const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; in ParseFlagValue() local
6475 const size_t flag_len = flag_str.length(); in ParseFlagValue()
6476 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; in ParseFlagValue()