/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 | 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 | 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 | 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/android/view/ |
D | KeyCharacterMap.java | 295 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() argument 298 private static native KeyEvent[] nativeGetEvents(long ptr, char[] chars); in nativeGetEvents() argument 445 public char getMatch(int keyCode, char[] chars) { in getMatch() argument 446 return getMatch(keyCode, chars, 0); in getMatch() 460 public char getMatch(int keyCode, char[] chars, int metaState) { in getMatch() argument 461 if (chars == null) { in getMatch() 466 return nativeGetMatch(mPtr, keyCode, chars, metaState); in getMatch() 607 public KeyEvent[] getEvents(char[] chars) { in getEvents() argument 608 if (chars == null) { in getEvents() 611 return nativeGetEvents(mPtr, chars); in getEvents()
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 148 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); in nativeGetMatch() local 149 if (!chars) { in nativeGetMatch() 154 keyCode, reinterpret_cast<char16_t*>(chars), size_t(numChars), in nativeGetMatch() 157 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT); in nativeGetMatch() 175 jchar* chars = env->GetCharArrayElements(charsArray, NULL); in nativeGetEvents() local 176 if (!chars) { in nativeGetEvents() 184 reinterpret_cast<char16_t*>(chars), in nativeGetEvents() 197 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT); in nativeGetEvents()
|
D | android_util_Log.cpp | 56 const char* chars = env->GetStringUTFChars(tag, NULL); in android_util_Log_isLoggable() local 57 if (!chars) { in android_util_Log_isLoggable() 61 jboolean result = isLoggable(chars, level); in android_util_Log_isLoggable() 63 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 151 def assert_font_supports_any_of_chars(font, chars): argument 153 for char in chars: 156 sys.exit('None of characters in %s were found in %s' % (chars, font)) 159 def assert_font_supports_all_of_chars(font, chars): argument 161 for char in chars: 166 def assert_font_supports_none_of_chars(font, chars, fallbackName): argument 168 for char in chars: 404 chars, prop = line.split(';')[:2] 405 chars = chars.strip() 408 if ' ' in chars: # character sequence [all …]
|
/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/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/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/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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinBasedInputView.java | 273 private static byte[] charSequenceToByteArray(CharSequence chars) { in charSequenceToByteArray() argument 274 if (chars == null) { in charSequenceToByteArray() 277 byte[] bytes = new byte[chars.length()]; in charSequenceToByteArray() 278 for (int i = 0; i < chars.length(); i++) { in charSequenceToByteArray() 279 bytes[i] = (byte) chars.charAt(i); in charSequenceToByteArray()
|
D | KeyguardPasswordView.java | 386 private static byte[] charSequenceToByteArray(CharSequence chars) { in charSequenceToByteArray() argument 387 if (chars == null) { in charSequenceToByteArray() 390 byte[] bytes = new byte[chars.length()]; in charSequenceToByteArray() 391 for (int i = 0; i < chars.length(); i++) { in charSequenceToByteArray() 392 bytes[i] = (byte) chars.charAt(i); in charSequenceToByteArray()
|
/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/minikin/libs/minikin/ |
D | LayoutCore.cpp | 139 static hb_codepoint_t decodeUtf16(const uint16_t* chars, size_t len, ssize_t* iter) { in decodeUtf16() argument 141 U16_NEXT(chars, *iter, (ssize_t)len, result); in decodeUtf16() 148 static hb_script_t getScriptRun(const uint16_t* chars, size_t len, ssize_t* iter) { in getScriptRun() argument 152 uint32_t cp = decodeUtf16(chars, len, iter); in getScriptRun() 158 cp = decodeUtf16(chars, len, iter); in getScriptRun() 233 const uint32_t* chars; in addHyphenToHbBuffer() local 235 std::tie(chars, size) = getHyphenString(hyphen); in addHyphenToHbBuffer() 237 hb_buffer_add(buffer.get(), determineHyphenChar(chars[i], font.get()), cluster); in addHyphenToHbBuffer()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
D | ArraysCheckWidget.java | 40 for (CharSequence chars : resources.getTextArray(R.array.array)) { in ArraysCheckWidget() 41 addTextView(context, chars); in ArraysCheckWidget()
|
/frameworks/av/media/libstagefright/foundation/ |
D | FoundationUtils.cpp | 42 const char *chars = uri.c_str(); in uriDebugString() local 44 const char c = chars[i]; in uriDebugString()
|
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 135 #define MAKE_HYPHEN_STR(chars) std::make_pair((chars), ARRAYSIZE(chars)) argument
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 191 char chars[] = str.toCharArray(); in assertGetTextRunAdvances() local 192 final float advance = p.getTextRunAdvances(chars, start, count, in assertGetTextRunAdvances() 195 final float firstPartAdvance = p.getTextRunAdvances(chars, start, c, in assertGetTextRunAdvances() 197 final float secondPartAdvance = p.getTextRunAdvances(chars, start + c, count - c, in assertGetTextRunAdvances() 210 chars, start, count, contextStart, contextCount, isRtl, end), 1.0f); in assertGetTextRunAdvances()
|