/frameworks/base/core/java/com/android/internal/net/ |
D | DNParser.java | 56 private char[] chars; field in DNParser 79 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 90 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 104 if (chars[pos] == ' ') { in nextAT() 105 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() 108 if (chars[pos] != '=' || pos == length) { in nextAT() 118 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 123 if ((end - beg > 4) && (chars[beg + 3] == '.') in nextAT() 124 && (chars[beg] == 'O' || chars[beg] == 'o') in nextAT() 125 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') in nextAT() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | CharArrayBuffers.java | 42 char[] chars = buffer.buffer(); in containsIgnoreCaseTrimmed() local 43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) { in containsIgnoreCaseTrimmed() 49 char a = chars[beginIndex+j]; in containsIgnoreCaseTrimmed() 68 char[] chars = buffer.buffer(); in setLowercaseIndexOf() local 71 char current = chars[i]; in setLowercaseIndexOf() 77 chars[i] = current; in setLowercaseIndexOf()
|
/frameworks/base/core/jni/ |
D | android_text_KeyCharacterMap.cpp | 50 getMatch(JNIEnv *env, jobject clazz, jint ptr, jint keycode, jcharArray chars, jint modifiers) in getMatch() argument 53 jchar* ch = env->GetCharArrayElements(chars, NULL); in getMatch() 54 jsize chsize = env->GetArrayLength(chars); in getMatch() 58 env->ReleaseCharArrayElements(chars, ch, JNI_ABORT); in getMatch() 80 jcharArray chars = (jcharArray) env->GetObjectField(keydata, gKeyDataMetaField); in getKeyData() local 81 jchar* ch = env->GetCharArrayElements(chars, NULL); in getKeyData() 89 env->ReleaseCharArrayElements(chars, ch, 0); in getKeyData() 104 uint16_t* chars = env->GetCharArrayElements(jchars, NULL); in getEvents() local 109 bool success = kmap->getEvents(chars, len, &keys, &modifiers); in getEvents() 111 env->ReleaseCharArrayElements(jchars, chars, JNI_ABORT); in getEvents()
|
D | android_util_Log.cpp | 73 const char* chars = env->GetStringUTFChars(tag, NULL); in android_util_Log_isLoggable() 75 if ((strlen(chars)+sizeof(LOG_NAMESPACE)) > PROPERTY_KEY_MAX) { in android_util_Log_isLoggable() 79 chars, PROPERTY_KEY_MAX - sizeof(LOG_NAMESPACE)); in android_util_Log_isLoggable() 82 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable() 88 strcpy(key + sizeof(LOG_NAMESPACE) - 1, chars); in android_util_Log_isLoggable() 91 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable()
|
D | android_os_Power.cpp | 93 const char *chars = env->GetStringUTFChars(reason, NULL); in android_os_Power_reboot() local 95 LINUX_REBOOT_CMD_RESTART2, (char*) chars); in android_os_Power_reboot() 96 env->ReleaseStringUTFChars(reason, chars); // In case it fails. in android_os_Power_reboot()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 461 const char* chars = eglQueryString(dpy, name); in jni_eglQueryString() local 462 return _env->NewStringUTF(chars); in jni_eglQueryString()
|
D | android_opengl_GLES10.cpp | 1702 const char * chars = (const char *)glGetString((GLenum)name); in android_glGetString() local 1703 jstring output = _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | HashMapPerfTest.java | 39 char[] chars = new char[len]; in StringThing() local 40 chars[0] = 't'; in StringThing() 42 chars[i] = (char) ('q' + sRandom.nextInt(4)); in StringThing() 44 mId = new String(chars, 0, len); in StringThing()
|
/frameworks/base/opengl/tools/glgen/stubs/gles11/ |
D | glGetString.cpp | 8 const char * chars = (const char *)glGetString((GLenum)name); in android_glGetString() local 9 jstring output = _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
D | glGetString.cpp | 8 const char * chars = (const char *)glGetString((GLenum)name); in android_glGetString() local 9 jstring output = _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 148 public char getMatch(int keyCode, char[] chars) in getMatch() argument 150 return getMatch(keyCode, chars, 0); in getMatch() 162 public char getMatch(int keyCode, char[] chars, int modifiers) in getMatch() argument 164 if (chars == null) { in getMatch() 168 return getMatch_native(mPointer, keyCode, chars, modifiers); in getMatch() 244 public KeyEvent[] getEvents(char[] chars) in getEvents() argument 246 if (chars == null) { in getEvents() 250 long[] keys = getEvents_native(mPointer, chars); in getEvents() 394 char[] chars, int modifiers); in getMatch_native() argument
|
D | KeyEvent.java | 1198 public char getMatch(char[] chars) { in getMatch() argument 1199 return getMatch(chars, 0); in getMatch() 1210 public char getMatch(char[] chars, int modifiers) { in getMatch() argument 1211 return KeyCharacterMap.load(mDeviceId).getMatch(mKeyCode, chars, modifiers); in getMatch()
|
/frameworks/base/include/ui/ |
D | KeyCharacterMap.h | 34 unsigned short getMatch(int keycode, const unsigned short* chars, 40 bool getEvents(uint16_t* chars, size_t len,
|
/frameworks/base/libs/ui/ |
D | KeyCharacterMap.cpp | 54 KeyCharacterMap::getMatch(int keycode, const unsigned short* chars, in getMatch() argument 62 uint16_t c = chars[j]; in getMatch() 119 KeyCharacterMap::getEvents(uint16_t* chars, size_t len, in getEvents() argument 124 if (find_char(chars[i], &k, &mods)) { in getEvents()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParser.java | 188 char[] chars = null; in getTextCharacters() local 192 chars = new char[txt.length()]; in getTextCharacters() 193 txt.getChars(0, txt.length(), chars, 0); in getTextCharacters() 195 return chars; in getTextCharacters()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 91 char[] chars = buff.toString().toCharArray(); in sendText() local 96 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); in sendText()
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 160 char[] chars = null; in getTextCharacters() local 164 chars = new char[txt.length()]; in getTextCharacters() 165 txt.getChars(0, txt.length(), chars, 0); in getTextCharacters() 167 return chars; in getTextCharacters()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 493 final char[] chars = mChars; in append() 496 chars[index++] = '0'; in append() 502 chars[index++] = '-'; in append() 511 chars[index++] = '0'; in append() 519 chars[index++] = (char) (digit + '0'); in append()
|
/frameworks/base/libs/utils/ |
D | String16.cpp | 277 size_t chars = 0; in allocFromUTF8() local 282 chars++; in allocFromUTF8() 285 if (codepoint > 0xFFFF) chars++; // this will be a surrogate pair in utf16 in allocFromUTF8() 289 size_t bufSize = (chars+1)*sizeof(char16_t); in allocFromUTF8()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 528 char[] chars = new char[1]; in sendCurrentText() local 529 content.getChars(0, 1, chars, 0); in sendCurrentText() 530 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); in sendCurrentText()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.h | 121 status_t appendChars(const String16& chars);
|
D | XMLNode.cpp | 789 status_t XMLNode::appendChars(const String16& chars) in appendChars() argument 795 mChars.append(chars); in appendChars()
|
/frameworks/base/docs/html/videos/ |
D | index.jd | 101 …// If the first line includes the first 17 chars from the title, let's use the title from the desc…
|
/frameworks/base/docs/html/sdk/ndk/ |
D | index.jd | 79 dealing with signed chars.</li>
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 2784 public CharWrapper(char[] chars, int start, int len) { in CharWrapper() argument 2785 mChars = chars; in CharWrapper() 2790 /* package */ void set(char[] chars, int start, int len) { in set() argument 2791 mChars = chars; in set()
|