Home
last modified time | relevance | path

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

1234567

/development/ndk/platforms/android-9/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-9/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 …]
Dvt_buffer.h18 #define scr_memcpyw(d, s, c) memcpy(d, s, c) argument
19 #define scr_memmovew(d, s, c) memmove(d, s, c) argument
Ddebug_locks.h20 #define DEBUG_LOCKS_WARN_ON(c) ({ int __ret = 0; if (unlikely(c)) { if (debug_locks_off())… argument
22 #define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) argument
Datm.h41 #define __SO_LEVEL_MATCH(c,m) (((c) >> 22) == ((m) & 0x1FF)) argument
42 #define __SO_NUMBER(c) (((c) >> 16) & 0x3f) argument
43 #define __SO_SIZE(c) ((c) & 0x3fff) argument
/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-9/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/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()
DList7.java63 Cursor c = getContentResolver().query(Phone.CONTENT_URI, in onCreate() local
65 startManagingCursor(c); in onCreate()
71 c, in onCreate()
82 Cursor c = (Cursor) parent.getItemAtPosition(position); in onItemSelected() local
83 int type = c.getInt(COLUMN_PHONE_TYPE); in onItemSelected()
84 String phone = c.getString(COLUMN_PHONE_NUMBER); in onItemSelected()
88 label = c.getString(COLUMN_PHONE_LABEL); in onItemSelected()
/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/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java57 Cursor c; in testDeleteDirectory() local
73 c = mProvider.queryChildDocuments(DEFAULT_DOCUMENT_ID, null, (Bundle) null); in testDeleteDirectory()
74 assertContains(c, "file", "dir"); in testDeleteDirectory()
75 c = mProvider.queryChildDocuments(dir, null, (Bundle) null); in testDeleteDirectory()
76 assertContains(c, "dirfile", "dirdir"); in testDeleteDirectory()
81 c = mProvider.queryChildDocuments(DEFAULT_DOCUMENT_ID, null, (Bundle) null); in testDeleteDirectory()
82 assertContains(c, "file"); in testDeleteDirectory()
92 private static void assertContains(Cursor c, String... docs) { in assertContains() argument
94 while (c.moveToNext()) { in assertContains()
95 set.add(c.getString(c.getColumnIndex(Document.COLUMN_DISPLAY_NAME))); in assertContains()
/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/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/ndk/platforms/android-9/arch-mips/include/asm/
Dvga.h30 #define scr_memcpyw(d, s, c) memcpy(d, s, c) argument
31 #define scr_memmovew(d, s, c) memmove(d, s, c) argument
/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-9/arch-x86/include/asm/
Dlocal_32.h39c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg…
/development/ndk/platforms/android-9/include/linux/netfilter/
Dx_tables.h105 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) argument
106 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) argument
/development/tutorials/MoarRam/jni/
DAndroid.mk22 LOCAL_SRC_FILES := foo.c
31 LOCAL_SRC_FILES := bar.c
40 LOCAL_SRC_FILES := baz.c
49 LOCAL_SRC_FILES := df.c
/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/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java39 public static void SetAccount(Context c, String s) { in SetAccount() argument
42 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c); in SetAccount()
48 public static String GetAccount(Context c) { in GetAccount() argument
51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c); in GetAccount()

1234567