/packages/apps/IM/libwbxml/src/ |
D | imps_encoder.cpp | 104 EncoderError ImpsWbxmlEncoder::characters(const char *chars, int len) in characters() argument 106 if (chars == NULL || len < 0) { in characters() 112 while (len && isXmlWhitespace(*chars)) { in characters() 113 chars++; in characters() 116 while (len && isXmlWhitespace(chars[len - 1])) { in characters() 124 return encodeInteger(chars, len); in characters() 126 return encodeDatetime(chars, len); in characters() 128 return encodeString(chars, len); in characters() 132 EncoderError ImpsWbxmlEncoder::opaque(const char *chars, int len) in opaque() argument 134 if (chars == NULL || len < 0) { in opaque() [all …]
|
D | wbxml_encoder.cpp | 39 EncoderError WbxmlEncoder::encodeInteger(const char *chars, int len) in encodeInteger() argument 42 if (!parseUint(chars, len, &val)) { in encodeInteger() 68 EncoderError WbxmlEncoder::encodeDatetime(const char *chars, int len) in encodeDatetime() argument 71 if (len != 16 || chars[8] != 'T' || chars[15] != 'Z') { in encodeDatetime() 78 if (!parseUint(chars, 4, &year) in encodeDatetime() 79 || !parseUint(chars + 4, 2, &month) in encodeDatetime() 80 || !parseUint(chars + 6, 2, &day) in encodeDatetime() 81 || !parseUint(chars + 9, 2, &hour) in encodeDatetime() 82 || !parseUint(chars + 11,2, &min) in encodeDatetime() 83 || !parseUint(chars + 13,2, &sec)) { in encodeDatetime()
|
D | wbxml_jni.cpp | 465 static void encoderCharacters(JNIEnv * env, jobject thisObj, jint nativeEncoder, jstring chars) in encoderCharacters() argument 470 const char * c_chars = env->GetStringUTFChars(chars, NULL); in encoderCharacters() 477 EncoderError ret = encoder->characters(c_chars, env->GetStringUTFLength(chars)); in encoderCharacters() 498 env->ReleaseStringUTFChars(chars, c_chars); in encoderCharacters() 501 env->ReleaseStringUTFChars(chars, c_chars); in encoderCharacters()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 646 char[] chars = mChars; in advance() local 649 while (mOffset < chars.length && chars[mOffset] == ' ') { in advance() 654 if (mOffset == chars.length) { in advance() 660 if (chars[mOffset] == '(') { in advance() 667 if (chars[mOffset] == ')') { in advance() 674 if (chars[mOffset] == '?') { in advance() 681 if (chars[mOffset] == '=') { in advance() 684 if (mOffset < chars.length && chars[mOffset] == '=') { in advance() 691 if (chars[mOffset] == '>') { in advance() 694 if (mOffset < chars.length && chars[mOffset] == '=') { in advance() [all …]
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
D | NullReader.java | 186 public int read(char[] chars) throws IOException { in read() argument 187 return read(chars, 0, chars.length); in read() 203 public int read(char[] chars, int offset, int length) throws IOException { in read() argument 216 processChars(chars, offset, returnLength); in read() 293 protected void processChars(char[] chars, int offset, int length) { in processChars() argument
|
/packages/apps/IM/libwbxml/include/ |
D | imps_encoder.h | 40 EncoderError characters(const char *chars, int len); 51 EncoderError opaque(const char *chars, int len); 60 EncoderError encodeString(const char *chars, int len);
|
D | wbxml_encoder.h | 58 virtual EncoderError characters(const char *chars, int len) = 0; 74 EncoderError encodeInteger(const char *chars, int len); 75 EncoderError encodeDatetime(const char *chars, int len);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnEvent.java | 234 public char[] chars = null; field in OpenWnnEvent 272 this.chars = new char[1]; in OpenWnnEvent() 273 this.chars[0] = c; in OpenWnnEvent() 283 this.chars = c; in OpenWnnEvent()
|
D | StrSegment.java | 56 public StrSegment(char[] chars) { in StrSegment() argument 57 this(new String(chars), -1, -1); in StrSegment()
|
D | OpenWnnJAJP.java | 746 commitText(new String(ev.chars)); in onEvent() 749 processSoftKeyboardCodeWithoutConversion(ev.chars); in onEvent() 751 processSoftKeyboardCode(ev.chars); in onEvent() 1980 private void processSoftKeyboardCodeWithoutConversion(char[] chars) { in processSoftKeyboardCodeWithoutConversion() argument 1981 if (chars == null) { in processSoftKeyboardCodeWithoutConversion() 1986 appendStrSegment(new StrSegment(chars)); in processSoftKeyboardCodeWithoutConversion() 2007 private void processSoftKeyboardCode(char[] chars) { in processSoftKeyboardCode() argument 2008 if (chars == null) { in processSoftKeyboardCode() 2012 if ((chars[0] == ' ') || (chars[0] == '\u3000' /* Full-width space */)) { in processSoftKeyboardCode() 2015 commitText(new String(chars)); in processSoftKeyboardCode() [all …]
|
D | OpenWnnEN.java | 208 private void insertCharToComposingText(char[] chars) { in insertCharToComposingText() argument 209 StrSegment seg = new StrSegment(chars); in insertCharToComposingText() 211 if (chars[0] == SPACE[0] || chars[0] == '\u0009') { in insertCharToComposingText() 480 commitText(new String(ev.chars)); in onEvent() 483 insertCharToComposingText(ev.chars); in onEvent()
|
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 126 char[] chars = word.toString().toLowerCase().toCharArray(); in isValidWord() local 127 return isValidWordNative(mNativeDict, chars, chars.length); in isValidWord()
|
/packages/apps/IM/src/com/android/im/imps/ |
D | WbxmlSerializer.java | 79 public void characters(String chars) throws IOException, SerializerException { in characters() argument 81 nativeCharacters(mNativeHandle, chars); in characters()
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
D | BodyDescriptor.java | 170 char[] chars = rest.toCharArray(); in getHeaderParams() local 184 for (int i = 0; i < chars.length; i++) { in getHeaderParams() 185 char c = chars[i]; in getHeaderParams()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MessageUtils.java | 876 char[] chars = s.toCharArray(); in isAlphaNumeric() local 877 for (int x = 0; x < chars.length; x++) { in isAlphaNumeric() 878 char c = chars[x]; in isAlphaNumeric()
|