Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 228) sorted by relevance

12345678910

/development/ndk/platforms/android-3/include/
Dctype.h102 __CTYPE_INLINE int isalnum(int c) in isalnum() argument
104 return (c == -1 ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L|_N))); in isalnum()
107 __CTYPE_INLINE int isalpha(int c) in isalpha() argument
109 return (c == -1 ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L))); in isalpha()
112 __CTYPE_INLINE int iscntrl(int c) in iscntrl() argument
114 return (c == -1 ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _C)); in iscntrl()
117 __CTYPE_INLINE int isdigit(int c) in isdigit() argument
119 return (c == -1 ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _N)); in isdigit()
122 __CTYPE_INLINE int isgraph(int c) in isgraph() argument
124 return (c == -1 ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_P|_U|_L|_N))); in isgraph()
[all …]
Dstdint.h75 # define INT8_C(c) c argument
76 # define INT_LEAST8_C(c) INT8_C(c) argument
77 # define INT_FAST8_C(c) INT8_C(c) argument
79 # define UINT8_C(c) c argument
80 # define UINT_LEAST8_C(c) UINT8_C(c) argument
81 # define UINT_FAST8_C(c) UINT8_C(c) argument
108 # define INT16_C(c) c argument
109 # define INT_LEAST16_C(c) INT16_C(c) argument
110 # define INT_FAST16_C(c) INT32_C(c) argument
112 # define UINT16_C(c) c argument
[all …]
/development/ndk/platforms/android-21/include/
Dstdint.h108 #define INT8_C(c) c argument
109 #define INT_LEAST8_C(c) INT8_C(c) argument
110 #define INT_FAST8_C(c) INT8_C(c) argument
112 #define UINT8_C(c) c argument
113 #define UINT_LEAST8_C(c) UINT8_C(c) argument
114 #define UINT_FAST8_C(c) UINT8_C(c) argument
116 #define INT16_C(c) c argument
117 #define INT_LEAST16_C(c) INT16_C(c) argument
118 #define INT_FAST16_C(c) INT32_C(c) argument
120 #define UINT16_C(c) c argument
[all …]
/development/ndk/platforms/android-3/include/linux/
Dctype.h26 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument
27 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
28 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
29 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument
30 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument
31 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
32 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument
33 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
34 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument
35 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument
[all …]
/development/ndk/platforms/android-3/include/linux/mmc/
Dcard.h72 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) argument
73 #define mmc_card_dead(c) ((c)->state & MMC_STATE_DEAD) argument
74 #define mmc_card_bad(c) ((c)->state & MMC_STATE_BAD) argument
75 #define mmc_card_sd(c) ((c)->state & MMC_STATE_SDCARD) argument
76 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) argument
78 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT) argument
79 #define mmc_card_set_dead(c) ((c)->state |= MMC_STATE_DEAD) argument
80 #define mmc_card_set_bad(c) ((c)->state |= MMC_STATE_BAD) argument
81 #define mmc_card_set_sd(c) ((c)->state |= MMC_STATE_SDCARD) argument
82 #define mmc_card_set_readonly(c) ((c)->state |= MMC_STATE_READONLY) argument
[all …]
/development/perftests/panorama/feature_mos/src/mosaic/
DtrsMatrix.cpp24 void mult33d(double a[3][3], double b[3][3], double c[3][3]) in mult33d()
26 a[0][0] = b[0][0]*c[0][0] + b[0][1]*c[1][0] + b[0][2]*c[2][0]; in mult33d()
27 a[0][1] = b[0][0]*c[0][1] + b[0][1]*c[1][1] + b[0][2]*c[2][1]; in mult33d()
28 a[0][2] = b[0][0]*c[0][2] + b[0][1]*c[1][2] + b[0][2]*c[2][2]; in mult33d()
29 a[1][0] = b[1][0]*c[0][0] + b[1][1]*c[1][0] + b[1][2]*c[2][0]; in mult33d()
30 a[1][1] = b[1][0]*c[0][1] + b[1][1]*c[1][1] + b[1][2]*c[2][1]; in mult33d()
31 a[1][2] = b[1][0]*c[0][2] + b[1][1]*c[1][2] + b[1][2]*c[2][2]; in mult33d()
32 a[2][0] = b[2][0]*c[0][0] + b[2][1]*c[1][0] + b[2][2]*c[2][0]; in mult33d()
33 a[2][1] = b[2][0]*c[0][1] + b[2][1]*c[1][1] + b[2][2]*c[2][1]; in mult33d()
34 a[2][2] = b[2][0]*c[0][2] + b[2][1]*c[1][2] + b[2][2]*c[2][2]; in mult33d()
/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_utilities_geometry.h31 inline void db_PointCentroid2D(double c[2],const double *X,int nr_points) in db_PointCentroid2D()
45 c[0]=cx*m; in db_PointCentroid2D()
46 c[1]=cy*m; in db_PointCentroid2D()
48 else c[0]=c[1]=0; in db_PointCentroid2D()
51 inline void db_PointCentroid2D(double c[2],const double * const *X,int nr_points) in db_PointCentroid2D()
67 c[0]=cx*m; in db_PointCentroid2D()
68 c[1]=cy*m; in db_PointCentroid2D()
70 else c[0]=c[1]=0; in db_PointCentroid2D()
75 inline void db_PointCentroid3D(double c[3],const double *X,int nr_points) in db_PointCentroid3D()
90 c[0]=cx*m; in db_PointCentroid3D()
[all …]
Ddb_image_homography.cpp34 inline void db_SProjImagePointPointConstraint(double c[9],int i_num,int i_den,int i_zero, in db_SProjImagePointPointConstraint()
37 db_MultiplyScalarCopy3(c+3*i_den,x, xp[i_num]); in db_SProjImagePointPointConstraint()
38 db_MultiplyScalarCopy3(c+3*i_num,x, -xp[i_den]); in db_SProjImagePointPointConstraint()
39 db_Zero3(c+3*i_zero); in db_SProjImagePointPointConstraint()
83 double c[72]; in db_StitchProjective2D_4Points() local
86 db_SProjImagePointPointConstraints(c ,c+9 ,xp1,x1); in db_StitchProjective2D_4Points()
87 db_SProjImagePointPointConstraints(c+18,c+27,xp2,x2); in db_StitchProjective2D_4Points()
88 db_SProjImagePointPointConstraints(c+36,c+45,xp3,x3); in db_StitchProjective2D_4Points()
89 db_SProjImagePointPointConstraints(c+54,c+63,xp4,x4); in db_StitchProjective2D_4Points()
91 db_NullVector8x9Destructive(H,c); in db_StitchProjective2D_4Points()
[all …]
Ddb_framestitching.cpp85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local
91 db_PointCentroid3D(c,X,nr_points); in db_StitchSimilarity3DRaw()
96 db_Zero3(c); in db_StitchSimilarity3DRaw()
106 r[0]=(*temp++)-c[0]; in db_StitchSimilarity3DRaw()
107 r[1]=(*temp++)-c[1]; in db_StitchSimilarity3DRaw()
108 r[2]=(*temp++)-c[2]; in db_StitchSimilarity3DRaw()
162 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]+R[2]*c[2]); in db_StitchSimilarity3DRaw()
163 t[1]=cp[1]-sc*(R[3]*c[0]+R[4]*c[1]+R[5]*c[2]); in db_StitchSimilarity3DRaw()
164 t[2]=cp[2]-sc*(R[6]*c[0]+R[7]*c[1]+R[8]*c[2]); in db_StitchSimilarity3DRaw()
Ddb_feature_detection.cpp37 long c,size; in db_AllocStrengthImage_f() local
49 for(c=0;c<size;c++) p[c]=0.0; in db_AllocStrengthImage_f()
73 int c; in db_IxIyRow_f() local
75 for(c=0;c<chunk_width;c++) in db_IxIyRow_f()
77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f()
78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f()
201 int c; in db_IxIyRow_u()
204 for(c=0;c<nc;c++) in db_IxIyRow_u()
206 Ix=(img[i][j+c-1]-img[i][j+c+1])>>1; in db_IxIyRow_u()
207 Iy=(img[i-1][j+c]-img[i+1][j+c])>>1; in db_IxIyRow_u()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGridLayout3.java65 TextView c = new TextView(context); in create() local
66 c.setTextSize(32); in create()
67 c.setText("Email setup"); in create()
68 p.addView(c, new LayoutParams(titleRow, centerInAllColumns)); in create()
71 TextView c = new TextView(context); in create() local
72 c.setTextSize(16); in create()
73 c.setText("You can configure email in a few simple steps:"); in create()
74 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns)); in create()
77 TextView c = new TextView(context); in create() local
78 c.setText("Email address:"); in create()
[all …]
DDateWidgets1.java70 final Calendar c = Calendar.getInstance(); in onCreate() local
71 mYear = c.get(Calendar.YEAR); in onCreate()
72 mMonth = c.get(Calendar.MONTH); in onCreate()
73 mDay = c.get(Calendar.DAY_OF_MONTH); in onCreate()
74 mHour = c.get(Calendar.HOUR_OF_DAY); in onCreate()
75 mMinute = c.get(Calendar.MINUTE); in onCreate()
150 private static String pad(int c) { in pad() argument
151 if (c >= 10) in pad()
152 return String.valueOf(c); in pad()
154 return "0" + String.valueOf(c); in pad()
/development/samples/Support7Demos/src/com/example/android/supportv7/view/
DGridLayout3.java76 TextView c = new TextView(context); in create() local
77 c.setTextSize(32); in create()
78 c.setText("Email setup"); in create()
79 p.addView(c, new LayoutParams(titleRow, centerInAllColumns)); in create()
82 TextView c = new TextView(context); in create() local
83 c.setTextSize(16); in create()
84 c.setText("You can configure email in a few simple steps:"); in create()
85 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns)); in create()
88 TextView c = new TextView(context); in create() local
89 c.setText("Email address:"); in create()
[all …]
/development/apps/Development/src/com/android/development/
DConfigurationViewer.java33 Configuration c = getResources().getConfiguration(); in onCreate() local
41 + "fontScale=" + c.fontScale + "\n" in onCreate()
42 + "hardKeyboardHidden=" + c.hardKeyboardHidden + "\n" in onCreate()
43 + "keyboard=" + c.keyboard + "\n" in onCreate()
44 + "locale=" + c.locale + "\n" in onCreate()
45 + "mcc=" + c.mcc + "\n" in onCreate()
46 + "mnc=" + c.mnc + "\n" in onCreate()
47 + "navigation=" + c.navigation + "\n" in onCreate()
48 + "navigationHidden=" + c.navigationHidden + "\n" in onCreate()
49 + "orientation=" + c.orientation + "\n" in onCreate()
[all …]
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java155 Canvas c = null; in drawFrame() local
157 c = holder.lockCanvas(); in drawFrame()
158 if (c != null) { in drawFrame()
160 drawCube(c); in drawFrame()
161 drawTouchPoint(c); in drawFrame()
164 if (c != null) holder.unlockCanvasAndPost(c); in drawFrame()
178 void drawCube(Canvas c) { in drawCube() argument
179 c.save(); in drawCube()
180 c.translate(mCenterX, mCenterY); in drawCube()
181 c.drawColor(0xff000000); in drawCube()
[all …]
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/
DSmsTest.java51 Cursor c = getSmsCursor(); in testReceivedSms() local
52 c.moveToFirst(); in testReceivedSms()
54 String number = c.getString(c.getColumnIndexOrThrow("address")); in testReceivedSms()
55 String body = c.getString(c.getColumnIndexOrThrow("body")); in testReceivedSms()
57 c.close(); in testReceivedSms()
66 Cursor c; in getSmsCursor() local
69 c = r.query(message,null,null,null,null); in getSmsCursor()
71 if(c.getCount() != 0) { in getSmsCursor()
72 return c; in getSmsCursor()
75 c.close(); in getSmsCursor()
/development/ndk/sources/android/ndk_helper/
Dinterpolator.cpp96 float c = dest_value_ - start_value_; in Update() local
97 p = GetFormula( type_, t, b, d, c ); in Update()
108 const float c ) in GetFormula() argument
115 return (c * t / d + b); in GetFormula()
120 return (c * t1 * t1 + b); in GetFormula()
125 return (-c * t1 * (t1 - 2) + b); in GetFormula()
131 return (c / 2 * t1 * t1 + b); in GetFormula()
135 return (-c / 2 * (t1 * (t1 - 2) - 1) + b); in GetFormula()
140 return (c * t1 * t1 * t1 + b); in GetFormula()
145 return (c * (t1 * t1 * t1 + 1) + b); in GetFormula()
[all …]
/development/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java56 Cursor c; in testDeleteDirectory() local
72 c = mProvider.queryChildDocuments(DEFAULT_DOCUMENT_ID, null, null); in testDeleteDirectory()
73 assertContains(c, "file", "dir"); in testDeleteDirectory()
74 c = mProvider.queryChildDocuments(dir, null, null); in testDeleteDirectory()
75 assertContains(c, "dirfile", "dirdir"); in testDeleteDirectory()
80 c = mProvider.queryChildDocuments(DEFAULT_DOCUMENT_ID, null, null); in testDeleteDirectory()
81 assertContains(c, "file"); in testDeleteDirectory()
91 private static void assertContains(Cursor c, String... docs) { in assertContains() argument
93 while (c.moveToNext()) { in assertContains()
94 set.add(c.getString(c.getColumnIndex(Document.COLUMN_DISPLAY_NAME))); in assertContains()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMorseCodeConverter.java75 static long[] pattern(char c) { in pattern() argument
76 if (c >= 'A' && c <= 'Z') { in pattern()
77 return LETTERS[c - 'A']; in pattern()
79 if (c >= 'a' && c <= 'z') { in pattern()
80 return LETTERS[c - 'a']; in pattern()
82 else if (c >= '0' && c <= '9') { in pattern()
83 return NUMBERS[c - '0']; in pattern()
98 char c = str.charAt(i); in pattern() local
99 if (Character.isWhitespace(c)) { in pattern()
109 len += pattern(c).length; in pattern()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java41 private static int getR32(int c) { return (c >> 0) & 0xFF; } in getR32() argument
43 private static int getG32(int c) { return (c >> 8) & 0xFF; } in getG32() argument
45 private static int getB32(int c) { return (c >> 16) & 0xFF; } in getB32() argument
47 private static int getA32(int c) { return (c >> 24) & 0xFF; } in getA32() argument
65 private static int mul255(int c, int a) { in mul255() argument
66 int prod = c * a + 128; in mul255()
73 private static int premultiplyColor(int c) { in premultiplyColor() argument
74 int r = Color.red(c); in premultiplyColor()
75 int g = Color.green(c); in premultiplyColor()
76 int b = Color.blue(c); in premultiplyColor()
[all …]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java179 final Cursor c = resolver.query(DirtyQuery.CONTENT_URI, in getDirtyContacts() local
185 while (c.moveToNext()) { in getDirtyContacts()
186 final long rawContactId = c.getLong(DirtyQuery.COLUMN_RAW_CONTACT_ID); in getDirtyContacts()
187 final long serverContactId = c.getLong(DirtyQuery.COLUMN_SERVER_ID); in getDirtyContacts()
188 final boolean isDirty = "1".equals(c.getString(DirtyQuery.COLUMN_DIRTY)); in getDirtyContacts()
189 final boolean isDeleted = "1".equals(c.getString(DirtyQuery.COLUMN_DELETED)); in getDirtyContacts()
195 final long version = c.getLong(DirtyQuery.COLUMN_VERSION); in getDirtyContacts()
213 if (c != null) { in getDirtyContacts()
214 c.close(); in getDirtyContacts()
337 final Cursor c = in updateContact() local
[all …]
/development/ndk/platforms/android-21/include/linux/
Duuid.h31c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_le) {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0x… argument
32c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_be) {{ ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((a) >>… argument
/development/perftests/panorama/feature_stab/src/dbregtest/
Ddbregtest.cpp117 for (int c = 1; c < argc; c++) in main() local
119 cmdline << argv[c] << " "; in main()
317 int c = argc; in parse_cmd_line() local
324 --c; in parse_cmd_line()
333 --c; cmdline >> token; in parse_cmd_line()
353 --c; cmdline >> nr_corners; in parse_cmd_line()
356 --c; cmdline >> max_disparity; in parse_cmd_line()
362 --c; cmdline >> reference_update_period; in parse_cmd_line()
365 --c; cmdline >> do_motion_smoothing; in parse_cmd_line()
368 --c; cmdline >> motion_smoothing_gain; in parse_cmd_line()
[all …]
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java222 Canvas c = null; in drawFrame() local
224 c = holder.lockCanvas(); in drawFrame()
225 if (c != null) { in drawFrame()
227 drawCube(c); in drawFrame()
228 drawTouchPoint(c); in drawFrame()
231 if (c != null) holder.unlockCanvasAndPost(c); in drawFrame()
240 void drawCube(Canvas c) { in drawCube() argument
241 c.save(); in drawCube()
242 c.translate(mCenterX, mCenterY); in drawCube()
243 c.drawColor(0xff000000); in drawCube()
[all …]
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dlocal_32.h39c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg…

12345678910