Home
last modified time | relevance | path

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

12345678910>>...57

/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.S85 ld1 {v15.16b}, [x1], #16
88 uxtl v14.8h, v15.8b
90 uxtl2 v15.8h, v15.16b
117 ld1 {v10.16b}, [x10], x2
118 ld1 {v11.16b}, [x11], x13
119 uaddl v16.8h, v10.8b, v11.8b
120 uaddl2 v11.8h, v10.16b, v11.16b
139 ld1 {v10.16b}, [x10], x2
141 ld1 {v11.16b}, [x11], x13
143 uaddl v16.8h, v10.8b, v11.8b
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompat.java88 android.support.v4.app.NotificationCompat.Builder b) { in addStyleToBuilderApi24() argument
89 if (b.mStyle instanceof DecoratedCustomViewStyle) { in addStyleToBuilderApi24()
91 } else if (b.mStyle instanceof DecoratedMediaCustomViewStyle) { in addStyleToBuilderApi24()
93 } else if (!(b.mStyle instanceof MessagingStyle)) { in addStyleToBuilderApi24()
94 addStyleGetContentViewLollipop(builder, b); in addStyleToBuilderApi24()
101 android.support.v4.app.NotificationCompat.Builder b) { in addStyleGetContentViewLollipop() argument
102 if (b.mStyle instanceof MediaStyle) { in addStyleGetContentViewLollipop()
103 MediaStyle mediaStyle = (MediaStyle) b.mStyle; in addStyleGetContentViewLollipop()
108 boolean hasContentView = b.getContentView() != null; in addStyleGetContentViewLollipop()
115 || (isMorL && b.getBigContentView() != null); in addStyleGetContentViewLollipop()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java88 byte [] b = new byte[20]; in testExtractNetworkPortion()
89 b[0] = (byte) 0x81; 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()
94 b[0] = (byte) 0x80; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; in testExtractNetworkPortion()
95 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; in testExtractNetworkPortion()
97 PhoneNumberUtils.calledPartyBCDToString(b, 0, 7)); in testExtractNetworkPortion()
99 b[0] = (byte) 0x90; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; in testExtractNetworkPortion()
100 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; in testExtractNetworkPortion()
102 PhoneNumberUtils.calledPartyBCDToString(b, 0, 7)); in testExtractNetworkPortion()
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java57 public static float pow(float a, float b) { in pow() argument
58 return (float) Math.pow(a, b); in pow()
61 public static float max(float a, float b) { in max() argument
62 return a > b ? a : b; in max()
65 public static float max(int a, int b) { in max() argument
66 return a > b ? a : b; in max()
69 public static float max(float a, float b, float c) { in max() argument
70 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
73 public static float max(int a, int b, int c) { in max() argument
74 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
[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/tests/java_api/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/rs/java/android/renderscript/
DSampler.java104 Builder b = new Builder(rs); in CLAMP_NEAREST() local
105 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
106 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
107 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
108 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
109 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
128 Builder b = new Builder(rs); in CLAMP_LINEAR() local
129 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
130 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
131 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
DShort2.java66 public static Short2 add(Short2 a, Short2 b) { in add() argument
68 result.x = (short)(a.x + b.x); in add()
69 result.y = (short)(a.y + b.y); in add()
91 public static Short2 add(Short2 a, short b) { in add() argument
93 result.x = (short)(a.x + b); in add()
94 result.y = (short)(a.y + b); in add()
116 public static Short2 sub(Short2 a, Short2 b) { in sub() argument
118 result.x = (short)(a.x - b.x); in sub()
119 result.y = (short)(a.y - b.y); in sub()
141 public static Short2 sub(Short2 a, short b) { in sub() argument
[all …]
DInt2.java63 public static Int2 add(Int2 a, Int2 b) { in add() argument
65 result.x = a.x + b.x; in add()
66 result.y = a.y + b.y; in add()
88 public static Int2 add(Int2 a, int b) { in add() argument
90 result.x = a.x + b; in add()
91 result.y = a.y + b; in add()
113 public static Int2 sub(Int2 a, Int2 b) { in sub() argument
115 result.x = a.x - b.x; in sub()
116 result.y = a.y - b.y; in sub()
138 public static Int2 sub(Int2 a, int b) { in sub() argument
[all …]
/frameworks/rs/support/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/native/libs/sensor/tests/
DSensor_test.cpp29 static bool sensorsMatch(const Sensor& a, const Sensor& b) { in sensorsMatch() argument
30 return a.getName() == b.getName () && in sensorsMatch()
31 a.getVendor() == b.getVendor () && in sensorsMatch()
32 a.getHandle() == b.getHandle () && in sensorsMatch()
33 a.getType() == b.getType () && in sensorsMatch()
34 a.getMinValue() == b.getMinValue () && in sensorsMatch()
35 a.getMaxValue() == b.getMaxValue () && in sensorsMatch()
36 a.getResolution() == b.getResolution () && in sensorsMatch()
37 a.getPowerUsage() == b.getPowerUsage () && in sensorsMatch()
38 a.getMinDelay() == b.getMinDelay () && in sensorsMatch()
[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 …]
/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 …]

12345678910>>...57