/system/tools/hidl/c2hal/ |
D | c2hal_y.yy | 194 $$ = 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/ |
D | aidl_language_y.yy | 129 { $$ = 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 …]
|
D | aidl_language_l.ll | 46 \"[^\"]*\" { 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/ |
D | hidl-gen_y.yy | 134 "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 …]
|
D | hidl-gen_l.ll | 62 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/ |
D | keymaster0_passthrough_context.h | 33 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/ |
D | UniquePtr.h | 215 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]);
|
D | new | 32 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/ |
D | optional_impl.h | 29 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());
|
D | memory_impl.h | 70 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/ |
D | packet_test_helper.h | 34 new TestPacketType<PacketType>()); in Make() 40 new TestPacketType<PacketType>(packet)); in Make() 52 new TestPacketType<PacketType>()); in Make()
|
/system/update_engine/update_manager/ |
D | fake_update_manager.h | 33 new FakeState()) { in FakeUpdateManager() 35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
|
D | generic_variables.h | 106 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()
|
D | update_manager-inl.h | 123 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/ |
D | expected.h | 122 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/ |
D | UnwinderMock.h | 25 UnwinderMock() : Unwinder(128, new unwindstack::Maps, nullptr) {} in UnwinderMock() 36 std::string* new_build_id = new std::string(build_id); in MockSetBuildID()
|
/system/bpfprogs/ |
D | time_in_state.c | 73 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/ |
D | inquiry_response_builder.h | 38 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/ |
D | dbus_test_utils.h | 56 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/ |
D | README | 43 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/ |
D | no_local_fixup-overlay.dts | 4 &a { c = "new-c";
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/ |
D | profiling.gradle | 51 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/ |
D | profiling.gradle | 51 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/ |
D | profiling.gradle | 50 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/ |
D | types.h | 70 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData() 79 : vbmeta_ptr_(new (std::nothrow) uint8_t[size]), in VBMetaData()
|