/system/core/libutils/tests/ |
H A D | Vector_test.cpp | 44 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);
|
H A D | BasicHashtable_test.cpp | 122 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, function in namespace:android 124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); 219 index = add(h, 8, 1); 244 index = add(h, int(i), int(i * 10)); 277 add(h, K, int(i)); 322 add(h, 0, 0); 323 add(h, 1, 0); 334 add(h, ComplexKey(0), ComplexValue(0)); 335 add(h, ComplexKey(1), ComplexValue(0)); 349 add( [all...] |
/system/netd/ |
H A D | NatController.h | 46 int setTetherCountingRules(bool add, const char *intIface, const char *extIface); 47 int routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount);
|
H A D | NatController.cpp | 117 {{IP_PATH, "rule", "add", "from", "all", "lookup", "default", "prio", "32767"}, 0}, 118 {{IP_PATH, "rule", "add", "from", "all", "lookup", "main", "prio", "32766"}, 0}, 119 {{IP_PATH, "-6", "rule", "add", "from", "all", "lookup", "default", "prio", "32767"}, 0}, 120 {{IP_PATH, "-6", "rule", "add", "from", "all", "lookup", "main", "prio", "32766"}, 0}, 140 int NatController::routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount) { argument 146 if (add) { 201 // add this if we are the first added nat 256 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { argument 258 /* We only ever add tethering quota rules so that they stick. */ 259 if (!add) { 338 setForwardRules(bool add, const char *intIface, const char *extIface) argument [all...] |
H A D | SecondaryTableController.h | 71 int setUidRule(const char* iface, int uid_start, int uid_end, bool add); 72 int setFwmarkRule(const char *iface, bool add); 73 int setFwmarkRoute(const char* iface, const char *dest, int prefix, bool add); 74 int setHostExemption(const char *host, bool add);
|
H A D | SecondaryTableController.cpp | 303 int SecondaryTableController::setFwmarkRule(const char *iface, bool add) { argument 327 //add the catch all route to the tun. Route rules will make sure the right packets hit the table 331 add ? "add" : "del", 343 add ? "add" : "del", 354 //add rules for v6 359 add ? "add" : "del", 372 add 516 setFwmarkRoute(const char* iface, const char *dest, int prefix, bool add) argument 553 setUidRule(const char *iface, int uid_start, int uid_end, bool add) argument 597 setHostExemption(const char *host, bool add) argument [all...] |
H A D | UidMarkMap.h | 27 bool add(int uid_start, int uid_end, int mark);
|
H A D | UidMarkMap.cpp | 25 bool UidMarkMap::add(int uid_start, int uid_end, int mark) { function in class:UidMarkMap
|
/system/media/camera/docs/ |
H A D | CameraCaptureResultTest.mako | 28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)}); 35 resultKeys.add(CaptureResult.STATISTICS_FACES);
|
/system/core/libpixelflinger/ |
H A D | t32cb16blend.S | 48 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 D | rotate90CW_4x4_16v6.S | 37 add r14, r3, r3 38 add r12, r2, r2
|
H A D | col32cb16blend.S | 44 add r5, r5, r5, lsr #7 // add in top bit
|
/system/core/libcutils/arch-x86/ |
H A D | sse2-memset32-atom.S | 102 add $(TABLE - .), %ebx; \ 105 add (%ebx,%ecx,4), %ebx; \ 217 add $1, %edx 221 add $1, %edx 225 add $1, %edx 242 add $16, %edx 244 add %eax, %ecx 252 add %ecx, %edx 264 add $_GLOBAL_OFFSET_TABLE_, %ebx 282 add [all...] |
H A D | sse2-memset16-atom.S | 102 add $(TABLE - .), %ebx; \ 105 add (%ebx,%ecx,4), %ebx; \ 310 add $1, %edx 326 add $16, %edx 328 add %eax, %ecx 337 add %ecx, %edx 349 add $_GLOBAL_OFFSET_TABLE_, %ebx 368 add $_GLOBAL_OFFSET_TABLE_, %ebx 407 add %ecx, %edx 424 add [all...] |
/system/core/include/utils/ |
H A D | VectorImpl.h | 75 /*! 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 D | KeyedVector.h | 82 * 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);
|
H A D | Vector.h | 136 * add/insert/replace items 150 inline ssize_t add(); 152 ssize_t add(const TYPE& item); 182 * these inlines add some level of compatibility with STL. eventually 337 ssize_t Vector<TYPE>::add(const TYPE& item) { function in class:android::Vector 338 return VectorImpl::add(&item); 362 ssize_t Vector<TYPE>::add() { function in class:android::Vector 363 return VectorImpl::add();
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | VectorImpl.h | 73 /*! add/insert/replace items */ 79 ssize_t add(); 80 ssize_t add(const void* item); 149 //! add an item in the right place (or replaces it if there is one) 150 ssize_t add(const void* item); 177 ssize_t add();
|
H A D | Vector.h | 121 * add/insert/replace items 135 inline ssize_t add(); 137 ssize_t add(const TYPE& item); 276 ssize_t Vector<TYPE>::add(const TYPE& item) { function in class:android::tinyutils::Vector 277 return VectorImpl::add(&item); 301 ssize_t Vector<TYPE>::add() { function in class:android::tinyutils::Vector 302 return VectorImpl::add();
|
H A D | KeyedVector.h | 77 * add/insert/replace items 80 ssize_t add(const KEY& key, const VALUE& item); 154 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { function in class:android::tinyutils::KeyedVector 155 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) ); 162 return mVector.add(pair);
|
/system/core/healthd/ |
H A D | BatteryPropertiesRegistrar.cpp | 53 mListeners.add(listener);
|
/system/core/libutils/ |
H A D | misc.cpp | 68 gSyspropList->add(info);
|
H A D | PropertyMap.cpp | 51 mProperties.add(key, value); 114 mProperties.add(map->mProperties.keyAt(i), map->mProperties.valueAt(i));
|
/system/core/libpixelflinger/codeflinger/ |
H A D | blending.cpp | 579 integer_t add(a.reg, a.h, a.flags); 594 add.reg = d.reg; 596 add.reg = scratches.obtain(); 599 expand(add, a, ms); // extracts and expands 604 if (vs<16 && fs<16) SMLABB(AL, d.reg, v.reg, f.reg, add.reg); 605 else MLA(AL, 0, d.reg, v.reg, f.reg, add.reg); 608 if (temp == add.reg) { 609 // the mul will modify add.reg, we need an intermediary reg 619 ADD(AL, 0, d.reg, temp, reg_imm(add.reg, LSL, ms-as)); 622 ADD(AL, 0, d.reg, temp, reg_imm(add [all...] |
/system/core/libcutils/arch-arm/ |
H A D | memset32.S | 81 add r2, r2, #32
|