Home
last modified time | relevance | path

Searched defs:a (Results 1 – 25 of 999) sorted by relevance

12345678910>>...40

/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()
63 __inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30()
69 #define Qfmt_31(a) (int32)(a*0x7FFFFFFF + (a>=0?0.5F:-0.5F)) argument
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()
83 __inline int32 fxp_mul32_Q27(const int32 a, const int32 b) in fxp_mul32_Q27()
90 __inline int32 fxp_mul32_Q26(const int32 a, const int32 b) in fxp_mul32_Q26()
96 __inline int32 fxp_mac32_Q32(int32 L_add, const int32 a, const int32 b) in fxp_mac32_Q32()
102 __inline int32 fxp_msb32_Q32(int32 L_sub, const int32 a, const int32 b) in fxp_msb32_Q32()
109 __inline int32 fxp_mul32_Q29(const int32 a, const int32 b) in fxp_mul32_Q29()
[all …]
Dpv_mp3dec_fxd_op_c_equivalent.h47 #define Qfmt_31(a) (Int32)((float)(a)*0x7FFFFFFF) argument
54 __inline int32 pv_abs(int32 a) in pv_abs()
64 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30()
70 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30()
76 __inline Int32 fxp_mul32_Q32(const Int32 a, const Int32 b) in fxp_mul32_Q32()
83 __inline Int32 fxp_mul32_Q28(const Int32 a, const Int32 b) in fxp_mul32_Q28()
89 __inline Int32 fxp_mul32_Q27(const Int32 a, const Int32 b) in fxp_mul32_Q27()
95 __inline Int32 fxp_mul32_Q26(const Int32 a, const Int32 b) in fxp_mul32_Q26()
102 __inline Int32 fxp_mac32_Q32(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q32()
108 __inline Int32 fxp_msb32_Q32(Int32 L_sub, const Int32 a, const Int32 b) in fxp_msb32_Q32()
[all …]
/frameworks/base/rs/java/android/renderscript/
DShort2.java54 public void add(Short2 a) { in add()
66 public static Short2 add(Short2 a, Short2 b) { in add()
91 public static Short2 add(Short2 a, short b) { in add()
104 public void sub(Short2 a) { in sub()
116 public static Short2 sub(Short2 a, Short2 b) { in sub()
141 public static Short2 sub(Short2 a, short b) { in sub()
154 public void mul(Short2 a) { in mul()
166 public static Short2 mul(Short2 a, Short2 b) { in mul()
191 public static Short2 mul(Short2 a, short b) { in mul()
204 public void div(Short2 a) { in div()
[all …]
DShort3.java54 public void add(Short3 a) { in add()
67 public static Short3 add(Short3 a, Short3 b) { in add()
94 public static Short3 add(Short3 a, short b) { in add()
108 public void sub(Short3 a) { in sub()
121 public static Short3 sub(Short3 a, Short3 b) { in sub()
148 public static Short3 sub(Short3 a, short b) { in sub()
162 public void mul(Short3 a) { in mul()
175 public static Short3 mul(Short3 a, Short3 b) { in mul()
202 public static Short3 mul(Short3 a, short b) { in mul()
216 public void div(Short3 a) { in div()
[all …]
DLong3.java54 public void add(Long3 a) { in add()
67 public static Long3 add(Long3 a, Long3 b) { in add()
94 public static Long3 add(Long3 a, long b) { in add()
108 public void sub(Long3 a) { in sub()
121 public static Long3 sub(Long3 a, Long3 b) { in sub()
148 public static Long3 sub(Long3 a, long b) { in sub()
162 public void mul(Long3 a) { in mul()
175 public static Long3 mul(Long3 a, Long3 b) { in mul()
202 public static Long3 mul(Long3 a, long b) { in mul()
216 public void div(Long3 a) { in div()
[all …]
DLong2.java51 public void add(Long2 a) { in add()
63 public static Long2 add(Long2 a, Long2 b) { in add()
88 public static Long2 add(Long2 a, long b) { in add()
101 public void sub(Long2 a) { in sub()
113 public static Long2 sub(Long2 a, Long2 b) { in sub()
138 public static Long2 sub(Long2 a, long b) { in sub()
151 public void mul(Long2 a) { in mul()
163 public static Long2 mul(Long2 a, Long2 b) { in mul()
188 public static Long2 mul(Long2 a, long b) { in mul()
201 public void div(Long2 a) { in div()
[all …]
DInt2.java51 public void add(Int2 a) { in add()
63 public static Int2 add(Int2 a, Int2 b) { in add()
88 public static Int2 add(Int2 a, int b) { in add()
101 public void sub(Int2 a) { in sub()
113 public static Int2 sub(Int2 a, Int2 b) { in sub()
138 public static Int2 sub(Int2 a, int b) { in sub()
151 public void mul(Int2 a) { in mul()
163 public static Int2 mul(Int2 a, Int2 b) { in mul()
188 public static Int2 mul(Int2 a, int b) { in mul()
201 public void div(Int2 a) { in div()
[all …]
DInt3.java54 public void add(Int3 a) { in add()
67 public static Int3 add(Int3 a, Int3 b) { in add()
94 public static Int3 add(Int3 a, int b) { in add()
108 public void sub(Int3 a) { in sub()
121 public static Int3 sub(Int3 a, Int3 b) { in sub()
148 public static Int3 sub(Int3 a, int b) { in sub()
162 public void mul(Int3 a) { in mul()
175 public static Int3 mul(Int3 a, Int3 b) { in mul()
202 public static Int3 mul(Int3 a, int b) { in mul()
216 public void div(Int3 a) { in div()
[all …]
DByte2.java47 public void add(Byte2 a) { in add()
59 public static Byte2 add(Byte2 a, Byte2 b) { in add()
84 public static Byte2 add(Byte2 a, byte b) { in add()
97 public void sub(Byte2 a) { in sub()
109 public static Byte2 sub(Byte2 a, Byte2 b) { in sub()
134 public static Byte2 sub(Byte2 a, byte b) { in sub()
147 public void mul(Byte2 a) { in mul()
159 public static Byte2 mul(Byte2 a, Byte2 b) { in mul()
184 public static Byte2 mul(Byte2 a, byte b) { in mul()
197 public void div(Byte2 a) { in div()
[all …]
DInt4.java57 public void add(Int4 a) { in add()
71 public static Int4 add(Int4 a, Int4 b) { in add()
100 public static Int4 add(Int4 a, int b) { in add()
115 public void sub(Int4 a) { in sub()
129 public static Int4 sub(Int4 a, Int4 b) { in sub()
158 public static Int4 sub(Int4 a, int b) { in sub()
173 public void mul(Int4 a) { in mul()
187 public static Int4 mul(Int4 a, Int4 b) { in mul()
216 public static Int4 mul(Int4 a, int b) { in mul()
231 public void div(Int4 a) { in div()
[all …]
DShort4.java57 public void add(Short4 a) { in add()
71 public static Short4 add(Short4 a, Short4 b) { in add()
100 public static Short4 add(Short4 a, short b) { in add()
115 public void sub(Short4 a) { in sub()
129 public static Short4 sub(Short4 a, Short4 b) { in sub()
158 public static Short4 sub(Short4 a, short b) { in sub()
173 public void mul(Short4 a) { in mul()
187 public static Short4 mul(Short4 a, Short4 b) { in mul()
216 public static Short4 mul(Short4 a, short b) { in mul()
231 public void div(Short4 a) { in div()
[all …]
DLong4.java57 public void add(Long4 a) { in add()
71 public static Long4 add(Long4 a, Long4 b) { in add()
100 public static Long4 add(Long4 a, long b) { in add()
115 public void sub(Long4 a) { in sub()
129 public static Long4 sub(Long4 a, Long4 b) { in sub()
158 public static Long4 sub(Long4 a, long b) { in sub()
173 public void mul(Long4 a) { in mul()
187 public static Long4 mul(Long4 a, Long4 b) { in mul()
216 public static Long4 mul(Long4 a, long b) { in mul()
231 public void div(Long4 a) { in div()
[all …]
DByte3.java50 public void add(Byte3 a) { in add()
63 public static Byte3 add(Byte3 a, Byte3 b) { in add()
90 public static Byte3 add(Byte3 a, byte b) { in add()
104 public void sub(Byte3 a) { in sub()
117 public static Byte3 sub(Byte3 a, Byte3 b) { in sub()
144 public static Byte3 sub(Byte3 a, byte b) { in sub()
158 public void mul(Byte3 a) { in mul()
171 public static Byte3 mul(Byte3 a, Byte3 b) { in mul()
198 public static Byte3 mul(Byte3 a, byte b) { in mul()
212 public void div(Byte3 a) { in div()
[all …]
DByte4.java52 public void add(Byte4 a) { in add()
66 public static Byte4 add(Byte4 a, Byte4 b) { in add()
95 public static Byte4 add(Byte4 a, byte b) { in add()
110 public void sub(Byte4 a) { in sub()
124 public static Byte4 sub(Byte4 a, Byte4 b) { in sub()
153 public static Byte4 sub(Byte4 a, byte b) { in sub()
168 public void mul(Byte4 a) { in mul()
182 public static Byte4 mul(Byte4 a, Byte4 b) { in mul()
211 public static Byte4 mul(Byte4 a, byte b) { in mul()
226 public void div(Byte4 a) { in div()
[all …]
DFloat2.java47 public static Float2 add(Float2 a, Float2 b) { in add()
82 public static Float2 add(Float2 a, float b) { in add()
107 public static Float2 sub(Float2 a, Float2 b) { in sub()
132 public static Float2 sub(Float2 a, float b) { in sub()
157 public static Float2 mul(Float2 a, Float2 b) { in mul()
182 public static Float2 mul(Float2 a, float b) { in mul()
207 public static Float2 div(Float2 a, Float2 b) { in div()
232 public static Float2 div(Float2 a, float b) { in div()
246 public float dotProduct(Float2 a) { in dotProduct()
257 public static float dotProduct(Float2 a, Float2 b) { in dotProduct()
[all …]
DDouble2.java48 public static Double2 add(Double2 a, Double2 b) { in add()
83 public static Double2 add(Double2 a, double b) { in add()
108 public static Double2 sub(Double2 a, Double2 b) { in sub()
133 public static Double2 sub(Double2 a, double b) { in sub()
158 public static Double2 mul(Double2 a, Double2 b) { in mul()
183 public static Double2 mul(Double2 a, double b) { in mul()
208 public static Double2 div(Double2 a, Double2 b) { in div()
233 public static Double2 div(Double2 a, double b) { in div()
247 public double dotProduct(Double2 a) { in dotProduct()
258 public static Double dotProduct(Double2 a, Double2 b) { in dotProduct()
[all …]
DFloat4.java53 public static Float4 add(Float4 a, Float4 b) { in add()
94 public static Float4 add(Float4 a, float b) { in add()
135 public static Float4 sub(Float4 a, float b) { in sub()
152 public static Float4 sub(Float4 a, Float4 b) { in sub()
193 public static Float4 mul(Float4 a, Float4 b) { in mul()
210 public static Float4 mul(Float4 a, float b) { in mul()
251 public static Float4 div(Float4 a, float b) { in div()
268 public static Float4 div(Float4 a, Float4 b) { in div()
284 public float dotProduct(Float4 a) { in dotProduct()
295 public static float dotProduct(Float4 a, Float4 b) { in dotProduct()
[all …]
DDouble4.java53 public static Double4 add(Double4 a, Double4 b) { in add()
94 public static Double4 add(Double4 a, double b) { in add()
135 public static Double4 sub(Double4 a, double b) { in sub()
152 public static Double4 sub(Double4 a, Double4 b) { in sub()
193 public static Double4 mul(Double4 a, Double4 b) { in mul()
210 public static Double4 mul(Double4 a, double b) { in mul()
251 public static Double4 div(Double4 a, double b) { in div()
268 public static Double4 div(Double4 a, Double4 b) { in div()
284 public double dotProduct(Double4 a) { in dotProduct()
295 public static double dotProduct(Double4 a, Double4 b) { in dotProduct()
[all …]
DDouble3.java50 public static Double3 add(Double3 a, Double3 b) { in add()
88 public static Double3 add(Double3 a, double b) { in add()
115 public static Double3 sub(Double3 a, Double3 b) { in sub()
142 public static Double3 sub(Double3 a, double b) { in sub()
169 public static Double3 mul(Double3 a, Double3 b) { in mul()
196 public static Double3 mul(Double3 a, double b) { in mul()
223 public static Double3 div(Double3 a, Double3 b) { in div()
250 public static Double3 div(Double3 a, double b) { in div()
265 public double dotProduct(Double3 a) { in dotProduct()
276 public static double dotProduct(Double3 a, Double3 b) { in dotProduct()
[all …]
DFloat3.java50 public static Float3 add(Float3 a, Float3 b) { in add()
88 public static Float3 add(Float3 a, float b) { in add()
115 public static Float3 sub(Float3 a, Float3 b) { in sub()
142 public static Float3 sub(Float3 a, float b) { in sub()
169 public static Float3 mul(Float3 a, Float3 b) { in mul()
196 public static Float3 mul(Float3 a, float b) { in mul()
223 public static Float3 div(Float3 a, Float3 b) { in div()
250 public static Float3 div(Float3 a, float b) { in div()
265 public Float dotProduct(Float3 a) { in dotProduct()
276 public static Float dotProduct(Float3 a, Float3 b) { in dotProduct()
[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()
29 public static void mult(double[] a, double b, double[] out) { in mult()
35 public static double dot(double[] a, double[] b) { in dot()
39 public static double norm(double[] a) { in norm()
43 public static void cross(double[] a, double[] b, double[] out) { in cross()
52 public static void normalize(double[] a) { in normalize()
59 public static void add(double[] a, double[] b, in add()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java200 public static void assertPackagesEqual(PackageParser.Package a, PackageParser.Package b) { in assertPackagesEqual()
226 assertSame(a.permissions.get(i).owner, a); in assertPackagesEqual() local
291 private static void assertBundleApproximateEquals(Bundle a, Bundle b) { in assertBundleApproximateEquals()
303 private static void assertComponentsEqual(PackageParser.Component<?> a, in assertComponentsEqual()
329 private static void assertPermissionsEqual(PackageParser.Permission a, in assertPermissionsEqual()
348 private static void assertInstrumentationEqual(PackageParser.Instrumentation a, in assertInstrumentationEqual()
359 private static void assertServicesEqual(PackageParser.Service a, PackageParser.Service b) { in assertServicesEqual()
367 private static void assertProvidersEqual(PackageParser.Provider a, PackageParser.Provider b) { in assertProvidersEqual()
375 private static void assertActivitiesEqual(PackageParser.Activity a, PackageParser.Activity b) { in assertActivitiesEqual()
383 private static void assertPermissionGroupsEqual(PackageParser.PermissionGroup a, in assertPermissionGroupsEqual()
[all …]
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp283 status_t logicalNot(bool a, bool* notA) const override { in logicalNot()
287 status_t modifyEnum(TestEnum a, TestEnum* b) const override { in modifyEnum()
291 status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const override { in increment() argument
297 status_t increment(const TestLightFlattenable& a, in increment()
304 status_t increment(const sp<TestLightRefBaseFlattenable>& a, in increment()
310 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment() argument
316 status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const override { in increment() argument
322 status_t increment(const std::vector<TestParcelable>& a, in increment()
338 status_t increment(int32_t a, int32_t* aPlusOne) const override { in increment()
343 status_t increment(uint32_t a, uint32_t* aPlusOne) const override { in increment()
[all …]
/frameworks/ml/nn/common/operations/
DReduce.cpp140 return compute<_Float16>(context, 1, [](_Float16 a, _Float16 b) { return a * b; }); in executeProd()
142 return compute<float>(context, 1, [](float a, float b) { return a * b; }); in executeProd()
151 return compute<_Float16>(context, 0, [](_Float16 a, _Float16 b) { return a + b; }); in executeSum()
153 return compute<float>(context, 0, [](float a, float b) { return a + b; }); in executeSum()
163 [](_Float16 a, _Float16 b) { return std::max(a, b); }); in executeMax()
166 [](float a, float b) { return std::max(a, b); }); in executeMax()
169 [](uint8_t a, uint8_t b) { return std::max(a, b); }); in executeMax()
179 [](_Float16 a, _Float16 b) { return std::min(a, b); }); in executeMin()
182 [](float a, float b) { return std::min(a, b); }); in executeMin()
185 [](uint8_t a, uint8_t b) { return std::min(a, b); }); in executeMin()
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java53 public static float log(float a) { in log()
57 public static float exp(float a) { in exp()
61 public static float pow(float a, float b) { in pow()
65 public static float sqrt(float a) { in sqrt()
69 public static float max(float a, float b) { in max()
74 public static float max(int a, int b) { in max()
78 public static float max(float a, float b, float c) { in max()
82 public static float max(int a, int b, int c) { in max()
86 public static float min(float a, float b) { in min()
90 public static float min(int a, int b) { in min()
[all …]

12345678910>>...40