Searched refs:new (Results 1 - 25 of 44) sorted by relevance

12

/system/update_engine/update_manager/
H A Dfake_update_manager.h31 base::TimeDelta::FromHours(1), new FakeState()) {
33 set_policy(new DefaultPolicy(clock));
H A Dgeneric_variables.h44 // var_something_foo = new PollCopyVariable<MyType>(foo_);
95 return new T(ref_);
116 // is copied in this variable, and new copies of it will be returned by
125 return new T(obj_);
151 return new T(func_.Run());
205 return new T(value_);
H A Dupdate_manager-inl.h121 new EvaluationContext(clock_, evaluation_timeout_));
122 // A PolicyRequest always consists on a single evaluation on a new
144 new EvaluationContext(
147 new base::Callback<void(EvaluationContext*)>(
/system/connectivity/shill/test-scripts/
H A Dbackchannel24 # modem used by fake-cromo if the new interface name is set to
49 new="$1" ; shift
52 nameif "$new" $(macaddr "$old")
53 ip link set "$new" up
/system/core/toolbox/
H A Diftop.c196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) argument
203 new->name, new->mtu,
204 new->rx_bytes - old->rx_bytes,
205 new->rx_packets - old->rx_packets,
206 new->rx_errors - old->rx_errors,
207 new->rx_dropped - old->rx_dropped,
208 new->tx_bytes - old->tx_bytes,
209 new->tx_packets - old->tx_packets,
210 new
[all...]
/system/core/gatekeeperd/
H A DSoftGateKeeperDevice.h34 impl_.reset(new SoftGateKeeper());
H A DSoftGateKeeper.h54 key_.reset(new uint8_t[SIGNATURE_LENGTH_BYTES]);
64 uint8_t *auth_token_key_copy = new uint8_t[SIGNATURE_LENGTH_BYTES];
74 uint8_t *password_key_copy = new uint8_t[SIGNATURE_LENGTH_BYTES];
139 std::unique_ptr<uint8_t[]> digest(new uint8_t[digest_size]);
/system/core/include/utils/
H A DSingleton.h36 instance = new TYPE();
H A DTypeHelpers.h20 #include <new>
136 new(p++) TYPE;
157 new(d) TYPE(*s);
170 new(where) TYPE(*what);
194 new(d) TYPE(*s);
215 new(d) TYPE(*s);
/system/core/liblog/tests/
H A Dbenchmark.h66 BenchmarkRegister(new BenchmarkWithArg<T>(name_, fn_arg_, arg_name, arg));
113 BenchmarkRegister(new BenchmarkWithArg<int>(name_, fn_arg_, arg_name, arg));
119 return new Benchmark(name, fn);
124 return new BenchmarkWantsArg<T>(name, fn);
/system/media/camera/docs/
H A DCameraDeviceInfo.mako24 HashSet<String> charsKeyNames = new HashSet<String>();
H A DCaptureResultTest.mako24 ArrayList<CaptureResult.Key<?>> resultKeys = new ArrayList<CaptureResult.Key<?>>();
/system/update_engine/
H A Ddbus_test_utils.h56 signal_callback_.reset(new base::Callback<T>(signal_callback));
58 new dbus::ObjectProxy::OnConnectedCallback(on_connected_callback));
/system/keymaster/
H A Decdsa_operation.h93 return new (std::nothrow) EcdsaSignOperation(digest, key);
101 return new (std::nothrow) EcdsaVerifyOperation(digest, key);
H A DAndroid.mk34 # TODO(krasin): reenable coverage flags, when the new Clang toolchain is released.
90 # TODO(krasin): reenable coverage flags, when the new Clang toolchain is released.
127 # TODO(krasin): reenable coverage flags, when the new Clang toolchain is released.
170 # TODO(krasin): reenable coverage flags, when the new Clang toolchain is released.
H A Drsa_operation.h222 return new (std::nothrow) RsaSignOperation(digest, padding, key);
233 return new (std::nothrow) RsaVerifyOperation(digest, padding, key);
244 return new (std::nothrow) RsaEncryptOperation(digest, padding, key);
255 return new (std::nothrow) RsaDecryptOperation(digest, padding, key);
/system/bt/osi/include/
H A Dmetrics_cpp.h75 static BluetoothMetricsLogger* instance = new BluetoothMetricsLogger();
/system/core/fingerprintd/
H A DFingerprintDaemonProxy.h29 sInstance = new FingerprintDaemonProxy();
/system/extras/perfprofd/quipper/base/
H A Dmacros.h51 // used in defining new arrays, for example. If you use arraysize on
253 static type& name = *new type arguments
/system/update_engine/common/
H A Daction_pipe.h67 // Bonds two Actions together with a new ActionPipe. The ActionPipe is
72 std::shared_ptr<ActionPipe<ObjectType>> pipe(new ActionPipe<ObjectType>);
/system/connectivity/shill/net/
H A Dgeneric_netlink_message.h73 attributes_(new AttributeList),
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_utils.h65 * Duplicate the array \p a. The memory for the new array is allocated and the caller takes
69 T* dup = new (std::nothrow) T[n];
77 * Duplicate the array \p a. The memory for the new array is allocated and the caller takes
86 * Duplicate the buffer \p buf. The memory for the new buffer is allocated and the caller takes
231 key_material = new (std::nothrow) uint8_t[size];
270 key_material = new (std::nothrow) uint8_t[new_size];
/system/extras/ext4_utils/
H A Dallocate.c550 struct region *new; local
562 new = malloc(sizeof(struct region));
564 new->bg = reg->bg;
565 new->block = reg->block + len;
566 new->len = reg->len - len;
567 new->next = reg->next;
568 new->prev = reg;
570 reg->next = new;
574 alloc->list.iter = new;
/system/gatekeeper/include/gatekeeper/
H A Dgatekeeper_messages.h50 buffer.reset(new uint8_t[length]);
/system/tools/aidl/
H A Dast_java.h247 StatementBlock* statements = new StatementBlock;
264 StatementBlock* statements = new StatementBlock;
281 StatementBlock* statements = new StatementBlock;
290 StatementBlock* statements = new StatementBlock;

Completed in 458 milliseconds

12