Home
last modified time | relevance | path

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

1234

/system/tools/aidl/
Daidl_language_y.yy69 { ps->SetDocument(new AidlDocument($3)); };
80 { $$ = new AidlToken("cpp_header", ""); }
82 { $$ = new AidlToken("int", ""); };
99 $$ = new AidlQualifiedName($1->GetText(), $1->GetComments());
109 { $$ = new AidlDocument(); }
123 $$ = new AidlParcelable($2, @2.begin.line, ps->Package());
126 $$ = new AidlParcelable($2, @2.begin.line, ps->Package(), $4->GetText());
141 $$ = new AidlInterface($2->GetText(), @2.begin.line, $1->GetComments(),
147 $$ = new AidlInterface($3->GetText(), @3.begin.line, $1->GetComments(),
170 { $$ = new std::vector<std::unique_ptr<AidlMember>>(); }
[all …]
Daidl_language_l.ll42 \"[^\"]*\" { yylval->token = new AidlToken(yytext, extra_text);
79 interface { yylval->token = new AidlToken("interface", extra_text);
82 oneway { yylval->token = new AidlToken("oneway", extra_text);
87 {identifier} { yylval->token = new AidlToken(yytext, extra_text);
95 yylval->token = new AidlToken(yytext, extra_text);
Dast_java.h247 StatementBlock* statements = new StatementBlock;
264 StatementBlock* statements = new StatementBlock;
281 StatementBlock* statements = new StatementBlock;
290 StatementBlock* statements = new StatementBlock;
/system/core/toolbox/
Diftop.c196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) in print_interfaces() argument
203 new->name, new->mtu, in print_interfaces()
204 new->rx_bytes - old->rx_bytes, in print_interfaces()
205 new->rx_packets - old->rx_packets, in print_interfaces()
206 new->rx_errors - old->rx_errors, in print_interfaces()
207 new->rx_dropped - old->rx_dropped, in print_interfaces()
208 new->tx_bytes - old->tx_bytes, in print_interfaces()
209 new->tx_packets - old->tx_packets, in print_interfaces()
210 new->tx_errors - old->tx_errors, in print_interfaces()
211 new->tx_dropped - old->tx_dropped); in print_interfaces()
[all …]
/system/connectivity/shill/test-scripts/
Dbackchannel49 new="$1" ; shift
52 nameif "$new" $(macaddr "$old")
53 ip link set "$new" up
/system/update_engine/update_manager/
Dfake_update_manager.h31 base::TimeDelta::FromHours(1), new FakeState()) { in FakeUpdateManager()
33 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
Dgeneric_variables.h95 return new T(ref_); in GetValue()
125 return new T(obj_); in GetValue()
151 return new T(func_.Run()); in GetValue()
205 return new T(value_); in GetValue()
Dupdate_manager-inl.h121 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest()
144 new EvaluationContext( in AsyncPolicyRequest()
147 new base::Callback<void(EvaluationContext*)>( in AsyncPolicyRequest()
/system/core/liblog/tests/
Dbenchmark.h66 BenchmarkRegister(new BenchmarkWithArg<T>(name_, fn_arg_, arg_name, arg)); in Arg()
113 BenchmarkRegister(new BenchmarkWithArg<int>(name_, fn_arg_, arg_name, arg)); in Arg()
119 return new Benchmark(name, fn); in BenchmarkFactory()
124 return new BenchmarkWantsArg<T>(name, fn); in BenchmarkFactory()
/system/core/gatekeeperd/
DSoftGateKeeper.h54 key_.reset(new uint8_t[SIGNATURE_LENGTH_BYTES]); in SoftGateKeeper()
64 uint8_t *auth_token_key_copy = new uint8_t[SIGNATURE_LENGTH_BYTES]; in GetAuthTokenKey()
74 uint8_t *password_key_copy = new uint8_t[SIGNATURE_LENGTH_BYTES]; in GetPasswordKey()
139 std::unique_ptr<uint8_t[]> digest(new uint8_t[digest_size]); in ComputeFastHash()
DSoftGateKeeperDevice.h34 impl_.reset(new SoftGateKeeper()); in SoftGateKeeperDevice()
/system/core/include/utils/
DTypeHelpers.h136 new(p++) TYPE;
157 new(d) TYPE(*s);
170 new(where) TYPE(*what);
194 new(d) TYPE(*s);
215 new(d) TYPE(*s);
DSingleton.h36 instance = new TYPE(); in getInstance()
/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/tpm/attestation/common/
Dinterface.proto41 // Provided if the new key should be accessible only by a particular user. If
73 // The serialized TPM_CERTIFY_INFO or TPM2B_ATTEST for the new key.
126 // Provided if the new key should be accessible only by a
136 // The new public key (X.509/DER SubjectPublicKeyInfo).
138 // The serialized TPM_CERTIFY_INFO or TPM2B_ATTEST for the new key.
/system/sepolicy/
Dpolicy_capabilities1 # Enable new networking controls.
/system/keymaster/
Drsa_operation.h222 return new (std::nothrow) RsaSignOperation(digest, padding, key); in InstantiateOperation()
233 return new (std::nothrow) RsaVerifyOperation(digest, padding, key); in InstantiateOperation()
244 return new (std::nothrow) RsaEncryptOperation(digest, padding, key); in InstantiateOperation()
255 return new (std::nothrow) RsaDecryptOperation(digest, padding, key); in InstantiateOperation()
Decdsa_operation.h93 return new (std::nothrow) EcdsaSignOperation(digest, key); in InstantiateOperation()
101 return new (std::nothrow) EcdsaVerifyOperation(digest, key); in InstantiateOperation()
/system/bt/
DBUILD.gn20 # you add a new build file, there must be some path of dependencies from this
21 # file to your new one or GN won't know about it.
/system/extras/ext4_utils/
Dallocate.c550 struct region *new; in do_split_allocation() local
562 new = malloc(sizeof(struct region)); in do_split_allocation()
564 new->bg = reg->bg; in do_split_allocation()
565 new->block = reg->block + len; in do_split_allocation()
566 new->len = reg->len - len; in do_split_allocation()
567 new->next = reg->next; in do_split_allocation()
568 new->prev = reg; in do_split_allocation()
570 reg->next = new; in do_split_allocation()
574 alloc->list.iter = new; in do_split_allocation()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h69 T* dup = new (std::nothrow) T[n]; in dup_array()
231 key_material = new (std::nothrow) uint8_t[size]; in KeymasterKeyBlob()
270 key_material = new (std::nothrow) uint8_t[new_size]; in Reset()
/system/update_engine/common/
Daction_pipe.h72 std::shared_ptr<ActionPipe<ObjectType>> pipe(new ActionPipe<ObjectType>); in Bond()
/system/core/lmkd/
Dlmkd.c156 static void adjslot_insert(struct adjslot_list *head, struct adjslot_list *new) in adjslot_insert() argument
159 new->prev = head; in adjslot_insert()
160 new->next = next; in adjslot_insert()
161 next->prev = new; in adjslot_insert()
162 head->next = new; in adjslot_insert()
/system/core/fingerprintd/
DFingerprintDaemonProxy.h29 sInstance = new FingerprintDaemonProxy(); in getInstance()
/system/extras/perfprofd/quipper/base/
Dmacros.h253 static type& name = *new type arguments

1234