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

123456

/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/libs/androidfw/tests/
H A DTheme_test.cpp46 Res_value val; local
47 ASSERT_GE(theme1.getAttribute(android::R::attr::background, &val), 0);
48 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType);
49 ASSERT_EQ(uint32_t(0xffff0000), val.data);
50 ASSERT_GE(theme1.getAttribute(app::R::attr::number, &val), 0);
51 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
52 ASSERT_EQ(uint32_t(1), val.data);
60 ASSERT_GE(theme2.getAttribute(android::R::attr::background, &val), 0);
61 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType);
62 ASSERT_EQ(uint32_t(0xffff0000), val
[all...]
H A DTestHelpers.cpp26 Res_value val; local
27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG);
32 if (val.dataType != Res_value::TYPE_STRING) {
41 const String8 actual = pool->string8ObjectAt(val.data);
H A DResTable_test.cpp72 Res_value val; local
74 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags);
76 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType);
77 ASSERT_EQ(uint32_t(100), val.data);
79 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags);
81 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
82 ASSERT_EQ(base::R::integer::number1, val.data);
92 Res_value val; local
94 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags);
96 ASSERT_EQ(Res_value::TYPE_INT_DEC, val
112 Res_value val; local
124 Res_value val; local
140 Res_value val; local
168 Res_value val; local
200 Res_value val; local
[all...]
H A DSplit_test.cpp82 Res_value val; local
84 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
92 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
105 Res_value val; local
107 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
113 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType);
153 Res_value val; local
155 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &specFlags, NULL);
163 block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &frSpecFlags, NULL);
200 Res_value val; local
[all...]
H A DIdmap_test.cpp72 Res_value val; local
73 ssize_t block = mTargetTable.getResource(base::R::string::test2, &val, false);
75 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
78 ASSERT_LT(val.data, pool->size());
81 const char16_t* targetStr16 = pool->stringAt(val.data, &strLen);
87 ssize_t newBlock = mTargetTable.getResource(base::R::string::test2, &val, false);
90 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType);
93 ASSERT_LT(val.data, pool->size());
95 targetStr16 = pool->stringAt(val.data, &strLen);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dimgprocutil.h27 inline int clamp(int min, int val, int max) { argument
28 return val < min ? min : (val > max ? max : val);
/frameworks/base/tests/CoreTests/android/core/
H A DJniLibTest.java48 private native void nativeThing(int val); argument
/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp159 AaptLocaleValue val; local
160 ASSERT_TRUE(val.initFromFilterString(String8("kok_IN")));
161 val.writeTo(&config);
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h66 inline static T periodicError(const T &val, const T &period) { argument
67 T err = abs(val) % period;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h37 inline float fast_log2(float val) { argument
38 int* const exp_ptr = reinterpret_cast <int *> (&val);
44 val = ((-1.0f / 3) * val + 2) * val - 2.0f / 3;
45 return static_cast<float>(val + log_2);
49 inline float fast_log(float val) { argument
50 return fast_log2(val) *
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_CompareMotionCostToMV.c48 * [in] val Signed number for which Exp-Golomb code length has
52 * Returns the length of the Exp-Golomb code for val
55 static OMX_U16 armVCM4P10_ExpGolBitsUsed (OMX_S16 val) argument
59 /* Mapping val to codeNum */
60 codeNum = armAbs (val);
61 if (val > 0)
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp29 AaptLocaleValue val; local
30 if (val.initFromFilterString(part)) {
33 val.writeTo(&entry.first);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGNUInfo.cpp52 uint64_t val = llvm::ELF::EF_MIPS_NOREORDER | m_PICFlags; local
55 val |= llvm::ELF::EF_MIPS_ARCH_32R2 | llvm::ELF::EF_MIPS_ABI_O32;
57 val |= llvm::ELF::EF_MIPS_ARCH_64R2;
59 return val;
/frameworks/native/libs/binder/
H A DTextOutput.cpp40 TextOutput& operator<<(TextOutput& to, bool val) argument
42 if (val) to.print("true", 4);
47 TextOutput& operator<<(TextOutput& to, int val) argument
50 sprintf(buf, "%d", val);
55 TextOutput& operator<<(TextOutput& to, long val) argument
58 sprintf(buf, "%ld", val);
63 TextOutput& operator<<(TextOutput& to, unsigned int val) argument
66 sprintf(buf, "%u", val);
71 TextOutput& operator<<(TextOutput& to, unsigned long val) argument
74 sprintf(buf, "%lu", val);
79 operator <<(TextOutput& to, long long val) argument
87 operator <<(TextOutput& to, unsigned long long val) argument
107 operator <<(TextOutput& to, float val) argument
112 operator <<(TextOutput& to, double val) argument
117 operator <<(TextOutput& to, const void* val) argument
125 operator <<(TextOutput& to, const String8& val) argument
131 operator <<(TextOutput& to, const String16& val) argument
142 operator <<(TextOutput& to, const TypeCode& val) argument
161 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/compile/mclinker/lib/LD/
H A DDiagnostic.cpp151 int val = getArgSInt(arg_no); local
152 llvm::raw_string_ostream(pOutStr) << val;
156 unsigned int val = getArgUInt(arg_no); local
157 llvm::raw_string_ostream(pOutStr) << val;
161 unsigned long long val = getArgUInt(arg_no); local
162 llvm::raw_string_ostream(pOutStr) << val;
166 bool val = getArgBool(arg_no); local
167 if (val)
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesRegistrar.cpp48 status_t getProperty(int id, struct BatteryProperty *val) { argument
60 val->readFromParcel(&reply);
92 struct BatteryProperty val; local
93 status_t result = getProperty(id, &val);
97 val.writeToParcel(reply);

Completed in 498 milliseconds

123456