/work/obj-fuzz/dist/include/google/protobuf/arena.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Protocol Buffers - Google's data interchange format |
2 | | // Copyright 2008 Google Inc. All rights reserved. |
3 | | // https://developers.google.com/protocol-buffers/ |
4 | | // |
5 | | // Redistribution and use in source and binary forms, with or without |
6 | | // modification, are permitted provided that the following conditions are |
7 | | // met: |
8 | | // |
9 | | // * Redistributions of source code must retain the above copyright |
10 | | // notice, this list of conditions and the following disclaimer. |
11 | | // * Redistributions in binary form must reproduce the above |
12 | | // copyright notice, this list of conditions and the following disclaimer |
13 | | // in the documentation and/or other materials provided with the |
14 | | // distribution. |
15 | | // * Neither the name of Google Inc. nor the names of its |
16 | | // contributors may be used to endorse or promote products derived from |
17 | | // this software without specific prior written permission. |
18 | | // |
19 | | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
20 | | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
21 | | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
22 | | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
23 | | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
24 | | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
25 | | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
26 | | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 | | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 | | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 | | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | | |
31 | | // This file defines an Arena allocator for better allocation performance. |
32 | | |
33 | | #ifndef GOOGLE_PROTOBUF_ARENA_H__ |
34 | | #define GOOGLE_PROTOBUF_ARENA_H__ |
35 | | |
36 | | #include <limits> |
37 | | #ifdef max |
38 | | #undef max // Visual Studio defines this macro |
39 | | #endif |
40 | | #if LANG_CXX11 |
41 | | #include <google/protobuf/stubs/type_traits.h> |
42 | | #endif |
43 | | #if defined(_MSC_VER) && !_HAS_EXCEPTIONS |
44 | | // Work around bugs in MSVC <typeinfo> header when _HAS_EXCEPTIONS=0. |
45 | | #include <exception> |
46 | | #include <typeinfo> |
47 | | namespace std { |
48 | | using type_info = ::type_info; |
49 | | } |
50 | | #else |
51 | | #include <typeinfo> |
52 | | #endif |
53 | | |
54 | | #include <google/protobuf/arena_impl.h> |
55 | | |
56 | | namespace google { |
57 | | namespace protobuf { |
58 | | |
59 | | class Arena; // defined below |
60 | | class Message; // message.h |
61 | | |
62 | | namespace internal { |
63 | | class ArenaString; // arenastring.h |
64 | | class LazyField; // lazy_field.h |
65 | | |
66 | | template<typename Type> |
67 | | class GenericTypeHandler; // repeated_field.h |
68 | | |
69 | | // Templated cleanup methods. |
70 | 0 | template<typename T> void arena_destruct_object(void* object) { |
71 | 0 | reinterpret_cast<T*>(object)->~T(); |
72 | 0 | } Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::layers::layerscope::LayersPacket_Layer>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::layers::layerscope::DrawPacket_Rect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::devtools::protobuf::Edge>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<std::__1::map<int, google::protobuf::internal::ExtensionSet::Extension, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, google::protobuf::internal::ExtensionSet::Extension> > > >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<int> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<long> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<unsigned int> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<unsigned long> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<float> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<double> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedField<bool> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<google::protobuf::RepeatedPtrField<google::protobuf::MessageLite> >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_Resource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_CertificateChain>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientPhishingRequest_Feature>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientMalwareRequest_UrlInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ReferrerChainEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::LoginReputationClientRequest_Frame_Form>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::LoginReputationClientRequest_Frame>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_ExtendedAttr>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_MachOHeaders>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientDownloadRequest_ArchivedBinary>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ReferrerChainEntry_ServerRedirect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentReport_IncidentData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::HTMLElement>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<safe_browsing::HTMLElement_Attribute>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatMatch>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatEntrySet>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatHit_ThreatSource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_destruct_object<mozilla::safebrowsing::ThreatListDescriptor>(void*) |
73 | 0 | template<typename T> void arena_delete_object(void* object) { |
74 | 0 | delete reinterpret_cast<T*>(object); |
75 | 0 | } Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::FramePacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::ColorPacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::TexturePacket_Rect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::TexturePacket_Size>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::TexturePacket_Matrix>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::TexturePacket_EffectMask>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::TexturePacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer_Size>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer_Region>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer_Matrix>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer_Shadow>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket_Layer>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::LayersPacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::MetaPacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::DrawPacket_Rect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::DrawPacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::Packet>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::layers::layerscope::CommandPacket>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<google::protobuf::MessageLite>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ChromeUserPopulation>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientPhishingRequest_Feature>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientPhishingRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientPhishingResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientMalwareRequest_UrlInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientMalwareRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::LoginReputationClientRequest_Frame_Form>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::LoginReputationClientRequest_Frame>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::LoginReputationClientRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::LoginReputationClientResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientMalwareResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_Digests>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_Resource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_CertificateChain>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_ExtendedAttr>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_SignatureInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_PEImageHeaders>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_MachOHeaders>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_ImageHeaders>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest_ArchivedBinary>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ReferrerChainEntry_ServerRedirect>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ReferrerChainEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadResponse_MoreInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadReport_UserInformation>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientDownloadReport>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientUploadResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_IncidentData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_DownloadDetails>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_OS>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData_Process>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_EnvironmentData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_ExtensionData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentReport>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientIncidentResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::DownloadMetadata>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ClientSafeBrowsingReportRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::HTMLElement_Attribute>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::HTMLElement>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ImageData_Dimensions>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::ImageData>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<safe_browsing::NotificationImageReportRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatMatch>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FindThreatMatchesRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FindThreatMatchesResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest_Constraints>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FetchThreatListUpdatesRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FetchThreatListUpdatesResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FindFullHashesRequest>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::FindFullHashesResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatHit_ThreatSource>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatHit_UserInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatHit>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ClientInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ChromeClientInfo>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::Checksum>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatEntrySet>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::RawIndices>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::RawHashes>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::RiceDeltaEncoding>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatEntryMetadata>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ThreatListDescriptor>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::ListThreatListsResponse>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::safebrowsing::Duration>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::devtools::protobuf::Metadata>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::devtools::protobuf::StackFrame_Data>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::devtools::protobuf::StackFrame>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::devtools::protobuf::Node>(void*) Unexecuted instantiation: void google::protobuf::internal::arena_delete_object<mozilla::devtools::protobuf::Edge>(void*) |
76 | 0 | inline void arena_free(void* object, size_t size) { |
77 | 0 | #if defined(__GXX_DELETE_WITH_SIZE__) || defined(__cpp_sized_deallocation) |
78 | 0 | ::operator delete(object, size); |
79 | 0 | #else |
80 | 0 | (void)size; |
81 | 0 | ::operator delete(object); |
82 | 0 | #endif |
83 | 0 | } |
84 | | |
85 | | } // namespace internal |
86 | | |
87 | | // ArenaOptions provides optional additional parameters to arena construction |
88 | | // that control its block-allocation behavior. |
89 | | struct ArenaOptions { |
90 | | // This defines the size of the first block requested from the system malloc. |
91 | | // Subsequent block sizes will increase in a geometric series up to a maximum. |
92 | | size_t start_block_size; |
93 | | |
94 | | // This defines the maximum block size requested from system malloc (unless an |
95 | | // individual arena allocation request occurs with a size larger than this |
96 | | // maximum). Requested block sizes increase up to this value, then remain |
97 | | // here. |
98 | | size_t max_block_size; |
99 | | |
100 | | // An initial block of memory for the arena to use, or NULL for none. If |
101 | | // provided, the block must live at least as long as the arena itself. The |
102 | | // creator of the Arena retains ownership of the block after the Arena is |
103 | | // destroyed. |
104 | | char* initial_block; |
105 | | |
106 | | // The size of the initial block, if provided. |
107 | | size_t initial_block_size; |
108 | | |
109 | | // A function pointer to an alloc method that returns memory blocks of size |
110 | | // requested. By default, it contains a ptr to the malloc function. |
111 | | // |
112 | | // NOTE: block_alloc and dealloc functions are expected to behave like |
113 | | // malloc and free, including Asan poisoning. |
114 | | void* (*block_alloc)(size_t); |
115 | | // A function pointer to a dealloc method that takes ownership of the blocks |
116 | | // from the arena. By default, it contains a ptr to a wrapper function that |
117 | | // calls free. |
118 | | void (*block_dealloc)(void*, size_t); |
119 | | // Hooks for adding external functionality such as user-specific metrics |
120 | | // collection, specific debugging abilities, etc. |
121 | | // Init hook may return a pointer to a cookie to be stored in the arena. |
122 | | // reset and destruction hooks will then be called with the same cookie |
123 | | // pointer. This allows us to save an external object per arena instance and |
124 | | // use it on the other hooks (Note: It is just as legal for init to return |
125 | | // NULL and not use the cookie feature). |
126 | | // on_arena_reset and on_arena_destruction also receive the space used in |
127 | | // the arena just before the reset. |
128 | | void* (*on_arena_init)(Arena* arena); |
129 | | void (*on_arena_reset)(Arena* arena, void* cookie, uint64 space_used); |
130 | | void (*on_arena_destruction)(Arena* arena, void* cookie, uint64 space_used); |
131 | | |
132 | | // type_info is promised to be static - its lifetime extends to |
133 | | // match program's lifetime (It is given by typeid operator). |
134 | | // Note: typeid(void) will be passed as allocated_type every time we |
135 | | // intentionally want to avoid monitoring an allocation. (i.e. internal |
136 | | // allocations for managing the arena) |
137 | | void (*on_arena_allocation)(const std::type_info* allocated_type, |
138 | | uint64 alloc_size, void* cookie); |
139 | | |
140 | | ArenaOptions() |
141 | | : start_block_size(kDefaultStartBlockSize), |
142 | | max_block_size(kDefaultMaxBlockSize), |
143 | | initial_block(NULL), |
144 | | initial_block_size(0), |
145 | | block_alloc(&::operator new), |
146 | | block_dealloc(&internal::arena_free), |
147 | | on_arena_init(NULL), |
148 | | on_arena_reset(NULL), |
149 | | on_arena_destruction(NULL), |
150 | 0 | on_arena_allocation(NULL) {} |
151 | | |
152 | | private: |
153 | | // Constants define default starting block size and max block size for |
154 | | // arena allocator behavior -- see descriptions above. |
155 | | static const size_t kDefaultStartBlockSize = 256; |
156 | | static const size_t kDefaultMaxBlockSize = 8192; |
157 | | }; |
158 | | |
159 | | // Support for non-RTTI environments. (The metrics hooks API uses type |
160 | | // information.) |
161 | | #ifndef GOOGLE_PROTOBUF_NO_RTTI |
162 | | #define RTTI_TYPE_ID(type) (&typeid(type)) |
163 | | #else |
164 | 0 | #define RTTI_TYPE_ID(type) (NULL) |
165 | | #endif |
166 | | |
167 | | // Arena allocator. Arena allocation replaces ordinary (heap-based) allocation |
168 | | // with new/delete, and improves performance by aggregating allocations into |
169 | | // larger blocks and freeing allocations all at once. Protocol messages are |
170 | | // allocated on an arena by using Arena::CreateMessage<T>(Arena*), below, and |
171 | | // are automatically freed when the arena is destroyed. |
172 | | // |
173 | | // This is a thread-safe implementation: multiple threads may allocate from the |
174 | | // arena concurrently. Destruction is not thread-safe and the destructing |
175 | | // thread must synchronize with users of the arena first. |
176 | | // |
177 | | // An arena provides two allocation interfaces: CreateMessage<T>, which works |
178 | | // for arena-enabled proto2 message types as well as other types that satisfy |
179 | | // the appropriate protocol (described below), and Create<T>, which works for |
180 | | // any arbitrary type T. CreateMessage<T> is better when the type T supports it, |
181 | | // because this interface (i) passes the arena pointer to the created object so |
182 | | // that its sub-objects and internal allocations can use the arena too, and (ii) |
183 | | // elides the object's destructor call when possible. Create<T> does not place |
184 | | // any special requirements on the type T, and will invoke the object's |
185 | | // destructor when the arena is destroyed. |
186 | | // |
187 | | // The arena message allocation protocol, required by CreateMessage<T>, is as |
188 | | // follows: |
189 | | // |
190 | | // - The type T must have (at least) two constructors: a constructor with no |
191 | | // arguments, called when a T is allocated on the heap; and a constructor with |
192 | | // a google::protobuf::Arena* argument, called when a T is allocated on an arena. If the |
193 | | // second constructor is called with a NULL arena pointer, it must be |
194 | | // equivalent to invoking the first (no-argument) constructor. |
195 | | // |
196 | | // - The type T must have a particular type trait: a nested type |
197 | | // |InternalArenaConstructable_|. This is usually a typedef to |void|. If no |
198 | | // such type trait exists, then the instantiation CreateMessage<T> will fail |
199 | | // to compile. |
200 | | // |
201 | | // - The type T *may* have the type trait |DestructorSkippable_|. If this type |
202 | | // trait is present in the type, then its destructor will not be called if and |
203 | | // only if it was passed a non-NULL arena pointer. If this type trait is not |
204 | | // present on the type, then its destructor is always called when the |
205 | | // containing arena is destroyed. |
206 | | // |
207 | | // - One- and two-user-argument forms of CreateMessage<T>() also exist that |
208 | | // forward these constructor arguments to T's constructor: for example, |
209 | | // CreateMessage<T>(Arena*, arg1, arg2) forwards to a constructor T(Arena*, |
210 | | // arg1, arg2). |
211 | | // |
212 | | // This protocol is implemented by all arena-enabled proto2 message classes as |
213 | | // well as RepeatedPtrField. |
214 | | // |
215 | | // Do NOT subclass Arena. This class will be marked as final when C++11 is |
216 | | // enabled. |
217 | | class LIBPROTOBUF_EXPORT Arena { |
218 | | public: |
219 | | // Arena constructor taking custom options. See ArenaOptions below for |
220 | | // descriptions of the options available. |
221 | 0 | explicit Arena(const ArenaOptions& options) : impl_(options) { |
222 | 0 | Init(options); |
223 | 0 | } |
224 | | |
225 | | // Default constructor with sensible default options, tuned for average |
226 | | // use-cases. |
227 | 0 | Arena() : impl_(ArenaOptions()) { Init(ArenaOptions()); } |
228 | | |
229 | 0 | ~Arena() { |
230 | 0 | uint64 space_allocated = SpaceAllocated(); |
231 | 0 | // Call the reset hook |
232 | 0 | if (on_arena_reset_ != NULL) { |
233 | 0 | on_arena_reset_(this, hooks_cookie_, space_allocated); |
234 | 0 | } |
235 | 0 |
|
236 | 0 | // Call the destruction hook |
237 | 0 | if (on_arena_destruction_ != NULL) { |
238 | 0 | on_arena_destruction_(this, hooks_cookie_, space_allocated); |
239 | 0 | } |
240 | 0 | } |
241 | | |
242 | 0 | void Init(const ArenaOptions& options) { |
243 | 0 | on_arena_allocation_ = options.on_arena_allocation; |
244 | 0 | on_arena_reset_ = options.on_arena_reset; |
245 | 0 | on_arena_destruction_ = options.on_arena_destruction; |
246 | 0 | // Call the initialization hook |
247 | 0 | if (options.on_arena_init != NULL) { |
248 | 0 | hooks_cookie_ = options.on_arena_init(this); |
249 | 0 | } else { |
250 | 0 | hooks_cookie_ = NULL; |
251 | 0 | } |
252 | 0 | } |
253 | | |
254 | | // API to create proto2 message objects on the arena. If the arena passed in |
255 | | // is NULL, then a heap allocated object is returned. Type T must be a message |
256 | | // defined in a .proto file with cc_enable_arenas set to true, otherwise a |
257 | | // compilation error will occur. |
258 | | // |
259 | | // RepeatedField and RepeatedPtrField may also be instantiated directly on an |
260 | | // arena with this method. |
261 | | // |
262 | | // This function also accepts any type T that satisfies the arena message |
263 | | // allocation protocol, documented above. |
264 | | template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
265 | 0 | static T* CreateMessage(::google::protobuf::Arena* arena) { |
266 | 0 | #if LANG_CXX11 |
267 | 0 | static_assert( |
268 | 0 | InternalHelper<T>::is_arena_constructable::value, |
269 | 0 | "CreateMessage can only construct types that are ArenaConstructable"); |
270 | 0 | #endif |
271 | 0 | if (arena == NULL) { |
272 | 0 | return new T; |
273 | 0 | } else { |
274 | 0 | return arena->CreateMessageInternal<T>(); |
275 | 0 | } |
276 | 0 | } Unexecuted instantiation: google::protobuf::RepeatedField<int>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<int> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<long>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<long> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<unsigned int>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<unsigned int> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<unsigned long>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<unsigned long> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<float>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<float> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<double>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<double> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedField<bool>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedField<bool> >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::RepeatedPtrField<google::protobuf::MessageLite>* google::protobuf::Arena::CreateMessage<google::protobuf::RepeatedPtrField<google::protobuf::MessageLite> >(google::protobuf::Arena*) |
277 | | |
278 | | // One-argument form of CreateMessage. This is useful for constructing objects |
279 | | // that implement the arena message construction protocol described above but |
280 | | // take additional constructor arguments. |
281 | | template <typename T, typename Arg> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
282 | | static T* CreateMessage(::google::protobuf::Arena* arena, const Arg& arg) { |
283 | | #if LANG_CXX11 |
284 | | static_assert( |
285 | | InternalHelper<T>::is_arena_constructable::value, |
286 | | "CreateMessage can only construct types that are ArenaConstructable"); |
287 | | #endif |
288 | | if (arena == NULL) { |
289 | | return new T(NULL, arg); |
290 | | } else { |
291 | | return arena->CreateMessageInternal<T>(arg); |
292 | | } |
293 | | } |
294 | | |
295 | | // Two-argument form of CreateMessage. This is useful for constructing objects |
296 | | // that implement the arena message construction protocol described above but |
297 | | // take additional constructor arguments. |
298 | | template <typename T, typename Arg1, typename Arg2> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
299 | | static T* CreateMessage(::google::protobuf::Arena* arena, |
300 | | const Arg1& arg1, |
301 | | const Arg2& arg2) { |
302 | | #if LANG_CXX11 |
303 | | static_assert( |
304 | | InternalHelper<T>::is_arena_constructable::value, |
305 | | "CreateMessage can only construct types that are ArenaConstructable"); |
306 | | #endif |
307 | | if (arena == NULL) { |
308 | | return new T(NULL, arg1, arg2); |
309 | | } else { |
310 | | return arena->CreateMessageInternal<T>(arg1, arg2); |
311 | | } |
312 | | } |
313 | | |
314 | | // API to create any objects on the arena. Note that only the object will |
315 | | // be created on the arena; the underlying ptrs (in case of a proto2 message) |
316 | | // will be still heap allocated. Proto messages should usually be allocated |
317 | | // with CreateMessage<T>() instead. |
318 | | // |
319 | | // Note that even if T satisfies the arena message construction protocol |
320 | | // (InternalArenaConstructable_ trait and optional DestructorSkippable_ |
321 | | // trait), as described above, this function does not follow the protocol; |
322 | | // instead, it treats T as a black-box type, just as if it did not have these |
323 | | // traits. Specifically, T's constructor arguments will always be only those |
324 | | // passed to Create<T>() -- no additional arena pointer is implicitly added. |
325 | | // Furthermore, the destructor will always be called at arena destruction time |
326 | | // (unless the destructor is trivial). Hence, from T's point of view, it is as |
327 | | // if the object were allocated on the heap (except that the underlying memory |
328 | | // is obtained from the arena). |
329 | | #if LANG_CXX11 |
330 | | template <typename T, typename... Args> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
331 | 0 | static T* Create(::google::protobuf::Arena* arena, Args&&... args) { |
332 | 0 | if (arena == NULL) { |
333 | 0 | return new T(std::forward<Args>(args)...); |
334 | 0 | } else { |
335 | 0 | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
336 | 0 | std::forward<Args>(args)...); |
337 | 0 | } |
338 | 0 | } |
339 | | #endif |
340 | | template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
341 | 0 | static T* Create(::google::protobuf::Arena* arena) { |
342 | 0 | if (arena == NULL) { |
343 | 0 | return new T(); |
344 | 0 | } else { |
345 | 0 | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value); |
346 | 0 | } |
347 | 0 | } Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer_Rect* google::protobuf::Arena::Create<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer* google::protobuf::Arena::Create<mozilla::layers::layerscope::LayersPacket_Layer>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::layers::layerscope::DrawPacket_Rect* google::protobuf::Arena::Create<mozilla::layers::layerscope::DrawPacket_Rect>(google::protobuf::Arena*) Unexecuted instantiation: google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container* google::protobuf::Arena::Create<google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container>(google::protobuf::Arena*) Unexecuted instantiation: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >* google::protobuf::Arena::Create<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(google::protobuf::Arena*) Unexecuted instantiation: mozilla::devtools::protobuf::Edge* google::protobuf::Arena::Create<mozilla::devtools::protobuf::Edge>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_Resource* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_Resource>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_CertificateChain>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain_Element* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientPhishingRequest_Feature* google::protobuf::Arena::Create<safe_browsing::ClientPhishingRequest_Feature>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientMalwareRequest_UrlInfo* google::protobuf::Arena::Create<safe_browsing::ClientMalwareRequest_UrlInfo>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ReferrerChainEntry* google::protobuf::Arena::Create<safe_browsing::ReferrerChainEntry>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame_Form* google::protobuf::Arena::Create<safe_browsing::LoginReputationClientRequest_Frame_Form>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame* google::protobuf::Arena::Create<safe_browsing::LoginReputationClientRequest_Frame>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ExtendedAttr* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_ExtendedAttr>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_MachOHeaders>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ArchivedBinary* google::protobuf::Arena::Create<safe_browsing::ClientDownloadRequest_ArchivedBinary>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ReferrerChainEntry_ServerRedirect* google::protobuf::Arena::Create<safe_browsing::ReferrerChainEntry_ServerRedirect>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData* google::protobuf::Arena::Create<safe_browsing::ClientIncidentReport_IncidentData>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentResponse_EnvironmentRequest* google::protobuf::Arena::Create<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* google::protobuf::Arena::Create<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_Resource* google::protobuf::Arena::Create<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::HTMLElement* google::protobuf::Arena::Create<safe_browsing::HTMLElement>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::HTMLElement_Attribute* google::protobuf::Arena::Create<safe_browsing::HTMLElement_Attribute>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntry* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatEntry>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatMatch* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatMatch>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest* google::protobuf::Arena::Create<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntrySet* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatEntrySet>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse* google::protobuf::Arena::Create<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatHit_ThreatSource* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatHit_ThreatSource>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatListDescriptor* google::protobuf::Arena::Create<mozilla::safebrowsing::ThreatListDescriptor>(google::protobuf::Arena*) |
348 | | |
349 | | // Version of the above with one constructor argument for the created object. |
350 | | template <typename T, typename Arg> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
351 | | static T* Create(::google::protobuf::Arena* arena, const Arg& arg) { |
352 | | if (arena == NULL) { |
353 | | return new T(arg); |
354 | | } else { |
355 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
356 | | arg); |
357 | | } |
358 | | } |
359 | | |
360 | | // Version of the above with two constructor arguments for the created object. |
361 | | template <typename T, typename Arg1, typename Arg2> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
362 | | static T* Create(::google::protobuf::Arena* arena, const Arg1& arg1, const Arg2& arg2) { |
363 | | if (arena == NULL) { |
364 | | return new T(arg1, arg2); |
365 | | } else { |
366 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
367 | | arg1, arg2); |
368 | | } |
369 | | } |
370 | | |
371 | | // Version of the above with three constructor arguments for the created |
372 | | // object. |
373 | | template <typename T, typename Arg1, typename Arg2, typename Arg3> |
374 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
375 | | const Arg1& arg1, const Arg2& arg2, |
376 | | const Arg3& arg3) { |
377 | | if (arena == NULL) { |
378 | | return new T(arg1, arg2, arg3); |
379 | | } else { |
380 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
381 | | arg1, arg2, arg3); |
382 | | } |
383 | | } |
384 | | |
385 | | // Version of the above with four constructor arguments for the created |
386 | | // object. |
387 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
388 | | typename Arg4> |
389 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
390 | | const Arg1& arg1, const Arg2& arg2, |
391 | | const Arg3& arg3, const Arg4& arg4) { |
392 | | if (arena == NULL) { |
393 | | return new T(arg1, arg2, arg3, arg4); |
394 | | } else { |
395 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
396 | | arg1, arg2, arg3, arg4); |
397 | | } |
398 | | } |
399 | | |
400 | | // Version of the above with five constructor arguments for the created |
401 | | // object. |
402 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
403 | | typename Arg4, typename Arg5> |
404 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
405 | | const Arg1& arg1, const Arg2& arg2, |
406 | | const Arg3& arg3, const Arg4& arg4, |
407 | | const Arg5& arg5) { |
408 | | if (arena == NULL) { |
409 | | return new T(arg1, arg2, arg3, arg4, arg5); |
410 | | } else { |
411 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
412 | | arg1, arg2, arg3, arg4, arg5); |
413 | | } |
414 | | } |
415 | | |
416 | | // Version of the above with six constructor arguments for the created |
417 | | // object. |
418 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
419 | | typename Arg4, typename Arg5, typename Arg6> |
420 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
421 | | const Arg1& arg1, const Arg2& arg2, |
422 | | const Arg3& arg3, const Arg4& arg4, |
423 | | const Arg5& arg5, const Arg6& arg6) { |
424 | | if (arena == NULL) { |
425 | | return new T(arg1, arg2, arg3, arg4, arg5, arg6); |
426 | | } else { |
427 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
428 | | arg1, arg2, arg3, arg4, arg5, arg6); |
429 | | } |
430 | | } |
431 | | |
432 | | // Version of the above with seven constructor arguments for the created |
433 | | // object. |
434 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
435 | | typename Arg4, typename Arg5, typename Arg6, typename Arg7> |
436 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
437 | | const Arg1& arg1, const Arg2& arg2, |
438 | | const Arg3& arg3, const Arg4& arg4, |
439 | | const Arg5& arg5, const Arg6& arg6, |
440 | | const Arg7& arg7) { |
441 | | if (arena == NULL) { |
442 | | return new T(arg1, arg2, arg3, arg4, arg5, arg6, arg7); |
443 | | } else { |
444 | | return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, |
445 | | arg1, arg2, arg3, arg4, arg5, arg6, arg7); |
446 | | } |
447 | | } |
448 | | |
449 | | // Version of the above with eight constructor arguments for the created |
450 | | // object. |
451 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
452 | | typename Arg4, typename Arg5, typename Arg6, typename Arg7, |
453 | | typename Arg8> |
454 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* Create(::google::protobuf::Arena* arena, |
455 | | const Arg1& arg1, const Arg2& arg2, |
456 | | const Arg3& arg3, const Arg4& arg4, |
457 | | const Arg5& arg5, const Arg6& arg6, |
458 | | const Arg7& arg7, const Arg8& arg8) { |
459 | | if (arena == NULL) { |
460 | | return new T(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); |
461 | | } else { |
462 | | return arena->CreateInternal<T>( |
463 | | google::protobuf::internal::has_trivial_destructor<T>::value, |
464 | | arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); |
465 | | } |
466 | | } |
467 | | |
468 | | // Create an array of object type T on the arena *without* invoking the |
469 | | // constructor of T. If `arena` is null, then the return value should be freed |
470 | | // with `delete[] x;` (or `::operator delete[](x);`). |
471 | | // To ensure safe uses, this function checks at compile time |
472 | | // (when compiled as C++11) that T is trivially default-constructible and |
473 | | // trivially destructible. |
474 | | template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
475 | 0 | static T* CreateArray(::google::protobuf::Arena* arena, size_t num_elements) { |
476 | 0 | GOOGLE_CHECK_LE(num_elements, |
477 | 0 | std::numeric_limits<size_t>::max() / sizeof(T)) |
478 | 0 | << "Requested size is too large to fit into size_t."; |
479 | 0 | if (arena == NULL) { |
480 | 0 | return static_cast<T*>(::operator new[](num_elements * sizeof(T))); |
481 | 0 | } else { |
482 | 0 | return arena->CreateInternalRawArray<T>(num_elements); |
483 | 0 | } |
484 | 0 | } |
485 | | |
486 | | // Returns the total space allocated by the arena, which is the sum of the |
487 | | // sizes of the underlying blocks. This method is relatively fast; a counter |
488 | | // is kept as blocks are allocated. |
489 | 0 | uint64 SpaceAllocated() const { return impl_.SpaceAllocated(); } |
490 | | // Returns the total space used by the arena. Similar to SpaceAllocated but |
491 | | // does not include free space and block overhead. The total space returned |
492 | | // may not include space used by other threads executing concurrently with |
493 | | // the call to this method. |
494 | 0 | uint64 SpaceUsed() const { return impl_.SpaceUsed(); } |
495 | | // DEPRECATED. Please use SpaceAllocated() and SpaceUsed(). |
496 | | // |
497 | | // Combines SpaceAllocated and SpaceUsed. Returns a pair of |
498 | | // <space_allocated, space_used>. |
499 | 0 | std::pair<uint64, uint64> SpaceAllocatedAndUsed() const { |
500 | 0 | return std::make_pair(SpaceAllocated(), SpaceUsed()); |
501 | 0 | } |
502 | | |
503 | | // Frees all storage allocated by this arena after calling destructors |
504 | | // registered with OwnDestructor() and freeing objects registered with Own(). |
505 | | // Any objects allocated on this arena are unusable after this call. It also |
506 | | // returns the total space used by the arena which is the sums of the sizes |
507 | | // of the allocated blocks. This method is not thread-safe. |
508 | 0 | GOOGLE_ATTRIBUTE_NOINLINE uint64 Reset() { |
509 | 0 | uint64 space_allocated = SpaceAllocated(); |
510 | 0 | // Call the reset hook |
511 | 0 | if (on_arena_reset_ != NULL) { |
512 | 0 | on_arena_reset_(this, hooks_cookie_, space_allocated); |
513 | 0 | } |
514 | 0 | return impl_.Reset(); |
515 | 0 | } |
516 | | |
517 | | // Adds |object| to a list of heap-allocated objects to be freed with |delete| |
518 | | // when the arena is destroyed or reset. |
519 | | template <typename T> GOOGLE_ATTRIBUTE_NOINLINE |
520 | 0 | void Own(T* object) { |
521 | 0 | OwnInternal(object, google::protobuf::internal::is_convertible<T*, ::google::protobuf::Message*>()); |
522 | 0 | } Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::FramePacket>(mozilla::layers::layerscope::FramePacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::ColorPacket>(mozilla::layers::layerscope::ColorPacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::TexturePacket_Rect>(mozilla::layers::layerscope::TexturePacket_Rect*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::TexturePacket_Size>(mozilla::layers::layerscope::TexturePacket_Size*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::TexturePacket_Matrix>(mozilla::layers::layerscope::TexturePacket_Matrix*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::TexturePacket_EffectMask>(mozilla::layers::layerscope::TexturePacket_EffectMask*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::TexturePacket>(mozilla::layers::layerscope::TexturePacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer_Size>(mozilla::layers::layerscope::LayersPacket_Layer_Size*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(mozilla::layers::layerscope::LayersPacket_Layer_Rect*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer_Region>(mozilla::layers::layerscope::LayersPacket_Layer_Region*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer_Matrix>(mozilla::layers::layerscope::LayersPacket_Layer_Matrix*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer_Shadow>(mozilla::layers::layerscope::LayersPacket_Layer_Shadow*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket_Layer>(mozilla::layers::layerscope::LayersPacket_Layer*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::LayersPacket>(mozilla::layers::layerscope::LayersPacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::MetaPacket>(mozilla::layers::layerscope::MetaPacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::DrawPacket_Rect>(mozilla::layers::layerscope::DrawPacket_Rect*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::DrawPacket>(mozilla::layers::layerscope::DrawPacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::Packet>(mozilla::layers::layerscope::Packet*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::layers::layerscope::CommandPacket>(mozilla::layers::layerscope::CommandPacket*) Unexecuted instantiation: void google::protobuf::Arena::Own<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) Unexecuted instantiation: void google::protobuf::Arena::Own<google::protobuf::MessageLite>(google::protobuf::MessageLite*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ChromeUserPopulation>(safe_browsing::ChromeUserPopulation*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientPhishingRequest_Feature>(safe_browsing::ClientPhishingRequest_Feature*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientPhishingRequest>(safe_browsing::ClientPhishingRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientPhishingResponse>(safe_browsing::ClientPhishingResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientMalwareRequest_UrlInfo>(safe_browsing::ClientMalwareRequest_UrlInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientMalwareRequest>(safe_browsing::ClientMalwareRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::LoginReputationClientRequest_Frame_Form>(safe_browsing::LoginReputationClientRequest_Frame_Form*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::LoginReputationClientRequest_Frame>(safe_browsing::LoginReputationClientRequest_Frame*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(safe_browsing::LoginReputationClientRequest_PasswordReuseEvent*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::LoginReputationClientRequest>(safe_browsing::LoginReputationClientRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::LoginReputationClientResponse>(safe_browsing::LoginReputationClientResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientMalwareResponse>(safe_browsing::ClientMalwareResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_Digests>(safe_browsing::ClientDownloadRequest_Digests*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_Resource>(safe_browsing::ClientDownloadRequest_Resource*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(safe_browsing::ClientDownloadRequest_CertificateChain_Element*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_CertificateChain>(safe_browsing::ClientDownloadRequest_CertificateChain*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_ExtendedAttr>(safe_browsing::ClientDownloadRequest_ExtendedAttr*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_SignatureInfo>(safe_browsing::ClientDownloadRequest_SignatureInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_PEImageHeaders>(safe_browsing::ClientDownloadRequest_PEImageHeaders*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_MachOHeaders>(safe_browsing::ClientDownloadRequest_MachOHeaders*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_ImageHeaders>(safe_browsing::ClientDownloadRequest_ImageHeaders*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest_ArchivedBinary>(safe_browsing::ClientDownloadRequest_ArchivedBinary*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadRequest>(safe_browsing::ClientDownloadRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ReferrerChainEntry_ServerRedirect>(safe_browsing::ReferrerChainEntry_ServerRedirect*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ReferrerChainEntry>(safe_browsing::ReferrerChainEntry*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadResponse_MoreInfo>(safe_browsing::ClientDownloadResponse_MoreInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadResponse>(safe_browsing::ClientDownloadResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadReport_UserInformation>(safe_browsing::ClientDownloadReport_UserInformation*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientDownloadReport>(safe_browsing::ClientDownloadReport*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientUploadResponse>(safe_browsing::ClientUploadResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_IncidentData>(safe_browsing::ClientIncidentReport_IncidentData*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_DownloadDetails>(safe_browsing::ClientIncidentReport_DownloadDetails*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_OS>(safe_browsing::ClientIncidentReport_EnvironmentData_OS*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(safe_browsing::ClientIncidentReport_EnvironmentData_Machine*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData_Process>(safe_browsing::ClientIncidentReport_EnvironmentData_Process*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_EnvironmentData>(safe_browsing::ClientIncidentReport_EnvironmentData*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_ExtensionData>(safe_browsing::ClientIncidentReport_ExtensionData*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentReport>(safe_browsing::ClientIncidentReport*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(safe_browsing::ClientIncidentResponse_EnvironmentRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientIncidentResponse>(safe_browsing::ClientIncidentResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::DownloadMetadata>(safe_browsing::DownloadMetadata*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(safe_browsing::ClientSafeBrowsingReportRequest_Resource*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ClientSafeBrowsingReportRequest>(safe_browsing::ClientSafeBrowsingReportRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::HTMLElement_Attribute>(safe_browsing::HTMLElement_Attribute*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::HTMLElement>(safe_browsing::HTMLElement*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ImageData_Dimensions>(safe_browsing::ImageData_Dimensions*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::ImageData>(safe_browsing::ImageData*) Unexecuted instantiation: void google::protobuf::Arena::Own<safe_browsing::NotificationImageReportRequest>(safe_browsing::NotificationImageReportRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatInfo>(mozilla::safebrowsing::ThreatInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatMatch>(mozilla::safebrowsing::ThreatMatch*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FindThreatMatchesRequest>(mozilla::safebrowsing::FindThreatMatchesRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FindThreatMatchesResponse>(mozilla::safebrowsing::FindThreatMatchesResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest_Constraints>(mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest_Constraints*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FetchThreatListUpdatesRequest>(mozilla::safebrowsing::FetchThreatListUpdatesRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FetchThreatListUpdatesResponse>(mozilla::safebrowsing::FetchThreatListUpdatesResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FindFullHashesRequest>(mozilla::safebrowsing::FindFullHashesRequest*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::FindFullHashesResponse>(mozilla::safebrowsing::FindFullHashesResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatHit_ThreatSource>(mozilla::safebrowsing::ThreatHit_ThreatSource*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatHit_UserInfo>(mozilla::safebrowsing::ThreatHit_UserInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatHit>(mozilla::safebrowsing::ThreatHit*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ClientInfo>(mozilla::safebrowsing::ClientInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ChromeClientInfo>(mozilla::safebrowsing::ChromeClientInfo*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::Checksum>(mozilla::safebrowsing::Checksum*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatEntry>(mozilla::safebrowsing::ThreatEntry*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatEntrySet>(mozilla::safebrowsing::ThreatEntrySet*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::RawIndices>(mozilla::safebrowsing::RawIndices*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::RawHashes>(mozilla::safebrowsing::RawHashes*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::RiceDeltaEncoding>(mozilla::safebrowsing::RiceDeltaEncoding*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatEntryMetadata>(mozilla::safebrowsing::ThreatEntryMetadata*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ThreatListDescriptor>(mozilla::safebrowsing::ThreatListDescriptor*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::ListThreatListsResponse>(mozilla::safebrowsing::ListThreatListsResponse*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::safebrowsing::Duration>(mozilla::safebrowsing::Duration*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::devtools::protobuf::Metadata>(mozilla::devtools::protobuf::Metadata*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::devtools::protobuf::StackFrame_Data>(mozilla::devtools::protobuf::StackFrame_Data*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::devtools::protobuf::StackFrame>(mozilla::devtools::protobuf::StackFrame*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::devtools::protobuf::Node>(mozilla::devtools::protobuf::Node*) Unexecuted instantiation: void google::protobuf::Arena::Own<mozilla::devtools::protobuf::Edge>(mozilla::devtools::protobuf::Edge*) |
523 | | |
524 | | // Adds |object| to a list of objects whose destructors will be manually |
525 | | // called when the arena is destroyed or reset. This differs from Own() in |
526 | | // that it does not free the underlying memory with |delete|; hence, it is |
527 | | // normally only used for objects that are placement-newed into |
528 | | // arena-allocated memory. |
529 | | template <typename T> GOOGLE_ATTRIBUTE_NOINLINE |
530 | 0 | void OwnDestructor(T* object) { |
531 | 0 | if (object != NULL) { |
532 | 0 | impl_.AddCleanup(object, &internal::arena_destruct_object<T>); |
533 | 0 | } |
534 | 0 | } |
535 | | |
536 | | // Adds a custom member function on an object to the list of destructors that |
537 | | // will be manually called when the arena is destroyed or reset. This differs |
538 | | // from OwnDestructor() in that any member function may be specified, not only |
539 | | // the class destructor. |
540 | | GOOGLE_ATTRIBUTE_NOINLINE void OwnCustomDestructor(void* object, |
541 | 0 | void (*destruct)(void*)) { |
542 | 0 | impl_.AddCleanup(object, destruct); |
543 | 0 | } |
544 | | |
545 | | // Retrieves the arena associated with |value| if |value| is an arena-capable |
546 | | // message, or NULL otherwise. This differs from value->GetArena() in that the |
547 | | // latter is a virtual call, while this method is a templated call that |
548 | | // resolves at compile-time. |
549 | | template<typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
550 | | static ::google::protobuf::Arena* GetArena(const T* value) { |
551 | | return GetArenaInternal(value, is_arena_constructable<T>()); |
552 | | } |
553 | | |
554 | | template <typename T> |
555 | | class InternalHelper { |
556 | | template <typename U> |
557 | | static char DestructorSkippable(const typename U::DestructorSkippable_*); |
558 | | template <typename U> |
559 | | static double DestructorSkippable(...); |
560 | | |
561 | | typedef google::protobuf::internal::integral_constant< |
562 | | bool, sizeof(DestructorSkippable<T>(static_cast<const T*>(0))) == |
563 | | sizeof(char) || |
564 | | google::protobuf::internal::has_trivial_destructor<T>::value> |
565 | | is_destructor_skippable; |
566 | | |
567 | | template<typename U> |
568 | | static char ArenaConstructable( |
569 | | const typename U::InternalArenaConstructable_*); |
570 | | template<typename U> |
571 | | static double ArenaConstructable(...); |
572 | | |
573 | | typedef google::protobuf::internal::integral_constant<bool, sizeof(ArenaConstructable<T>( |
574 | | static_cast<const T*>(0))) == |
575 | | sizeof(char)> |
576 | | is_arena_constructable; |
577 | | |
578 | | #if LANG_CXX11 |
579 | | template <typename... Args> |
580 | 0 | static T* Construct(void* ptr, Args&&... args) { |
581 | 0 | return new (ptr) T(std::forward<Args>(args)...); |
582 | 0 | } Unexecuted instantiation: google::protobuf::RepeatedField<int>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<int> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<long>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<long> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<unsigned int>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<unsigned int> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<unsigned long>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<unsigned long> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<float>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<float> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<double>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<double> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedField<bool>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedField<bool> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) Unexecuted instantiation: google::protobuf::RepeatedPtrField<google::protobuf::MessageLite>* google::protobuf::Arena::InternalHelper<google::protobuf::RepeatedPtrField<google::protobuf::MessageLite> >::Construct<google::protobuf::Arena*>(void*, google::protobuf::Arena*&&) |
583 | | #else |
584 | | template <typename Arg1> |
585 | | static T* Construct(void* ptr, const Arg1& arg1) { |
586 | | return new (ptr) T(arg1); |
587 | | } |
588 | | template <typename Arg1, typename Arg2> |
589 | | static T* Construct(void* ptr, const Arg1& arg1, const Arg2& arg2) { |
590 | | return new (ptr) T(arg1, arg2); |
591 | | } |
592 | | template <typename Arg1, typename Arg2, typename Arg3> |
593 | | static T* Construct(void* ptr, const Arg1& arg1, |
594 | | const Arg2& arg2, const Arg3& arg3) { |
595 | | return new (ptr) T(arg1, arg2, arg3); |
596 | | } |
597 | | #endif // LANG_CXX11 |
598 | | |
599 | | static Arena* GetArena(const T* p) { return p->GetArenaNoVirtual(); } |
600 | | |
601 | | friend class Arena; |
602 | | }; |
603 | | |
604 | | // Helper typetrait that indicates support for arenas in a type T at compile |
605 | | // time. This is public only to allow construction of higher-level templated |
606 | | // utilities. is_arena_constructable<T>::value is true if the message type T |
607 | | // has arena support enabled, and false otherwise. |
608 | | // |
609 | | // This is inside Arena because only Arena has the friend relationships |
610 | | // necessary to see the underlying generated code traits. |
611 | | template <typename T> |
612 | | struct is_arena_constructable : InternalHelper<T>::is_arena_constructable {}; |
613 | | |
614 | | private: |
615 | | void OnArenaAllocation(const std::type_info* allocated_type, size_t n) const; |
616 | 0 | inline void AllocHook(const std::type_info* allocated_type, size_t n) const { |
617 | 0 | if (GOOGLE_PREDICT_FALSE(hooks_cookie_ != NULL)) { |
618 | 0 | OnArenaAllocation(allocated_type, n); |
619 | 0 | } |
620 | 0 | } |
621 | | |
622 | | // Allocate and also optionally call on_arena_allocation callback with the |
623 | | // allocated type info when the hooks are in place in ArenaOptions and |
624 | | // the cookie is not null. |
625 | | template<typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
626 | 0 | void* AllocateInternal(bool skip_explicit_ownership) { |
627 | 0 | const size_t n = internal::AlignUpTo8(sizeof(T)); |
628 | 0 | AllocHook(RTTI_TYPE_ID(T), n); |
629 | 0 | // Monitor allocation if needed. |
630 | 0 | if (skip_explicit_ownership) { |
631 | 0 | return impl_.AllocateAligned(n); |
632 | 0 | } else { |
633 | 0 | return impl_.AllocateAlignedAndAddCleanup( |
634 | 0 | n, &internal::arena_destruct_object<T>); |
635 | 0 | } |
636 | 0 | } Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::layers::layerscope::LayersPacket_Layer>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::layers::layerscope::DrawPacket_Rect>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::devtools::protobuf::Edge>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<int> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<long> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<unsigned int> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<unsigned long> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<float> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<double> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedField<bool> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<google::protobuf::RepeatedPtrField<google::protobuf::MessageLite> >(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_Resource>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_CertificateChain>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientPhishingRequest_Feature>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientMalwareRequest_UrlInfo>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ReferrerChainEntry>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::LoginReputationClientRequest_Frame_Form>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::LoginReputationClientRequest_Frame>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_ExtendedAttr>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_MachOHeaders>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientDownloadRequest_ArchivedBinary>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ReferrerChainEntry_ServerRedirect>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentReport_IncidentData>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::HTMLElement>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<safe_browsing::HTMLElement_Attribute>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatEntry>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatMatch>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatEntrySet>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatHit_ThreatSource>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(bool) Unexecuted instantiation: void* google::protobuf::Arena::AllocateInternal<mozilla::safebrowsing::ThreatListDescriptor>(bool) |
637 | | |
638 | | // CreateMessage<T> requires that T supports arenas, but this private method |
639 | | // works whether or not T supports arenas. These are not exposed to user code |
640 | | // as it can cause confusing API usages, and end up having double free in |
641 | | // user code. These are used only internally from LazyField and Repeated |
642 | | // fields, since they are designed to work in all mode combinations. |
643 | | template <typename Msg> |
644 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static Msg* CreateMaybeMessage(Arena* arena, |
645 | | google::protobuf::internal::true_type) { |
646 | | return CreateMessage<Msg>(arena); |
647 | | } |
648 | | |
649 | | template <typename T> |
650 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* CreateMaybeMessage(Arena* arena, |
651 | 0 | google::protobuf::internal::false_type) { |
652 | 0 | return Create<T>(arena); |
653 | 0 | } Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer_Rect* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::LayersPacket_Layer>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::layers::layerscope::DrawPacket_Rect* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::DrawPacket_Rect>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::devtools::protobuf::Edge* google::protobuf::Arena::CreateMaybeMessage<mozilla::devtools::protobuf::Edge>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_Resource* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_Resource>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_CertificateChain>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain_Element* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientPhishingRequest_Feature* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientPhishingRequest_Feature>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientMalwareRequest_UrlInfo* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientMalwareRequest_UrlInfo>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ReferrerChainEntry* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ReferrerChainEntry>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame_Form* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::LoginReputationClientRequest_Frame_Form>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::LoginReputationClientRequest_Frame>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ExtendedAttr* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_ExtendedAttr>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_MachOHeaders>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ArchivedBinary* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_ArchivedBinary>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ReferrerChainEntry_ServerRedirect* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ReferrerChainEntry_ServerRedirect>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_IncidentData>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientIncidentResponse_EnvironmentRequest* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_Resource* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::HTMLElement* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::HTMLElement>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: safe_browsing::HTMLElement_Attribute* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::HTMLElement_Attribute>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntry* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntry>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatMatch* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatMatch>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntrySet* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntrySet>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatHit_ThreatSource* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatHit_ThreatSource>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: mozilla::safebrowsing::ThreatListDescriptor* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatListDescriptor>(google::protobuf::Arena*, google::protobuf::internal::integral_constant<bool, false>) |
654 | | |
655 | | template <typename T> |
656 | 0 | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static T* CreateMaybeMessage(Arena* arena) { |
657 | 0 | return CreateMaybeMessage<T>(arena, is_arena_constructable<T>()); |
658 | 0 | } Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer_Rect* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::LayersPacket_Layer>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::layers::layerscope::DrawPacket_Rect* google::protobuf::Arena::CreateMaybeMessage<mozilla::layers::layerscope::DrawPacket_Rect>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::devtools::protobuf::Edge* google::protobuf::Arena::CreateMaybeMessage<mozilla::devtools::protobuf::Edge>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_Resource* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_Resource>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_CertificateChain>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain_Element* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientPhishingRequest_Feature* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientPhishingRequest_Feature>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientMalwareRequest_UrlInfo* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientMalwareRequest_UrlInfo>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ReferrerChainEntry* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ReferrerChainEntry>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame_Form* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::LoginReputationClientRequest_Frame_Form>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::LoginReputationClientRequest_Frame>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ExtendedAttr* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_ExtendedAttr>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_MachOHeaders>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ArchivedBinary* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientDownloadRequest_ArchivedBinary>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ReferrerChainEntry_ServerRedirect* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ReferrerChainEntry_ServerRedirect>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentReport_IncidentData>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientIncidentResponse_EnvironmentRequest* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_Resource* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::HTMLElement* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::HTMLElement>(google::protobuf::Arena*) Unexecuted instantiation: safe_browsing::HTMLElement_Attribute* google::protobuf::Arena::CreateMaybeMessage<safe_browsing::HTMLElement_Attribute>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntry* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntry>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatMatch* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatMatch>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntrySet* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntrySet>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatHit_ThreatSource* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatHit_ThreatSource>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(google::protobuf::Arena*) Unexecuted instantiation: mozilla::safebrowsing::ThreatListDescriptor* google::protobuf::Arena::CreateMaybeMessage<mozilla::safebrowsing::ThreatListDescriptor>(google::protobuf::Arena*) |
659 | | |
660 | | // Just allocate the required size for the given type assuming the |
661 | | // type has a trivial constructor. |
662 | | template<typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
663 | 0 | T* CreateInternalRawArray(size_t num_elements) { |
664 | 0 | GOOGLE_CHECK_LE(num_elements, |
665 | 0 | std::numeric_limits<size_t>::max() / sizeof(T)) |
666 | 0 | << "Requested size is too large to fit into size_t."; |
667 | 0 | const size_t n = internal::AlignUpTo8(sizeof(T) * num_elements); |
668 | 0 | // Monitor allocation if needed. |
669 | 0 | AllocHook(RTTI_TYPE_ID(T), n); |
670 | 0 | return static_cast<T*>(impl_.AllocateAligned(n)); |
671 | 0 | } |
672 | | |
673 | | #if LANG_CXX11 |
674 | | template <typename T, typename... Args> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
675 | 0 | T* CreateInternal(bool skip_explicit_ownership, Args&&... args) { |
676 | 0 | return new (AllocateInternal<T>(skip_explicit_ownership)) |
677 | 0 | T(std::forward<Args>(args)...); |
678 | 0 | } Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer_Rect* google::protobuf::Arena::CreateInternal<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(bool) Unexecuted instantiation: mozilla::layers::layerscope::LayersPacket_Layer* google::protobuf::Arena::CreateInternal<mozilla::layers::layerscope::LayersPacket_Layer>(bool) Unexecuted instantiation: mozilla::layers::layerscope::DrawPacket_Rect* google::protobuf::Arena::CreateInternal<mozilla::layers::layerscope::DrawPacket_Rect>(bool) Unexecuted instantiation: google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container* google::protobuf::Arena::CreateInternal<google::protobuf::internal::InternalMetadataWithArenaBase<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, google::protobuf::internal::InternalMetadataWithArenaLite>::Container>(bool) Unexecuted instantiation: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >* google::protobuf::Arena::CreateInternal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >>(bool) Unexecuted instantiation: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >* google::protobuf::Arena::CreateInternal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) Unexecuted instantiation: mozilla::devtools::protobuf::Edge* google::protobuf::Arena::CreateInternal<mozilla::devtools::protobuf::Edge>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_Resource* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_Resource>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_CertificateChain>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_CertificateChain_Element* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(bool) Unexecuted instantiation: safe_browsing::ClientPhishingRequest_Feature* google::protobuf::Arena::CreateInternal<safe_browsing::ClientPhishingRequest_Feature>(bool) Unexecuted instantiation: safe_browsing::ClientMalwareRequest_UrlInfo* google::protobuf::Arena::CreateInternal<safe_browsing::ClientMalwareRequest_UrlInfo>(bool) Unexecuted instantiation: safe_browsing::ReferrerChainEntry* google::protobuf::Arena::CreateInternal<safe_browsing::ReferrerChainEntry>(bool) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame_Form* google::protobuf::Arena::CreateInternal<safe_browsing::LoginReputationClientRequest_Frame_Form>(bool) Unexecuted instantiation: safe_browsing::LoginReputationClientRequest_Frame* google::protobuf::Arena::CreateInternal<safe_browsing::LoginReputationClientRequest_Frame>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ExtendedAttr* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_ExtendedAttr>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_MachOHeaders* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_MachOHeaders>(bool) Unexecuted instantiation: safe_browsing::ClientDownloadRequest_ArchivedBinary* google::protobuf::Arena::CreateInternal<safe_browsing::ClientDownloadRequest_ArchivedBinary>(bool) Unexecuted instantiation: safe_browsing::ReferrerChainEntry_ServerRedirect* google::protobuf::Arena::CreateInternal<safe_browsing::ReferrerChainEntry_ServerRedirect>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentReport_IncidentData* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentReport_IncidentData>(bool) Unexecuted instantiation: safe_browsing::ClientIncidentResponse_EnvironmentRequest* google::protobuf::Arena::CreateInternal<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(bool) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* google::protobuf::Arena::CreateInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(bool) Unexecuted instantiation: safe_browsing::ClientSafeBrowsingReportRequest_Resource* google::protobuf::Arena::CreateInternal<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(bool) Unexecuted instantiation: safe_browsing::HTMLElement* google::protobuf::Arena::CreateInternal<safe_browsing::HTMLElement>(bool) Unexecuted instantiation: safe_browsing::HTMLElement_Attribute* google::protobuf::Arena::CreateInternal<safe_browsing::HTMLElement_Attribute>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntry* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatEntry>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatMatch* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatMatch>(bool) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntrySet* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatEntrySet>(bool) Unexecuted instantiation: mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatHit_ThreatSource* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatHit_ThreatSource>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(bool) Unexecuted instantiation: mozilla::safebrowsing::ThreatListDescriptor* google::protobuf::Arena::CreateInternal<mozilla::safebrowsing::ThreatListDescriptor>(bool) |
679 | | #else |
680 | | template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
681 | | T* CreateInternal(bool skip_explicit_ownership) { |
682 | | return new (AllocateInternal<T>(skip_explicit_ownership)) T(); |
683 | | } |
684 | | |
685 | | template <typename T, typename Arg> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
686 | | T* CreateInternal(bool skip_explicit_ownership, const Arg& arg) { |
687 | | return new (AllocateInternal<T>(skip_explicit_ownership)) T(arg); |
688 | | } |
689 | | |
690 | | template <typename T, typename Arg1, typename Arg2> |
691 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
692 | | const Arg1& arg1, |
693 | | const Arg2& arg2) { |
694 | | return new (AllocateInternal<T>(skip_explicit_ownership)) T(arg1, arg2); |
695 | | } |
696 | | |
697 | | template <typename T, typename Arg1, typename Arg2, typename Arg3> |
698 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
699 | | const Arg1& arg1, |
700 | | const Arg2& arg2, |
701 | | const Arg3& arg3) { |
702 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
703 | | T(arg1, arg2, arg3); |
704 | | } |
705 | | |
706 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
707 | | typename Arg4> |
708 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
709 | | const Arg1& arg1, |
710 | | const Arg2& arg2, |
711 | | const Arg3& arg3, |
712 | | const Arg4& arg4) { |
713 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
714 | | T(arg1, arg2, arg3, arg4); |
715 | | } |
716 | | |
717 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
718 | | typename Arg4, typename Arg5> |
719 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
720 | | const Arg1& arg1, |
721 | | const Arg2& arg2, |
722 | | const Arg3& arg3, |
723 | | const Arg4& arg4, |
724 | | const Arg5& arg5) { |
725 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
726 | | T(arg1, arg2, arg3, arg4, arg5); |
727 | | } |
728 | | |
729 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
730 | | typename Arg4, typename Arg5, typename Arg6> |
731 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
732 | | const Arg1& arg1, |
733 | | const Arg2& arg2, |
734 | | const Arg3& arg3, |
735 | | const Arg4& arg4, |
736 | | const Arg5& arg5, |
737 | | const Arg6& arg6) { |
738 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
739 | | T(arg1, arg2, arg3, arg4, arg5, arg6); |
740 | | } |
741 | | |
742 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
743 | | typename Arg4, typename Arg5, typename Arg6, typename Arg7> |
744 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
745 | | const Arg1& arg1, |
746 | | const Arg2& arg2, |
747 | | const Arg3& arg3, |
748 | | const Arg4& arg4, |
749 | | const Arg5& arg5, |
750 | | const Arg6& arg6, |
751 | | const Arg7& arg7) { |
752 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
753 | | T(arg1, arg2, arg3, arg4, arg5, arg6, arg7); |
754 | | } |
755 | | |
756 | | template <typename T, typename Arg1, typename Arg2, typename Arg3, |
757 | | typename Arg4, typename Arg5, typename Arg6, typename Arg7, |
758 | | typename Arg8> |
759 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateInternal(bool skip_explicit_ownership, |
760 | | const Arg1& arg1, |
761 | | const Arg2& arg2, |
762 | | const Arg3& arg3, |
763 | | const Arg4& arg4, |
764 | | const Arg5& arg5, |
765 | | const Arg6& arg6, |
766 | | const Arg7& arg7, |
767 | | const Arg8& arg8) { |
768 | | return new (AllocateInternal<T>(skip_explicit_ownership)) |
769 | | T(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); |
770 | | } |
771 | | #endif |
772 | | template <typename T> |
773 | 0 | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateMessageInternal() { |
774 | 0 | return InternalHelper<T>::Construct( |
775 | 0 | AllocateInternal<T>(InternalHelper<T>::is_destructor_skippable::value), |
776 | 0 | this); |
777 | 0 | } Unexecuted instantiation: google::protobuf::RepeatedField<int>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<int> >() Unexecuted instantiation: google::protobuf::RepeatedField<long>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<long> >() Unexecuted instantiation: google::protobuf::RepeatedField<unsigned int>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<unsigned int> >() Unexecuted instantiation: google::protobuf::RepeatedField<unsigned long>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<unsigned long> >() Unexecuted instantiation: google::protobuf::RepeatedField<float>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<float> >() Unexecuted instantiation: google::protobuf::RepeatedField<double>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<double> >() Unexecuted instantiation: google::protobuf::RepeatedField<bool>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedField<bool> >() Unexecuted instantiation: google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedPtrField<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >() Unexecuted instantiation: google::protobuf::RepeatedPtrField<google::protobuf::MessageLite>* google::protobuf::Arena::CreateMessageInternal<google::protobuf::RepeatedPtrField<google::protobuf::MessageLite> >() |
778 | | |
779 | | template <typename T, typename Arg> |
780 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateMessageInternal(const Arg& arg) { |
781 | | return InternalHelper<T>::Construct( |
782 | | AllocateInternal<T>(InternalHelper<T>::is_destructor_skippable::value), |
783 | | this, arg); |
784 | | } |
785 | | |
786 | | template <typename T, typename Arg1, typename Arg2> |
787 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE T* CreateMessageInternal(const Arg1& arg1, |
788 | | const Arg2& arg2) { |
789 | | return InternalHelper<T>::Construct( |
790 | | AllocateInternal<T>(InternalHelper<T>::is_destructor_skippable::value), |
791 | | this, arg1, arg2); |
792 | | } |
793 | | |
794 | | // CreateInArenaStorage is used to implement map field. Without it, |
795 | | // google::protobuf::Map need to call generated message's protected arena constructor, |
796 | | // which needs to declare google::protobuf::Map as friend of generated message. |
797 | | template <typename T> |
798 | | static void CreateInArenaStorage(T* ptr, Arena* arena) { |
799 | | CreateInArenaStorageInternal(ptr, arena, |
800 | | typename is_arena_constructable<T>::type()); |
801 | | RegisterDestructorInternal( |
802 | | ptr, arena, |
803 | | typename InternalHelper<T>::is_destructor_skippable::type()); |
804 | | } |
805 | | |
806 | | template <typename T> |
807 | | static void CreateInArenaStorageInternal( |
808 | | T* ptr, Arena* arena, google::protobuf::internal::true_type) { |
809 | | InternalHelper<T>::Construct(ptr, arena); |
810 | | } |
811 | | template <typename T> |
812 | | static void CreateInArenaStorageInternal( |
813 | | T* ptr, Arena* /* arena */, google::protobuf::internal::false_type) { |
814 | | new (ptr) T(); |
815 | | } |
816 | | |
817 | | template <typename T> |
818 | | static void RegisterDestructorInternal( |
819 | | T* /* ptr */, Arena* /* arena */, google::protobuf::internal::true_type) {} |
820 | | template <typename T> |
821 | | static void RegisterDestructorInternal( |
822 | | T* ptr, Arena* arena, google::protobuf::internal::false_type) { |
823 | | arena->OwnDestructor(ptr); |
824 | | } |
825 | | |
826 | | // These implement Own(), which registers an object for deletion (destructor |
827 | | // call and operator delete()). The second parameter has type 'true_type' if T |
828 | | // is a subtype of ::google::protobuf::Message and 'false_type' otherwise. Collapsing |
829 | | // all template instantiations to one for generic Message reduces code size, |
830 | | // using the virtual destructor instead. |
831 | | template<typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
832 | | void OwnInternal(T* object, google::protobuf::internal::true_type) { |
833 | | if (object != NULL) { |
834 | | impl_.AddCleanup(object, |
835 | | &internal::arena_delete_object< ::google::protobuf::Message>); |
836 | | } |
837 | | } |
838 | | template<typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
839 | 0 | void OwnInternal(T* object, google::protobuf::internal::false_type) { |
840 | 0 | if (object != NULL) { |
841 | 0 | impl_.AddCleanup(object, &internal::arena_delete_object<T>); |
842 | 0 | } |
843 | 0 | } Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::FramePacket>(mozilla::layers::layerscope::FramePacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::ColorPacket>(mozilla::layers::layerscope::ColorPacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::TexturePacket_Rect>(mozilla::layers::layerscope::TexturePacket_Rect*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::TexturePacket_Size>(mozilla::layers::layerscope::TexturePacket_Size*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::TexturePacket_Matrix>(mozilla::layers::layerscope::TexturePacket_Matrix*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::TexturePacket_EffectMask>(mozilla::layers::layerscope::TexturePacket_EffectMask*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::TexturePacket>(mozilla::layers::layerscope::TexturePacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer_Size>(mozilla::layers::layerscope::LayersPacket_Layer_Size*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer_Rect>(mozilla::layers::layerscope::LayersPacket_Layer_Rect*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer_Region>(mozilla::layers::layerscope::LayersPacket_Layer_Region*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer_Matrix>(mozilla::layers::layerscope::LayersPacket_Layer_Matrix*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer_Shadow>(mozilla::layers::layerscope::LayersPacket_Layer_Shadow*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket_Layer>(mozilla::layers::layerscope::LayersPacket_Layer*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::LayersPacket>(mozilla::layers::layerscope::LayersPacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::MetaPacket>(mozilla::layers::layerscope::MetaPacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::DrawPacket_Rect>(mozilla::layers::layerscope::DrawPacket_Rect*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::DrawPacket>(mozilla::layers::layerscope::DrawPacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::Packet>(mozilla::layers::layerscope::Packet*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::layers::layerscope::CommandPacket>(mozilla::layers::layerscope::CommandPacket*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<google::protobuf::MessageLite>(google::protobuf::MessageLite*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ChromeUserPopulation>(safe_browsing::ChromeUserPopulation*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientPhishingRequest_Feature>(safe_browsing::ClientPhishingRequest_Feature*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientPhishingRequest>(safe_browsing::ClientPhishingRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientPhishingResponse>(safe_browsing::ClientPhishingResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientMalwareRequest_UrlInfo>(safe_browsing::ClientMalwareRequest_UrlInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientMalwareRequest>(safe_browsing::ClientMalwareRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::LoginReputationClientRequest_Frame_Form>(safe_browsing::LoginReputationClientRequest_Frame_Form*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::LoginReputationClientRequest_Frame>(safe_browsing::LoginReputationClientRequest_Frame*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(safe_browsing::LoginReputationClientRequest_PasswordReuseEvent*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::LoginReputationClientRequest>(safe_browsing::LoginReputationClientRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::LoginReputationClientResponse>(safe_browsing::LoginReputationClientResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientMalwareResponse>(safe_browsing::ClientMalwareResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_Digests>(safe_browsing::ClientDownloadRequest_Digests*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_Resource>(safe_browsing::ClientDownloadRequest_Resource*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_CertificateChain_Element>(safe_browsing::ClientDownloadRequest_CertificateChain_Element*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_CertificateChain>(safe_browsing::ClientDownloadRequest_CertificateChain*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_ExtendedAttr>(safe_browsing::ClientDownloadRequest_ExtendedAttr*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_SignatureInfo>(safe_browsing::ClientDownloadRequest_SignatureInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_PEImageHeaders>(safe_browsing::ClientDownloadRequest_PEImageHeaders*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_MachOHeaders>(safe_browsing::ClientDownloadRequest_MachOHeaders*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_ImageHeaders>(safe_browsing::ClientDownloadRequest_ImageHeaders*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest_ArchivedBinary>(safe_browsing::ClientDownloadRequest_ArchivedBinary*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadRequest>(safe_browsing::ClientDownloadRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ReferrerChainEntry_ServerRedirect>(safe_browsing::ReferrerChainEntry_ServerRedirect*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ReferrerChainEntry>(safe_browsing::ReferrerChainEntry*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadResponse_MoreInfo>(safe_browsing::ClientDownloadResponse_MoreInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadResponse>(safe_browsing::ClientDownloadResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadReport_UserInformation>(safe_browsing::ClientDownloadReport_UserInformation*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientDownloadReport>(safe_browsing::ClientDownloadReport*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientUploadResponse>(safe_browsing::ClientUploadResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_IncidentData>(safe_browsing::ClientIncidentReport_IncidentData*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_DownloadDetails>(safe_browsing::ClientIncidentReport_DownloadDetails*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_OS>(safe_browsing::ClientIncidentReport_EnvironmentData_OS*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(safe_browsing::ClientIncidentReport_EnvironmentData_Machine*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData_Process>(safe_browsing::ClientIncidentReport_EnvironmentData_Process*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_EnvironmentData>(safe_browsing::ClientIncidentReport_EnvironmentData*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_ExtensionData>(safe_browsing::ClientIncidentReport_ExtensionData*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentReport>(safe_browsing::ClientIncidentReport*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentResponse_EnvironmentRequest>(safe_browsing::ClientIncidentResponse_EnvironmentRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientIncidentResponse>(safe_browsing::ClientIncidentResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::DownloadMetadata>(safe_browsing::DownloadMetadata*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_Resource>(safe_browsing::ClientSafeBrowsingReportRequest_Resource*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ClientSafeBrowsingReportRequest>(safe_browsing::ClientSafeBrowsingReportRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::HTMLElement_Attribute>(safe_browsing::HTMLElement_Attribute*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::HTMLElement>(safe_browsing::HTMLElement*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ImageData_Dimensions>(safe_browsing::ImageData_Dimensions*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::ImageData>(safe_browsing::ImageData*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<safe_browsing::NotificationImageReportRequest>(safe_browsing::NotificationImageReportRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatInfo>(mozilla::safebrowsing::ThreatInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatMatch>(mozilla::safebrowsing::ThreatMatch*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FindThreatMatchesRequest>(mozilla::safebrowsing::FindThreatMatchesRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FindThreatMatchesResponse>(mozilla::safebrowsing::FindThreatMatchesResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest_Constraints>(mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest_Constraints*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest>(mozilla::safebrowsing::FetchThreatListUpdatesRequest_ListUpdateRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FetchThreatListUpdatesRequest>(mozilla::safebrowsing::FetchThreatListUpdatesRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse>(mozilla::safebrowsing::FetchThreatListUpdatesResponse_ListUpdateResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FetchThreatListUpdatesResponse>(mozilla::safebrowsing::FetchThreatListUpdatesResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FindFullHashesRequest>(mozilla::safebrowsing::FindFullHashesRequest*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::FindFullHashesResponse>(mozilla::safebrowsing::FindFullHashesResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatHit_ThreatSource>(mozilla::safebrowsing::ThreatHit_ThreatSource*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatHit_UserInfo>(mozilla::safebrowsing::ThreatHit_UserInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatHit>(mozilla::safebrowsing::ThreatHit*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ClientInfo>(mozilla::safebrowsing::ClientInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ChromeClientInfo>(mozilla::safebrowsing::ChromeClientInfo*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::Checksum>(mozilla::safebrowsing::Checksum*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatEntry>(mozilla::safebrowsing::ThreatEntry*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatEntrySet>(mozilla::safebrowsing::ThreatEntrySet*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::RawIndices>(mozilla::safebrowsing::RawIndices*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::RawHashes>(mozilla::safebrowsing::RawHashes*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::RiceDeltaEncoding>(mozilla::safebrowsing::RiceDeltaEncoding*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry>(mozilla::safebrowsing::ThreatEntryMetadata_MetadataEntry*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatEntryMetadata>(mozilla::safebrowsing::ThreatEntryMetadata*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ThreatListDescriptor>(mozilla::safebrowsing::ThreatListDescriptor*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::ListThreatListsResponse>(mozilla::safebrowsing::ListThreatListsResponse*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::safebrowsing::Duration>(mozilla::safebrowsing::Duration*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::devtools::protobuf::Metadata>(mozilla::devtools::protobuf::Metadata*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::devtools::protobuf::StackFrame_Data>(mozilla::devtools::protobuf::StackFrame_Data*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::devtools::protobuf::StackFrame>(mozilla::devtools::protobuf::StackFrame*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::devtools::protobuf::Node>(mozilla::devtools::protobuf::Node*, google::protobuf::internal::integral_constant<bool, false>) Unexecuted instantiation: void google::protobuf::Arena::OwnInternal<mozilla::devtools::protobuf::Edge>(mozilla::devtools::protobuf::Edge*, google::protobuf::internal::integral_constant<bool, false>) |
844 | | |
845 | | // Implementation for GetArena(). Only message objects with |
846 | | // InternalArenaConstructable_ tags can be associated with an arena, and such |
847 | | // objects must implement a GetArenaNoVirtual() method. |
848 | | template <typename T> |
849 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static ::google::protobuf::Arena* GetArenaInternal( |
850 | | const T* value, google::protobuf::internal::true_type) { |
851 | | return InternalHelper<T>::GetArena(value); |
852 | | } |
853 | | |
854 | | template <typename T> |
855 | | GOOGLE_ATTRIBUTE_ALWAYS_INLINE static ::google::protobuf::Arena* GetArenaInternal( |
856 | | const T* value, google::protobuf::internal::false_type) { |
857 | | return NULL; |
858 | | } |
859 | | |
860 | | // For friends of arena. |
861 | 0 | void* AllocateAligned(size_t n) { |
862 | 0 | AllocHook(NULL, n); |
863 | 0 | return impl_.AllocateAligned(internal::AlignUpTo8(n)); |
864 | 0 | } |
865 | | |
866 | | internal::ArenaImpl impl_; |
867 | | |
868 | | void* (*on_arena_init_)(Arena* arena); |
869 | | void (*on_arena_allocation_)(const std::type_info* allocated_type, |
870 | | uint64 alloc_size, void* cookie); |
871 | | void (*on_arena_reset_)(Arena* arena, void* cookie, uint64 space_used); |
872 | | void (*on_arena_destruction_)(Arena* arena, void* cookie, uint64 space_used); |
873 | | |
874 | | // The arena may save a cookie it receives from the external on_init hook |
875 | | // and then use it when calling the on_reset and on_destruction hooks. |
876 | | void* hooks_cookie_; |
877 | | |
878 | | template <typename Type> |
879 | | friend class ::google::protobuf::internal::GenericTypeHandler; |
880 | | friend class internal::ArenaString; // For AllocateAligned. |
881 | | friend class internal::LazyField; // For CreateMaybeMessage. |
882 | | template <typename Key, typename T> |
883 | | friend class Map; |
884 | | }; |
885 | | |
886 | | // Defined above for supporting environments without RTTI. |
887 | | #undef RTTI_TYPE_ID |
888 | | |
889 | | } // namespace protobuf |
890 | | |
891 | | } // namespace google |
892 | | #endif // GOOGLE_PROTOBUF_ARENA_H__ |