Home
last modified time | relevance | path

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

12

/external/marisa-trie/include/marisa/
Dscoped-array.h9 class scoped_array {
11 scoped_array() : array_(NULL) {} in scoped_array() function
12 explicit scoped_array(T *array) : array_(array) {} in scoped_array() function
14 ~scoped_array() { in ~scoped_array()
20 scoped_array(array).swap(*this);
32 scoped_array().swap(*this); in clear()
34 void swap(scoped_array &rhs) { in swap()
42 scoped_array(const scoped_array &);
43 scoped_array &operator=(const scoped_array &);
Dkeyset.h53 scoped_array<scoped_array<char> > base_blocks_;
56 scoped_array<scoped_array<char> > extra_blocks_;
59 scoped_array<scoped_array<Key> > key_blocks_;
/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/marisa-trie/lib/marisa/
Dkeyset.cc127 scoped_array<scoped_array<char> > new_blocks( in append_base_block()
128 new (std::nothrow) scoped_array<char>[new_capacity]); in append_base_block()
137 scoped_array<char> new_block(new (std::nothrow) char[BASE_BLOCK_SIZE]); in append_base_block()
149 scoped_array<scoped_array<char> > new_blocks( in append_extra_block()
150 new (std::nothrow) scoped_array<char>[new_capacity]); in append_extra_block()
158 scoped_array<char> new_block(new (std::nothrow) char[size]); in append_extra_block()
167 scoped_array<scoped_array<Key> > new_blocks( in append_key_block()
168 new (std::nothrow) scoped_array<Key>[new_capacity]); in append_key_block()
176 scoped_array<Key> new_block(new (std::nothrow) Key[KEY_BLOCK_SIZE]); in append_key_block()
/external/google-breakpad/src/tools/windows/converter_exe/
Descaping.cc69 class scoped_array { class
78 explicit scoped_array(C* p = NULL) : array_(p) { } in scoped_array() function in scoped_array
82 ~scoped_array() { in ~scoped_array()
119 void swap(scoped_array& p2) { in swap()
140 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
141 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
144 scoped_array(const scoped_array&);
145 void operator=(const scoped_array&);
742 scoped_array<char> buf(new char[encoded_len]); in WebSafeBase64EscapeInternal()
/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/llvm-project/clang/test/SemaCXX/
Dnew-delete.cpp552 template <class C> struct scoped_array { struct
553 scoped_array(C* p = __null);
556 Foo() : a_(new scoped_array<int>[5]) { } in Foo()
557 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()
Ddump_syms.h177 scoped_array<uint8_t> contents_;
/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()
Dstatic_range_map_unittest.cc373 scoped_array<char> memaddr(serializer_.Serialize(*rmap, NULL)); in RunTestCase()
/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/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper_unittest_helper.cc86 google_breakpad::scoped_array<pthread_t> threads(new pthread_t[num_threads]); in main()
Dminidump_writer_unittest.cc442 google_breakpad::scoped_array<char> buffer(new char[memory_size]); in TEST()
/external/google-breakpad/src/client/windows/crash_generation/
Dclient_info.h137 scoped_array<CustomInfoEntry> custom_info_entries_;
Dminidump_generator.cc349 scoped_array<MINIDUMP_USER_STREAM> user_stream_array( in WriteMinidump()
/external/marisa-trie/lib/marisa/grimoire/vector/
Dvector.h191 scoped_array<char> buf_;
229 scoped_array<char> new_buf( in realloc()
/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/google-breakpad/src/client/ios/handler/
Dios_exception_minidump_generator.mm177 scoped_array<uint8_t> stack_memory(new uint8_t[stack_size]);
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc287 google_breakpad::scoped_array<pthread_t> sleep_threads( in TEST()
295 google_breakpad::scoped_array<pthread_t> crash_threads( in TEST()
/external/google-breakpad/src/client/ios/
DBreakpadController.mm82 google_breakpad::scoped_array<char> machine(new char[size]);

12