Home
last modified time | relevance | path

Searched refs:IsDefault (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_switch_stmt_test.cc34 EXPECT_FALSE(e->body[0]->IsDefault()); in TEST_F()
35 EXPECT_FALSE(e->body[1]->IsDefault()); in TEST_F()
63 ASSERT_FALSE(e->body[0]->IsDefault()); in TEST_F()
64 ASSERT_TRUE(e->body[1]->IsDefault()); in TEST_F()
65 ASSERT_FALSE(e->body[2]->IsDefault()); in TEST_F()
Dparser_impl_switch_body_test.cc30 EXPECT_FALSE(e->IsDefault()); in TEST_F()
46 EXPECT_FALSE(e->IsDefault()); in TEST_F()
131 EXPECT_FALSE(e->IsDefault()); in TEST_F()
176 EXPECT_TRUE(e->IsDefault()); in TEST_F()
/third_party/boost/boost/spirit/home/classic/dynamic/impl/
Dswitch.ipp36 template <int N, typename ParserT, bool IsDefault> struct case_parser;
60 template <int N, bool IsDefault, bool HasDefault>
129 template <typename ResultT, bool IsDefault>
184 template <typename ResultT, bool IsDefault>
285 template <typename LeftT, typename RightT, bool IsDefault>
288 parser<compound_case_parser<LeftT, RightT, IsDefault> > >
290 typedef compound_case_parser<LeftT, RightT, IsDefault> self_t;
295 BOOST_STATIC_CONSTANT(bool, is_default = IsDefault);
340 template <int Value, int Depth, bool IsDefault>
348 // template <int Value, bool IsDefault>
[all …]
/third_party/protobuf/src/google/protobuf/
Darenastring.h116 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefault()
194 if (IsDefault(default_value) && other->IsDefault(default_value)) { in Swap()
277 if (IsDefault(default_value)) { in SetNoArena()
306 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefaultNoArena()
353 inline bool IsDefault(const ::std::string* default_value) const { in IsDefault() function
Dinlined_string_field.h156 bool IsDefault(const std::string* /*default_value*/) { return false; } in IsDefault() function
/third_party/boost/boost/spirit/home/classic/dynamic/
Dswitch.hpp141 template <int N, typename ParserT, bool IsDefault>
143 : public unary<ParserT, parser<case_parser<N, ParserT, IsDefault> > >
145 typedef case_parser<N, ParserT, IsDefault> self_t;
152 BOOST_STATIC_CONSTANT(bool, is_default = IsDefault);
Dtypeof.hpp45 template <int N, class ParserT, bool IsDefault> struct case_parser;
/third_party/skia/third_party/externals/tint/src/ast/
Dcase_statement_test.cc76 EXPECT_TRUE(c->IsDefault()); in TEST_F()
84 EXPECT_FALSE(c->IsDefault()); in TEST_F()
Dswitch_statement.h41 bool IsDefault() const { return condition == nullptr; } in IsDefault() function
Dcase_statement.h46 bool IsDefault() const { return selectors.empty(); } in IsDefault() function
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs834 if (!IsDefault(value))
877 …public int CalculateSizeWithTag(T value) => IsDefault(value) ? 0 : ValueSizeCalculator(value) + ta…
879 private bool IsDefault(T value) => EqualityComparer.Equals(value, DefaultValue);
/third_party/flatbuffers/src/
Didl_gen_swift.cpp654 std::string def_Val = field.IsDefault() ? "{{CONSTANT}}" : "nil"; in GenTableReaderFields()
718 code_.SetValue("CONSTANT", field.IsDefault() ? default_string : "nil"); in GenTableReaderFields()
1187 field.IsDefault() ? field.value.constant : ""; in BuildObjectAPIConstructorBody()
1191 if (field.IsDefault() && !field.IsRequired()) { in BuildObjectAPIConstructorBody()
1192 std::string value = field.IsDefault() ? field.value.constant : "nil"; in BuildObjectAPIConstructorBody()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc897 if (stmt->IsDefault()) { in EmitCase()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc2419 if (stmt->IsDefault()) { in EmitCase()
3273 TINT_ASSERT(Writer, stmt->body.size() == 1 && stmt->body[0]->IsDefault()); in EmitDefaultOnlySwitch()
3306 if (stmt->body.size() == 1 && stmt->body[0]->IsDefault()) { in EmitSwitch()
/third_party/flatbuffers/include/flatbuffers/
Didl.h316 bool IsDefault() const { in IsDefault() function
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_validation.cc2286 if (case_stmt->IsDefault()) { in ValidateSwitch()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc3627 if (item->IsDefault()) { in GenerateSwitchStatement()
3666 if (item->IsDefault()) { in GenerateSwitchStatement()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc1375 if (stmt->IsDefault()) { in EmitCase()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc1409 if (stmt->IsDefault()) { in EmitCase()
/third_party/flatbuffers/tests/
Dtest.cpp3680 TEST_EQ(mana->IsDefault(), true); in StringVectorDefaultsTest()