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

/system/netd/
H A DNatController.cpp91 int NatController::doNatCommands(const char *intIface, const char *extIface, bool add) { argument
95 if (add == false) {
113 (add ? "A" : "D"),
119 snprintf(cmd, sizeof(cmd), "-%s FORWARD -i %s -o %s -j ACCEPT", (add ? "A" : "D"),
125 (!add ? "A" : "D"),
130 // add this if we are the first added nat
131 if (add && natCount == 0) {
140 if (add) {
H A DNatController.h39 int doNatCommands(const char *intIface, const char *extIface, bool add);
/system/core/libacc/tests/data/
H A Dtypedef.c7 void add(Point* result, Point* a, Point* b) { function
32 add(&c, &a, &b);
H A Dstructs.c49 void add(struct v* result, struct v* a, struct v* b) { function
71 add(&c, &a, &b);
/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.S45 add r5, r5, r5, lsr #7 // add in top bit
H A Dcol32cb16blend_neon.S63 vaddl.u8 q3, d6, d7 // add top bit into alpha
90 vadd.u16 q8, q8, q0 // add src red to dst red0
92 vadd.u16 q9, q9, q1 // add src green to dst green0
94 vadd.u16 q10, q10, q2 // add src blue to dst blue0
97 vadd.u16 q13, q13, q0 // add src red to dst red1
99 vadd.u16 q12, q12, q1 // add src green to dst green1
101 vadd.u16 q11, q11, q2 // add src blue to dst blue1
120 add r5, r5, r5, lsr #7 // add in top bit
/system/core/libpixelflinger/tinyutils/
H A DVectorImpl.h64 /*! add/insert/replace items */
70 ssize_t add();
71 ssize_t add(const void* item);
140 //! add an item in the right place (or replaces it if there is one)
141 ssize_t add(const void* item);
168 ssize_t add();
H A DVector.h112 * add/insert/replace items
126 inline ssize_t add();
128 ssize_t add(const TYPE& item);
267 ssize_t Vector<TYPE>::add(const TYPE& item) { function in class:android::Vector
268 return VectorImpl::add(&item);
292 ssize_t Vector<TYPE>::add() { function in class:android::Vector
293 return VectorImpl::add();
H A DKeyedVector.h68 * add/insert/replace items
71 ssize_t add(const KEY& key, const VALUE& item);
145 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { function in class:android::KeyedVector
146 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
153 return mVector.add(pair);
H A DVectorImpl.cpp162 ssize_t VectorImpl::add() function in class:android::VectorImpl
164 return add(0);
167 ssize_t VectorImpl::add(const void* item) function in class:android::VectorImpl
483 ssize_t SortedVectorImpl::add(const void* item)
503 ssize_t err = add( reinterpret_cast<const char*>(buffer) + i*is );
H A DSortedVector.h104 //! add an item in the right place (and replace the one that is there)
105 ssize_t add(const TYPE& item);
206 ssize_t SortedVector<TYPE>::add(const TYPE& item) {
207 return SortedVectorImpl::add(&item);
/system/core/rootdir/etc/
H A Dinit.goldfish.sh4 route add default gw 10.0.2.2 dev eth0
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp579 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...]
H A DARMAssembler.cpp105 mComments.add(mPC, string);
110 mLabels.add(theLabel, mPC);
111 mLabelsInverseMapping.add(mPC, theLabel);
116 mBranchTargets.add(branch_target_t(label, mPC));
122 mBranchTargets.add(branch_target_t(label, mPC));
H A DCodeCache.cpp153 ssize_t err = mCacheData.add(key_t(keyBase), cache_entry_t(assembly, mWhen));
H A DGGLAssembler.h366 void add( component_t& dest,
H A Dtexturing.cpp1108 add(fragment, incoming, texel, component);
1312 void GGLAssembler::add( function in class:android::GGLAssembler
/system/core/libcutils/
H A Dmemset32.S81 add r2, r2, #32
/system/core/sh/
H A Dexec.c806 * Locate a command in the command hash table. If "add" is nonzero,
807 * add the command to the table if it is not already present. The
817 cmdlookup(const char *name, int add) argument
835 if (add && cmdp == NULL) {
/system/wlan/ti/wilink_6_1/TWD/FW_Transfer/
H A DHwInit.c1616 TI_UINT32 add = FUNC7_SEL; local
1663 add = pHwInit->uRegData;
1667 retAddress = (TI_UINT32)(add / 2);
1740 add = pHwInit->uRegData;
1741 retAddress = (TI_UINT32)(add / 2);
1934 Divide the top address by 2, and add 0x30000 to the result � for example for top address 0xC00, write to the OCP_POR_CTR 0x30600
1940 Divide the top address by 2, and add 0x30000 to the result � for example for top address 0xC00, write to the OCP_POR_CTR 0x30600
2129 Divide the top address by 2, and add 0x30000 to the result � for example for top address 0xC00, write to the OCP_POR_CTR 0x30600
2215 Divide the top address by 2, and add 0x30000 to the result � for example for top address 0xC00, write to the OCP_POR_CTR 0x30600
/system/core/libacc/
H A Dacc.cpp879 if (! (combined == 0xe2800000 || combined == 0xe2400000)) { // add/sub #0
921 mQ[-1] == 0xe0810000) { // add r0, r1, r0
930 unsigned int add = immediate | 0xE2800000; // add r0, r0, #n local
932 mQ.pushBack(add);
943 mQ[-1] == 0xe0810000) { // add r0, r1, r0
947 unsigned int add = 0xe0810000 | (log2(stride) << 7); // add r0, r1, r0, LSL #log2(stride) local
948 mQ.pushBack(add);
1043 o4(0xE28ED004); // add s
3864 VariableInfo* add(tokenid_t tok) { function in class:acc::Compiler::SymbolStack
3893 VariableInfo* add(Type* pType) { function in class:acc::Compiler::SymbolStack
[all...]
/system/media/opensles/libopensles/
H A Dandroid_Effect.cpp750 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx);

Completed in 154 milliseconds