Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/stubs/
Dscoped_ptr.h49 template <class C> class scoped_array; variable
146 class scoped_array {
155 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
159 ~scoped_array() { in ~scoped_array()
196 void swap(scoped_array& p2) { in swap()
217 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
218 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
221 scoped_array(const scoped_array&);
222 void operator=(const scoped_array&);
230 using internal::scoped_array;
/external/google-breakpad/src/common/
Dscoped_ptr.h188 class scoped_array {
197 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
201 ~scoped_array() { in ~scoped_array()
238 void swap(scoped_array& p2) { in swap()
259 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
260 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
263 scoped_array(const scoped_array&);
264 void operator=(const scoped_array&);
269 void swap(scoped_array<C>& p1, scoped_array<C>& p2) { in swap()
274 bool operator==(C* p1, const scoped_array<C>& p2) {
[all …]
Dstring_conversion.cc123 scoped_array<uint16_t> source_buffer; in UTF16ToUTF8()
140 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]); in UTF16ToUTF8()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.h148 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<MessageGenerator> > message_generators…
149 google::protobuf::scoped_array<google::protobuf::scoped_ptr<EnumGenerator> > enum_generators_;
150 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<ServiceGenerator> > service_generators…
151 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<ExtensionGenerator> > extension_genera…
Dcpp_message.h193 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<MessageGenerator> > nested_generators_;
194 google::protobuf::scoped_array<google::protobuf::scoped_ptr<EnumGenerator> > enum_generators_;
195 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<ExtensionGenerator> > extension_genera…
Dcpp_field.h215 google::protobuf::scoped_array<google::protobuf::scoped_ptr<FieldGenerator> > field_generators_;
/external/clang/test/SemaCXX/
Dnew-delete.cpp471 template <class C> struct scoped_array { struct
472 scoped_array(C* p = __null);
475 Foo() : a_(new scoped_array<int>[5]) { } in Foo()
476 scoped_array< scoped_array<int> > a_;
/external/google-breakpad/src/common/mac/
Dstring_utilities.cc35 using google_breakpad::scoped_array;
46 scoped_array<UInt8> buffer(new UInt8[maxUTF8Length + 1]); in ConvertToString()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_field.h85 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
86 scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
Djavamicro_message.cc231 scoped_array<const FieldDescriptor*> sorted_fields( in GenerateMessageSerializationMethods()
288 scoped_array<const FieldDescriptor*> sorted_fields( in GenerateMergeFromMethods()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.h103 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<MessageGenerator> > message_generators…
104 …google::protobuf::scoped_array<google::protobuf::scoped_ptr<ExtensionGenerator> > extension_genera…
/external/google-breakpad/src/processor/
Dstatic_contained_range_map_unittest.cc171 scoped_array<char> serialized_data_;
240 scoped_array<char> serialized_data; in TEST_F()
260 scoped_array<char> serialized_data; in TEST_F()
Dmodule_serializer.cc143 scoped_array<char> symbol_data(Serialize(*basic_module, &size)); in SerializeModuleAndLoadIntoFastResolver()
197 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in SerializeSymbolFileData()
Dmodule_comparer.cc60 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in Compare()
69 scoped_array<char> serialized_data( in Compare()
Dcfi_frame_info.cc128 scoped_array<char> working_copy(new char[rule_set_len + 1]); in Parse()
/external/eigen/Eigen/src/SparseCore/
DCompressedStorage.h182 internal::scoped_array<Scalar> newValues(m_allocatedSize);
183 internal::scoped_array<StorageIndex> newIndices(m_allocatedSize);
234 internal::scoped_array<Scalar> newValues(size); in reallocate()
235 internal::scoped_array<StorageIndex> newIndices(size); in reallocate()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.h185 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
186 scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
Dobjectivec_message.cc294 scoped_array<const FieldDescriptor*> sorted_fields( in GenerateMessageHeader()
396 scoped_array<const FieldDescriptor*> sorted_fields( in GenerateSource()
398 scoped_array<const FieldDescriptor*> size_order_fields( in GenerateSource()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.h267 google::protobuf::scoped_array<uint8> buffer_;
356 google::protobuf::scoped_array<uint8> buffer_;
/external/protobuf/conformance/
Dconformance_test_runner.cc71 using google::protobuf::internal::scoped_array;
186 scoped_array<char> executable(new char[executable_.size() + 1]); in SpawnTestProgram()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper_unittest_helper.cc85 google_breakpad::scoped_array<pthread_t> threads(new pthread_t[num_threads]); in main()
/external/google-breakpad/src/client/windows/crash_generation/
Dclient_info.h137 scoped_array<CustomInfoEntry> custom_info_entries_;
/external/eigen/Eigen/src/Core/util/
DMemory.h583 template<typename T> class scoped_array : noncopyable
587 explicit scoped_array(std::ptrdiff_t size)
591 ~scoped_array()
602 template<typename T> void swap(scoped_array<T> &a,scoped_array<T> &b)
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.h106 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc111 scoped_array<char> buf(new char[kBufSize]); in TEST()

12