/frameworks/wilhelm/tools/hashgen/ |
D | Makefile | 1 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/ |
D | DatabaseCursorTest.java | 110 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 …]
|
D | DatabaseStatementTest.java | 85 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/ |
D | LoginFilter.java | 60 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/native/libs/binder/ |
D | Debug.cpp | 49 static inline int isident(int c) in isident() argument 51 return isalnum(c) || c == '_'; in isident() 54 static inline bool isasciitype(char c) in isasciitype() argument 56 if( c >= ' ' && c < 127 && c != '\'' && c != '\\' ) return true; in isasciitype() 74 static char* appendcharornum(char c, char* out, bool skipzero = true) in appendcharornum() argument 76 if (skipzero && c == 0) return out; in appendcharornum() 78 if (isasciitype(c)) { in appendcharornum() 79 *out++ = c; in appendcharornum() 85 *out++ = makehexdigit(c>>4); in appendcharornum() 86 *out++ = makehexdigit(c); in appendcharornum() [all …]
|
/frameworks/av/camera/ |
D | Camera.cpp | 54 sp<Camera> c = new Camera(-1); in create() local 55 if (camera->connect(c) == NO_ERROR) { in create() 56 c->mStatus = NO_ERROR; in create() 57 c->mCamera = camera; in create() 58 IInterface::asBinder(camera)->linkToDeath(c); in create() 59 return c; in create() 86 sp<Camera> c = new Camera(cameraId); in connectLegacy() local 87 sp<::android::hardware::ICameraClient> cl = c; in connectLegacy() 94 clientUid, /*out*/&(c->mCamera)); in connectLegacy() 96 if (ret.isOk() && c->mCamera != nullptr) { in connectLegacy() [all …]
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecConfigTest.java | 39 IpSecConfig c = new IpSecConfig(); in testDefaults() local 40 assertEquals(IpSecTransform.MODE_TRANSPORT, c.getMode()); in testDefaults() 41 assertEquals("", c.getSourceAddress()); in testDefaults() 42 assertEquals("", c.getDestinationAddress()); in testDefaults() 43 assertNull(c.getNetwork()); in testDefaults() 44 assertEquals(IpSecTransform.ENCAP_NONE, c.getEncapType()); in testDefaults() 45 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getEncapSocketResourceId()); in testDefaults() 46 assertEquals(0, c.getEncapRemotePort()); in testDefaults() 47 assertEquals(0, c.getNattKeepaliveInterval()); in testDefaults() 48 assertNull(c.getEncryption()); in testDefaults() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 1129 private static void checkChannel(Channel c) { in checkChannel() argument 1130 if (c == null) throw new IllegalArgumentException("Channel needs to be initialized"); in checkChannel() 1141 private static void checkP2pConfig(WifiP2pConfig c) { in checkP2pConfig() argument 1142 if (c == null) throw new IllegalArgumentException("config cannot be null"); in checkP2pConfig() 1143 if (TextUtils.isEmpty(c.deviceAddress)) { in checkP2pConfig() 1178 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel() 1179 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel() 1182 bundle.putString(CALLING_PACKAGE, c.mContext.getOpPackageName()); in initalizeChannel() 1183 bundle.putString(CALLING_FEATURE_ID, c.mContext.getAttributionTag()); in initalizeChannel() 1185 c.mAsyncChannel.sendMessage(UPDATE_CHANNEL_INFO, 0, in initalizeChannel() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | Android.bp | 7 "src/autocorr.c", 8 "src/az_isp.c", 9 "src/bits.c", 10 "src/c2t64fx.c", 11 "src/c4t64fx.c", 12 "src/convolve.c", 13 "src/cor_h_x.c", 14 "src/decim54.c", 15 "src/deemph.c", 16 "src/dtx.c", [all …]
|
/frameworks/base/tools/aapt/ |
D | pseudolocalize.cpp | 48 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() 202 static bool is_space(const char16_t c) { in is_space() argument 203 return (c == ' ' || c == '\t' || c == '\n'); in is_space() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 54 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/ |
D | ATResponseParser.java | 49 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/ |
D | GraphemeBreak.cpp | 30 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 …]
|
D | LayoutUtils.cpp | 34 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()
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer.cpp | 95 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/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | sobeloperator.cpp | 51 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/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | DateUtils.java | 40 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/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeLtr.java | 86 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 …]
|
D | BiDiTestGridLayoutCodeRtl.java | 86 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/ |
D | Duration.java | 58 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/ |
D | DatabaseHelper.java | 115 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/ |
D | SearchRecentSuggestionsProviderTest.java | 166 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/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/ |
D | valid-cert.pem | 69 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/tools/streaming_proto/ |
D | string_utils.cpp | 18 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/av/media/libeffects/lvm/lib/Common/src/ |
D | DelayAllPass_Sat_32x16To32.cpp | 41 LVM_INT32 a,b,c; in DelayAllPass_Sat_32x16To32() local 51 c = a + b; in DelayAllPass_Sat_32x16To32() 52 if ((((c ^ a) & (c ^ b)) >> 31) != 0) /* overflow / underflow */ in DelayAllPass_Sat_32x16To32() 56 c = 0x80000000L; in DelayAllPass_Sat_32x16To32() 60 c = 0x7FFFFFFFL; in DelayAllPass_Sat_32x16To32() 63 *dst = c; in DelayAllPass_Sat_32x16To32() 66 MUL32x16INTO32(c, -coeff, temp, 15) in DelayAllPass_Sat_32x16To32() 69 c = a + b; in DelayAllPass_Sat_32x16To32() 70 if ((((c ^ a) & (c ^ b)) >> 31)!=0) /* overflow / underflow */ in DelayAllPass_Sat_32x16To32() 74 c = 0x80000000L; in DelayAllPass_Sat_32x16To32() [all …]
|