Home
last modified time | relevance | path

Searched refs:FindExtension (Results 1 – 14 of 14) sorted by relevance

/third_party/gn/src/gn/
Dfilesystem_utils_unittest.cc27 TEST(FilesystemUtils, FindExtension) { in TEST() argument
29 EXPECT_EQ("", FindExtension(&input)); in TEST()
31 EXPECT_EQ("", FindExtension(&input)); in TEST()
33 EXPECT_EQ("", FindExtension(&input)); in TEST()
35 EXPECT_EQ("bar", FindExtension(&input)); in TEST()
37 EXPECT_EQ("", FindExtension(&input)); in TEST()
39 EXPECT_EQ("", FindExtension(&input)); in TEST()
Dframeworks_utils.cc20 std::string_view extension = FindExtension(&file); in GetFrameworkName()
Dfilesystem_utils.h34 std::string_view FindExtension(const std::string* path);
Dfunction_get_path_info.cc77 return std::string(FindExtension(&input_string)); in GetOnePathInfo()
Dxcode_object.cc536 std::string_view ext = FindExtension(&name_); in Print()
781 std::string_view ext = FindExtension(&source_path); in AddSourceFile()
829 std::string_view ext = FindExtension(&output_name); in AddNativeTarget()
Dfilesystem_utils.cc242 std::string_view FindExtension(const std::string* path) { in FindExtension() function
/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.cc309 Value SimpleDescriptorDatabase::DescriptorIndex<Value>::FindExtension( in FindExtension() function in google::protobuf::SimpleDescriptorDatabase::DescriptorIndex
368 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension()
403 Value FindExtension(StringPiece containing_type, int field_number);
617 return MaybeParse(index_->FindExtension(containing_type, field_number), in FindFileContainingExtension()
792 EncodedDescriptorDatabase::DescriptorIndex::FindExtension( in FindExtension() function in google::protobuf::EncodedDescriptorDatabase::DescriptorIndex
Dextension_set_heavy.cc321 bool ExtensionSet::FindExtension(int wire_type, uint32 field, in FindExtension() function in google::protobuf::internal::ExtensionSet
350 if (!FindExtension(tag & 7, number, containing_type, ctx, &extension, in ParseField()
Ddescriptor_database.h209 Value FindExtension(const std::string& containing_type, int field_number);
Dextension_set_inl.h221 if (!FindExtension(2, type_id, containing_type, ctx, &extension, in ParseMessageSetItemTmpl()
Dtext_format.h218 virtual const FieldDescriptor* FindExtension(Message* message,
Ddescriptor.cc589 inline const FieldDescriptor* FindExtension(const Descriptor* extendee,
1074 inline const FieldDescriptor* DescriptorPool::Tables::FindExtension( in FindExtension() function in google::protobuf::DescriptorPool::Tables
1487 const FieldDescriptor* result = tables_->FindExtension(extendee, number); in FindExtensionByNumber()
1497 const FieldDescriptor* result = tables_->FindExtension(extendee, number); in FindExtensionByNumber()
1506 result = tables_->FindExtension(extendee, number); in FindExtensionByNumber()
1518 const FieldDescriptor* result = tables_->FindExtension(extendee, number); in InternalFindExtensionByNumberNoLock()
1576 if (tables_->FindExtension(extendee, number) == nullptr) { in FindAllExtensions()
5808 tables_->FindExtension(field->containing_type(), field->number()); in CrossLinkField()
7088 const FieldDescriptor* FindExtension(Message* message, in FindExtension() function in google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder
Dextension_set.h760 bool FindExtension(int wire_type, uint32 field, in FindExtension() function
768 inline bool FindExtension(int wire_type, uint32 field,
Dtext_format.cc430 field = finder_ ? finder_->FindExtension(message, field_name) in ConsumeField()
1363 const FieldDescriptor* TextFormat::Finder::FindExtension( in FindExtension() function in google::protobuf::TextFormat::Finder