Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 1396) sorted by relevance

12345678910>>...56

/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Blend.S58 movi v0.16b, #0
59 movi v1.16b, #0
60 movi v2.16b, #0
61 movi v3.16b, #0
66 mov v0.16b, v8.16b
67 mov v1.16b, v9.16b
68 mov v2.16b, v10.16b
69 mov v3.16b, v11.16b
79 mvn v7.16b, v11.16b
81 umull2 v12.8h, v7.16b, v0.16b
[all …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S65 umull v1.8h, v8.8b, v24.8b // g0 = y0 * 149
66 umull v17.8h, v9.8b, v24.8b // g1 = y1 * 149
67 umull2 v5.8h, v8.16b, v24.16b // g0_hi = y0_hi * 149
68 umull2 v21.8h, v9.16b, v24.16b // g1_hi = y1_hi * 149
70 umull v8.8h, \regu\().8b, v25.8b // g2 = u * 50 + v * 104
71 umlal v8.8h, \regv\().8b, v26.8b
72 umull2 v9.8h, \regu\().16b, v25.16b // g2_hi = u_hi * 50 + v_hi * 104
73 umlal2 v9.8h, \regv\().16b, v26.16b
75 ushr v19.16b, \regv\().16b, #1
76 uaddw v0.8h, v1.8h, v19.8b // r0 = g0 + (v >> 1)
[all …]
DrsCpuIntrinsics_advsimd_3DLUT.S35 dup v8.8b, \yr0
36 dup v9.8b, \yr1
38 zip1 v12.16b, v5.16b, v16.16b
39 zip1 v13.16b, v5.16b, v17.16b
40 umlsl v12.8h, v16.8b, v8.8b
41 umlsl v13.8h, v17.8b, v9.8b
42 umlal v12.8h, v18.8b, v8.8b
43 umlal v13.8h, v19.8b, v9.8b
55 zip1 v14.16b, v5.16b, v16.16b
56 zip1 v15.16b, v5.16b, v17.16b
[all …]
DrsCpuIntrinsics_advsimd_ColorMatrix.S220 vadd_f32 \i, 16, v8.4s, v8.4s, v4.4s, v8.16b, v4.16b
225 vadd_f32 \i, 16, v16.4s, v16.4s, v4.4s, v16.16b, v4.16b
234 vadd_f32 \i^31, 16, v8.4s, v8.4s, v4.4s, v8.16b, v4.16b
239 vadd_f32 \i^31, 16, v16.4s, v16.4s, v4.4s, v16.16b, v4.16b
248 vadd_f32 \i, 16, v9.4s, v9.4s, v5.4s, v9.16b, v5.16b
253 vadd_f32 \i, 16, v17.4s, v17.4s, v5.4s, v17.16b, v5.16b
262 vadd_f32 \i^31, 16, v9.4s, v9.4s, v5.4s, v9.16b, v5.16b
267 vadd_f32 \i^31, 16, v17.4s, v17.4s, v5.4s, v17.16b, v5.16b
276 vadd_f32 \i, 16, v10.4s, v10.4s, v6.4s, v10.16b, v6.16b
281 vadd_f32 \i, 16, v18.4s, v18.4s, v6.4s, v18.16b, v6.16b
[all …]
DrsCpuIntrinsics_advsimd_Blur.S70 ld1 {v15.16b}, [x1], #16
73 uxtl v14.8h, v15.8b
75 uxtl2 v15.8h, v15.16b
98 ld1 {v10.16b}, [x10], x2
100 ld1 {v11.16b}, [x11], x13
102 uaddl v16.8h, v10.8b, v11.8b
104 uaddl2 v11.8h, v10.16b, v11.16b
118 b 2f
169 .hword 101f-100b
170 .hword 102f-100b
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java78 byte [] b = new byte[20]; in testExtractNetworkPortion()
79 b[0] = (byte) 0x81; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; in testExtractNetworkPortion()
80 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; in testExtractNetworkPortion()
82 PhoneNumberUtils.calledPartyBCDToString(b, 0, 7)); in testExtractNetworkPortion()
84 b[0] = (byte) 0x80; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; in testExtractNetworkPortion()
85 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; in testExtractNetworkPortion()
87 PhoneNumberUtils.calledPartyBCDToString(b, 0, 7)); in testExtractNetworkPortion()
89 b[0] = (byte) 0x90; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; in testExtractNetworkPortion()
90 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; in testExtractNetworkPortion()
92 PhoneNumberUtils.calledPartyBCDToString(b, 0, 7)); in testExtractNetworkPortion()
[all …]
/frameworks/base/rs/java/android/renderscript/
DSampler.java101 Builder b = new Builder(rs); in CLAMP_NEAREST() local
102 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
103 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
104 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
105 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
106 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
121 Builder b = new Builder(rs); in CLAMP_LINEAR() local
122 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
123 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
124 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[all …]
DInt4.java71 public static Int4 add(Int4 a, Int4 b) { in add() argument
73 result.x = a.x + b.x; in add()
74 result.y = a.y + b.y; in add()
75 result.z = a.z + b.z; in add()
76 result.w = a.w + b.w; in add()
100 public static Int4 add(Int4 a, int b) { in add() argument
102 result.x = a.x + b; in add()
103 result.y = a.y + b; in add()
104 result.z = a.z + b; in add()
105 result.w = a.w + b; in add()
[all …]
DLong4.java71 public static Long4 add(Long4 a, Long4 b) { in add() argument
73 result.x = a.x + b.x; in add()
74 result.y = a.y + b.y; in add()
75 result.z = a.z + b.z; in add()
76 result.w = a.w + b.w; in add()
100 public static Long4 add(Long4 a, long b) { in add() argument
102 result.x = a.x + b; in add()
103 result.y = a.y + b; in add()
104 result.z = a.z + b; in add()
105 result.w = a.w + b; in add()
[all …]
DShort4.java71 public static Short4 add(Short4 a, Short4 b) { in add() argument
73 result.x = (short)(a.x + b.x); in add()
74 result.y = (short)(a.y + b.y); in add()
75 result.z = (short)(a.z + b.z); in add()
76 result.w = (short)(a.w + b.w); in add()
100 public static Short4 add(Short4 a, short b) { in add() argument
102 result.x = (short)(a.x + b); in add()
103 result.y = (short)(a.y + b); in add()
104 result.z = (short)(a.z + b); in add()
105 result.w = (short)(a.w + b); in add()
[all …]
DInt3.java67 public static Int3 add(Int3 a, Int3 b) { in add() argument
69 result.x = a.x + b.x; in add()
70 result.y = a.y + b.y; in add()
71 result.z = a.z + b.z; in add()
94 public static Int3 add(Int3 a, int b) { in add() argument
96 result.x = a.x + b; in add()
97 result.y = a.y + b; in add()
98 result.z = a.z + b; in add()
121 public static Int3 sub(Int3 a, Int3 b) { in sub() argument
123 result.x = a.x - b.x; in sub()
[all …]
DShort3.java67 public static Short3 add(Short3 a, Short3 b) { in add() argument
69 result.x = (short)(a.x + b.x); in add()
70 result.y = (short)(a.y + b.y); in add()
71 result.z = (short)(a.z + b.z); in add()
94 public static Short3 add(Short3 a, short b) { in add() argument
96 result.x = (short)(a.x + b); in add()
97 result.y = (short)(a.y + b); in add()
98 result.z = (short)(a.z + b); in add()
121 public static Short3 sub(Short3 a, Short3 b) { in sub() argument
123 result.x = (short)(a.x - b.x); in sub()
[all …]
DLong3.java67 public static Long3 add(Long3 a, Long3 b) { in add() argument
69 result.x = a.x + b.x; in add()
70 result.y = a.y + b.y; in add()
71 result.z = a.z + b.z; in add()
94 public static Long3 add(Long3 a, long b) { in add() argument
96 result.x = a.x + b; in add()
97 result.y = a.y + b; in add()
98 result.z = a.z + b; in add()
121 public static Long3 sub(Long3 a, Long3 b) { in sub() argument
123 result.x = a.x - b.x; in sub()
[all …]
DByte4.java66 public static Byte4 add(Byte4 a, Byte4 b) { in add() argument
68 result.x = (byte)(a.x + b.x); in add()
69 result.y = (byte)(a.y + b.y); in add()
70 result.z = (byte)(a.z + b.z); in add()
71 result.w = (byte)(a.w + b.w); in add()
95 public static Byte4 add(Byte4 a, byte b) { in add() argument
97 result.x = (byte)(a.x + b); in add()
98 result.y = (byte)(a.y + b); in add()
99 result.z = (byte)(a.z + b); in add()
100 result.w = (byte)(a.w + b); in add()
[all …]
DByte3.java63 public static Byte3 add(Byte3 a, Byte3 b) { in add() argument
65 result.x = (byte)(a.x + b.x); in add()
66 result.y = (byte)(a.y + b.y); in add()
67 result.z = (byte)(a.z + b.z); in add()
90 public static Byte3 add(Byte3 a, byte b) { in add() argument
92 result.x = (byte)(a.x + b); in add()
93 result.y = (byte)(a.y + b); in add()
94 result.z = (byte)(a.z + b); in add()
117 public static Byte3 sub(Byte3 a, Byte3 b) { in sub() argument
119 result.x = (byte)(a.x - b.x); in sub()
[all …]
DFloat4.java53 public static Float4 add(Float4 a, Float4 b) { in add() argument
55 res.x = a.x + b.x; in add()
56 res.y = a.y + b.y; in add()
57 res.z = a.z + b.z; in add()
58 res.w = a.w + b.w; in add()
94 public static Float4 add(Float4 a, float b) { in add() argument
96 res.x = a.x + b; in add()
97 res.y = a.y + b; in add()
98 res.z = a.z + b; in add()
99 res.w = a.w + b; in add()
[all …]
DDouble4.java53 public static Double4 add(Double4 a, Double4 b) { in add() argument
55 res.x = a.x + b.x; in add()
56 res.y = a.y + b.y; in add()
57 res.z = a.z + b.z; in add()
58 res.w = a.w + b.w; in add()
94 public static Double4 add(Double4 a, double b) { in add() argument
96 res.x = a.x + b; in add()
97 res.y = a.y + b; in add()
98 res.z = a.z + b; in add()
99 res.w = a.w + b; in add()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DObjects.java37 public static <T> int compare(T a, T b, Comparator<? super T> c) { in compare() argument
38 if (a == b) { in compare()
41 return c.compare(a, b); in compare()
50 public static boolean deepEquals(Object a, Object b) { in deepEquals() argument
51 if (a == null || b == null) { in deepEquals()
52 return a == b; in deepEquals()
53 } else if (a instanceof Object[] && b instanceof Object[]) { in deepEquals()
54 return Arrays.deepEquals((Object[]) a, (Object[]) b); in deepEquals()
55 } else if (a instanceof boolean[] && b instanceof boolean[]) { in deepEquals()
56 return Arrays.equals((boolean[]) a, (boolean[]) b); in deepEquals()
[all …]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DVectorUtil.java23 public static void sub(double[] a, double[] b, double[] out) { in sub() argument
24 out[0] = a[0] - b[0]; in sub()
25 out[1] = a[1] - b[1]; in sub()
26 out[2] = a[2] - b[2]; in sub()
29 public static void mult(double[] a, double b, double[] out) { in mult() argument
30 out[0] = a[0] * b; in mult()
31 out[1] = a[1] * b; in mult()
32 out[2] = a[2] * b; in mult()
35 public static double dot(double[] a, double[] b) { in dot() argument
36 return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; in dot()
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java58 public static float pow(float a, float b) { in pow() argument
59 return (float) Math.pow(a, b); in pow()
62 public static float max(float a, float b) { in max() argument
63 return a > b ? a : b; in max()
66 public static float max(int a, int b) { in max() argument
67 return a > b ? a : b; in max()
70 public static float max(float a, float b, float c) { in max() argument
71 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
74 public static float max(int a, int b, int c) { in max() argument
75 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DSampler.java114 Builder b = new Builder(rs); in CLAMP_NEAREST() local
115 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
116 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
117 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
118 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
119 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
134 Builder b = new Builder(rs); in CLAMP_LINEAR() local
135 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
136 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
137 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompat.java46 android.support.v4.app.NotificationCompat.Builder b) { in addMediaStyleToBuilderIcs() argument
47 if (b.mStyle instanceof MediaStyle) { in addMediaStyleToBuilderIcs()
48 MediaStyle mediaStyle = (MediaStyle) b.mStyle; in addMediaStyleToBuilderIcs()
49 NotificationCompatImplBase.overrideContentView(builder, b.mContext, in addMediaStyleToBuilderIcs()
50 b.mContentTitle, in addMediaStyleToBuilderIcs()
51 b.mContentText, b.mContentInfo, b.mNumber, b.mLargeIcon, b.mSubText, in addMediaStyleToBuilderIcs()
52 b.mUseChronometer, b.mNotification.when, b.mActions, in addMediaStyleToBuilderIcs()
59 android.support.v4.app.NotificationCompat.Builder b) { in addBigMediaStyleToBuilderJellybean() argument
60 if (b.mStyle instanceof MediaStyle) { in addBigMediaStyleToBuilderJellybean()
61 MediaStyle mediaStyle = (MediaStyle) b.mStyle; in addBigMediaStyleToBuilderJellybean()
[all …]
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp54 void* b = realloc(buffer, newSize); in append() local
55 if (!b) return NO_MEMORY; in append()
56 buffer = (char*)b; in append()
68 void* b = realloc(buffer, 256); in restart() local
69 if (b) { in restart()
70 buffer = (char*)b; in restart()
163 BufferState* b = getBuffer(); in print() local
178 if (b->atFront) { in print()
179 if (b->indent > 0) { in print()
181 const char* prefix = stringForIndent(b->indent); in print()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_msc_evc.h57 __inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30() argument
59 return (int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
63 __inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30() argument
65 return (L_add + (int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
73 #define fxp_mul32_Q32( a, b) _MulHigh( b, a) argument
77 __inline int32 fxp_mul32_Q28(const int32 a, const int32 b) in fxp_mul32_Q28() argument
79 return (int32)(((int64)(a) * b) >> 28); in fxp_mul32_Q28()
83 __inline int32 fxp_mul32_Q27(const int32 a, const int32 b) in fxp_mul32_Q27() argument
85 return (int32)(((int64)(a) * b) >> 27); in fxp_mul32_Q27()
90 __inline int32 fxp_mul32_Q26(const int32 a, const int32 b) in fxp_mul32_Q26() argument
[all …]
Dpv_mp3dec_fxd_op_c_equivalent.h55 int32 b = (a < 0) ? -a : a; in pv_abs() local
56 return b; in pv_abs()
62 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() argument
64 return (Int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
67 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
69 return (L_add + (Int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
72 __inline Int32 fxp_mul32_Q32(const Int32 a, const Int32 b) in fxp_mul32_Q32() argument
74 return (Int32)(((int64)(a) * b) >> 32); in fxp_mul32_Q32()
78 __inline Int32 fxp_mul32_Q28(const Int32 a, const Int32 b) in fxp_mul32_Q28() argument
80 return (Int32)(((int64)(a) * b) >> 28); in fxp_mul32_Q28()
[all …]

12345678910>>...56