Searched refs:chars (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetString.cpp3 const char* chars = (const char*) glGetString((GLenum) name); local
4 return _env->NewStringUTF(chars);
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DglGetString.cpp3 const char* chars = (const char*) glGetString((GLenum) name); local
4 return _env->NewStringUTF(chars);
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java42 /** distinguished name chars */
43 private char[] chars; field in class:AndroidDistinguishedNameParser
55 // skip preceding space chars, they can present after
57 for (; pos < length && chars[pos] == ' '; pos++) {
66 // attribute type chars
68 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) {
79 // skip trailing space chars between attribute type and '='
81 if (chars[pos] == ' ') {
82 for (; pos < length && chars[po
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { argument
54 cb.put(chars, offset, length);
62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { argument
64 cb.put(chars, offset, length);
72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { argument
74 cb.put(chars, offset, length);
82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { argument
87 char ch = chars[i];
102 public static void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars) { argument
103 if (bytes == null || chars
121 isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars) argument
[all...]
/frameworks/base/core/java/android/util/
H A DByteStringUtils.java43 final char[] chars = new char[charCount];
47 chars[i * 2] = HEX_ARRAY[byteHex >>> 4];
48 chars[i * 2 + 1] = HEX_ARRAY[byteHex & 0x0F];
50 return new String(chars);
63 final char[] chars = str.toCharArray();
64 final int charLength = chars.length;
69 (byte)(((getIndex(chars[i * 2]) << 4) & 0xF0) | (getIndex(chars[i * 2 + 1]) & 0x0F));
/frameworks/minikin/libs/minikin/
H A DLayoutUtils.h37 const uint16_t* chars, size_t offset, size_t len);
47 const uint16_t* chars, size_t offset, size_t len);
H A DLayoutUtils.cpp55 const uint16_t* chars, size_t offset, size_t len) {
58 if (isWordBreakBefore(chars[offset - 1])) {
62 if (isWordBreakBefore(chars[i]) || isWordBreakAfter(chars[i - 1])) {
73 const uint16_t* chars, size_t offset, size_t len) {
75 if (isWordBreakAfter(chars[offset])) {
79 // No need to check isWordBreakAfter(chars[i - 1]) since it is checked
82 if (isWordBreakBefore(chars[i])) {
54 getPrevWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
72 getNextWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglQueryString.cpp5 const char* chars = (const char*) eglQueryString( local
9 return _env->NewStringUTF(chars);
/frameworks/base/core/java/android/text/method/
H A DDateTimeKeyListener.java68 final LinkedHashSet<Character> chars = new LinkedHashSet<>();
71 final boolean success = NumberKeyListener.addDigits(chars, locale)
72 && NumberKeyListener.addAmPmChars(chars, locale)
74 chars, locale, SKELETON_12HOUR, SYMBOLS_TO_IGNORE)
76 chars, locale, SKELETON_24HOUR, SYMBOLS_TO_IGNORE);
78 mCharacters = NumberKeyListener.collectionToArray(chars);
H A DTimeKeyListener.java68 final LinkedHashSet<Character> chars = new LinkedHashSet<>();
71 final boolean success = NumberKeyListener.addDigits(chars, locale)
72 && NumberKeyListener.addAmPmChars(chars, locale)
74 chars, locale, SKELETON_12HOUR, SYMBOLS_TO_IGNORE)
76 chars, locale, SKELETON_24HOUR, SYMBOLS_TO_IGNORE);
78 mCharacters = NumberKeyListener.collectionToArray(chars);
H A DDateKeyListener.java66 final LinkedHashSet<Character> chars = new LinkedHashSet<>();
69 final boolean success = NumberKeyListener.addDigits(chars, locale)
71 chars, locale, SKELETONS, SYMBOLS_TO_IGNORE);
73 mCharacters = NumberKeyListener.collectionToArray(chars);
H A DDigitsKeyListener.java164 LinkedHashSet<Character> chars = new LinkedHashSet<>();
165 final boolean success = NumberKeyListener.addDigits(chars, locale);
182 chars.add(Character.valueOf(minus));
183 chars.add(Character.valueOf(plus));
189 chars.add(HYPHEN_MINUS);
201 chars.add(separatorChar);
205 mAccepted = NumberKeyListener.collectionToArray(chars);
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument
56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DArraysCheckWidget.class ... .Context, android.util.AttributeSet, int, int) CharSequence chars int i String string android.content.Context context ...
/frameworks/av/camera/ndk/
H A DNdkCameraManager.cpp103 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){
105 if (mgr == nullptr || cameraId == nullptr || chars == nullptr) {
106 ALOGE("%s: invalid argument! mgr %p cameraId %p chars %p",
107 __FUNCTION__, mgr, cameraId, chars);
110 return mgr->getCameraCharacteristics(cameraId, chars);
102 ACameraManager_getCameraCharacteristics( ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars) argument
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp56 const char* chars = env->GetStringUTFChars(tag, NULL); local
57 if (!chars) {
61 jboolean result = isLoggable(chars, level);
63 env->ReleaseStringUTFChars(tag, chars);
H A Dandroid_view_KeyCharacterMap.cpp148 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); local
149 if (!chars) {
154 keyCode, reinterpret_cast<char16_t*>(chars), size_t(numChars),
157 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT);
175 jchar* chars = env->GetCharArrayElements(charsArray, NULL); local
176 if (!chars) {
184 reinterpret_cast<char16_t*>(chars),
197 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DArraysCheckWidget.java40 for (CharSequence chars : resources.getTextArray(R.array.array)) {
41 addTextView(context, chars);
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java104 char[] chars = src.toCharArray();
105 for (int j = 0; j < chars.length; ++j) {
106 char c = chars[j];
108 chars[j] = (char)(ALEF + c - 'A');
112 return new String(chars, 0, chars.length);
/frameworks/base/tools/fonts/
H A Dfontchain_lint.py150 def assert_font_supports_any_of_chars(font, chars):
152 for char in chars:
155 sys.exit('None of characters in %s were found in %s' % (chars, font))
158 def assert_font_supports_all_of_chars(font, chars):
160 for char in chars:
165 def assert_font_supports_none_of_chars(font, chars):
167 for char in chars:
368 chars, prop = line.split(';')[:2]
369 chars = chars
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DEditTextLongTextPerfTest.java62 public EditTextLongTextPerfTest(String metricKey, int chars, int lines) { argument
64 mChars = chars;
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java59 * @param chars the character array (used to determine whitespace)
60 * @param cstart the start of the line in the chars array
65 char[] chars, int cstart, int len) {
87 char ch = chars[cstart + visLen];
64 directions(int dir, byte[] levels, int lstart, char[] chars, int cstart, int len) argument
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceRequest.java173 char[] chars = query.toCharArray();
174 for (char c: chars) {
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegateTest.java81 return text.chars().allMatch((i) -> i < 128);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java218 char[] chars = null;
222 chars = new char[txt.length()];
223 txt.getChars(0, txt.length(), chars, 0);
225 return chars;

Completed in 542 milliseconds

123