Home
last modified time | relevance | path

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

12345678910>>...38

/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/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/support/v8/renderscript/java/src/android/support/v8/renderscript/
DSampler.java107 Builder b = new Builder(rs); in CLAMP_NEAREST() local
108 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
109 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
110 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
111 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
112 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
127 Builder b = new Builder(rs); in CLAMP_LINEAR() local
128 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
129 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
130 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DSampler.java107 Builder b = new Builder(rs); in CLAMP_NEAREST() local
108 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
109 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
110 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
111 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
112 rs.mSampler_CLAMP_NEAREST = b.create(); in CLAMP_NEAREST()
127 Builder b = new Builder(rs); in CLAMP_LINEAR() local
128 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
129 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
130 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
[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/v4/java/android/support/v4/app/
DNotificationCompat.java82 public Notification build(Builder b); in build() argument
86 public Notification build(Builder b) { in build() argument
87 Notification result = (Notification) b.mNotification; in build()
88 result.setLatestEventInfo(b.mContext, b.mContentTitle, in build()
89 b.mContentText, b.mContentIntent); in build()
91 if (b.mPriority > PRIORITY_DEFAULT) { in build()
99 public Notification build(Builder b) { in build() argument
100 return NotificationCompatHoneycomb.add(b.mContext, b.mNotification, in build()
101 b.mContentTitle, b.mContentText, b.mContentInfo, b.mTickerView, in build()
102 b.mNumber, b.mContentIntent, b.mFullScreenIntent, b.mLargeIcon); in build()
[all …]
/frameworks/native/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/compile/libbcc/lib/Support/
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/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 …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_program_store.java46 ProgramStore.Builder b = new ProgramStore.Builder(RS); in getDefaultBuilder() local
47 b.setBlendFunc(ProgramStore.BlendSrcFunc.ZERO, ProgramStore.BlendDstFunc.ZERO); in getDefaultBuilder()
48 b.setColorMaskEnabled(false, false, false, false); in getDefaultBuilder()
49 b.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in getDefaultBuilder()
50 b.setDepthMaskEnabled(false); in getDefaultBuilder()
51 b.setDitherEnabled(false); in getDefaultBuilder()
52 return b; in getDefaultBuilder()
56 ProgramStore.Builder b = getDefaultBuilder(RS); in initializeGlobals() local
57 ditherEnable = b.setDitherEnabled(true).create(); in initializeGlobals()
59 b = getDefaultBuilder(RS); in initializeGlobals()
[all …]
/frameworks/native/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/testing/androidtestlib/tests/src/com/android/test/runner/
DTestRequestBuilderTest.java87 TestRequestBuilder b = new TestRequestBuilder(new PrintStream(new ByteArrayOutputStream())); in testNoSize() local
88 b.addTestClass(SampleTest.class.getName()); in testNoSize()
89 TestRequest request = b.build(mInstr, mBundle); in testNoSize()
100 TestRequestBuilder b = new TestRequestBuilder(new PrintStream(new ByteArrayOutputStream())); in testSize() local
101 b.addTestClass(SampleTest.class.getName()); in testSize()
102 b.addTestSizeFilter("small"); in testSize()
103 TestRequest request = b.build(mInstr, mBundle); in testSize()
114 TestRequestBuilder b = new TestRequestBuilder(new PrintStream(new ByteArrayOutputStream())); in testSize_class() local
115 b.addTestClass(SampleTest.class.getName()); in testSize_class()
116 b.addTestClass(SampleClassSize.class.getName()); in testSize_class()
[all …]
/frameworks/av/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.java217 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() local
219 if (a > b) { in deleteSurroundingText()
221 a = b; in deleteSurroundingText()
222 b = tmp; in deleteSurroundingText()
235 if (cb > b) b = cb; in deleteSurroundingText()
248 b = b - deleted; in deleteSurroundingText()
250 int end = b + afterLength; in deleteSurroundingText()
253 content.delete(b, end); in deleteSurroundingText()
290 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() local
292 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/av/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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/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 …]
/frameworks/av/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 …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/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>>...38