/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/doc/smart_ptr/ |
D | scoped_array.adoc | 12 [#scoped_array] anchor 13 # scoped_array: Scoped Array Ownership 20 The `scoped_array` class template stores a pointer to a dynamically allocated array. 22 pointed to is guaranteed to be deleted, either on destruction of the `scoped_array`, 25 The `scoped_array` template is a simple solution for simple needs. It supplies a basic 31 Because `scoped_array` is so simple, in its usual implementation every operation is as fast as a 34 It cannot be used in {cpp} standard library containers. See `shared_ptr<T[]>` if `scoped_array` 39 `std::vector` is an alternative to `scoped_array` that is a bit heavier duty but far more flexible. 46 `scoped_array` is defined in `<boost/smart_ptr/scoped_array.hpp>`. 51 template<class T> class scoped_array { [all …]
|
D | introduction.adoc | 32 * `<<scoped_array,scoped_array>>`, which provides scoped ownership for a dynamically allocated arra…
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/include/boost/smart_ptr/ |
D | scoped_array.hpp | 39 template<class T> class scoped_array // noncopyable class 45 scoped_array(scoped_array const &); 46 scoped_array & operator=(scoped_array const &); 48 typedef scoped_array<T> this_type; 50 void operator==( scoped_array const& ) const; 51 void operator!=( scoped_array const& ) const; 57 explicit scoped_array( T * p = 0 ) BOOST_SP_NOEXCEPT : px( p ) in scoped_array() function in boost::scoped_array 64 ~scoped_array() BOOST_SP_NOEXCEPT in ~scoped_array() 93 void swap(scoped_array & b) BOOST_SP_NOEXCEPT in swap() 103 template<class T> inline bool operator==( scoped_array<T> const & p, boost::detail::sp_nullptr_t ) … in operator ==() [all …]
|
/aosp_15_r20/external/marisa-trie/include/marisa/ |
H A D | scoped-array.h | 9 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 &);
|
H A D | keyset.h | 53 scoped_array<scoped_array<char> > base_blocks_; 56 scoped_array<scoped_array<char> > extra_blocks_; 59 scoped_array<scoped_array<Key> > key_blocks_;
|
/aosp_15_r20/external/google-breakpad/src/common/ |
H A D | scoped_ptr.h | 188 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 …]
|
H A D | string_conversion.cc | 126 scoped_array<uint16_t> source_buffer; in UTF16ToUTF8() 143 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]); in UTF16ToUTF8()
|
/aosp_15_r20/external/marisa-trie/lib/marisa/ |
H A D | keyset.cc | 127 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()
|
/aosp_15_r20/external/google-breakpad/src/tools/windows/converter_exe/ |
H A D | escaping.cc | 73 class scoped_array { class 82 explicit scoped_array(C* p = NULL) : array_(p) { } in scoped_array() function in scoped_array 86 ~scoped_array() { in ~scoped_array() 123 void swap(scoped_array& p2) { in swap() 144 template <class C2> bool operator==(scoped_array<C2> const& p2) const; 145 template <class C2> bool operator!=(scoped_array<C2> const& p2) const; 148 scoped_array(const scoped_array&); 149 void operator=(const scoped_array&); 746 scoped_array<char> buf(new char[encoded_len]); in WebSafeBase64EscapeInternal()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/test/ |
D | pointer_to_other_test.cpp | 54 …assert_same_type< boost::pointer_to_other< boost::scoped_array<X>, Y >::type, boost::scoped_array<… in main() 55 …assert_same_type< boost::pointer_to_other< boost::scoped_array<X>, void >::type, boost::scoped_arr… in main() 56 …assert_same_type< boost::pointer_to_other< boost::scoped_array<void>, Y >::type, boost::scoped_arr… in main()
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | new-delete.cpp | 471 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_;
|
/aosp_15_r20/cts/hostsidetests/jvmti/base/jni/ |
H A D | tagging.cpp | 52 ScopedLongArrayRO scoped_array(env); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() local 54 scoped_array.reset(searchTags); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 56 const jlong* tag_ptr = scoped_array.get(); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 68 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(), in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
|
/aosp_15_r20/art/test/903-hello-tagging/ |
H A D | tagging.cc | 38 ScopedLongArrayRO scoped_array(env); in Java_art_Test903_getTaggedObjects() local 40 scoped_array.reset(searchTags); in Java_art_Test903_getTaggedObjects() 42 const jlong* tag_ptr = scoped_array.get(); in Java_art_Test903_getTaggedObjects() 54 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(), in Java_art_Test903_getTaggedObjects()
|
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/jni/include/ |
D | jni_util.h | 54 uint8_t* scoped_array in SerializeProtoToJniByteArray() local 56 protobuf.SerializeWithCachedSizesToArray(scoped_array); in SerializeProtoToJniByteArray() 57 env->ReleasePrimitiveArrayCritical(ret, scoped_array, 0); in SerializeProtoToJniByteArray()
|
/aosp_15_r20/external/google-breakpad/src/processor/ |
H A D | static_contained_range_map_unittest.cc | 174 scoped_array<char> serialized_data_; 243 scoped_array<char> serialized_data; in TEST_F() 263 scoped_array<char> serialized_data; in TEST_F() 287 scoped_array<char> serialized_data; in TEST_F()
|
H A D | module_serializer.cc | 155 scoped_array<char> symbol_data(Serialize(*basic_module, &size)); in SerializeModuleAndLoadIntoFastResolver() 209 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in SerializeSymbolFileData()
|
/aosp_15_r20/external/eigen/Eigen/src/SparseCore/ |
H A D | CompressedStorage.h | 182 internal::scoped_array<Scalar> newValues(m_allocatedSize); 183 internal::scoped_array<StorageIndex> newIndices(m_allocatedSize); 250 internal::scoped_array<Scalar> newValues(size); in reallocate() 251 internal::scoped_array<StorageIndex> newIndices(size); in reallocate()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/test/regress/ |
D | test_locale.cpp | 84 boost::scoped_array<char> p; in test_locale() 109 boost::scoped_array<wchar_t> wp; in test_locale() 125 boost::scoped_array<char> p(new char[name_size]); in test_locale()
|
/aosp_15_r20/external/google-breakpad/src/common/mac/ |
H A D | string_utilities.cc | 38 using google_breakpad::scoped_array; 49 scoped_array<UInt8> buffer(new UInt8[maxUTF8Length + 1]); in ConvertToString()
|
/aosp_15_r20/external/icing/icing/jni/ |
H A D | icing-search-engine-jni.cc | 44 icing::lib::ScopedPrimitiveArrayCritical<uint8_t> scoped_array(env, bytes); in ParseProtoFromJniByteArray() local 45 return protobuf->ParseFromArray(scoped_array.data(), scoped_array.size()); in ParseProtoFromJniByteArray() 58 icing::lib::ScopedPrimitiveArrayCritical<uint8_t> scoped_array(env, ret); in SerializeProtoToJniByteArray() local 59 protobuf.SerializeWithCachedSizesToArray(scoped_array.data()); in SerializeProtoToJniByteArray()
|
/aosp_15_r20/external/google-breakpad/src/tools/linux/core_handler/ |
H A D | core_handler.cc | 54 using google_breakpad::scoped_array; 88 scoped_array<char> buf(new char[core_read_size]); in HandleCrash()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/filesystem/example/ |
D | mbpath.cpp | 39 boost::scoped_array<char> work( new char[ work_size ] ); in to_external() 58 boost::scoped_array<wchar_t> work( new wchar_t[ work_size ] ); in to_internal()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/filesystem/src/ |
D | path_traits.cpp | 145 boost::scoped_array< wchar_t > buf(new wchar_t [buf_size]); in convert() 184 boost::scoped_array< char > buf(new char [buf_size]); in convert()
|
/aosp_15_r20/external/eigen/Eigen/src/Core/util/ |
H A D | Memory.h | 690 template<typename T> class scoped_array : noncopyable 694 explicit scoped_array(std::ptrdiff_t size) 698 ~scoped_array() 709 template<typename T> void swap(scoped_array<T> &a,scoped_array<T> &b)
|
/aosp_15_r20/external/marisa-trie/lib/marisa/grimoire/vector/ |
H A D | vector.h | 191 scoped_array<char> buf_; 229 scoped_array<char> new_buf( in realloc()
|