/frameworks/base/tools/aapt/ |
D | Bundle.h | 85 void setVerbose(bool val) { mVerbose = val; } in setVerbose() argument 87 void setAndroidList(bool val) { mAndroidList = val; } in setAndroidList() argument 89 void setForce(bool val) { mForce = val; } in setForce() argument 90 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } in setGrayscaleTolerance() argument 93 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } in setMakePackageDirs() argument 95 void setUpdate(bool val) { mUpdate = val; } in setUpdate() argument 97 void setExtending(bool val) { mExtending = val; } in setExtending() argument 99 void setRequireLocalization(bool val) { mRequireLocalization = val; } in setRequireLocalization() argument 101 void setPseudolocalize(short val) { mPseudolocalize = val; } in setPseudolocalize() argument 102 void setWantUTF16(bool val) { mWantUTF16 = val; } in setWantUTF16() argument [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirProcessNeon.h | 145 posSamp.val[0] = vrev64q_s16(posSamp.val[0]); in ProcessNeonIntrinsic() 146 posSamp.val[1] = vrev64q_s16(posSamp.val[1]); in ProcessNeonIntrinsic() 149 accum = vmlal_s16(accum, vget_low_s16(posSamp.val[0]), vget_high_s16(posCoef)); // r in ProcessNeonIntrinsic() 150 accum = vmlal_s16(accum, vget_high_s16(posSamp.val[0]), vget_low_s16(posCoef)); // r in ProcessNeonIntrinsic() 151 accum2 = vmlal_s16(accum2, vget_low_s16(posSamp.val[1]), vget_high_s16(posCoef)); // r in ProcessNeonIntrinsic() 152 accum2 = vmlal_s16(accum2, vget_high_s16(posSamp.val[1]), vget_low_s16(posCoef)); // r in ProcessNeonIntrinsic() 153 accum = vmlal_s16(accum, vget_low_s16(negSamp.val[0]), vget_low_s16(negCoef)); in ProcessNeonIntrinsic() 154 accum = vmlal_s16(accum, vget_high_s16(negSamp.val[0]), vget_high_s16(negCoef)); in ProcessNeonIntrinsic() 155 accum2 = vmlal_s16(accum2, vget_low_s16(negSamp.val[1]), vget_low_s16(negCoef)); in ProcessNeonIntrinsic() 156 accum2 = vmlal_s16(accum2, vget_high_s16(negSamp.val[1]), vget_high_s16(negCoef)); in ProcessNeonIntrinsic() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestRunner.java | 86 String val = arguments.getString("enable_iterations"); in onCreate() local 87 if (val != null) { in onCreate() 89 sEnableIterations = Integer.parseInt(val); in onCreate() 95 val = arguments.getString("discoverable_iterations"); in onCreate() 96 if (val != null) { in onCreate() 98 sDiscoverableIterations = Integer.parseInt(val); in onCreate() 104 val = arguments.getString("scan_iterations"); in onCreate() 105 if (val != null) { in onCreate() 107 sScanIterations = Integer.parseInt(val); in onCreate() 113 val = arguments.getString("enable_pan_iterations"); in onCreate() [all …]
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | PathParser.java | 92 float[] val = getFloats(s); in createNodesFromPathData() local 93 addNode(list, s.charAt(0), val); in createNodesFromPathData() 177 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { in addNode() argument 178 list.add(new PathDataNode(cmd, val)); in addNode() 343 char previousCmd, char cmd, float[] val) { in addCommand() argument 398 for (int k = 0; k < val.length; k += incr) { in addCommand() 401 currentX += val[k + 0]; in addCommand() 402 currentY += val[k + 1]; in addCommand() 407 path.rLineTo(val[k + 0], val[k + 1]); in addCommand() 409 path.rMoveTo(val[k + 0], val[k + 1]); in addCommand() [all …]
|
/frameworks/native/include/binder/ |
D | Parcel.h | 104 status_t writeInt32(int32_t val); 105 status_t writeUint32(uint32_t val); 106 status_t writeInt64(int64_t val); 107 status_t writeUint64(uint64_t val); 108 status_t writeFloat(float val); 109 status_t writeDouble(double val); 115 status_t writeStrongBinder(const sp<IBinder>& val); 116 status_t writeWeakBinder(const wp<IBinder>& val); 117 status_t writeInt32Array(size_t len, const int32_t *val); 118 status_t writeByteArray(size_t len, const uint8_t *val); [all …]
|
/frameworks/native/libs/binder/ |
D | TextOutput.cpp | 40 TextOutput& operator<<(TextOutput& to, bool val) in operator <<() argument 42 if (val) to.print("true", 4); in operator <<() 47 TextOutput& operator<<(TextOutput& to, int val) in operator <<() argument 50 sprintf(buf, "%d", val); in operator <<() 55 TextOutput& operator<<(TextOutput& to, long val) in operator <<() argument 58 sprintf(buf, "%ld", val); in operator <<() 63 TextOutput& operator<<(TextOutput& to, unsigned int val) in operator <<() argument 66 sprintf(buf, "%u", val); in operator <<() 71 TextOutput& operator<<(TextOutput& to, unsigned long val) in operator <<() argument 74 sprintf(buf, "%lu", val); in operator <<() [all …]
|
D | Parcel.cpp | 817 status_t writeByteVectorInternal(Parcel* parcel, const std::vector<T>& val) in writeByteVectorInternal() argument 820 if (val.size() > std::numeric_limits<int32_t>::max()) { in writeByteVectorInternal() 825 status = parcel->writeInt32(val.size()); in writeByteVectorInternal() 830 void* data = parcel->writeInplace(val.size()); in writeByteVectorInternal() 836 memcpy(data, val.data(), val.size()); in writeByteVectorInternal() 842 const std::unique_ptr<std::vector<T>>& val) in writeByteVectorInternalPtr() argument 844 if (!val) { in writeByteVectorInternalPtr() 848 return writeByteVectorInternal(parcel, *val); in writeByteVectorInternalPtr() 853 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { in writeByteVector() argument 854 return writeByteVectorInternal(this, val); in writeByteVector() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 183 float[] val = getFloats(s); in createNodesFromPathData() local 184 addNode(list, s.charAt(0), val); in createNodesFromPathData() 370 @NonNull float[] val) { in addNode() argument 371 list.add(new PathDataNode(cmd, val)); in addNode() 444 char previousCmd, char cmd, @NonNull float[] val) { in addCommand() argument 499 for (int k = 0; k < val.length; k += incr) { in addCommand() 502 currentX += val[k + 0]; in addCommand() 503 currentY += val[k + 1]; in addCommand() 509 path.rLineTo(val[k + 0], val[k + 1]); in addCommand() 511 path.rMoveTo(val[k + 0], val[k + 1]); in addCommand() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 270 private static native void nativeWriteInt(long nativePtr, int val); in nativeWriteInt() argument 271 private static native void nativeWriteLong(long nativePtr, long val); in nativeWriteLong() argument 272 private static native void nativeWriteFloat(long nativePtr, float val); in nativeWriteFloat() argument 273 private static native void nativeWriteDouble(long nativePtr, double val); in nativeWriteDouble() argument 274 private static native void nativeWriteString(long nativePtr, String val); in nativeWriteString() argument 275 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); in nativeWriteStrongBinder() argument 276 private static native long nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); in nativeWriteFileDescriptor() argument 544 public final void writeInt(int val) { in writeInt() argument 545 nativeWriteInt(mNativePtr, val); in writeInt() 552 public final void writeLong(long val) { in writeLong() argument [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ResTable_test.cpp | 88 Res_value val; in TEST() local 90 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); in TEST() 92 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 93 ASSERT_EQ(uint32_t(100), val.data); in TEST() 95 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags); in TEST() 97 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 98 ASSERT_EQ(base::R::integer::number1, val.data); in TEST() 108 Res_value val; in TEST() local 110 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); in TEST() 112 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() [all …]
|
D | Theme_test.cpp | 46 Res_value val; in TEST() local 47 ASSERT_GE(theme1.getAttribute(android::R::attr::background, &val), 0); in TEST() 48 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType); in TEST() 49 ASSERT_EQ(uint32_t(0xffff0000), val.data); in TEST() 50 ASSERT_GE(theme1.getAttribute(app::R::attr::number, &val), 0); in TEST() 51 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 52 ASSERT_EQ(uint32_t(1), val.data); in TEST() 60 ASSERT_GE(theme2.getAttribute(android::R::attr::background, &val), 0); in TEST() 61 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType); in TEST() 62 ASSERT_EQ(uint32_t(0xffff0000), val.data); in TEST() [all …]
|
D | AppAsLib_test.cpp | 35 Res_value val; in TEST() local 36 ssize_t block = table.getResource(appaslib::R::app::integer::number1, &val); in TEST() 38 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 39 ASSERT_EQ(appaslib::R::app::array::integerArray1, val.data); in TEST() 48 Res_value val; in TEST() local 49 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val); in TEST() 51 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 52 ASSERT_EQ(appaslib::R::lib::array::integerArray1, val.data); in TEST() 61 Res_value val; in TEST() local 62 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val); in TEST() [all …]
|
/frameworks/support/core-utils/java/android/support/v4/content/res/ |
D | TypedArrayUtils.java | 37 boolean val = a.getBoolean(fallbackIndex, defaultValue); in getBoolean() 38 return a.getBoolean(index, val); in getBoolean() 43 Drawable val = a.getDrawable(index); in getDrawable() local 44 if (val == null) { in getDrawable() 45 val = a.getDrawable(fallbackIndex); in getDrawable() 47 return val; in getDrawable() 52 int val = a.getInt(fallbackIndex, defaultValue); in getInt() local 53 return a.getInt(index, val); in getInt() 58 int val = a.getResourceId(fallbackIndex, defaultValue); in getResourceId() local 59 return a.getResourceId(index, val); in getResourceId() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_math_agree.java | 37 private Float2 pack_f2(float[] val) { in pack_f2() argument 38 assert val.length == 2; in pack_f2() 39 return new Float2(val[0], val[1]); in pack_f2() 41 private Float3 pack_f3(float[] val) { in pack_f3() argument 42 assert val.length == 3; in pack_f3() 43 return new Float3(val[0], val[1], val[2]); in pack_f3() 45 private Float4 pack_f4(float[] val) { in pack_f4() argument 46 assert val.length == 4; in pack_f4() 47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4() 49 private Byte2 pack_b2(byte[] val) { in pack_b2() argument [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_math_agree.java | 37 private Float2 pack_f2(float[] val) { in pack_f2() argument 38 assert val.length == 2; in pack_f2() 39 return new Float2(val[0], val[1]); in pack_f2() 41 private Float3 pack_f3(float[] val) { in pack_f3() argument 42 assert val.length == 3; in pack_f3() 43 return new Float3(val[0], val[1], val[2]); in pack_f3() 45 private Float4 pack_f4(float[] val) { in pack_f4() argument 46 assert val.length == 4; in pack_f4() 47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4() 49 private Byte2 pack_b2(byte[] val) { in pack_b2() argument [all …]
|
D | reduce.rs | 15 static void aiAccum(int *accum, int val) { *accum += val; } 24 float val; 33 accum->min.val = posInf; 35 accum->max.val = negInf; 41 me.val = in; 44 if (me.val < accum->min.val) 46 if (me.val > accum->max.val) 51 const MinAndMax *val) { 52 if (val->min.val < accum->min.val) 53 accum->min = val->min; [all …]
|
D | reduce_backward.rs | 11 static void aiAccum(int *accum, int val) { *accum += val; } 19 float val; 28 accum->min.val = posInf; 30 accum->max.val = negInf; 36 me.val = in; 39 if (me.val < accum->min.val) 41 if (me.val > accum->max.val) 46 const MinAndMax *val) { 47 if (val->min.val < accum->min.val) 48 accum->min = val->min; [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_math_agree.java | 37 private Float2 pack_f2(float[] val) { in pack_f2() argument 38 assert val.length == 2; in pack_f2() 39 return new Float2(val[0], val[1]); in pack_f2() 41 private Float3 pack_f3(float[] val) { in pack_f3() argument 42 assert val.length == 3; in pack_f3() 43 return new Float3(val[0], val[1], val[2]); in pack_f3() 45 private Float4 pack_f4(float[] val) { in pack_f4() argument 46 assert val.length == 4; in pack_f4() 47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4() 49 private Byte2 pack_b2(byte[] val) { in pack_b2() argument [all …]
|
D | reduce_backward.rs | 13 static void aiAccum(int *accum, int val) { *accum += val; } 21 float val; 30 accum->min.val = posInf; 32 accum->max.val = negInf; 38 me.val = in; 41 if (me.val < accum->min.val) 43 if (me.val > accum->max.val) 48 const MinAndMax *val) { 49 if (val->min.val < accum->min.val) 50 accum->min = val->min; [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 14 static void my_half_accum(half *accum, half val) { } 18 static void my_half2_accum(half2 *accum, half2 val) { } 22 static void my_half4_accum(half4 *accum, half4 val) { } 27 static void my_array_half_accum(array_half *accum, half val) { } 32 static void my_array_half2_accum(array_half2 *accum, half2 val) { } 37 static void my_array_half4_accum(array_half4 *accum, half4 val) { } 41 static void my_float_accum(float *accum, float val) { } 45 static void my_float2_accum(float2 *accum, float2 val) { } 49 static void my_float4_accum(float4 *accum, float4 val) { } 54 static void my_array_float_accum(array_float *accum, float val) { } [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_result/ |
D | reduce_general_bad_result.rs | 6 static void AccumInt(int *accum, int val) { } 22 static void AccumUInt2dA(UIntA916 *accum, int val) { } 23 static void CombUInt2dA(UIntA916 *accum, const UIntA916 *val) { } 28 static void OutUInt2dAFix(uint *out, const UIntA916 *val) { } 32 static void OutUInt2dABreak(UIntA916 *out, const int *val) { } 63 static void OutUnionCharIntFix(int *out, const union UnionCharInt *val) { } 68 static void OutUnionLongFloatBreak(union UnionLongFloat *out, const int *val) { } 93 static void AccumUnionIntFloatArray(UnionIntFloatArray *accum, int val) { } 103 static void OutUnionDoubleFloatArrayFix(int *out, const UnionDoubleFloatArray *val) { } 108 static void OutUnionCharLongArrayBreak(UnionCharLongArray *out, const int *val) { } [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rs | 12 static void aiAccum(int *accum, int val) { *accum += val; } 21 static void mpyAccum(int *accum, int val) { *accum *= val; } 33 static void dpSum(float *accum, const float *val) { *accum += *val; } 44 float val; 59 me.val = in; 62 if (me.val < accum->min.val) 64 if (me.val > accum->max.val) 69 const MinAndMax *val) { 70 fMMAccumulator(accum, val->min.val, val->min.idx); 71 fMMAccumulator(accum, val->max.val, val->max.idx); [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rs | 15 static void aiAccum(int *accum, int val) { *accum += val; } 24 static void mpyAccum(int *accum, int val) { *accum *= val; } 36 static void dpSum(float *accum, const float *val) { *accum += *val; } 48 float val; 63 me.val = in; 66 if (me.val < accum->min.val) 68 if (me.val > accum->max.val) 73 const MinAndMax *val) { 74 fMMAccumulator(accum, val->min.val, val->min.idx); 75 fMMAccumulator(accum, val->max.val, val->max.idx); [all …]
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | byte_swapper.h | 42 static T Swap(const T &val) { in Swap() 43 T new_val = val; in Swap() 56 static T Swap(const T &val) { 57 return val; 63 static T Swap(const T &val) { 65 const char *o = (const char *)&val; 75 static T Swap(const T &val) { 77 const char *o = (const char *)&val; 89 static T Swap(const T &val) { 90 T new_val = val; [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | set_sign.cpp | 252 Word16 val, min; in set_sign() local 258 val = dn[i]; in set_sign() 260 if (val >= 0) in set_sign() 267 val = negate(val); in set_sign() 268 dn[i] = val; /* modify dn[] according to the fixed sign */ in set_sign() 271 dn2[i] = val; in set_sign() 498 Word16 val; in set_sign12k2() local 525 val = *(p_cn++); in set_sign12k2() 526 s = L_mac(s, val, val, pOverflow); in set_sign12k2() 527 val = *(p_dn++); in set_sign12k2() [all …]
|