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

123456789

/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_Float(const LVM_FLOAT val, argument
36 *dst = val;
43 void LoadConst_32(const LVM_INT32 val, argument
51 *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 DMult3s_32x16.c30 const LVM_INT16 val,
42 MUL32x16INTO32(srcval,val,temp,15)
52 const LVM_FLOAT val,
61 temp = (*src) * val;
29 Mult3s_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
51 Mult3s_Float( const LVM_FLOAT *src, const LVM_FLOAT val, LVM_FLOAT *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 DMac3s_Sat_32x16.c30 const LVM_INT16 val,
43 MUL32x16INTO32(srcval,val,temp,15)
69 const LVM_FLOAT val,
82 Temp = srcval * val;
29 Mac3s_Sat_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
68 Mac3s_Sat_Float(const LVM_FLOAT *src, const LVM_FLOAT val, LVM_FLOAT *dst, LVM_INT16 n) argument
H A DShift_Sat_v32xv32.c28 void Shift_Sat_Float (const LVM_INT16 val, argument
37 if(val > 0)
43 for(ij = 0; ij < val; ij++)
57 else if(val < 0)
59 RShift=(LVM_INT16)(-val);
83 void Shift_Sat_v32xv32 (const LVM_INT16 val, argument
91 if(val>0)
100 b=(a<<val);
102 if( (b>>val) != a ) /* if overflow occured, right shift will show difference*/
118 else if(val<
[all...]
/frameworks/base/libs/protoutil/tests/
H A DEncodedBuffer_test.cpp22 uint64_t val = UINT64_C(1522865904593); local
23 buffer.writeRawVarint64(val);
24 EXPECT_EQ(val, buffer.begin().readRawVarint());
/frameworks/base/libs/androidfw/tests/
H A DAppAsLib_test.cpp37 Res_value val; local
38 ssize_t block = table.getResource(app::R::integer::number1, &val);
40 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
41 ASSERT_EQ(app::R::array::integerArray1, val.data);
56 Res_value val; local
57 ssize_t block = table.getResource(lib::R::integer::number1, &val);
59 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType);
60 ASSERT_EQ(lib::R::array::integerArray1, val.data);
75 Res_value val; local
76 ssize_t block = table.getResource(lib::R::integer::number1, &val);
[all...]
H A DTestHelpers.cpp62 Res_value val; local
63 ssize_t block = table.getResource(resource_id, &val, MAY_NOT_BE_BAG);
68 if (val.dataType != Res_value::TYPE_STRING) {
77 const String8 actual_str = pool->string8ObjectAt(val.data);
/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/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/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/base/core/java/android/os/
H A DBatteryProperty.java49 public void setLong(long val) { argument
50 mValueLong = val;
/frameworks/base/core/java/android/util/
H A DBackupUtils.java46 public static void writeString(DataOutputStream out, String val) throws IOException { argument
47 if (val != null) {
49 out.writeUTF(val);
/frameworks/base/libs/protoutil/src/
H A Dprotobuf.cpp46 write_raw_varint(uint8_t* buf, uint64_t val) argument
50 if ((val & ~0x7F) == 0) {
51 *p++ = (uint8_t)val;
54 *p++ = (uint8_t)((val & 0x7F) | 0x80);
55 val >>= 7;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
H A DBrightnessUtils.java48 * @param val The slider value.
53 public static final int convertGammaToLinear(int val, int min, int max) { argument
54 final float normalizedVal = MathUtils.norm(0, GAMMA_SPACE_MAX, val);
84 * @param val The brightness setting value.
89 public static final int convertLinearToGamma(int val, int min, int max) { argument
91 final float normalizedVal = MathUtils.norm(min, max, val) * 12;
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator_test.cpp192 String* val = test::GetValue<String>(table.get(), "android:string/four"); local
193 ASSERT_NE(nullptr, val);
194 val->SetTranslatable(false);
217 val = test::GetValueForConfig<String>(table.get(), "android:string/three",
219 ASSERT_NE(nullptr, val);
220 EXPECT_EQ(std::string("three"), *val->value);
/frameworks/base/tools/aapt2/util/
H A DMaybe_test.cpp82 Maybe<int> val = make_nothing<int>(); local
83 EXPECT_FALSE(val);
93 Maybe<int> val = make_value(23); local
94 ASSERT_TRUE(val);
95 EXPECT_EQ(23, val.value());
103 Maybe<Dummy> val = make_nothing<Dummy>(); local
109 Maybe<Dummy> val; local
112 val = std::move(val2);
/frameworks/compile/libbcc/lib/
H A DRSIsThreadablePass.cpp113 llvm::MDString *val = variable
117 node->addOperand(llvm::MDNode::get(context, val));
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DPublicFinalWithObservableTestVo.java31 private int val = R.string.app_name; field in class:PublicFinalWithObservableTestVo.MyVo
34 return val;
37 public void setVal(int val) { argument
38 this.val = val;
39 notifyPropertyChanged(BR.val);
/frameworks/native/libs/binder/
H A DTextOutput.cpp45 TextOutput& operator<<(TextOutput& to, const TypeCode& val) argument
47 printTypeCode(val.typeCode(), textOutputPrinter, (void*)&to);
64 TextOutput& operator<<(TextOutput& to, const HexDump& val) argument
66 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(),
67 val.singleLineCutoff(), val.alignment(), val.carrayStyle(),
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DPropertyService.java38 void set(String key, String val); argument
H A DSystemPropertyService.java27 public void set(String key, String val) { argument
28 android.os.SystemProperties.set(key, val);

Completed in 396 milliseconds

123456789