/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 | 203 { $$ = new AidlToken("cpp_header", ""); } 214 : { $$ = new std::vector<std::unique_ptr<AidlImport>>(); } 231 $$ = new AidlImport(loc(@2), $2->GetText()); 240 { $$ = new AidlToken($1->GetText() + "." + $3->GetText(), $1->GetComments()); 247 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>(); 285 $$ = new std::vector<std::string>(); 298 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments()); 303 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), "", $4); 308 … $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4->GetText()); 314 $$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4); [all …]
|
D | aidl_language_l.ll | 56 \"[^\"]*\" { yylval->token = new AidlToken(yytext, extra_text); 99 @{identifier} { yylval->token = new AidlToken(yytext + 1, extra_text); 104 parcelable { yylval->token = new AidlToken("parcelable", extra_text); 113 const { yylval->token = new AidlToken("const", extra_text); 118 interface { yylval->token = new AidlToken("interface", extra_text); 121 oneway { yylval->token = new AidlToken("oneway", extra_text); 124 enum { yylval->token = new AidlToken("enum", extra_text); 129 {identifier} { yylval->token = new AidlToken(yytext, extra_text); 135 {intvalue} { yylval->token = new AidlToken(yytext, extra_text); 137 {floatvalue} { yylval->token = new AidlToken(yytext, extra_text); [all …]
|
/system/bt/gd/packet/parser/ |
D | language_y.yy | 152 $$ = new EnumDef(std::move(*$2), $4); 164 $$ = new std::map<int, std::string>(); 181 $$ = new std::pair($3, std::move(*$1)); 196 decls->AddTypeDef(*$2, new ChecksumDef(*$2, *$5, $4)); 204 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$5, $4)); 210 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$3)); 223 … auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list)); 248 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (… 273 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (… 299 … auto packet_definition = new PacketDef(std::move(packet_name), std::move(field_definition_list)); [all …]
|
/system/tools/hidl/ |
D | hidl-gen_y.yy | 136 "namespace", "new", "noexcept", "not", "not_eq", "nullptr", "operator", "or", "or_eq", 144 "abstract", "continue", "for", "new", "switch", "assert", "default", "goto", "package", 353 : DOC_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::DOC_MULTILINE); } 354 | MULTILINE_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::MULTILINE); } 398 $$ = new std::vector<Annotation *>; 410 $$ = new Annotation($2, $3); 417 $$ = new AnnotationParamVector; 428 $$ = new AnnotationParamVector; 441 $$ = new StringAnnotationParam($1, $3); 448 $$ = new std::vector<std::string>; [all …]
|
D | hidl-gen_l.ll | 61 yylval->type = new ScalarType(ScalarType::kind, *scope); \ 100 new DocComment(yytext, 115 "bitfield" { yylval->templatedType = new BitFieldType(*scope); return token::TEMPLATED; } 116 "vec" { yylval->templatedType = new VectorType(*scope); return token::TEMPLATED; } 131 "death_recipient" { yylval->type = new DeathRecipientType(*scope); return token::TYPE; } 132 "handle" { yylval->type = new HandleType(*scope); return token::TYPE; } 133 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; } 134 "pointer" { yylval->type = new PointerType(*scope); return token::TYPE; } 135 "string" { yylval->type = new StringType(*scope); return token::TYPE; } 137 "fmq_sync" { yylval->type = new FmqType("::android::hardware", "MQDescriptorSync", *scope,… [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.h | 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/gatekeeper/include/gatekeeper/ |
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]);
|
/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/core/logd/ |
D | SerializedData.h | 30 SerializedData(size_t size) : data_(new uint8_t[size]), size_(size) {} in SerializedData() 34 data_.reset(new uint8_t[new_size]); in Resize() 40 std::unique_ptr<uint8_t[]> new_data(new uint8_t[new_size]); in Resize()
|
D | LogBufferTest.h | 70 log_buffer_.reset(new ChattyLogBuffer(&reader_list_, &tags_, &prune_, &stats_)); in SetUp() 72 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp() 74 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
|
/system/libbase/include/android-base/ |
D | no_destructor.h | 67 new (storage_) T(std::forward<Args>(args)...); in NoDestructor() 72 explicit NoDestructor(const T& x) { new (storage_) T(x); } in NoDestructor() 73 explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); } in NoDestructor()
|
/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()
|
/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/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/update_engine/ |
D | dbus_test_utils.h | 58 signal_callback_.reset(new base::Callback<T>(signal_callback)); in GrabCallbacks() 59 on_connected_callback_.reset(new dbus::ObjectProxy::OnConnectedCallback( in GrabCallbacks()
|
/system/extras/simpleperf/ |
D | README.md | 6 ## Building new prebuilts 23 This will create a new change that you can `repo upload`, then approve and
|
/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/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")
|