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

12345

/frameworks/av/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/av/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/native/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...]
/frameworks/av/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/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_bug_char.java34 private Byte2 pack_b2(byte[] val) { argument
35 assert val.length == 2;
36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]);
37 return new Byte2(val[0], val[1]);
/frameworks/native/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());
/frameworks/av/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/android/os/
H A DCommonTimeUtils.java69 public int transactSetInt(int method_code, int val) { argument
75 data.writeInt(val);
111 public int transactSetLong(int method_code, long val) { argument
117 data.writeLong(val);
153 public int transactSetString(int method_code, String val) { argument
159 data.writeString(val);
H A DSystemProperties.java124 public static void set(String key, String val) { argument
128 if (val != null && val.length() > PROP_VALUE_MAX) {
129 throw new IllegalArgumentException("val.length > " +
132 native_set(key, val);
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp153 int val = getArgSInt(arg_no); local
154 llvm::raw_string_ostream(pOutStr) << val;
158 unsigned int val = getArgUInt(arg_no); local
159 llvm::raw_string_ostream(pOutStr) << val;
163 bool val = getArgBool(arg_no); local
164 if (val)
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp112 HashTableTy::entry_type* val = hashTable->insert(key, exist); local
113 val->setValue(999);
116 EXPECT_FALSE(NULL == val);
/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.cpp144 const clang::APValue &val = ev->getInit(); local
146 write(string(" return ") + genInitValue(val, isBool) + ";");
/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h115 Vec<T, dim> operator + (const Vec<T,dim> &x, T val) { argument
118 out.data[i] = x.data[i] + val;
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Utils.c44 M4OSA_ERR M4MP4W_putBE16(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
56 M4OSA_ERR M4MP4W_putBE24(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
61 err = M4MP4W_putByte((M4OSA_UChar)(val >> 16), fileFunction, context);
63 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
65 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
70 M4OSA_ERR M4MP4W_putBE32(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
75 err = M4MP4W_putByte((M4OSA_UChar)(val >> 24), fileFunction, context);
77 err = M4MP4W_putByte((M4OSA_UChar)(val >> 1
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp145 int val; local
146 if (sscanf(str8.string(), "%d", &val) == 1) {
147 value = val;
161 float val; local
162 if (sscanf(str8.string(), "%f", &val) == 1) {
163 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 184 milliseconds

12345