/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
FontMetricsImpl.java | 159 * @param ch 165 public int charWidth(int ch) { 166 if (ch < 256) { 167 return widths[ch]; 170 return getFontPeer().charWidth((char) ch); 177 * @param ch 183 public int charWidth(char ch) { 184 if (ch < 256) { 185 return widths[ch]; 187 return (int) (getFontPeer().charWidth(ch) * scaleX) [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7Charset.java | 56 boolean canEncodeDirectly(char ch) {
57 return directlyEncoded.indexOf(ch) >= 0;
|
/external/gtest/src/ |
gtest-port.cc | 134 // Returns true iff ch appears anywhere in str (excluding the 136 bool IsInSet(char ch, const char* str) { 137 return ch != '\0' && strchr(str, ch) != NULL; 140 // Returns true iff ch belongs to the given classification. Unlike 143 bool IsDigit(char ch) { return '0' <= ch && ch <= '9'; } 144 bool IsPunct(char ch) { 145 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~") 219 const char ch = regex[i]; local [all...] |
/external/icu4c/test/letest/ |
SimpleFontInstance.cpp | 91 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const 93 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); 98 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const 100 return LEFontInstance::mapCharToGlyph(ch, mapper); 103 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch) const 105 return (LEGlyphID) ch;
|
SimpleFontInstance.h | 49 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const; 53 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const; 55 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const;
|
/external/webkit/WebCore/platform/text/mac/ |
ShapeArabic.c | 266 changeLamAlef(UChar ch) { 268 switch(ch) { 293 specialChar(UChar ch) { 295 if( (ch>0x0621 && ch<0x0626)||(ch==0x0627)||(ch>0x062e && ch<0x0633)|| 296 (ch>0x0647 && ch<0x064a)||(ch==0x0629) ) [all...] |
/bionic/libc/netbsd/net/ |
base64.c | 221 int state, ch; local 230 while ((ch = (u_char) *src++) != '\0') { 231 if (isspace(ch)) /* Skip whitespace anywhere. */ 234 if (ch == Pad64) 237 pos = strchr(Base64, ch); 293 if (ch == Pad64) { /* We got a pad char. */ 294 ch = *src++; /* Skip it, get next. */ 302 for (; ch != '\0'; ch = (u_char) *src++) 303 if (!isspace(ch)) [all...] |
/external/opencore/codecs_v2/audio/aac/dec/src/ |
pvmp4audiodecoderframe.cpp | 111 pChVars[ch]->wnd, 116 pChVars[ch]->wnd, 117 pChVars[ch]->pShareWfxpCoef->max_sfb ... 510 Int ch; local [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
pvmp4audiodecoderframe.cpp | 111 pChVars[ch]->wnd, 116 pChVars[ch]->wnd, 117 pChVars[ch]->pShareWfxpCoef->max_sfb ... 510 Int ch; local [all...] |
/external/speex/libspeex/ |
smallft.c | 116 static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ 125 ch[t1<<1]=cc[t1]+cc[t2]; 126 ch[(t1<<1)+t3-1]=cc[t1]-cc[t2]; 148 ch[t6]=cc[t5]+ti2; 149 ch[t4]=ti2-cc[t5]; 150 ch[t6-1]=cc[t5-1]+tr2; 151 ch[t4-1]=cc[t5-1]-tr2; 163 ch[t1]=-cc[t2]; 164 ch[t1-1]=cc[t3]; 171 static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1 [all...] |
/external/qemu/hw/ |
bt-l2cap.c | 167 static void l2cap_retransmission_timer_update(struct l2cap_chan_s *ch) 170 if (ch->mode != L2CAP_MODE_BASIC && ch->rexmit) 171 qemu_mod_timer(ch->retransmission_timer); 173 qemu_del_timer(ch->retransmission_timer); 177 static void l2cap_monitor_timer_update(struct l2cap_chan_s *ch) 180 if (ch->mode != L2CAP_MODE_BASIC && !ch->rexmit) 181 qemu_mod_timer(ch->monitor_timer); 183 qemu_del_timer(ch->monitor_timer) 404 struct l2cap_chan_s *ch = NULL; local 455 struct l2cap_chan_s *ch = NULL; local 688 struct l2cap_chan_s *ch; local 720 struct l2cap_chan_s *ch; local 748 struct l2cap_chan_s *ch = l2cap_channel_open(l2cap, psm, source_cid); local [all...] |
/bionic/libc/inet/ |
inet_pton.c | 76 int saw_digit, octets, ch; local 82 while ((ch = *src++) != '\0') { 85 if ((pch = strchr(digits, ch)) != NULL) { 96 } else if (ch == '.' && saw_digit) { 131 int ch, saw_xdigit, count_xdigit; local 144 while ((ch = *src++) != '\0') { 147 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 148 pch = strchr((xdigits = xdigits_u), ch); 160 if (ch == ':') { 179 if (ch == '.' && ((tp + INADDRSZ) <= endp) & [all...] |
/packages/inputmethods/PinyinIME/jni/include/ |
spellingtrie.h | 49 // For half ids of Zh/Ch/Sh, map to z/c/s (low case) respectively. 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) { 158 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationListItem.java | 124 private CharSequence formatMessage(ConversationListItemData ch) { 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; local 158 if (ch.getContacts().size() == 1) { 159 Contact contact = ch.getContacts().get(0); 177 ConversationListItemData ch = mConversationHeader local [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/utils/ |
XML11Char.java | 298 char ch = name.charAt(0);
local 299 if( !isXML11NameStart(ch) ) {
300 if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
303 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
313 ch = name.charAt(i);
314 if ( !isXML11Name(ch) ) {
315 if ( ++i < length && isXML11NameHighSurrogate(ch) ) {
318 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
348 char ch = ncName.charAt(0);
local 349 if( !isXML11NCNameStart(ch) ) {
396 char ch = nmtoken.charAt(i); local [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 293 char ch = name.charAt(0); local 294 if( !isXML11NameStart(ch) ) { 295 if ( length > 1 && isXML11NameHighSurrogate(ch) ) { 298 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) { 308 ch = name.charAt(i); 309 if ( !isXML11Name(ch) ) { 310 if ( ++i < length && isXML11NameHighSurrogate(ch) ) { 313 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) { 343 char ch = ncName.charAt(0); local 344 if( !isXML11NCNameStart(ch) ) { 391 char ch = nmtoken.charAt(i); local [all...] |
/external/e2fsprogs/e2fsck/ |
message.c | 167 unsigned char ch; local 173 ch = *cp++; 174 if (ch > 128) { 176 ch -= 128; 178 if ((ch < 32) || (ch == 0x7f)) { 180 ch ^= 0x40; /* ^@, ^A, ^B; ^? for DEL */ 182 fputc(ch, stdout); 215 static _INLINE_ void expand_at_expression(e2fsck_t ctx, char ch, 223 if (ch == *cpp[0] [all...] |
/external/e2fsprogs/ext2ed/ |
main.c | 269 int ch; local 272 while (!done && (ch = command_read_key())) { 273 switch (ch) { 286 if (ch > 256) 288 if (ch == '\n') break; 289 *chptr++ = ch; 290 wprintw(command_win, "%c", ch); 421 char ch,*source_ptr,*target_ptr; local 430 ch=*source_ptr++; 431 } while (! (ch>' ' && ch<='z') && ch!=0) [all...] |
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
ccl.c | 35 void ccladd( cclp, ch ) 37 int ch; 41 check_char( ch ); 49 if ( ccltbl[ind + i] == ch ) 65 ccltbl[newpos] = ch;
|
/external/freetype/include/freetype/internal/ |
psaux.h | [all...] |
/external/opencore/codecs_v2/audio/sbc/enc/src/ |
sbcenc_filter.cpp | 152 Int *ptr, *ptr1, t_var2, t_var1, arr_tmp[16], ch, blk, i, *X_ptr; local 157 for (ch = 0; ch < sbc->channels; ch++) 159 X_ptr = &filter->X[ch][60]; 233 sbc->sb_sample[blk][ch][0] = t_var2 + tmp4; 234 sbc->sb_sample[blk][ch][3] = t_var2 - tmp4; 235 sbc->sb_sample[blk][ch][1] = t_var4 + tmp1; 236 sbc->sb_sample[blk][ch][2] = t_var4 - tmp1; 243 for (ch = 0; ch < sbc->channels; ch++ 255 Int *ptr, *ptr1, t_var2, t_var1, arr_tmp[16], ch, blk, i, *X_ptr; local [all...] |
/external/dropbear/libtommath/ |
bn_mp_read_radix.c | 22 char ch; local 51 ch = (char) ((radix < 36) ? toupper (*str) : *str); 53 if (ch == mp_s_rmap[y]) {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/filter/ |
HTMLFilter.java | 16 char ch = buf.charAt(i); local 17 switch (ch)
|
/external/apache-http/src/org/apache/http/impl/conn/ |
Wire.java | 56 int ch; local 57 while ((ch = instream.read()) != -1) { 58 if (ch == 13) { 60 } else if (ch == 10) { 66 } else if ((ch < 32) || (ch > 127)) { 68 buffer.append(Integer.toHexString(ch)); 71 buffer.append((char) ch);
|
/external/icu4c/common/ |
util_props.cpp | 148 UChar32 ch = str.char32At(p); local 150 if (u_isIDStart(ch)) { 151 buf.append(ch); 157 if (u_isIDPart(ch)) { 158 buf.append(ch); 163 p += UTF_CHAR_LENGTH(ch); 193 UChar32 ch = text.char32At(p); local 194 int32_t d = u_digit(ch, radix);
|