Home
last modified time | relevance | path

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

12345678910>>...31

/frameworks/base/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/compile/libbcc/tests/data/src/
Dflops.c42 void comparisonTestdd(double a, double b) { in comparisonTestdd() argument
44 a, b, a < b, a <= b, a == b, a >= b, a > b, a != b); in comparisonTestdd()
55 void comparisonTestdf(double a, float b) { in comparisonTestdf() argument
57 a, b, a < b, a <= b, a == b, a >= b, a > b, a != b); in comparisonTestdf()
67 void comparisonTestff(float a, float b) { in comparisonTestff() argument
69 a, b, a < b, a <= b, a == b, a >= b, a > b, a != b); in comparisonTestff()
79 void comparisonTestid(int a, double b) { in comparisonTestid() argument
81 a, b, a < b, a <= b, a == b, a >= b, a > b, a != b); in comparisonTestid()
90 void comparisonTestdi(double a, int b) { in comparisonTestdi() argument
92 a, b, a < b, a <= b, a == b, a >= b, a > b, a != b); in comparisonTestdi()
[all …]
Dcomma.c17 int b = 0; in testComma() local
19 while(b++,a--) {} in testComma()
20 printf("while: b = %d\n", b); in testComma()
21 b = 0; in testComma()
22 for(b++,a = 0;b++, a < 10; b++, a++) {} in testComma()
23 printf("for: b = %d\n", b); in testComma()
24 b = testReturn(); in testComma()
25 printf("return: %d\n", b); in testComma()
26 b = testArg((a,12)); in testComma()
27 printf("arg: %d\n", b); in testComma()
Dstructs.c4 int b; member
14 struct b;
17 struct b {int a; int b; }; struct
23 struct c {struct b g; };
28 struct a {int a[10]; char c;} a, b; in testCopying() local
30 b.c = 38; in testCopying()
31 b = a; in testCopying()
32 printf("testCopying: %d == %d\n", a.c, b.c); in testCopying()
44 void add(struct v* result, struct v* a, struct v* b) { in add() argument
45 result->x = a->x + b->x; in add()
[all …]
Dotcc-noinclude.c8 #define b == macro
26 a h b 2){
34 J isalnum(h)|h b 95;
37 a h b 92){
39 a h b 110)h=10;
44 p isspace(h)|h b 35){
45 a h b 35){
48 a d b 536){
83 a k d b 1){
94 a d b 39){
[all …]
Dexpr-ansi.c3 void testInc() { int a, b; a = 3; b = a++; printf("3++ = %d %d\n", b, a); } in testInc() local
4 void testDec() { int a, b; a = 3; b = a--; printf("3-- = %d %d\n", b, a); } in testDec() local
21 void testAssignment(){ int a, b; a = 3; b = a; printf("b == %d\n", b); } in testAssignment() local
25 void testPointerIndirection(){ int a, b; a = &b; b = 17; printf("*%d = %d =?= %d\n", a, * (int*) a… in testPointerIndirection() local
31 int main(int a, char** b) { in main() argument
Dexpr.c3 testInc() { int a, b; a = 3; b = a++; printf("3++ = %d %d\n", b, a); } in testInc() local
4 testDec() { int a, b; a = 3; b = a--; printf("3-- = %d %d\n", b, a); } in testDec() local
21 testAssignment(){ int a, b; a = 3; b = a; printf("b == %d\n", b); } in testAssignment() local
25 testPointerIndirection(){ int a, b; a = &b; b = 17; printf("*%d = %d =?= %d\n", a, * (int*) a, b);… in testPointerIndirection() local
31 main(a,b) { in main() argument
/frameworks/compile/libbcc/runtime/
DRuntimeDoc.rst10 __ashldi3 : long (long a, int b) // a << b [[llvm]]
11 __ashrdi3 : long (long a, int b) // a / 2**b (i.e. arithmetic a >> b) [[llvm]]
12 __divdi3 : long (long a, long b) // a / b [[llvm]]
13 __lshrdi3 : long (long a, int b) // a >> b (without sign extension) [[llvm]]
14 __moddi3 : long (long a, long b) // a % b [[llvm]]
15 __muldi3 : long (long a, long b) // a * b [[llvm]]
16 __muldsi3 : long (int a, int b) // (long)a * (long)b [[llvm compiler-rt extension]] [[llvm]]
18 __udivsi3 : unsigned int (unsigned int a, unsigned int b) // unsigned int a / b [[llvm]]
19 __udivdi3 : unsigned long (unsigned long a, unsigned long a) // unsigned long a / b [[llvm]]
20 …4 : unsigned long (unsigned long a, unsigned long b, unsigned long *rem) // unsigned long a/b and…
[all …]
DREADME.txt33 di_int __ashldi3(di_int a, si_int b); // a << b
34 ti_int __ashlti3(ti_int a, si_int b); // a << b
36 di_int __ashrdi3(di_int a, si_int b); // a >> b arithmetic (sign fill)
37 ti_int __ashrti3(ti_int a, si_int b); // a >> b arithmetic (sign fill)
38 di_int __lshrdi3(di_int a, si_int b); // a >> b logical (zero fill)
39 ti_int __lshrti3(ti_int a, si_int b); // a >> b logical (zero fill)
66 di_int __muldi3 (di_int a, di_int b); // a * b
67 ti_int __multi3 (ti_int a, ti_int b); // a * b
68 si_int __divsi3 (si_int a, si_int b); // a / b signed
69 di_int __divdi3 (di_int a, di_int b); // a / b signed
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java54 public static float pow(float a, float b) { in pow() argument
55 return (float) Math.pow(a, b); in pow()
58 public static float max(float a, float b) { in max() argument
59 return a > b ? a : b; in max()
62 public static float max(int a, int b) { in max() argument
63 return a > b ? a : b; in max()
66 public static float max(float a, float b, float c) { in max() argument
67 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
70 public static float max(int a, int b, int c) { in max() argument
71 return a > b ? (a > c ? a : c) : (b > c ? b : c); in max()
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
Dfxp_mul32_c_msc_evc_armv5.h56 #define fxp_mul_16_by_16(a, b) fxp_mul_16_by_16bb( a, b) argument
66 #define fxp_mac_16_by_16_bb(a, b, c) fxp_mac_16_by_16( a, b, c) argument
83 #define fxp_mul32_by_16b( a, b) fxp_mul32_by_16( a, b) argument
96 #define fxp_mul32_Q31( a, b) _MulHigh( b, a) argument
99 __inline Int32 fxp_mac32_Q31(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q31() argument
101 return (L_add + _MulHigh(b, a)); in fxp_mac32_Q31()
105 __inline Int32 fxp_msu32_Q31(Int32 L_sub, const Int32 a, const Int32 b) in fxp_msu32_Q31() argument
107 return (L_sub - _MulHigh(b, a)); in fxp_msu32_Q31()
111 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() argument
113 return (Int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
[all …]
Dfxp_mul32_c_msc_evc.h72 #define fxp_mul_16_by_16(a, b) fxp_mul_16_by_16bb( a, b) argument
149 #define fxp_mul32_by_16b( a, b) fxp_mul32_by_16( a, b) argument
174 #define fxp_mul32_Q31( a, b) _MulHigh( b, a) argument
176 __inline Int32 fxp_mac32_Q31(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q31() argument
178 return (L_add + _MulHigh(b, a)); in fxp_mac32_Q31()
181 __inline Int32 fxp_msu32_Q31(Int32 L_sub, const Int32 a, const Int32 b) in fxp_msu32_Q31() argument
183 return (L_sub - _MulHigh(b, a)); in fxp_msu32_Q31()
187 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() argument
189 return (Int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
192 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add) in fxp_mac32_Q30() argument
[all …]
Dfxp_mul32_c_equivalent.h74 #define fxp_mul_16_by_16(a, b) fxp_mul_16_by_16bb( a, b) argument
172 #define fxp_mul32_by_16b( a, b) fxp_mul32_by_16( a, b) argument
201 __inline Int32 fxp_mul32_Q31(const Int32 a, const Int32 b) in fxp_mul32_Q31() argument
203 return (Int32)(((int64_t)(a) * b) >> 32); in fxp_mul32_Q31()
206 __inline Int32 fxp_mac32_Q31(Int32 L_add, const Int32 a, const Int32 b) in fxp_mac32_Q31() argument
208 return (L_add + (Int32)(((int64_t)(a) * b) >> 32)); in fxp_mac32_Q31()
211 __inline Int32 fxp_msu32_Q31(Int32 L_sub, const Int32 a, const Int32 b) in fxp_msu32_Q31() argument
213 return (L_sub - (Int32)(((int64_t)(a) * b) >> 32)); in fxp_msu32_Q31()
217 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() argument
219 return (Int32)(((int64_t)(a) * b) >> 30); in fxp_mul32_Q30()
[all …]
/frameworks/base/libs/utils/
DBufferedTextOutput.cpp52 void* b = realloc(buffer, ((len+bufferPos)*3)/2); in append() local
53 if (!b) return NO_MEMORY; in append()
54 buffer = (char*)b; in append()
65 void* b = realloc(buffer, 256); in restart() local
66 if (b) { in restart()
67 buffer = (char*)b; in restart()
160 BufferState* b = getBuffer(); in print() local
175 if (b->atFront) { in print()
176 if (b->indent > 0) { in print()
178 const char* prefix = stringForIndent(b->indent); in print()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DSampler.java64 Builder b = new Builder(rs); in CLAMP_NEAREST() local
65 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
66 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
67 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
68 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
69 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
84 Builder b = new Builder(rs); in CLAMP_LINEAR() local
85 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
86 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
87 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[all …]
/frameworks/compile/libbcc/helper/
Dsha1.c137 unsigned long a, b, c, d, e; in SHA1Transform() local
152 b = state[1]; in SHA1Transform()
157 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); in SHA1Transform()
158 R0(c,d,e,a,b, 3); R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); in SHA1Transform()
159 R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); R0(c,d,e,a,b, 8); in SHA1Transform()
160 R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform()
161 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); in SHA1Transform()
162 R0(a,b,c,d,e,15); R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); in SHA1Transform()
163 R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); R2(a,b,c,d,e,20); in SHA1Transform()
164 R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform()
[all …]
/frameworks/base/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 …]
/frameworks/base/services/surfaceflinger/
Dclz.h28 static inline T min(T a, T b) { in min() argument
29 return a<b ? a : b; in min()
32 static inline T min(T a, T b, T c) { in min() argument
33 return min(a, min(b, c)); in min()
36 static inline T min(T a, T b, T c, T d) { in min() argument
37 return min(a, b, min(c, d)); in min()
41 static inline T max(T a, T b) { in max() argument
42 return a>b ? a : b; in max()
45 static inline T max(T a, T b, T c) { in max() argument
46 return max(a, max(b, c)); in max()
[all …]
/frameworks/compile/libbcc/runtime/make/test/
Dtest-util.mk5 streq_t1 = $(call streq,b,)
7 streq_t2 = $(call streq,,b)
9 streq_t3 = $(call streq,b,b)
11 streq_t4 = $(call streq,bb,b)
13 streq_t5 = $(call streq,b,bb)
20 strneq_t8 = $(call strneq,b,)
22 strneq_t9 = $(call strneq,,b)
24 strneq_t10 = $(call strneq,b,b)
26 strneq_t11 = $(call strneq,bb,b)
28 strneq_t12 = $(call strneq,b,bb)
[all …]
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp154 register int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0; // temp register in GenerateHalfPelPred() local
191 b = ref[-1]; in GenerateHalfPelPred()
196 *dst_16++ = a + f - 5 * (b + e) + 20 * (c + d); in GenerateHalfPelPred()
198 *dst_16++ = b + a - 5 * (c + f) + 20 * (d + e); in GenerateHalfPelPred()
199 b = ref[5]; in GenerateHalfPelPred()
200 *dst_16++ = c + b - 5 * (d + a) + 20 * (e + f); in GenerateHalfPelPred()
202 *dst_16++ = d + c - 5 * (e + b) + 20 * (f + a); in GenerateHalfPelPred()
208 *dst_16 = e + d - 5 * (f + c) + 20 * (a + b); in GenerateHalfPelPred()
227 b = ref[-1]; in GenerateHalfPelPred()
232 tmp32 = a + f - 5 * (b + e) + 20 * (c + d); in GenerateHalfPelPred()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java206 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() local
208 if (a > b) { in deleteSurroundingText()
210 a = b; in deleteSurroundingText()
211 b = tmp; in deleteSurroundingText()
224 if (cb > b) b = cb; in deleteSurroundingText()
237 b = b - deleted; in deleteSurroundingText()
239 int end = b + rightLength; in deleteSurroundingText()
242 content.delete(b, end); in deleteSurroundingText()
279 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() local
281 if (a > b) { in getCursorCapsMode()
[all …]
/frameworks/compile/libbcc/tests/data/
Dotcc.c8 #define b == macro
26 a h b 2){
34 J isalnum(h)|h b 95;
37 a h b 92){
39 a h b 110)h=10;
44 p isspace(h)|h b 35){
45 a h b 35){
48 a d b 536){
83 a k d b 1){
94 a d b 39){
[all …]
/frameworks/media/libvideoeditor/vss/common/inc/
DM4VIFI_Defines.h33 #define Y16(r, g, b) CLIP( ( ( (80593 * r)+(77855 * g)+(30728 * b)) >> 15)) argument
34 #define U16(r, g, b) CLIP(128+ ( ( -(45483 * r)-(43936 * g)+(134771 * b)) >> 15 )) argument
35 #define V16(r, g, b) CLIP(128+ ( ( (134771 * r)-(55532 * g)-(21917 * b)) >> 15 )) argument
81 #define GET_RGB565(r, g, b, data) {b = ((data) & 31); g =\ argument
83 #define GET_BGR565(b, g, r, data) \ argument
86 b = ((data >> 11) & 31 );
92 #define GET_RGB565(r, g, b, data) { b = (M4VIFI_UInt8)(((data) & 0x1F00) >> 8); g =\ argument
95 #define GET_BGR565(b, g, r, data) \ argument
96 b = ((data) & 31); \
103 #define Y24(r,g,b) CLIP(( ( (19595 * r) + (38470 * g) + (9437 * b) ) >>16)) argument
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM.h68 #define armMin(a,b) ( (a) > (b) ? (b):(a) ) argument
69 #define armMax(a,b) ( (a) > (b) ? (a):(b) ) argument
556 #define DEBUG_PRINTF_1(a, b) fprintf(DEBUG_STREAM, a, b) argument
557 #define DEBUG_PRINTF_2(a, b, c) fprintf(DEBUG_STREAM, a, b,… argument
558 #define DEBUG_PRINTF_3(a, b, c, d) fprintf(DEBUG_STREAM, a, b,… argument
559 #define DEBUG_PRINTF_4(a, b, c, d, e) fprintf(DEBUG_STREAM, a, b,… argument
560 #define DEBUG_PRINTF_5(a, b, c, d, e, f) fprintf(DEBUG_STREAM, a, b,… argument
561 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument
562 #define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument
563 #define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument
[all …]

12345678910>>...31