Searched refs:add (Results 1 - 25 of 66) sorted by relevance

123

/system/core/libutils/tests/
H A DVector_test.cpp44 vector.add(1);
45 vector.add(2);
46 vector.add(3);
55 // add an element to the first vector
56 vector.add(4);
62 // add an element to the copy
63 other.add(5);
84 vector.add(1);
85 vector.add(2);
86 vector.add(
[all...]
H A DBasicHashtable_test.cpp127 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, function in namespace:android
129 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value));
224 index = add(h, 8, 1);
249 index = add(h, int(i), int(i * 10));
282 add(h, K, int(i));
327 add(h, 0, 0);
328 add(h, 1, 0);
339 add(h, ComplexKey(0), ComplexValue(0));
340 add(h, ComplexKey(1), ComplexValue(0));
354 add(
[all...]
/system/netd/server/
H A DNatController.cpp154 // add this if we are the first added nat
221 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { argument
223 /* We only ever add tethering quota rules so that they stick. */
224 if (!add) {
247 if (runCmd(ARRAY_SIZE(cmd2b), cmd2b) && add) {
273 if (runCmd(ARRAY_SIZE(cmd3b), cmd3b) && add) {
283 int NatController::setForwardRules(bool add, const char *intIface, const char *extIface) { argument
287 add ? "-A" : "-D",
302 if (runCmd(ARRAY_SIZE(cmd1), cmd1) && add) {
309 add
[all...]
H A DUidRanges.h33 void add(const UidRanges& other);
H A DNatController.h49 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
H A DRouteController.cpp77 // it upstream, we'll remove this and rely on the kernel header values. For now, add a static assert
440 Permission permission, bool add) {
451 if (execIptables(V4V6, "-t", "mangle", add ? "-A" : "-D", "INPUT", "-i", interface, "-j",
464 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { argument
465 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OUTPUT_TO_LOCAL,
476 bool secure, bool add) {
494 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
504 bool add) {
516 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
529 uid_t uidEnd, bool add) {
439 modifyIncomingPacketMark(unsigned netId, const char* interface, Permission permission, bool add) argument
475 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument
503 modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, bool add) argument
527 modifyExplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
550 modifyOutputInterfaceRules(const char* interface, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
578 modifyImplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, bool add) argument
728 modifyLocalNetwork(unsigned netId, const char* interface, bool add) argument
736 modifyPhysicalNetwork(unsigned netId, const char* interface, Permission permission, bool add) argument
757 modifyVirtualNetwork(unsigned netId, const char* interface, const UidRanges& uidRanges, bool secure, bool add, bool modifyNonUidBasedRules) argument
[all...]
H A DNetworkController.h101 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
102 int modifyFallthroughLocked(unsigned vpnNetId, bool add) WARN_UNUSED_RESULT;
H A DVirtualNetwork.cpp47 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId);
51 mUidRanges.add(uidRanges);
77 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId);
H A DNetworkController.cpp68 Permission permission, bool add) WARN_UNUSED_RESULT;
77 bool add) WARN_UNUSED_RESULT;
91 Permission permission, bool add) {
92 if (add) {
96 ALOGE("failed to add fallthrough to %s for VPN netId %u", physicalInterface.c_str(),
123 Permission permission, bool add) {
126 if (int ret = modifyFallthrough(entry.first, physicalInterface, permission, add)) {
439 ALOGE("cannot add users to non-virtual network with netId %u", netId);
551 const char* nexthop, bool add, bool legacy, uid_t uid) {
579 return add
89 modifyFallthrough(unsigned vpnNetId, const std::string& physicalInterface, Permission permission, bool add) argument
122 modifyFallthrough(const std::string& physicalInterface, Permission permission, bool add) argument
550 modifyRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool add, bool legacy, uid_t uid) argument
583 modifyFallthroughLocked(unsigned vpnNetId, bool add) argument
[all...]
/system/core/logd/
H A DLogStatistics.h79 inline iterator add(TKey key, LogBufferElement *e) { function in class:LogHashtable
84 it->second.add(e);
89 inline iterator add(TKey key) { function in class:LogHashtable
94 it->second.add(key);
126 inline void add(LogBufferElement *e) { size += e->getMsgLen(); } function in struct:EntryBase
138 inline void add(LogBufferElement *e) { function in struct:EntryBaseDropped
140 EntryBase::add(e);
190 inline void add(pid_t p) { function in struct:PidEntry
203 inline void add(LogBufferElement *e) { function in struct:PidEntry
210 add(
242 inline void add(pid_t t) { function in struct:TidEntry
255 inline void add(LogBufferElement *e) { function in struct:TidEntry
281 inline void add(LogBufferElement *e) { function in struct:TagEntry
[all...]
/system/core/libpixelflinger/arch-arm64/
H A Dt32cb16blend.S60 add w7, w7, w7, lsr #7 // sA + (sA >> 7)
73 add w16, w6, w16, lsr #8
84 add w6, w16, w6, lsr #8
95 add w16, w6, w16, lsr #8
109 add w16, w6, w16, lsr #8
121 add w6, w16, w6, lsr #(5+8)
132 add w16, w6, w16, lsr #8
179 add x0, x0, #4
196 add x0, x0, #4
H A Dcol32cb16blend.S53 add w5, w5, w5, lsr #7 // add in top bit
/system/core/libpixelflinger/
H A Dt32cb16blend.S48 add r7, r7, r7, lsr #7 // sA + (sA >> 7)
60 add lr, r6, lr, lsr #8
70 add r6, lr, r6, lsr #(5+8)
80 add lr, r6, lr, lsr #8
93 add lr, r6, lr, lsr #8
104 add r6, lr, r6, lsr #(5+8)
114 add lr, r6, lr, lsr #8
166 add r0, r0, #4
186 add r0, r0, #4
H A Drotate90CW_4x4_16v6.S37 add r14, r3, r3
38 add r12, r2, r2
H A Dcol32cb16blend.S44 add r5, r5, r5, lsr #7 // add in top bit
/system/extras/perfprofd/quipper/build/
H A Dbuild_config.h52 #error Please add support for your platform in build/build_config.h
85 #error Please add support for your compiler in build/build_config.h
128 #error Please add support for your architecture in build/build_config.h
147 #error Please add support for your compiler in build/build_config.h
/system/extras/verity/
H A DKeystoreSigner.java75 v.add(algorithmIdentifier);
76 v.add(keyMaterial);
102 keyBag.add(k);
111 v.add(formatVersion);
112 v.add(new DERSequence(keyBag));
118 v.add(formatVersion);
119 v.add(new DERSequence(keyBag));
120 v.add(signature);
136 keyBag.add((ASN1Encodable) e.nextElement());
H A DBootSignature.java122 attrs.add(target);
123 attrs.add(length);
180 v.add(formatVersion);
181 v.add(certificate);
182 v.add(algorithmIdentifier);
183 v.add(getAuthenticatedAttributes());
184 v.add(signature);
/system/core/libcutils/arch-arm64/
H A Dandroid_memset.S88 add dst, dst, tmp1
100 add dst, dst, count
130 add dst, dst, tmp2
145 add dst, dst, #16
160 add dst, dst, tmp2
197 add dst, dst, #64
200 add dst, dst, tmp2
205 add dst, dst, zva_len_x
/system/core/libcutils/arch-x86/
H A Dandroid_memset32.S101 add $(TABLE - .), %ebx; \
104 add (%ebx,%ecx,4), %ebx; \
214 add $1, %edx
218 add $1, %edx
222 add $1, %edx
239 add $16, %edx
241 add %eax, %ecx
249 add %ecx, %edx
261 add $_GLOBAL_OFFSET_TABLE_, %ebx
279 add
[all...]
H A Dandroid_memset16.S101 add $(TABLE - .), %ebx; \
104 add (%ebx,%ecx,4), %ebx; \
307 add $1, %edx
323 add $16, %edx
325 add %eax, %ecx
334 add %ecx, %edx
346 add $_GLOBAL_OFFSET_TABLE_, %ebx
365 add $_GLOBAL_OFFSET_TABLE_, %ebx
404 add %ecx, %edx
421 add
[all...]
/system/core/include/utils/
H A DVectorImpl.h75 /*! add/insert/replace items */
81 ssize_t add();
82 ssize_t add(const void* item);
146 //! add an item in the right place (or replaces it if there is one)
147 ssize_t add(const void* item);
164 ssize_t add();
H A DKeyedVector.h82 * add/insert/replace items
85 ssize_t add(const KEY& key, const VALUE& item);
176 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) {
177 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
184 return mVector.add(pair);
/system/media/camera/docs/
H A DCaptureResultTest.mako28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)});
/system/core/libutils/
H A Dmisc.cpp68 gSyspropList->add(info);

Completed in 232 milliseconds

123