Home
last modified time | relevance | path

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

1234

/external/oprofile/libutil++/
Dutility.h57 template<typename T> class scoped_array {
59 explicit scoped_array(T * p = 0) : p_(p) {} in p_()
60 ~scoped_array() { delete [] p_; } in ~scoped_array()
72 void swap(scoped_array & sp) { in swap()
79 scoped_array & operator=(scoped_array const &);
80 scoped_array(scoped_array const &);
/external/skia/src/images/
Dbmpdecoderhelper.h24 template <typename T> class scoped_array {
27 scoped_array(scoped_array const&);
28 scoped_array& operator=(const scoped_array&);
31 explicit scoped_array(T* p = 0) : ptr_(p) {} in ptr_()
32 ~scoped_array() { in ~scoped_array()
100 scoped_array<uint8> colTab_;
/external/chromium/googleurl/base/
Dscoped_ptr.h137 class scoped_array {
142 scoped_array(scoped_array const &);
143 scoped_array & operator=(scoped_array const &);
149 explicit scoped_array(T* p = 0) : ptr(p) {} in ptr()
151 ~scoped_array() { in ~scoped_array()
183 void swap(scoped_array & b) { in swap()
198 template <typename U> bool operator==(scoped_array<U> const& p) const;
199 template <typename U> bool operator!=(scoped_array<U> const& p) const;
203 void swap(::scoped_array<T>& a, ::scoped_array<T>& b) { in swap()
208 bool operator==(T* p, const ::scoped_array<T>& b) {
[all …]
/external/webrtc/src/system_wrappers/interface/
Dscoped_ptr.h122 class scoped_array {
127 scoped_array(scoped_array const &);
128 scoped_array & operator=(scoped_array const &);
134 explicit scoped_array(T* p = NULL) : ptr(p) {} in ptr()
136 ~scoped_array() { in ~scoped_array()
162 void swap(scoped_array & b) { in swap()
184 void swap(scoped_array<T>& a, scoped_array<T>& b) { in swap()
/external/chromium/third_party/libjingle/source/talk/base/
Dscoped_ptr.h122 class scoped_array {
127 scoped_array(scoped_array const &);
128 scoped_array & operator=(scoped_array const &);
134 explicit scoped_array(T* p = NULL) : ptr(p) {} in ptr()
136 ~scoped_array() { in ~scoped_array()
162 void swap(scoped_array & b) { in swap()
184 void swap(scoped_array<T>& a, scoped_array<T>& b) { in swap()
Dbuffer.h91 talk_base::scoped_array<char> data(new char[capacity]); in SetCapacity()
112 scoped_array<char> data_;
/external/chromium/base/memory/
Dscoped_ptr.h165 class scoped_array {
174 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
178 ~scoped_array() { in ~scoped_array()
215 void swap(scoped_array& p2) { in swap()
236 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
237 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
240 scoped_array(const scoped_array&);
241 void operator=(const scoped_array&);
246 void swap(scoped_array<C>& p1, scoped_array<C>& p2) { in swap()
251 bool operator==(C* p1, const scoped_array<C>& p2) {
[all …]
Dscoped_ptr_unittest.cc101 scoped_array<ConDecLogger> scoper(new ConDecLogger[kNumLoggers]); in TEST()
116 scoped_array<ConDecLogger> scoper; in TEST()
145 scoped_array<ConDecLogger> scoper1; in TEST()
146 scoped_array<ConDecLogger> scoper2; in TEST()
/external/webrtc/src/modules/audio_processing/
Daudio_buffer.h73 scoped_array<AudioChannel> channels_;
74 scoped_array<SplitAudioChannel> split_channels_;
75 scoped_array<AudioChannel> mixed_channels_;
77 scoped_array<AudioChannel> mixed_low_pass_channels_;
78 scoped_array<AudioChannel> low_pass_reference_channels_;
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.h80 scoped_array<scoped_ptr<MessageGenerator> > message_generators_;
81 scoped_array<scoped_ptr<EnumGenerator> > enum_generators_;
82 scoped_array<scoped_ptr<ServiceGenerator> > service_generators_;
83 scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
Dcpp_message.h158 scoped_array<scoped_ptr<MessageGenerator> > nested_generators_;
159 scoped_array<scoped_ptr<EnumGenerator> > enum_generators_;
160 scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
/external/clang/test/SemaCXX/
Dnew-delete.cpp464 template <class C> struct scoped_array { struct
465 scoped_array(C* p = __null);
468 Foo() : a_(new scoped_array<int>[5]) { } in Foo()
469 scoped_array< scoped_array<int> > a_;
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h405 template <class C> class scoped_array; variable
502 class scoped_array {
511 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
515 ~scoped_array() { in ~scoped_array()
552 void swap(scoped_array& p2) { in swap()
573 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
574 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
577 scoped_array(const scoped_array&);
578 void operator=(const scoped_array&);
586 using internal::scoped_array;
/external/chromium/chrome/browser/ui/views/
Dgeneric_info_view.h60 scoped_array<views::Label*> name_views_;
61 scoped_array<views::Textfield*> value_views_;
/external/oprofile/libutil++/tests/
Dutility_tests.cpp83 scoped_array<A> b(new A[10]); in throw_tests()
85 scoped_array<A> a(new A[10]); in throw_tests()
/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_;
/external/protobuf/src/google/protobuf/compiler/java/
Djava_field.h85 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
86 scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
/external/chromium/crypto/
Drsa_private_key_win.cc66 scoped_array<BYTE> blob(new BYTE[blob_size]); in CreateFromPrivateKeyInfo()
143 scoped_array<uint8> blob(new uint8[blob_length]); in ExportPrivateKey()
197 scoped_array<uint8> key_info(new uint8[key_info_len]); in ExportPublicKey()
214 scoped_array<BYTE> encoded(new BYTE[encoded_length]); in ExportPublicKey()
/external/chromium/chrome/browser/net/
Dservice_providers_win.cc26 scoped_array<char> namespace_provider_bytes(new char[size]); in GetWinsockNamespaceProviders()
61 scoped_array<char> service_provider_bytes(new char[size]); in GetWinsockLayeredServiceProviders()
/external/chromium/chrome/browser/policy/
Dpolicy_path_parser_win.cc63 scoped_array<WCHAR> username(new WCHAR[return_length]); in ExpandPathVariables()
74 scoped_array<WCHAR> machinename(new WCHAR[return_length]); in ExpandPathVariables()
/external/chromium/chrome/browser/chromeos/
Dwm_ipc.cc43 scoped_array<long> data(new long[values.size()]); in SetIntProperty()
173 scoped_array<char*> names(new char*[kNumAtoms]); in WmIpc()
174 scoped_array<Atom> atoms(new Atom[kNumAtoms]); in WmIpc()
/external/chromium/base/
Dshared_memory_unittest.cc233 scoped_array<PlatformThreadHandle> thread_handles; in TEST()
234 scoped_array<MultipleThreadMain*> thread_delegates; in TEST()
293 scoped_array<SharedMemory> memories(new SharedMemory[count]); in TEST()
294 scoped_array<int*> pointers(new int*[count]); in TEST()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.h234 scoped_array<uint8> buffer_;
323 scoped_array<uint8> buffer_;
/external/chromium/net/socket/
Dssl_client_socket_win.h164 scoped_array<char> payload_send_buffer_;
175 scoped_array<char> recv_buffer_;
/external/chromium/third_party/libjingle/overrides/talk/base/
Dscoped_ptr.h17 using ::scoped_array;

1234