Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 247) sorted by relevance

12345678910

/system/tools/hidl/c2hal/
Dc2hal_y.yy194 $$ = new std::vector<Declaration *>;
203 $1->push_back(new Note("extern \"C\" { "));
205 $1->push_back(new Note("} // end of extern C"));
238 $$ = new TypeDef($2->getName(), $2);
243 $$ = new Define($2, $3);
248 $$ = new Note($1);
253 $$ = new Note($1);
258 $$ = new Note($1->decorateName($2) + " = " + $4->toString());
267 $$ = new CompositeDeclaration(Type::Qualifier::STRUCT,
279 $$ = new Include($3, true /* isLibrary */);
[all …]
/system/tools/aidl/
Daidl_language_y.yy129 { $$ = new AidlToken("cpp_header", ""); }
143 { ps->AddImport(new AidlImport(loc(@2), $2->GetDotName()));
149 $$ = new AidlQualifiedName(loc(@1), $1->GetText(), $1->GetComments());
190 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments());
193 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments(), $4->GetText());
196 AidlQualifiedName* name = new AidlQualifiedName(loc(@2), $2->GetText(), $2->GetComments());
197 $$ = new AidlStructuredParcelable(loc(@2), name, ps->Package(), $1->GetComments(), $4);
206 $$ = new std::vector<std::unique_ptr<AidlVariableDeclaration>>;
217 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText());
220 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText(), $4);
[all …]
Daidl_language_l.ll46 \"[^\"]*\" { yylval->token = new AidlToken(yytext, extra_text);
70 @{identifier} { yylval->token = new AidlToken(yytext + 1, extra_text);
75 parcelable { yylval->token = new AidlToken("parcelable", extra_text);
88 interface { yylval->token = new AidlToken("interface", extra_text);
91 oneway { yylval->token = new AidlToken("oneway", extra_text);
96 {identifier} { yylval->token = new AidlToken(yytext, extra_text);
102 {intvalue} { yylval->token = new AidlToken(yytext, extra_text);
104 {floatvalue} { yylval->token = new AidlToken(yytext, extra_text);
106 {hexvalue} { yylval->token = new AidlToken(yytext, extra_text);
/system/tools/hidl/
Dhidl-gen_y.yy134 "namespace", "new", "noexcept", "not", "not_eq", "nullptr", "operator", "or", "or_eq",
142 "abstract", "continue", "for", "new", "switch", "assert", "default", "goto", "package",
387 $$ = new std::vector<Annotation *>;
399 $$ = new Annotation($2, $3);
406 $$ = new AnnotationParamVector;
417 $$ = new AnnotationParamVector;
430 $$ = new StringAnnotationParam($1, $3);
434 $$ = new ConstantExpressionAnnotationParam($1, $3);
441 $$ = new std::vector<std::string>;
450 $$ = new std::vector<std::string>;
[all …]
Dhidl-gen_l.ll62 yylval->type = new ScalarType(ScalarType::kind, *scope); \
89 yylval->docComment = new DocComment(gCurrentComment);
113 "bitfield" { yylval->templatedType = new BitFieldType(*scope); return token::TEMPLATED; }
114 "vec" { yylval->templatedType = new VectorType(*scope); return token::TEMPLATED; }
115 "ref" { yylval->templatedType = new RefType(*scope); return token::TEMPLATED; }
130 "death_recipient" { yylval->type = new DeathRecipientType(*scope); return token::TYPE; }
131 "handle" { yylval->type = new HandleType(*scope); return token::TYPE; }
132 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
133 "pointer" { yylval->type = new PointerType(*scope); return token::TYPE; }
134 "string" { yylval->type = new StringType(*scope); return token::TYPE; }
[all …]
/system/keymaster/include/keymaster/contexts/
Dkeymaster0_passthrough_context.h33 km0_engine_.reset(new Keymaster0Engine(dev)); in Keymaster0PassthroughContext()
34 rsa_factory_.reset(new RsaKeymaster0KeyFactory(this, km0_engine_.get())); in Keymaster0PassthroughContext()
35 ec_factory_.reset(new EcdsaKeymaster0KeyFactory(this, km0_engine_.get())); in Keymaster0PassthroughContext()
/system/keymaster/include/keymaster/
DUniquePtr.h215 UniquePtr<C> c(new C);
222 UniquePtr<C> c(new C);
230 UniquePtr<C> c(new C);
232 c.reset(new C);
243 UniquePtr<C[]> cs(new C[4]);
249 UniquePtr<C[]> c(new C[4]);
257 UniquePtr<C[]> c(new C[4]);
259 c.reset(new C[2]);
Dnew32 void* operator new(size_t __sz, const std::nothrow_t&) _NOEXCEPT;
33 void* operator new[](size_t __sz, const std::nothrow_t&) _NOEXCEPT;
/system/chre/util/include/chre/util/
Doptional_impl.h29 new (objectAddr()) ObjectType(object); in Optional()
35 new (objectAddr()) ObjectType(std::move(object)); in Optional()
72 new (objectAddr()) ObjectType(std::move(other));
89 new (objectAddr()) ObjectType(std::move(other.object()));
101 new (objectAddr()) ObjectType(other);
118 new (objectAddr()) ObjectType(other.object());
Dmemory_impl.h70 new (&dest[i]) ElementType(std::move(source[i])); in uninitializedMoveOrCopy()
81 new (&dest[i]) ElementType(source[i]); in uninitializedMoveOrCopy()
116 new(storage) T(std::forward<Args>(args)...); in memoryAlloc()
/system/bt/packet/tests/
Dpacket_test_helper.h34 new TestPacketType<PacketType>()); in Make()
40 new TestPacketType<PacketType>(packet)); in Make()
52 new TestPacketType<PacketType>()); in Make()
/system/update_engine/update_manager/
Dfake_update_manager.h33 new FakeState()) { in FakeUpdateManager()
35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
Dgeneric_variables.h106 return new T(ref_); in GetValue()
136 return new T(obj_); in GetValue()
162 return new T(func_.Run()); in GetValue()
216 return new T(value_); in GetValue()
Dupdate_manager-inl.h123 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest()
144 scoped_refptr<EvaluationContext> ec = new EvaluationContext( in AsyncPolicyRequest()
149 new base::Callback<void(EvaluationContext*)>( in AsyncPolicyRequest()
/system/iorap/src/common/
Dexpected.h122 new (&right_) T(std::move(other.right_));
124 new (&error_) E(std::move(other.error_));
134 new (&right_) T(other.right_);
136 new (&error_) E(other.error_);
152 new (&right_) T(other.right_);
159 new (&error_) E(other.error_);
180 new (&right_) T(std::move(other.right_));
187 new (&error_) E(std::move(other.error_));
/system/core/debuggerd/libdebuggerd/test/
DUnwinderMock.h25 UnwinderMock() : Unwinder(128, new unwindstack::Maps, nullptr) {} in UnwinderMock()
36 std::string* new_build_id = new std::string(build_id); in MockSetBuildID()
/system/bpfprogs/
Dtime_in_state.c73 unsigned int new = args->state; in tp_cpufreq() local
74 bpf_cpu_freq_map_update_elem(&cpu, &new, BPF_ANY); in tp_cpufreq()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dinquiry_response_builder.h38 return std::unique_ptr<InquiryResponseBuilder>(new InquiryResponseBuilder( in CreateStandard()
44 return std::unique_ptr<InquiryResponseBuilder>(new InquiryResponseBuilder( in CreateRssi()
51 return std::unique_ptr<InquiryResponseBuilder>(new InquiryResponseBuilder( in CreateExtended()
/system/update_engine/
Ddbus_test_utils.h56 signal_callback_.reset(new base::Callback<T>(signal_callback)); in GrabCallbacks()
58 new dbus::ObjectProxy::OnConnectedCallback(on_connected_callback)); in GrabCallbacks()
/system/extras/app-launcher/
DREADME43 To add new apps, launch app manually and grep for package name +
47 Adding support for new Devices to app-launcher :
49 1) Add a new cpufreq_<device> routine to fix the CPU/GPU frequencies
56 Adding new Metrics to app-launcher :
59 parse the output as necessary. Adding new storage stats or other stats
/system/libufdt/tests/testdata/
Dno_local_fixup-overlay.dts4 &a { c = "new-c";
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/
Dprofiling.gradle51 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/
Dprofiling.gradle51 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
Dprofiling.gradle50 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
52 def wrapFile = new File(dir, "wrap.sh")
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h70 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData()
79 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData()

12345678910