/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AndroidDistinguishedNameParser.java | 43 private char[] chars; field in AndroidDistinguishedNameParser 57 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 68 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 81 if (chars[pos] == ' ') { in nextAT() 82 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() 85 if (chars[pos] != '=' || pos == length) { in nextAT() 94 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 99 if ((end - beg > 4) && (chars[beg + 3] == '.') in nextAT() 100 && (chars[beg] == 'O' || chars[beg] == 'o') in nextAT() 101 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') in nextAT() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | AndroidCharacterTest.java | 35 char[] chars = new char[size]; in testGetDirectionalities_nonSupplementaryCharacters() local 40 chars[index] = (char) cp; in testGetDirectionalities_nonSupplementaryCharacters() 47 AndroidCharacter.getDirectionalities(chars, android_text_results, index); in testGetDirectionalities_nonSupplementaryCharacters() 56 char[] chars = new char[size]; in testGetDirectionalities_supplementaryCharacters() local 61 chars[index] = Character.highSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 62 chars[index + 1] = Character.lowSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 69 AndroidCharacter.getDirectionalities(chars, android_text_results, index); in testGetDirectionalities_supplementaryCharacters()
|
D | StaticLayoutDirectionsTest.java | 108 char[] chars = src.toCharArray(); in pseudoBidiToReal() local 109 for (int j = 0; j < chars.length; ++j) { in pseudoBidiToReal() 110 char c = chars[j]; in pseudoBidiToReal() 112 chars[j] = (char)(ALEF + c - 'A'); in pseudoBidiToReal() 116 return new String(chars, 0, chars.length); in pseudoBidiToReal()
|
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/ |
D | InitialLockSetupHelper.java | 60 public static byte[] charSequenceToByteArray(CharSequence chars) { in charSequenceToByteArray() argument 61 if (chars == null) { in charSequenceToByteArray() 64 byte[] byteArray = new byte[chars.length()]; in charSequenceToByteArray() 65 for (int i = 0; i < chars.length(); i++) { in charSequenceToByteArray() 66 byteArray[i] = (byte) chars.charAt(i); in charSequenceToByteArray()
|
/frameworks/base/core/java/android/text/method/ |
D | DateTimeKeyListener.java | 68 final LinkedHashSet<Character> chars = new LinkedHashSet<>(); in DateTimeKeyListener() local 71 final boolean success = NumberKeyListener.addDigits(chars, locale) in DateTimeKeyListener() 72 && NumberKeyListener.addAmPmChars(chars, locale) in DateTimeKeyListener() 74 chars, locale, SKELETON_12HOUR, SYMBOLS_TO_IGNORE) in DateTimeKeyListener() 76 chars, locale, SKELETON_24HOUR, SYMBOLS_TO_IGNORE); in DateTimeKeyListener() 78 mCharacters = NumberKeyListener.collectionToArray(chars); in DateTimeKeyListener()
|
D | TimeKeyListener.java | 68 final LinkedHashSet<Character> chars = new LinkedHashSet<>(); in TimeKeyListener() local 71 final boolean success = NumberKeyListener.addDigits(chars, locale) in TimeKeyListener() 72 && NumberKeyListener.addAmPmChars(chars, locale) in TimeKeyListener() 74 chars, locale, SKELETON_12HOUR, SYMBOLS_TO_IGNORE) in TimeKeyListener() 76 chars, locale, SKELETON_24HOUR, SYMBOLS_TO_IGNORE); in TimeKeyListener() 78 mCharacters = NumberKeyListener.collectionToArray(chars); in TimeKeyListener()
|
D | DateKeyListener.java | 66 final LinkedHashSet<Character> chars = new LinkedHashSet<>(); in DateKeyListener() local 69 final boolean success = NumberKeyListener.addDigits(chars, locale) in DateKeyListener() 71 chars, locale, SKELETONS, SYMBOLS_TO_IGNORE); in DateKeyListener() 73 mCharacters = NumberKeyListener.collectionToArray(chars); in DateKeyListener()
|
D | DigitsKeyListener.java | 164 LinkedHashSet<Character> chars = new LinkedHashSet<>(); in DigitsKeyListener() local 165 final boolean success = NumberKeyListener.addDigits(chars, locale); in DigitsKeyListener() 182 chars.add(Character.valueOf(minus)); in DigitsKeyListener() 183 chars.add(Character.valueOf(plus)); in DigitsKeyListener() 189 chars.add(HYPHEN_MINUS); in DigitsKeyListener() 201 chars.add(separatorChar); in DigitsKeyListener() 205 mAccepted = NumberKeyListener.collectionToArray(chars); in DigitsKeyListener()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextPerfUtils.java | 82 ArrayList<Character> chars = new ArrayList<>(); in nextRandomParagraph() local 86 chars.add(' '); in nextRandomParagraph() 87 wordOffsets.add(chars.size()); in nextRandomParagraph() 91 chars.add(str.charAt(j)); in nextRandomParagraph() 95 wordOffsets.add(chars.size()); in nextRandomParagraph() 97 char[] buffer = new char[chars.size()]; in nextRandomParagraph() 99 buffer[i] = chars.get(i); in nextRandomParagraph()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserUtil.java | 47 char[] chars = new char[input.length * 2]; in convertBytesToHexString() local 50 chars[i * 2] = Character.forDigit((b >> 4) & 0xF, 16 /* radix */); in convertBytesToHexString() 51 chars[i * 2 + 1] = Character.forDigit(b & 0xF, 16 /* radix */); in convertBytesToHexString() 53 return new String(chars); in convertBytesToHexString()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | util.cpp | 28 char chars[] = "0123456789abcdef"; in hexString() local 33 result[2 * i] = chars[bytes8[i] >> 4]; in hexString() 34 result[2 * i + 1] = chars[bytes8[i] & 0xf]; in hexString()
|
/frameworks/native/libs/gralloc/types/fuzzer/ |
D | util.cpp | 28 char chars[] = "0123456789abcdef"; in hexString() local 33 result[2 * i] = chars[bytes8[i] >> 4]; in hexString() 34 result[2 * i + 1] = chars[bytes8[i] & 0xf]; in hexString()
|
/frameworks/native/libs/ftl/ |
D | small_vector_test.cpp | 83 const char chars[] = "abcdef"; in TEST() local 84 std::string string(chars); in TEST() 85 SmallVector<char, sizeof(chars)> vector(string.begin(), string.end()); in TEST() 87 EXPECT_STREQ(vector.begin(), chars); in TEST() 142 SmallVector<char, 10> chars; in TEST() local 144 std::generate_n(std::back_inserter(chars), chars.max_size(), [&c] { return c++; }); in TEST() 145 chars.push_back('\0'); in TEST() 147 EXPECT_TRUE(chars.dynamic()); in TEST() 148 EXPECT_EQ(chars.size(), 11u); in TEST() 149 EXPECT_STREQ(chars.begin(), "abcdefghij"); in TEST() [all …]
|
D | static_vector_test.cpp | 77 const char chars[] = "abcdef"; in TEST() local 78 std::string string(chars); in TEST() 79 StaticVector<char, sizeof(chars)> vector(string.begin(), string.end()); in TEST() 81 EXPECT_STREQ(vector.begin(), chars); in TEST() 148 StaticVector<char, 10> chars; in TEST() local 150 std::generate_n(std::back_inserter(chars), chars.max_size(), [&c] { return c++; }); in TEST() 151 chars.back() = '\0'; in TEST() 153 EXPECT_STREQ(chars.begin(), "abcdefghi"); in TEST() 166 swap(chars, string); in TEST() 168 EXPECT_STREQ(chars.begin(), "12345"); in TEST()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | ACameraManagerTest.cpp | 205 ACameraMetadata* chars = nullptr; in TEST_F() local 206 ret = ACameraManager_getCameraCharacteristics(mCameraManager, cameraId, &chars); in TEST_F() 208 ASSERT_NE(chars, nullptr); in TEST_F() 213 chars, &physicalCameraCnt, &physicalCameraIds)) { in TEST_F() 214 ACameraMetadata_free(chars); in TEST_F() 220 ACameraMetadata_free(chars); in TEST_F()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 299 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() argument 302 private static native KeyEvent[] nativeGetEvents(long ptr, char[] chars); in nativeGetEvents() argument 463 public char getMatch(int keyCode, char[] chars) { in getMatch() argument 464 return getMatch(keyCode, chars, 0); in getMatch() 478 public char getMatch(int keyCode, char[] chars, int metaState) { in getMatch() argument 479 if (chars == null) { in getMatch() 484 return nativeGetMatch(mPtr, keyCode, chars, metaState); in getMatch() 625 public KeyEvent[] getEvents(char[] chars) { in getEvents() argument 626 if (chars == null) { in getEvents() 629 return nativeGetEvents(mPtr, chars); in getEvents()
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 171 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); in nativeGetMatch() local 172 if (!chars) { in nativeGetMatch() 176 char16_t result = map->getMap()->getMatch(keyCode, reinterpret_cast<char16_t*>(chars), in nativeGetMatch() 179 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT); in nativeGetMatch() 207 jchar* chars = env->GetCharArrayElements(charsArray, NULL); in nativeGetEvents() local 208 if (!chars) { in nativeGetEvents() 215 if (map->getMap()->getEvents(map->getDeviceId(), reinterpret_cast<char16_t*>(chars), in nativeGetEvents() 228 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT); in nativeGetEvents()
|
D | android_util_Log.cpp | 55 const char* chars = env->GetStringUTFChars(tag, NULL); in android_util_Log_isLoggable() local 56 if (!chars) { in android_util_Log_isLoggable() 60 jboolean result = isLoggable(chars, level); in android_util_Log_isLoggable() 62 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 1108 private JsonToken decodeNumber(char[] chars, int offset, int length) { in decodeNumber() argument 1110 int c = chars[i]; in decodeNumber() 1113 c = chars[++i]; in decodeNumber() 1117 c = chars[++i]; in decodeNumber() 1119 c = chars[++i]; in decodeNumber() 1121 c = chars[++i]; in decodeNumber() 1128 c = chars[++i]; in decodeNumber() 1130 c = chars[++i]; in decodeNumber() 1135 c = chars[++i]; in decodeNumber() 1137 c = chars[++i]; in decodeNumber() [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetString.cpp | 3 const char* chars = (const char*) glGetString((GLenum) name); in android_glGetString() local 4 return _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | glGetString.cpp | 3 const char* chars = (const char*) glGetString((GLenum) name); in android_glGetString() local 4 return _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglQueryString.cpp | 5 const char* chars = (const char*) eglQueryString( in android_eglQueryString__Landroind_opengl_EGLDisplay_2I() local 9 return _env->NewStringUTF(chars); in android_eglQueryString__Landroind_opengl_EGLDisplay_2I()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 153 def assert_font_supports_any_of_chars(font, chars): argument 155 for char in chars: 158 sys.exit('None of characters in %s were found in %s' % (chars, font)) 161 def assert_font_supports_all_of_chars(font, chars): argument 163 for char in chars: 168 def assert_font_supports_none_of_chars(font, chars, fallbackName): argument 170 for char in chars: 450 chars, prop = line.split(';')[:2] 451 chars = chars.strip() 454 if ' ' in chars: # character sequence [all …]
|
/frameworks/av/camera/ndk/ |
D | NdkCameraManager.cpp | 163 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){ in ACameraManager_getCameraCharacteristics() argument 165 if (mgr == nullptr || cameraId == nullptr || chars == nullptr) { in ACameraManager_getCameraCharacteristics() 167 __FUNCTION__, mgr, cameraId, chars); in ACameraManager_getCameraCharacteristics() 176 *chars = spChars.get(); in ACameraManager_getCameraCharacteristics()
|
/frameworks/native/libs/binder/tests/ |
D | binderClearBufTest.cpp | 37 char chars[] = "0123456789abcdef"; in hexString() local 42 result[2 * i] = chars[bytes8[i] >> 4]; in hexString() 43 result[2 * i + 1] = chars[bytes8[i] & 0xf]; in hexString()
|