Home
last modified time | relevance | path

Searched refs:ParseFlag (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dmarshalling_test.cc34 EXPECT_TRUE(absl::ParseFlag("True", &value, &err)); in TEST()
36 EXPECT_TRUE(absl::ParseFlag("true", &value, &err)); in TEST()
38 EXPECT_TRUE(absl::ParseFlag("TRUE", &value, &err)); in TEST()
41 EXPECT_TRUE(absl::ParseFlag("Yes", &value, &err)); in TEST()
43 EXPECT_TRUE(absl::ParseFlag("yes", &value, &err)); in TEST()
45 EXPECT_TRUE(absl::ParseFlag("YES", &value, &err)); in TEST()
48 EXPECT_TRUE(absl::ParseFlag("t", &value, &err)); in TEST()
50 EXPECT_TRUE(absl::ParseFlag("T", &value, &err)); in TEST()
53 EXPECT_TRUE(absl::ParseFlag("y", &value, &err)); in TEST()
55 EXPECT_TRUE(absl::ParseFlag("Y", &value, &err)); in TEST()
[all …]
Dmarshalling.cc184 if (absl::ParseFlag(digit10_str, &roundtrip_val, &err) && in UnparseFloatingPointVal()
227 if (absl::ParseFlag(text, &numeric_value, err)) { in AbslParseFlag()
Dflag_benchmark.cc48 else if (!absl::ParseFlag(src, &val, error)) in AbslParseFlag()
67 else if (!absl::ParseFlag(src, &val, error)) in AbslParseFlag()
Dmarshalling.h236 inline bool ParseFlag(absl::string_view input, T* dst, std::string* error) { in ParseFlag() function
Dflag_test.cc473 return absl::ParseFlag(src, &f->value, e); in AbslParseFlag()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dlog_severity_test.cc68 EXPECT_THAT(absl::ParseFlag(to_parse, &value, &error), IsFalse()) << value; in TEST_P()
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
165 EXPECT_THAT(absl::ParseFlag(to_parse, &value, &error), IsFalse()) << value; in TEST_P()
183 EXPECT_THAT(absl::ParseFlag(stringified_value, &reparsed_value, &error), in TEST_P()
200 EXPECT_THAT(absl::ParseFlag(stringified_value, &reparsed_value, &error), in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DTestSuite.cpp125 bool ParseFlag(const char *expected, const char *actual, bool *flagOut) in ParseFlag() function
1370 ParseFlag("--bot-mode", argument, &mBotMode) || in parseSingleArg()
1371 ParseFlag("--debug-test-groups", argument, &mDebugTestGroups) || in parseSingleArg()
1372 ParseFlag(kGTestListTests, argument, &mGTestListTests) || in parseSingleArg()
1373 ParseFlag(kListTests, argument, &mListTests) || in parseSingleArg()
1374 ParseFlag(kPrintTestStdout, argument, &mPrintTestStdout) || in parseSingleArg()
1375 ParseFlag(kDisableCrashHandler, argument, &mDisableCrashHandler)); in parseSingleArg()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dformat.cc151 bool ParseFlag(const std::string& text, absl::Time* t, std::string* error) { in ParseFlag() function
Dtime.h594 bool ParseFlag(const std::string& text, Duration* dst, std::string* error);
878 bool ParseFlag(const std::string& text, Time* t, std::string* error);
Dduration.cc947 bool ParseFlag(const std::string& text, Duration* dst, std::string* ) { in ParseFlag() function
/third_party/googletest/googletest/test/
Dgtest_unittest.cc248 using testing::internal::ParseFlag;
1763 EXPECT_FALSE(ParseFlag("--a=100", "b", &value)); in TEST()
1766 EXPECT_FALSE(ParseFlag("a=100", "a", &value)); in TEST()
1776 EXPECT_FALSE(ParseFlag("--abc=12345678987654321", "abc", &value)); in TEST()
1779 EXPECT_FALSE(ParseFlag("--abc=-12345678987654321", "abc", &value)); in TEST()
1790 EXPECT_FALSE(ParseFlag("--abc=A1", "abc", &value)); in TEST()
1793 EXPECT_FALSE(ParseFlag("--abc=12X", "abc", &value)); in TEST()
1802 EXPECT_TRUE(ParseFlag("--" GTEST_FLAG_PREFIX_ "abc=456", "abc", &value)); in TEST()
1805 EXPECT_TRUE(ParseFlag("--" GTEST_FLAG_PREFIX_ "abc=-789", "abc", &value)); in TEST()
/third_party/googletest/googletest/src/
Dgtest.cc6356 static bool ParseFlag(const char* str, const char* flag_name, bool* value) { in ParseFlag() function
6372 bool ParseFlag(const char* str, const char* flag_name, int32_t* value) { in ParseFlag() function
6389 static bool ParseFlag(const char* str, const char* flag_name, String* value) { in ParseFlag() function
6462 if (ParseFlag(arg, c_iter->first, c_iter->second)) { in ParseFilterFlag()
6569 if (ParseFlag(arg, #flag_name, &value)) { \ in ParseGoogleTestFlag()
6628 using internal::ParseFlag; in ParseGoogleTestFlagsOnlyImpl()
6634 } else if (ParseFlag(arg, "flagfile", &flagfile_value)) { in ParseGoogleTestFlagsOnlyImpl()
Dgtest-internal-inl.h108 GTEST_API_ bool ParseFlag(const char* str, const char* flag, int32_t* value);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp8253 bool LLParser::ParseFlag(unsigned &Val) { in ParseFlag() function in LLParser
8281 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8287 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8293 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8299 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8305 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8311 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Val)) in ParseOptionalFFlags()
8795 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Flag)) in ParseGVFlags()
8801 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Flag)) in ParseGVFlags()
8807 if (ParseToken(lltok::colon, "expected ':'") || ParseFlag(Flag)) in ParseGVFlags()
[all …]
DLLParser.h263 bool ParseFlag(unsigned &Val);
/third_party/node/deps/googletest/src/
Dgtest.cc6390 static bool ParseFlag(const char* str, const char* flag_name, bool* value) { in ParseFlag() function
6406 bool ParseFlag(const char* str, const char* flag_name, int32_t* value) { in ParseFlag() function
6423 static bool ParseFlag(const char* str, const char* flag_name, String* value) { in ParseFlag() function
6592 if (ParseFlag(arg, #flag_name, &value)) { \ in ParseGoogleTestFlag()
6650 using internal::ParseFlag; in ParseGoogleTestFlagsOnlyImpl()
6656 } else if (ParseFlag(arg, "flagfile", &flagfile_value)) { in ParseGoogleTestFlagsOnlyImpl()
Dgtest-internal-inl.h109 GTEST_API_ bool ParseFlag(const char* str, const char* flag, int32_t* value);
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.h744 if (!absl::ParseFlag<T>(*static_cast<const absl::string_view*>(v1), &temp,
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_x86_rel.def582 …?ParseFlag@absl@@YA_NABV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PAVD…
583 …?ParseFlag@absl@@YA_NABV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PAVT…
Dsymbols_arm64_rel.def580 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
581 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
Dsymbols_x64_rel.def585 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
586 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
Dsymbols_x64_rel_asan.def598 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
599 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
Dsymbols_x86_dbg.def2242 …?ParseFlag@absl@@YA_NABV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PAVD…
2243 …?ParseFlag@absl@@YA_NABV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PAVT…
Dsymbols_x64_dbg.def2248 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
2249 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
Dsymbols_arm64_dbg.def2246 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…
2247 …?ParseFlag@absl@@YA_NAEBV?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@PEA…