OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unique_ptr
(Results
226 - 250
of
2653
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/system/webservd/webservd/
fake_encryptor.cc
37
std::
unique_ptr
<Encryptor> Encryptor::CreateDefaultEncryptor() {
38
return std::
unique_ptr
<Encryptor>{new FakeEncryptor};
keystore_encryptor.h
32
std::
unique_ptr
<keystore::KeystoreClient> keystore);
41
std::
unique_ptr
<keystore::KeystoreClient> keystore_;
/external/drm_hwcomposer/
drmresources.h
42
const std::vector<std::
unique_ptr
<DrmConnector>> &connectors() const {
46
const std::vector<std::
unique_ptr
<DrmPlane>> &planes() const {
80
std::vector<std::
unique_ptr
<DrmConnector>> connectors_;
81
std::vector<std::
unique_ptr
<DrmEncoder>> encoders_;
82
std::vector<std::
unique_ptr
<DrmCrtc>> crtcs_;
83
std::vector<std::
unique_ptr
<DrmPlane>> planes_;
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
remove.pass.cpp
49
std::
unique_ptr
<int> ia[sa];
56
Iter r = std::remove(Iter(ia), Iter(ia+sa), std::
unique_ptr
<int>());
77
test1<forward_iterator<std::
unique_ptr
<int>*> >();
78
test1<bidirectional_iterator<std::
unique_ptr
<int>*> >();
79
test1<random_access_iterator<std::
unique_ptr
<int>*> >();
80
test1<std::
unique_ptr
<int>*>();
remove_if.pass.cpp
53
bool operator()(const std::
unique_ptr
<int>& i) {return *i == 2;}
61
std::
unique_ptr
<int> ia[sa];
92
test1<forward_iterator<std::
unique_ptr
<int>*> >();
93
test1<bidirectional_iterator<std::
unique_ptr
<int>*> >();
94
test1<random_access_iterator<std::
unique_ptr
<int>*> >();
95
test1<std::
unique_ptr
<int>*>();
/external/llvm/lib/DebugInfo/PDB/DIA/
DIAEnumSymbols.cpp
26
std::
unique_ptr
<PDBSymbol>
32
std::
unique_ptr
<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item));
33
return std::
unique_ptr
<PDBSymbol>(PDBSymbol::create(Session, std::move(RawSymbol)));
36
std::
unique_ptr
<PDBSymbol> DIAEnumSymbols::getNext() {
42
std::
unique_ptr
<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item));
43
return std::
unique_ptr
<PDBSymbol>(
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.remove/
remove.pass.cpp
49
std::
unique_ptr
<int> ia[sa];
56
Iter r = std::remove(Iter(ia), Iter(ia+sa), std::
unique_ptr
<int>());
77
test1<forward_iterator<std::
unique_ptr
<int>*> >();
78
test1<bidirectional_iterator<std::
unique_ptr
<int>*> >();
79
test1<random_access_iterator<std::
unique_ptr
<int>*> >();
80
test1<std::
unique_ptr
<int>*>();
remove_if.pass.cpp
47
bool operator()(const std::
unique_ptr
<int>& i) {return *i == 2;}
55
std::
unique_ptr
<int> ia[sa];
86
test1<forward_iterator<std::
unique_ptr
<int>*> >();
87
test1<bidirectional_iterator<std::
unique_ptr
<int>*> >();
88
test1<random_access_iterator<std::
unique_ptr
<int>*> >();
89
test1<std::
unique_ptr
<int>*>();
/system/connectivity/apmanager/
mock_control.h
38
// and
unique_ptr
is not copyable.
48
std::
unique_ptr
<ConfigAdaptorInterface> CreateConfigAdaptor(
50
std::
unique_ptr
<DeviceAdaptorInterface> CreateDeviceAdaptor(
52
std::
unique_ptr
<ManagerAdaptorInterface> CreateManagerAdaptor(
54
std::
unique_ptr
<ServiceAdaptorInterface> CreateServiceAdaptor(
56
std::
unique_ptr
<FirewallProxyInterface> CreateFirewallProxy(
59
std::
unique_ptr
<ShillProxyInterface> CreateShillProxy(
/system/tools/aidl/
line_reader.cpp
25
using std::
unique_ptr
;
77
unique_ptr
<LineReader> LineReader::ReadFromFile(const string& file_path) {
78
unique_ptr
<FileLineReader> file_reader(new FileLineReader());
79
unique_ptr
<LineReader> ret;
86
unique_ptr
<LineReader> LineReader::ReadFromMemory(const string& contents) {
87
return
unique_ptr
<LineReader>(new MemoryLineReader(contents));
generate_cpp_unittest.cpp
35
using std::
unique_ptr
;
73
::android::binder::Status Send(const ::std::
unique_ptr
<::std::vector<int32_t>>& goes_in, ::std::vector<double>* goes_in_and_out, ::std::vector<bool>* goes_out, ::std::vector<int32_t>* _aidl_return) override;
100
::android::binder::Status BpComplexTypeInterface::Send(const ::std::
unique_ptr
<::std::vector<int32_t>>& goes_in, ::std::vector<double>* goes_in_and_out, ::std::vector<bool>* goes_out, ::std::vector<int32_t>* _aidl_return) {
380
::std::
unique_ptr
<::std::vector<int32_t>> in_goes_in;
613
virtual ::android::binder::Status Send(const ::std::
unique_ptr
<::std::vector<int32_t>>& goes_in, ::std::vector<double>* goes_in_and_out, ::std::vector<bool>* goes_out, ::std::vector<int32_t>* _aidl_return) = 0;
662
unique_ptr
<AidlInterface> Parse() {
665
unique_ptr
<AidlInterface> ret;
666
std::vector<std::
unique_ptr
<AidlImport>> imports;
684
unique_ptr
<CodeWriter> cw = GetStringWriter(&output);
713
unique_ptr
<AidlInterface> interface = Parse()
[
all
...]
/external/llvm/include/llvm/LTO/
LTOModule.h
48
std::
unique_ptr
<LLVMContext> OwnedContext;
52
std::
unique_ptr
<object::IRObjectFile> IRFile;
53
std::
unique_ptr
<TargetMachine> _target;
61
LTOModule(std::
unique_ptr
<object::IRObjectFile> Obj, TargetMachine *TM);
62
LTOModule(std::
unique_ptr
<object::IRObjectFile> Obj, TargetMachine *TM,
63
std::
unique_ptr
<LLVMContext> Context);
83
static std::
unique_ptr
<MemoryBuffer>
94
static ErrorOr<std::
unique_ptr
<LTOModule>>
96
static ErrorOr<std::
unique_ptr
<LTOModule>>
99
static ErrorOr<std::
unique_ptr
<LTOModule>
[
all
...]
/external/skia/tests/
CPlusPlusEleven.cpp
32
#define TOO_BIG "The
unique_ptr
was bigger than expected."
33
#define WEIRD_SIZE "The
unique_ptr
was a different size than expected."
44
static_assert(sizeof(skstd::
unique_ptr
<Moveable>) == sizeof(SmallUniquePtr), TOO_BIG);
45
static_assert(sizeof(skstd::
unique_ptr
<Moveable[]>) == sizeof(SmallUniquePtr), TOO_BIG);
48
static_assert(sizeof(skstd::
unique_ptr
<Moveable, proc>) == sizeof(BigUniquePtr), WEIRD_SIZE);
49
static_assert(sizeof(skstd::
unique_ptr
<Moveable[], proc>) == sizeof(BigUniquePtr), WEIRD_SIZE);
52
skstd::
unique_ptr
<Moveable, void(*)(Moveable*)> u(nullptr, deleter<Moveable>);
60
skstd::
unique_ptr
<Moveable, void(*)(Moveable*)> u(nullptr, [](Moveable* m){ deleter(m); });
69
skstd::
unique_ptr
<Moveable, decltype(d)> u(nullptr, d);
77
skstd::
unique_ptr
<Moveable, Deleter<Moveable>> u(nullptr, Deleter<Moveable>())
[
all
...]
/external/clang/include/clang/Basic/
FileSystemStatCache.h
51
std::
unique_ptr
<FileSystemStatCache> NextStatCache;
72
std::
unique_ptr
<vfs::File> *F, FileSystemStatCache *Cache,
77
void setNextStatCache(std::
unique_ptr
<FileSystemStatCache> Cache) {
87
std::
unique_ptr
<FileSystemStatCache> takeNextStatCache() {
93
//
unique_ptr
. Optional<
unique_ptr
<vfs::File>&> might be nicer, but
96
std::
unique_ptr
<vfs::File> *F,
100
std::
unique_ptr
<vfs::File> *F, vfs::FileSystem &FS) {
125
std::
unique_ptr
<vfs::File> *F,
/external/libweave/src/privet/
privet_manager.h
68
std::
unique_ptr
<provider::HttpServer::Request> request);
83
std::
unique_ptr
<CloudDelegate> cloud_;
84
std::
unique_ptr
<DeviceDelegate> device_;
85
std::
unique_ptr
<SecurityManager> security_;
86
std::
unique_ptr
<WifiBootstrapManager> wifi_bootstrap_manager_;
87
std::
unique_ptr
<Publisher> publisher_;
88
std::
unique_ptr
<PrivetHandler> privet_handler_;
/external/llvm/lib/AsmParser/
Parser.cpp
28
std::
unique_ptr
<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F);
34
std::
unique_ptr
<Module> llvm::parseAssembly(MemoryBufferRef F,
38
std::
unique_ptr
<Module> M =
47
std::
unique_ptr
<Module> llvm::parseAssemblyFile(StringRef Filename,
51
ErrorOr<std::
unique_ptr
<MemoryBuffer>> FileOrErr =
62
std::
unique_ptr
<Module> llvm::parseAssemblyString(StringRef AsmString,
73
std::
unique_ptr
<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm);
/system/bt/service/common/bluetooth/binder/
parcel_helpers.h
43
std::
unique_ptr
<bluetooth::AdvertiseData> CreateAdvertiseDataFromParcel(
52
std::
unique_ptr
<bluetooth::AdvertiseSettings> CreateAdvertiseSettingsFromParcel(
59
std::
unique_ptr
<bluetooth::UUID> CreateUUIDFromParcel(
68
std::
unique_ptr
<bluetooth::GattIdentifier> CreateGattIdentifierFromParcel(
77
std::
unique_ptr
<bluetooth::ScanFilter> CreateScanFilterFromParcel(
86
std::
unique_ptr
<bluetooth::ScanSettings> CreateScanSettingsFromParcel(
95
std::
unique_ptr
<bluetooth::ScanResult> CreateScanResultFromParcel(
/art/runtime/arch/
instruction_set_features_test.cc
37
std::
unique_ptr
<const InstructionSetFeatures> instruction_set_features(
47
std::
unique_ptr
<const InstructionSetFeatures> property_features(
64
std::
unique_ptr
<const InstructionSetFeatures> instruction_set_features(
80
std::
unique_ptr
<const InstructionSetFeatures> base_features(
84
std::
unique_ptr
<const InstructionSetFeatures> property_features(
102
std::
unique_ptr
<const InstructionSetFeatures> instruction_set_features(
106
std::
unique_ptr
<const InstructionSetFeatures> cpuinfo_features(
117
std::
unique_ptr
<const InstructionSetFeatures> default_features(
121
std::
unique_ptr
<const InstructionSetFeatures> cpp_features(
136
std::
unique_ptr
<const InstructionSetFeatures> instruction_set_features
[
all
...]
/external/clang/include/clang/Frontend/
FrontendActions.h
29
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
44
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
50
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
56
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
62
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
68
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
74
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
99
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
128
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
139
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI
[
all
...]
FrontendAction.h
38
std::
unique_ptr
<ASTUnit> CurrentASTUnit;
44
std::
unique_ptr
<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
64
virtual std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
149
std::
unique_ptr
<ASTUnit> takeCurrentASTUnit() {
154
std::
unique_ptr
<ASTUnit> AST = nullptr);
241
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
259
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
273
std::
unique_ptr
<FrontendAction> WrappedAction;
276
std::
unique_ptr
<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
alloc_convert_move.pass.cpp
55
typedef std::tuple<std::
unique_ptr
<D>> T0;
56
typedef std::tuple<std::
unique_ptr
<B>> T1;
57
T0 t0(std::
unique_ptr
<D>(new D(3)));
62
typedef std::tuple<int, std::
unique_ptr
<D>> T0;
63
typedef std::tuple<alloc_first, std::
unique_ptr
<B>> T1;
64
T0 t0(2, std::
unique_ptr
<D>(new D(3)));
72
typedef std::tuple<int, int, std::
unique_ptr
<D>> T0;
73
typedef std::tuple<alloc_last, alloc_first, std::
unique_ptr
<B>> T1;
74
T0 t0(1, 2, std::
unique_ptr
<D>(new D(3)));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
move02.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
106
std::
unique_ptr
<A>
109
return std::
unique_ptr
<A>(new A);
112
void sink1(std::
unique_ptr
<A> p)
116
std::
unique_ptr
<A, Deleter<A> >
119
return std::
unique_ptr
<A, Deleter<A> >(new A);
122
void sink2(std::
unique_ptr
<A, Deleter<A> > p)
126
std::
unique_ptr
<A, CDeleter&>
130
return std::
unique_ptr
<A, CDeleter&>(new A, d)
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
alloc_convert_move.pass.cpp
53
typedef std::tuple<std::
unique_ptr
<D>> T0;
54
typedef std::tuple<std::
unique_ptr
<B>> T1;
55
T0 t0(std::
unique_ptr
<D>(new D(3)));
60
typedef std::tuple<int, std::
unique_ptr
<D>> T0;
61
typedef std::tuple<alloc_first, std::
unique_ptr
<B>> T1;
62
T0 t0(2, std::
unique_ptr
<D>(new D(3)));
70
typedef std::tuple<int, int, std::
unique_ptr
<D>> T0;
71
typedef std::tuple<alloc_last, alloc_first, std::
unique_ptr
<B>> T1;
72
T0 t0(1, 2, std::
unique_ptr
<D>(new D(3)));
/system/update_engine/
real_system_state.h
137
std::
unique_ptr
<BootControlInterface> boot_control_;
150
std::
unique_ptr
<HardwareInterface> hardware_;
156
std::
unique_ptr
<PrefsInterface> prefs_;
159
std::
unique_ptr
<PrefsInterface> powerwash_safe_prefs_;
167
std::
unique_ptr
<CertificateChecker> certificate_checker_;
170
std::
unique_ptr
<UpdateAttempter> update_attempter_;
175
std::
unique_ptr
<P2PManager> p2p_manager_;
177
std::
unique_ptr
<WeaveServiceInterface> weave_service_;
179
std::
unique_ptr
<chromeos_update_manager::UpdateManager> update_manager_;
/bionic/libc/malloc_debug/
DebugData.h
89
std::
unique_ptr
<BacktraceData> backtrace;
90
std::
unique_ptr
<TrackData> track;
91
std::
unique_ptr
<FrontGuardData> front_guard;
92
std::
unique_ptr
<RearGuardData> rear_guard;
93
std::
unique_ptr
<FreeTrackData> free_track;
Completed in 622 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>