Searched defs:val (Results 1 - 25 of 83) sorted by relevance

1234

/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DLoadConst_16.c28 void LoadConst_16(const LVM_INT16 val, argument
36 *dst = val;
H A DLoadConst_32.c28 void LoadConst_32(const LVM_INT32 val, argument
36 *dst = val;
H A Dmult3s_16x16.c29 const LVM_INT16 val,
38 temp = (LVM_INT32)(*src) * (LVM_INT32)val;
28 Mult3s_16x16( const LVM_INT16 *src, const LVM_INT16 val, LVM_INT16 *dst, LVM_INT16 n) argument
H A DMac3s_Sat_16x16.c39 const LVM_INT16 val,
53 Temp = (srcval *val)>>15;
38 Mac3s_Sat_16x16( const LVM_INT16 *src, const LVM_INT16 val, LVM_INT16 *dst, LVM_INT16 n) argument
H A DMac3s_Sat_32x16.c30 const LVM_INT16 val,
43 MUL32x16INTO32(srcval,val,temp,15)
29 Mac3s_Sat_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
H A DMult3s_32x16.c30 const LVM_INT16 val,
42 MUL32x16INTO32(srcval,val,temp,15)
29 Mult3s_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
H A DShift_Sat_v16xv16.c28 void Shift_Sat_v16xv16 (const LVM_INT16 val, argument
36 if(val>0)
43 temp = temp << val;
60 else if(val<0)
62 RShift=(LVM_INT16)(-val);
H A DShift_Sat_v32xv32.c28 void Shift_Sat_v32xv32 (const LVM_INT16 val, argument
36 if(val>0)
45 b=(a<<val);
47 if( (b>>val) != a ) /* if overflow occured, right shift will show difference*/
63 else if(val<0)
65 RShift=(LVM_INT16)(-val);
/frameworks/base/tests/CoreTests/android/core/
H A DJniLibTest.java48 private native void nativeThing(int val); argument
/frameworks/base/libs/utils/
H A DTextOutput.cpp37 TextOutput& operator<<(TextOutput& to, bool val) argument
39 if (val) to.print("true", 4);
44 TextOutput& operator<<(TextOutput& to, int val) argument
47 sprintf(buf, "%d", val);
52 TextOutput& operator<<(TextOutput& to, long val) argument
55 sprintf(buf, "%ld", val);
60 TextOutput& operator<<(TextOutput& to, unsigned int val) argument
63 sprintf(buf, "%u", val);
68 TextOutput& operator<<(TextOutput& to, unsigned long val) argument
71 sprintf(buf, "%lu", val);
76 operator <<(TextOutput& to, long long val) argument
84 operator <<(TextOutput& to, unsigned long long val) argument
104 operator <<(TextOutput& to, float val) argument
109 operator <<(TextOutput& to, double val) argument
114 operator <<(TextOutput& to, const void* val) argument
127 operator <<(TextOutput& to, const TypeCode& val) argument
146 operator <<(TextOutput& to, const HexDump& val) argument
[all...]
H A Dmisc.cpp171 unsigned int roundUpPower2(unsigned int val) argument
173 val--;
174 val |= val >> 1;
175 val |= val >> 2;
176 val |= val >> 4;
177 val |= val >>
[all...]
H A DLinearTransform.cpp30 uint64_t val,
49 // compute M = val * N (a 96 bit int)
51 // tmp2 = U32(val) * N (a 64 bit int)
52 // tmp1 = L32(val) * N (a 64 bit int)
54 // M = val * N = (tmp2 << 32) + tmp1
55 tmp2 = (val >> 32) * N;
56 tmp1 = (val & UINT32_MAX) * N;
60 // = (U32(val) * N) + U32(L32(val) * N)
78 // tmp1 = L32(val) *
29 scale_u64_to_u64( uint64_t val, uint32_t N, uint32_t D, uint64_t* res, bool round_up_not_down) argument
112 linear_transform_s64_to_s64( int64_t val, int64_t basis1, int32_t N, uint32_t D, int64_t basis2, int64_t* out) argument
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_CompareMotionCostToMV.c33 * [in] val Signed number for which Exp-Golomb code length has
37 * Returns the length of the Exp-Golomb code for val
40 static OMX_U16 armVCM4P10_ExpGolBitsUsed (OMX_S16 val) argument
44 /* Mapping val to codeNum */
45 codeNum = armAbs (val);
46 if (val > 0)
/frameworks/compile/libbcc/tests/data/src/
H A Dbrackets.c27 int val = ar2D[x][y]; local
28 if (val != expected) {
29 printf("error: [%d][%d] %d != %d\n", x, y, val, expected);
/frameworks/base/core/java/android/os/
H A DSystemProperties.java117 public static void set(String key, String val) { argument
121 if (val != null && val.length() > PROP_VALUE_MAX) {
122 throw new IllegalArgumentException("val.length > " +
125 native_set(key, val);
/frameworks/base/include/utils/
H A DStrongPointer.h30 TextOutput& printStrongPointer(TextOutput& to, const void* val);
114 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
213 return printStrongPointer(to, val.get());
H A DObbFile.h110 static inline void put4LE(unsigned char* buf, uint32_t val) { argument
111 buf[0] = val & 0xFF;
112 buf[1] = (val >> 8) & 0xFF;
113 buf[2] = (val >> 16) & 0xFF;
114 buf[3] = (val >> 24) & 0xFF;
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp133 uint16 val; local
215 val = (tmp1 << 3);
216 val |= (tmp2 >> 5);
221 val = 0; // force mismatch
224 if (val == SYNC_WORD)
284 uint16 val; local
290 val = (uint16)getUpTo17bits(inputStream, SYNC_WORD_LNGTH);
292 while (((val&SYNC_WORD) != SYNC_WORD) && (inputStream->usedBits < availableBits))
294 val <<= 8;
295 val |
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp159 const char* val; local
168 val = ""; /* NULL pointer not allowed here */
170 val = env->GetStringUTFChars(valJ, NULL);
173 err = property_set(key, val);
178 env->ReleaseStringUTFChars(valJ, val);
/frameworks/media/libvideoeditor/vss/src/
H A DM4AD_Null.c161 M4OSA_Int16 val; local
165 val = (M4OSA_Int16)((M4OSA_UInt8)(pInputBuffer->m_dataAddress[i]) - 128);
167 pDecodedPCMBuffer->m_dataAddress[i*2] = (M4OSA_Int8)(val>>8);
168 pDecodedPCMBuffer->m_dataAddress[i*2+1] = (M4OSA_Int8)(val&0x00ff);
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java171 * @param val The map to be flattened.
179 public static final void writeMapXml(Map val, OutputStream out) argument
185 writeMapXml(val, null, serializer);
193 * @param val The list to be flattened.
201 public static final void writeListXml(List val, OutputStream out) argument
208 writeListXml(val, null, serializer);
216 * @param val The map to be flattened.
226 public static final void writeMapXml(Map val, String name, XmlSerializer out) argument
229 if (val == null) {
235 Set s = val
265 writeListXml(List val, String name, XmlSerializer out) argument
289 writeSetXml(Set val, String name, XmlSerializer out) argument
321 writeByteArrayXml(byte[] val, String name, XmlSerializer out) argument
366 writeIntArrayXml(int[] val, String name, XmlSerializer out) argument
[all...]
/frameworks/base/libs/rs/
H A DrsScript.cpp56 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument
57 //LOGE("setVar %i %p %i", slot, val, len);
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
65 void Script::setVarObj(uint32_t slot, ObjectBase *val) { argument
66 //LOGE("setVarObj %i %p", slot, val);
71 //LOGE("setvarobj %i %p", slot, val);
72 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
H A DrsUtils.h86 T rsFindHighBit(T val) { argument
88 while (val > 1) {
90 val>>=1;
96 bool rsIsPow2(T val) { argument
97 return (val & (val-1)) == 0;
/frameworks/base/media/libmedia/
H A DAudioParameter.cpp142 int val; local
143 if (sscanf(str8.string(), "%d", &val) == 1) {
144 value = val;
158 float val; local
159 if (sscanf(str8.string(), "%f", &val) == 1) {
160 value = val;
H A DMetadata.cpp91 bool Metadata::appendBool(int key, bool val) argument
104 ok = ok && mData->writeInt32(val ? 1 : 0) == OK;
111 bool Metadata::appendInt32(int key, int32_t val) argument
124 ok = ok && mData->writeInt32(val) == OK;

Completed in 345 milliseconds

1234