/external/pdfium/core/src/fpdfapi/fpdf_font/ |
fpdf_font.cpp | 164 void CPDF_Font::AppendChar(CFX_ByteString& str, FX_DWORD charcode) const
167 int len = AppendChar(buf, charcode);
174 CFX_WideString CPDF_Font::UnicodeFromCharCode(FX_DWORD charcode) const
180 CFX_WideString wsRet = m_pToUnicodeMap->Lookup(charcode);
185 FX_WCHAR unicode = _UnicodeFromCharCode(charcode);
197 FX_DWORD charcode = m_pToUnicodeMap->ReverseLookup(unicode);
local 198 if (charcode) {
199 return charcode;
212 FX_DWORD charcode = GetNextChar(src_buf, src_pos);
local 213 CFX_WideString unicode = UnicodeFromCharCode(charcode);
230 FX_DWORD charcode = CharCodeFromUnicode(src_buf[src_pos]); local 378 FX_DWORD charcode = GetNextChar(pString, offset); local 1467 int charcode = 0; local [all...] |
fpdf_font_cid.cpp | 19 extern FX_LPCSTR GetAdobeCharName(int iBaseEncoding, const CFX_ByteString* pCharNames, int charcode);
383 extern FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode);
514 FX_WORD CPDF_CMap::CIDFromCharCode(FX_DWORD charcode) const
517 return (FX_WORD)charcode;
520 return FPDFAPI_CIDFromCharCode(m_pEmbedMap, charcode);
523 return (FX_WORD)charcode;
525 if (charcode >> 16) {
527 void* found = FXSYS_bsearch(&charcode, m_pAddMapping + 4, *(FX_DWORD*)m_pAddMapping, 8, compareCID);
530 return m_pUseMap->CIDFromCharCode(charcode);
534 return (FX_WORD)(((FX_DWORD*)found)[1] % 65536 + charcode - * (FX_DWORD*)found); 603 FX_DWORD charcode = 0; local [all...] |
font_int.h | 98 FX_WORD CIDFromCharCode(FX_DWORD charcode) const;
100 int GetCharSize(FX_DWORD charcode) const;
103 int AppendChar(FX_LPSTR str, FX_DWORD charcode) const;
189 CFX_WideString Lookup(FX_DWORD charcode);
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
encode_decode_uri.js | 79 for (var charcode = 1; charcode < 0xD7FF; charcode += resolution) 80 checkEncodeDecode(encodeFunction, decodeFunction, charcode); 82 for (var charcode = 0xE001; charcode < 0xFFFD; charcode += resolution) 83 checkEncodeDecode(encodeFunction, decodeFunction, charcode); 85 for (var charcode = 0xDC01; charcode < 0xDFFF; charcode += resolution [all...] |
/external/fonttools/Lib/fontTools/ |
unicode.py | 24 def __getitem__(self, charCode): 26 return self.codes[charCode] 32 def __getitem__(self, charCode): 35 return unicodedata.name(unichr(charCode))
|
/external/pdfium/core/src/fxge/ge/ |
text_int.h | 51 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encoding = ENCODING_UNICODE);
54 virtual FX_DWORD GlyphFromCharCode(FX_DWORD charcode);
55 virtual CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const
57 return CFX_WideString((FX_WCHAR)charcode);
|
fx_ge_font.cpp | 412 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCode(FX_DWORD charcode)
416 return charcode;
419 return FXFT_Get_Char_Index(face, charcode);
424 index = FXFT_Get_Char_Index(face, charcode);
427 return FXFT_Get_Char_Index(face, charcode);
430 return charcode;
432 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCodeEx(FX_DWORD charcode, int encoding)
436 return charcode;
439 return GlyphFromCharCode(charcode);
451 return FXFT_Get_Char_Index(face, charcode);
[all...] |
/external/chromium_org/v8/test/mjsunit/ |
string-case.js | 38 function charCodeToLower(charCode) { 39 if (A_CODE <= charCode && charCode <= Z_CODE) { 40 return charCode + a_CODE - A_CODE; 42 return charCode; 45 function charCodeToUpper(charCode) { 46 if (a_CODE <= charCode && charCode <= z_CODE) { 47 return charCode - (a_CODE - A_CODE); 49 return charCode; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Layout/ |
chapter-reflow-once-random.html | 33 var charCode = this.letters[index].charCodeAt(0); 34 var newCharCode = charCode + 1; 38 return charCode; 46 var charCode = this.advance(index); 47 if (charCode != RandomTextGenerator.lastCharCode)
|
/external/pdfium/core/include/fpdfapi/ |
fpdf_resource.h | 157 void AppendChar(CFX_ByteString& str, FX_DWORD charcode) const;
159 virtual int AppendChar(FX_LPSTR buf, FX_DWORD charcode) const
161 *buf = (FX_CHAR)charcode;
165 virtual int GetCharSize(FX_DWORD charcode) const
173 virtual int GlyphFromCharCode(FX_DWORD charcode, FX_BOOL *pVertGlyph = NULL) = 0;
174 virtual int GlyphFromCharCodeExt(FX_DWORD charcode)
176 return GlyphFromCharCode(charcode);
179 CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const;
222 virtual int GetCharWidthF(FX_DWORD charcode, int level = 0) = 0;
224 virtual int GetCharTypeWidth(FX_DWORD charcode);
[all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
multi_key_equivalent_button.h | 14 KeyEquivalentAndModifierMask() : charCode(nil), mask(0) {} 15 NSString* charCode;
|
multi_key_equivalent_button.mm | 21 if (key.charCode && 22 [key.charCode isEqualToString:[event charactersIgnoringModifiers]] &&
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
focus-change-between-key-events.html | 10 var cc = evt.charCode ? evt.charCode : evt.keyCode;
|
log-keypress-events.html | 11 if (event.charCode) 12 myDebugLog("event.charCode: " + event.charCode);
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttcmap.c | 133 FT_UInt32 charcode = *pchar_code; local 139 while ( ++charcode < 256 ) 141 gindex = table[charcode]; 144 result = charcode; 206 /***** assume that the value "charcode" correspond to following: *****/ 208 /***** - For one byte characters, "charcode" is simply the *****/ 211 /***** - For two byte characters, "charcode" is the 2-byte *****/ 214 /***** (charcode >> 8) is the first byte value *****/ 215 /***** (charcode & 0xFF) is the second byte value *****/ 217 /***** Note that not all values of "charcode" are valid according ***** 474 FT_UInt32 charcode = *pcharcode + 1; local 742 FT_UInt charcode; local 1010 FT_UInt32 charcode = *pcharcode; local 1099 FT_UInt charcode = (FT_UInt)*pcharcode; local [all...] |
/external/freetype/src/sfnt/ |
ttcmap.c | 139 FT_UInt32 charcode = *pchar_code; local 145 while ( ++charcode < 256 ) 147 gindex = table[charcode]; 150 result = charcode; 212 /***** assume that the value "charcode" correspond to following: *****/ 214 /***** - For one byte characters, "charcode" is simply the *****/ 217 /***** - For two byte characters, "charcode" is the 2-byte *****/ 220 /***** (charcode >> 8) is the first byte value *****/ 221 /***** (charcode & 0xFF) is the second byte value *****/ 223 /***** Note that not all values of "charcode" are valid according ***** 489 FT_UInt32 charcode = *pcharcode + 1; local 757 FT_UInt charcode; local 1032 FT_UInt32 charcode = *pcharcode; local 1121 FT_UInt charcode = (FT_UInt)*pcharcode; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ |
ttcmap.c | 133 FT_UInt32 charcode = *pchar_code; local 139 while ( ++charcode < 256 ) 141 gindex = table[charcode]; 144 result = charcode; 206 /***** assume that the value "charcode" correspond to following: *****/ 208 /***** - For one byte characters, "charcode" is simply the *****/ 211 /***** - For two byte characters, "charcode" is the 2-byte *****/ 214 /***** (charcode >> 8) is the first byte value *****/ 215 /***** (charcode & 0xFF) is the second byte value *****/ 217 /***** Note that not all values of "charcode" are valid according ***** 474 FT_UInt32 charcode = *pcharcode + 1; local 742 FT_UInt charcode; local 1010 FT_UInt32 charcode = *pcharcode; local 1099 FT_UInt charcode = (FT_UInt)*pcharcode; local [all...] |
/external/chromium_org/third_party/skia/src/fonts/ |
SkTestScalerContext.cpp | 49 int SkTestFont::codeToIndex(SkUnichar charCode) const { 53 if (charCode >= ' ' && charCode <= '~') { 54 int bitOffset = charCode - ' '; 58 while (fDebugOverage[index] != 0 && fDebugOverage[index] != charCode 64 fDebugOverage[index] = charCode; 70 if (fCharCodes[index] == (unsigned) charCode) { 74 SkDEBUGF(("missing '%c' (%d) from %s %d\n", (char) charCode, charCode,
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.prog | 18 var charCode, data=[]; 19 while ((charCode = isr.read()) >= 0) { 20 data.push(String.fromCharCode(charCode));
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
BaseClickableWithKeyInputType.cpp | 54 int charCode = event->charCode(); 55 if (charCode == '\r') { 60 if (charCode == ' ') {
|
/external/freetype/src/autofit/ |
hbshim.h | 45 FT_ULong charcode,
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page.cpp | 151 void CPDF_TextObject::GetCharInfo(int index, FX_DWORD& charcode, FX_FLOAT& kerning) const
154 charcode = (FX_DWORD)(FX_UINTPTR)m_pCharCodes;
162 charcode = m_pCharCodes[i];
182 FX_DWORD charcode = m_pCharCodes[i];
local 183 if (charcode == (FX_DWORD) - 1) {
321 FX_FLOAT CPDF_TextObject::GetCharWidth(FX_DWORD charcode) const
331 return pFont->GetCharWidthF(charcode, 0) * fontsize;
333 FX_WORD CID = pCIDFont->CIDFromCharCode(charcode);
340 FX_DWORD charCode = m_TextState.GetFont()->CharCodeFromUnicode(32);
341 if (charCode != (FX_DWORD) - 1) { 367 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local 411 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local 540 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/ |
fpdf_cmaps.cpp | 79 FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode)
81 if (charcode >> 16) {
84 FX_WORD* found = (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 8, compareDWordRange);
86 return found[3] + (FX_WORD)charcode - found[1];
89 FX_WORD* found = (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 6, compareDWordSingle);
101 FX_WORD code = (FX_WORD)charcode;
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_text.cpp | 24 CFX_GlyphBitmap* CPDF_Type3Cache::LoadGlyph(FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY)
36 if(pSizeCache->m_GlyphMap.Lookup((FX_LPVOID)(FX_UINTPTR)charcode, (void*&)pGlyphBitmap)) {
39 pGlyphBitmap = RenderGlyph(pSizeCache, charcode, pMatrix, retinaScaleX, retinaScaleY);
40 pSizeCache->m_GlyphMap.SetAt((FX_LPVOID)(FX_UINTPTR)charcode, pGlyphBitmap);
125 CFX_GlyphBitmap* CPDF_Type3Cache::RenderGlyph(CPDF_Type3Glyphs* pSize, FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY)
127 CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode);
403 FX_DWORD charcode = pChars[iChar];
local 404 if (charcode == (FX_DWORD) - 1) {
407 CPDF_Type3Char* pType3Char = pType3Font->LoadChar(charcode);
470 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd); 625 FX_DWORD charcode; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkGlyphCache.cpp | 89 // init with 0xFF so that the charCode field will be -1, which is invalid 146 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { 148 uint32_t id = SkGlyph::MakeID(charCode); 154 return fScalerContext->charToGlyphID(charCode); 168 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { 170 uint32_t id = SkGlyph::MakeID(charCode); 177 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); 198 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { 200 uint32_t id = SkGlyph::MakeID(charCode); 208 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); [all...] |