Home
last modified time | relevance | path

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

12345678910>>...62

/frameworks/wilhelm/tools/hashgen/
DMakefile1 all : IID_to_MPH.c run_test
3 install : IID_to_MPH.c
4 cp IID_to_MPH.c ../../src/autogen
9 %.o : %.c
12 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c
14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
18 part2.c : part23in.c
20 grep '#define MAX_HASH_VALUE' part23in.c > $@
22 part3.c : part23in.c
25 sed -n '/static const unsigned .* asso_values.. =/,/^ };/p' < part23in.c >> $@
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java110 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testBlob() local
111 c.moveToNext(); in testBlob()
113 DatabaseUtils.cursorRowToContentValues(c, cv); in testBlob()
115 int bCol = c.getColumnIndexOrThrow("b"); in testBlob()
116 int sCol = c.getColumnIndexOrThrow("s"); in testBlob()
117 int dCol = c.getColumnIndexOrThrow("d"); in testBlob()
118 int lCol = c.getColumnIndexOrThrow("l"); in testBlob()
119 byte[] cBlob = c.getBlob(bCol); in testBlob()
121 assertEquals(s, c.getString(sCol)); in testBlob()
122 assertEquals((double)d, c.getDouble(dCol)); in testBlob()
[all …]
DDatabaseStatementTest.java85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement() local
86 assertEquals(0, c.getCount()); in testExecuteStatement()
87 c.deactivate(); in testExecuteStatement()
139 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding() local
140 int numCol = c.getColumnIndexOrThrow("num"); in testStatementLongBinding()
141 c.moveToFirst(); in testStatementLongBinding()
143 long num = c.getLong(numCol); in testStatementLongBinding()
145 c.moveToNext(); in testStatementLongBinding()
147 c.close(); in testStatementLongBinding()
161 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding() local
[all …]
/frameworks/base/core/java/android/text/
DLoginFilter.java60 char c = dest.charAt(i); in filter() local
61 if (!isAllowed(c)) onInvalidCharacter(c); in filter()
69 char c = source.charAt(i); in filter() local
70 if (isAllowed(c)) { in filter()
85 onInvalidCharacter(c); in filter()
92 char c = dest.charAt(i); in filter() local
93 if (!isAllowed(c)) onInvalidCharacter(c); in filter()
114 public void onInvalidCharacter(char c) { in onInvalidCharacter() argument
129 public abstract boolean isAllowed(char c); in isAllowed() argument
150 public boolean isAllowed(char c) { in isAllowed() argument
[all …]
/frameworks/av/camera/
DCamera.cpp53 sp<Camera> c = new Camera(-1); in create() local
54 if (camera->connect(c) == NO_ERROR) { in create()
55 c->mStatus = NO_ERROR; in create()
56 c->mCamera = camera; in create()
57 IInterface::asBinder(camera)->linkToDeath(c); in create()
58 return c; in create()
83 sp <::android::hardware::ICamera> c = mCamera; in reconnect() local
84 if (c == 0) return NO_INIT; in reconnect()
85 return c->connect(this); in reconnect()
90 sp <::android::hardware::ICamera> c = mCamera; in lock() local
[all …]
/frameworks/native/libs/binder/
DDebug.cpp66 static inline int isident(int c) in isident() argument
68 return isalnum(c) || c == '_'; in isident()
71 static inline bool isasciitype(char c) in isasciitype() argument
73 if( c >= ' ' && c < 127 && c != '\'' && c != '\\' ) return true; in isasciitype()
91 static char* appendcharornum(char c, char* out, bool skipzero = true) in appendcharornum() argument
93 if (skipzero && c == 0) return out; in appendcharornum()
95 if (isasciitype(c)) { in appendcharornum()
96 *out++ = c; in appendcharornum()
102 *out++ = makehexdigit(c>>4); in appendcharornum()
103 *out++ = makehexdigit(c); in appendcharornum()
[all …]
/frameworks/av/media/codecs/amrwb/enc/
DAndroid.bp26 "src/autocorr.c",
27 "src/az_isp.c",
28 "src/bits.c",
29 "src/c2t64fx.c",
30 "src/c4t64fx.c",
31 "src/convolve.c",
32 "src/cor_h_x.c",
33 "src/decim54.c",
34 "src/deemph.c",
35 "src/dtx.c",
[all …]
/frameworks/base/tools/aapt/
Dpseudolocalize.cpp48 char16_t c = str[pos]; in text() local
53 if (c == '\'') { in text()
58 if (c == k_arg_start) { in text()
60 } else if (c == k_arg_end && depth) { in text()
94 pseudolocalize_char(const char16_t c) in pseudolocalize_char() argument
96 switch (c) { in pseudolocalize_char()
155 static bool is_possible_normal_placeholder_end(const char16_t c) { in is_possible_normal_placeholder_end() argument
156 switch (c) { in is_possible_normal_placeholder_end()
203 static bool is_space(const char16_t c) { in is_space() argument
204 return (c == ' ' || c == '\t' || c == '\n'); in is_space()
[all …]
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java54 char c = text.charAt(i); in tokenize() local
56 if (c == ',' || c == ';') { in tokenize()
78 } else if (c == '"') { in tokenize()
82 c = text.charAt(i); in tokenize()
84 if (c == '"') { in tokenize()
87 } else if (c == '\\') { in tokenize()
93 name.append(c); in tokenize()
97 } else if (c == '(') { in tokenize()
102 c = text.charAt(i); in tokenize()
104 if (c == ')') { in tokenize()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DATResponseParser.java49 char c = mLine.charAt(mTokStart); in nextBoolean() local
51 if (c == '0') return false; in nextBoolean()
52 if (c == '1') return true; in nextBoolean()
67 char c = mLine.charAt(i); in nextInt() local
70 if (c < '0' || c > '9') { in nextInt()
75 ret += c - '0'; in nextInt()
111 char c = mLine.charAt(mNext++); in nextTok() local
114 c = skipWhiteSpace(c); in nextTok()
116 if (c == '"') { in nextTok()
120 c = mLine.charAt(mNext++); in nextTok()
[all …]
/frameworks/minikin/libs/minikin/
DGraphemeBreak.cpp30 int32_t tailoredGraphemeClusterBreak(uint32_t c) { in tailoredGraphemeClusterBreak() argument
33 if (c == 0x00AD // SHY in tailoredGraphemeClusterBreak()
34 || c == 0x061C // ALM in tailoredGraphemeClusterBreak()
35 || c == 0x180E // MONGOLIAN VOWEL SEPARATOR in tailoredGraphemeClusterBreak()
36 || c == 0x200B // ZWSP in tailoredGraphemeClusterBreak()
37 || c == 0x200E // LRM in tailoredGraphemeClusterBreak()
38 || c == 0x200F // RLM in tailoredGraphemeClusterBreak()
39 || (0x202A <= c && c <= 0x202E) // LRE, RLE, PDF, LRO, RLO in tailoredGraphemeClusterBreak()
40 || ((c | 0xF) == 0x206F) // WJ, invisible math operators, LRI, RLI, FSI, PDI, in tailoredGraphemeClusterBreak()
42 || c == 0xFEFF // BOM in tailoredGraphemeClusterBreak()
[all …]
DLayoutUtils.cpp34 static bool isWordBreakAfter(uint16_t c) { in isWordBreakAfter() argument
35 if (c == ' ' || (0x2000 <= c && c <= 0x200A) || c == 0x3000) { in isWordBreakAfter()
40 if ((0x2066 <= c && c <= 0x2069) || (0x202A <= c && c <= 0x202E) || c == 0x200E || in isWordBreakAfter()
41 c == 0x200F) { in isWordBreakAfter()
48 static bool isWordBreakBefore(uint16_t c) { in isWordBreakBefore() argument
50 return isWordBreakAfter(c) || (0x3400 <= c && c <= 0x9FFF); in isWordBreakBefore()
DEmoji.cpp21 bool isEmoji(uint32_t c) { in isEmoji() argument
22 return u_hasBinaryProperty(c, UCHAR_EMOJI); in isEmoji()
25 bool isEmojiModifier(uint32_t c) { in isEmojiModifier() argument
28 return u_hasBinaryProperty(c, UCHAR_EMOJI_MODIFIER); in isEmojiModifier()
31 bool isEmojiBase(uint32_t c) { in isEmojiBase() argument
35 if (c == 0x1F91D || c == 0x1F93C) { in isEmojiBase()
39 return u_hasBinaryProperty(c, UCHAR_EMOJI_MODIFIER_BASE); in isEmojiBase()
42 UCharDirection emojiBidiOverride(const void* /* context */, UChar32 c) { in emojiBidiOverride() argument
43 return u_charDirection(c); in emojiBidiOverride()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java40 Calendar c = Calendar.getInstance(tz); in getKMLTimestamp() local
41 c.setTimeInMillis(when); in getKMLTimestamp()
42 return String.format("%tY-%tm-%tdT%tH:%tM:%tSZ", c, c, c, c, c, c); in getKMLTimestamp()
57 Calendar c = Calendar.getInstance(); in getCurrentTimestamp() local
58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp()
59 return String.format("%tY-%tm-%td-%tH-%tM-%tS", c, c, c, c, c, c); in getCurrentTimestamp()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp51 for (int c = 0; c < 3; c++) { in computeGradient() local
52 *(gxPtr + offset + c) = in computeGradient()
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient()
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + in computeGradient()
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); in computeGradient()
56 *(gyPtr + offset + c) = in computeGradient()
57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 + in computeGradient()
58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) + in computeGradient()
59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above); in computeGradient()
85 for (int c = 0; c < 3; c++) { in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer.cpp95 char16_t c = str[pos]; in Text() local
100 if (c == '\'') { in Text()
105 if (c == kArgStart) { in Text()
107 } else if (c == kArgEnd && depth) { in Text()
139 static const char* PseudolocalizeChar(const char c) { in PseudolocalizeChar() argument
140 switch (c) { in PseudolocalizeChar()
254 static bool IsPossibleNormalPlaceholderEnd(const char c) { in IsPossibleNormalPlaceholderEnd() argument
255 switch (c) { in IsPossibleNormalPlaceholderEnd()
358 char c = s[i]; in Text() local
359 if (c == '%') { in Text()
[all …]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeRtl.java86 TextView c = new TextView(context); in create() local
87 c.setTextSize(32); in create()
88 c.setText("Email setup"); in create()
89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create()
92 TextView c = new TextView(context); in create() local
93 c.setTextSize(16); in create()
94 c.setText("You can configure email in just a few steps:"); in create()
95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create()
98 TextView c = new TextView(context); in create() local
99 c.setText("Email address:"); in create()
[all …]
DBiDiTestGridLayoutCodeLtr.java86 TextView c = new TextView(context); in create() local
87 c.setTextSize(32); in create()
88 c.setText("Email setup"); in create()
89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create()
92 TextView c = new TextView(context); in create() local
93 c.setTextSize(16); in create()
94 c.setText("You can configure email in just a few steps:"); in create()
95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create()
98 TextView c = new TextView(context); in create() local
99 c.setText("Email address:"); in create()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java58 char c; in parse() local
64 c = str.charAt(0); in parse()
65 if (c == '-') { in parse()
69 else if (c == '+') { in parse()
77 c = str.charAt(index); in parse()
78 if (c != 'P') { in parse()
87 c = str.charAt(index); in parse()
88 if (c == 'T') { in parse()
94 c = str.charAt(index); in parse()
95 if (c >= '0' && c <= '9') { in parse()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java115 Cursor c = db.rawQuery(selectQuery, null); in onUpgrade() local
118 if (c.moveToFirst()) { in onUpgrade()
121 old_records.add(new SoundModelRecord(5, c)); in onUpgrade()
125 } while (c.moveToNext()); in onUpgrade()
128 c.close(); in onUpgrade()
262 Cursor c = db.rawQuery(selectQuery, null); in getValidKeyphraseSoundModelForUser() local
268 if (c.moveToFirst()) { in getValidKeyphraseSoundModelForUser()
270 int type = c.getInt(c.getColumnIndex(SoundModelContract.KEY_TYPE)); in getValidKeyphraseSoundModelForUser()
278 String modelUuid = c.getString( in getValidKeyphraseSoundModelForUser()
279 c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in getValidKeyphraseSoundModelForUser()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java166 Cursor c = getQueryCursor(null); in testReordering() local
167 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering()
168 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering()
169 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering()
172 c.moveToPosition(0); in testReordering()
174 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_3_QUERY, GROUP_3_LINE2)); in testReordering()
175 c.move(GROUP_3_COUNT - 1); in testReordering()
177 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_3_QUERY, GROUP_3_LINE2)); in testReordering()
180 c.move(1); in testReordering()
182 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_2_QUERY, GROUP_2_LINE2)); in testReordering()
[all …]
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp18 char c = str[i]; in to_camel_case() local
19 if (c == '_') { in to_camel_case()
22 if (capitalize_next && c >= 'a' && c <= 'z') { in to_camel_case()
23 c = 'A' + c - 'a'; in to_camel_case()
25 } else if (c >= 'A' && c <= 'Z') { in to_camel_case()
27 } else if (c >= '0' && c <= '9') { in to_camel_case()
33 result += c; in to_camel_case()
46 char c = str[i]; in make_constant_name() local
47 if (c >= 'A' && c <= 'Z') { in make_constant_name()
52 } else if (c >= 'a' && c <= 'z') { in make_constant_name()
[all …]
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem69 40:f7:10:c4:94:1b:63:37:14:40:5e:c2:6c:f6:13:
72 a0:6d:43:eb:e3:7c:7c:5f:51:f1:ac:13:98:0b:1b:
73 36:0e:b7:54:89:f1:e8:8c:1c:05:99:e3:16:5b:08:
76 85:88:51:5c:ca:7b:3b:02:ff:7a:9c:73:84:15:c5:
82 fa:79:0b:7c:5c:bf:a0:5d:8b:41:16:2f:28:71:7e:
84 de:2d:82:7b:f6:fb:c1:98:e2:b4:ba:85:00:8d:6c:
86 50:21:76:9c:1e:cf:6b:c9:27:bb:89:01:0c:69:33:
87 d9:0e:35:8c:02:f4:5b:fa:ad:8f:8d:d5:c0:90:d6:
88 d1:8f:7c:3a:ea:90:88:2a:89:ad:3a:c6:76:fe:db:
91 9a:f1:85:1c:90:fe:ea:79:de:0d:1e:0f:52:49:98:
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java79 Canvas c = null; in drawIfNeeded() local
81 c = mSurface.lockCanvas(null); in drawIfNeeded()
84 if (c == null) { in drawIfNeeded()
89 c.save(); in drawIfNeeded()
90 c.clipRect(new Rect(0, 0, dw, mThickness)); in drawIfNeeded()
91 c.drawColor(Color.RED); in drawIfNeeded()
92 c.restore(); in drawIfNeeded()
94 c.save(); in drawIfNeeded()
95 c.clipRect(new Rect(0, 0, mThickness, dh)); in drawIfNeeded()
96 c.drawColor(Color.RED); in drawIfNeeded()
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java31 MatrixCursor c = new MatrixCursor(Queries.EMAIL.getProjection()); in testRemoveUndesiredDestinations() local
35 assertEquals(0, RecipientAlternatesAdapter.removeUndesiredDestinations(c, in testRemoveUndesiredDestinations()
40 addRow(c, "a", "1@android.com", 1, "home", 1000, 2000, "x", 0); in testRemoveUndesiredDestinations()
42 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, in testRemoveUndesiredDestinations()
48 addRow(c, "a", "2@android.com", 1, "home", 1000, 2000, "x", 0); in testRemoveUndesiredDestinations()
50 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, in testRemoveUndesiredDestinations()
57 addRow(c, "ax", "1@android.com", 11, "homex", 10001, 2000, "xx", 1); in testRemoveUndesiredDestinations()
60 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, in testRemoveUndesiredDestinations()
67 addRow(c, "ax", "2@android.com", 11, "homex", 10001, 2000, "xx", 1); in testRemoveUndesiredDestinations()
70 result = RecipientAlternatesAdapter.removeUndesiredDestinations(c, in testRemoveUndesiredDestinations()
[all …]

12345678910>>...62