/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | Base64Util.java | 75 final char ch = this.alphabet[i];
76 if (ch >= 128)
77 throw new IllegalArgumentException("invalid character in alphabet: " + ch);
78 inverseAlphabet[ch] = i;
86 * @param ch The character, as a ASCII encoded byte
90 int getSextet(final byte ch) {
argument 91 if (ch >= 128)
93 return inverseAlphabet[ch];
99 * @param ch The character
100 * @return true if the alphabet contains <code>ch</cod 102 contains(final char ch) argument [all...] |
H A D | ModifiedUTF7Charset.java | 44 boolean canEncodeDirectly(char ch) {
argument 45 if (ch == shift())
47 return ch >= 0x20 && ch <= 0x7E;
|
H A D | UTF7StyleCharsetEncoder.java | 148 char ch = in.get();
149 if (cs.canEncodeDirectly(ch)) {
150 unshift(out, ch);
151 out.put((byte)ch);
152 } else if (!base64mode && ch == shift) {
156 encodeBase64(ch, out);
178 * @param ch
180 private void unshift(ByteBuffer out, char ch) {
argument 185 if (base64.contains(ch) || ch 203 encodeBase64(char ch, ByteBuffer out) argument [all...] |
H A D | UTF7Charset.java | 56 boolean canEncodeDirectly(char ch) {
argument 57 return directlyEncoded.indexOf(ch) >= 0;
|
H A D | UTF7StyleCharset.java | 98 * @param ch The character
101 abstract boolean canEncodeDirectly(char ch);
argument
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ImapResponseParser.java | 89 int ch = mIn.peek(); 90 if (ch == '*') { 93 } else if (ch == '+') { 179 int ch = mIn.peek(); 180 if (ch == '(') { 182 } else if (ch == ')') { 185 } else if (ch == '[') { 187 } else if (ch == ']') { 190 } else if (ch == '"') { 192 } else if (ch 330 expect(char ch) argument [all...] |
/packages/apps/Email/src/org/apache/commons/io/input/ |
H A D | TeeInputStream.java | 106 int ch = super.read();
107 if (ch != -1) {
108 branch.write(ch);
110 return ch;
|
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | spellingtrie.h | 109 // spelling, including Shengmu and Yunmu), or id of zh/ch/sh. 134 // The caller should guarantee ch >= 'A' && ch <= 'Z' 135 bool is_shengmu_char(char ch) const; 137 // The caller should guarantee ch >= 'A' && ch <= 'Z' 138 bool is_yunmu_char(char ch) const; 157 inline static bool is_valid_spl_char(char ch) { argument 158 return (ch >= 'a' && ch < [all...] |
H A D | pinyinime.h | 115 * @param ch The letter to add. 118 size_t im_add_letter(char ch);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ConversationListItem.java | 124 private CharSequence formatMessage(ConversationListItemData ch) { argument 127 String from = ch.getFrom(); 131 if (ch.getMessageCount() > 1) { 132 buf.append(" (" + ch.getMessageCount() + ") "); 136 if (ch.hasDraft()) { 147 if (!ch.isRead()) { 155 ConversationListItemData ch = mConversationHeader; 158 if (ch.getContacts().size() == 1) { 159 Contact contact = ch.getContacts().get(0); 177 ConversationListItemData ch 192 bind(Context context, final ConversationListItemData ch) argument [all...] |
H A D | ConversationListAdapter.java | 58 ConversationListItemData ch = new ConversationListItemData(context, conv); 59 headerView.bind(context, ch);
|
/packages/apps/Email/src/com/android/exchange/utility/ |
H A D | SimpleIcsWriter.java | 142 char ch = s.charAt(i); 143 if (ch == '\n') { 145 } else if (ch == '\r') { 147 } else if (ch == ',' || ch == ';' || ch == '\\') { 149 sb.append(ch); 151 sb.append(ch);
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | spellingtrie.cpp | 121 char ch = kHalfId2Sc_[*splid]; local 122 if (ch > 'Z') { 125 if (szm_is_enabled(ch)) { 127 } else if (is_yunmu_char(ch)) { 170 char ch = kHalfId2Sc_[splid]; local 171 // If ch >= 'a', that means the half id is one of Zh/Ch/Sh 172 if (ch >= 'a') { 176 return char_flags_[ch - 'A'] & kHalfIdYunmuMask; 179 bool SpellingTrie::is_shengmu_char(char ch) const { 180 return char_flags_[ch [all...] |
/packages/apps/Email/src/org/apache/commons/io/output/ |
H A D | DemuxOutputStream.java | 80 * @param ch the byte to write to stream
83 public void write( int ch )
89 output.write( ch );
|
/packages/apps/Email/src/org/apache/james/mime4j/codec/ |
H A D | EncoderUtil.java | 72 for (char ch = 33; ch < 127; ch++) { 73 if (specials.indexOf(ch) == -1) { 74 bs.set(ch); 225 char ch = text.charAt(idx); 226 if (ch == '\t' || ch == ' ') { 238 if (ch < 32 || ch > [all...] |
/packages/apps/IM/libwbxml/include/ |
H A D | wbxml_encoder.h | 67 static bool isXmlWhitespace(int ch); 84 void appendResult(int ch) argument 86 mResult += (char)ch;
|
H A D | wbxml_stl.h | 72 string & operator+=(char ch) argument 74 char c[2] = {ch, 0}; // temporary workaround for String8.append(str, len) bug
|
/packages/apps/IM/libwbxml/src/ |
H A D | wbxml_parser.cpp | 518 uint32_t ch = readMbuint32(); local 520 if (ch <= 0x7f) { 521 str += (char)ch; 522 } else if (ch <= 0x7ff) { 523 str += (char)((ch >> 6) | 0xc0); 524 str += (char)((ch & 0x3f) | 0x80); 525 } else if (ch <= 0xffff) { 526 str += (char)((ch >> 12) | 0xe0); 527 str += (char)(((ch >> 6) & 0x3f) | 0x80); 528 str += (char)((ch [all...] |
H A D | wbxml_encoder.cpp | 22 bool WbxmlEncoder::isXmlWhitespace(int ch) argument 24 return ch == ' ' || ch == 9 || ch == 0xd || ch == 0xa;
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
H A D | SmilContentHandler.java | 90 public void characters(char[] ch, int start, int length) { argument 92 Log.v(TAG, "SmilContentHandler.characters. ch = " + new String(ch, start, length));
|
/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/ |
H A D | IPinyinDecoderService.aidl | 26 int imAddLetter(byte ch);
|
/packages/apps/IM/src/com/android/im/imps/ |
H A D | ImpsAddress.java | 258 char ch = str.charAt(i); 259 if(ch < 32 || ch > 126 || isSpecial(ch)) { 266 private boolean isSpecial(char ch) { argument 268 if(ch == element) {
|
H A D | PtsPrimitiveParser.java | 506 char ch = buf.charAt(pos); 507 if (ch == ' ' || ch == '=') { 546 char ch = buf.charAt(pos); 547 if (ch == '(') { 571 if (ch == '"') { 577 ch = buf.charAt(pos); 579 if (ch == '"') { 588 escapedValue.append(ch); 597 ch [all...] |
H A D | WbxmlParser.java | 98 void characters(char[] ch, int length) throws SAXException { argument 100 mContentHandler.characters(ch, 0, length); 115 native void nativeParse(int nativeParser, byte[] ch, int length, argument
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
H A D | GDataParser.java | 139 public void characters(char[] ch, int start, int length) throws SAXException { argument 140 mValue.append(ch, start, length); 143 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { argument
|