Home
last modified time | relevance | path

Searched refs:charcode (Results 1 – 25 of 44) sorted by relevance

12

/external/v8/test/webkit/fast/js/kde/
Dencode_decode_uri.js79 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)
86 checkEncodeException(encodeFunction, charcode);
88 for (var charcode = 0xD801; charcode < 0xDBFF; charcode += resolution)
89 checkEncodeDecode(encodeFunction, decodeFunction, charcode, 0xDC00);
91 for (var charcode = 0xDC01; charcode < 0xDFFF; charcode += resolution)
92 checkEncodeDecode(encodeFunction, decodeFunction, 0xD800, charcode);
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp128 void CPDF_Font::AppendChar(CFX_ByteString& str, FX_DWORD charcode) const { in AppendChar()
130 int len = AppendChar(buf, charcode); in AppendChar()
137 CFX_WideString CPDF_Font::UnicodeFromCharCode(FX_DWORD charcode) const { in UnicodeFromCharCode()
142 CFX_WideString wsRet = m_pToUnicodeMap->Lookup(charcode); in UnicodeFromCharCode()
147 FX_WCHAR unicode = _UnicodeFromCharCode(charcode); in UnicodeFromCharCode()
158 FX_DWORD charcode = m_pToUnicodeMap->ReverseLookup(unicode); in CharCodeFromUnicode() local
159 if (charcode) { in CharCodeFromUnicode()
160 return charcode; in CharCodeFromUnicode()
172 FX_DWORD charcode = GetNextChar(src_buf, src_len, src_pos); in DecodeString() local
173 CFX_WideString unicode = UnicodeFromCharCode(charcode); in DecodeString()
[all …]
Dfpdf_font_cid.cpp237 int GetCharSizeImpl(FX_DWORD charcode, in GetCharSizeImpl() argument
245 codes[2] = (uint8_t)(charcode >> 8 & 0xFF); in GetCharSizeImpl()
246 codes[3] = (uint8_t)charcode; in GetCharSizeImpl()
315 FX_DWORD charcode) { in EmbeddedUnicodeFromCharcode() argument
319 FX_WORD cid = FPDFAPI_CIDFromCharCode(pEmbedMap, charcode); in EmbeddedUnicodeFromCharcode()
844 FX_WORD CPDF_CMap::CIDFromCharCode(FX_DWORD charcode) const { in CIDFromCharCode()
846 return (FX_WORD)charcode; in CIDFromCharCode()
849 return FPDFAPI_CIDFromCharCode(m_pEmbedMap, charcode); in CIDFromCharCode()
852 return (FX_WORD)charcode; in CIDFromCharCode()
854 if (charcode >> 16) { in CIDFromCharCode()
[all …]
Dfpdf_font_charset.cpp1648 uint8_t charcode) { in PDF_CharNameFromPredefinedCharSet() argument
1650 if (charcode < 24) { in PDF_CharNameFromPredefinedCharSet()
1653 charcode -= 24; in PDF_CharNameFromPredefinedCharSet()
1655 if (charcode < 32) { in PDF_CharNameFromPredefinedCharSet()
1658 charcode -= 32; in PDF_CharNameFromPredefinedCharSet()
1662 return AdobeWinAnsiEncodingNames[charcode]; in PDF_CharNameFromPredefinedCharSet()
1664 return MacRomanEncodingNames[charcode]; in PDF_CharNameFromPredefinedCharSet()
1666 return MacExpertEncodingNames[charcode]; in PDF_CharNameFromPredefinedCharSet()
1668 return StandardEncodingNames[charcode]; in PDF_CharNameFromPredefinedCharSet()
1670 return AdobeSymbolEncodingNames[charcode]; in PDF_CharNameFromPredefinedCharSet()
[all …]
Dfont_int.h131 FX_WORD CIDFromCharCode(FX_DWORD charcode) const;
133 int GetCharSize(FX_DWORD charcode) const;
136 int AppendChar(FX_CHAR* str, FX_DWORD charcode) const;
195 CFX_WideString Lookup(FX_DWORD charcode);
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h46 uint8_t charcode);
48 FX_WCHAR FT_UnicodeFromCharCode(int encoding, FX_DWORD charcode);
53 int charcode);
165 void AppendChar(CFX_ByteString& str, FX_DWORD charcode) const;
167 virtual int AppendChar(FX_CHAR* buf, FX_DWORD charcode) const { in AppendChar() argument
168 *buf = (FX_CHAR)charcode; in AppendChar()
172 virtual int GetCharSize(FX_DWORD charcode) const { return 1; } in GetCharSize() argument
174 virtual int GlyphFromCharCode(FX_DWORD charcode,
176 virtual int GlyphFromCharCodeExt(FX_DWORD charcode) { in GlyphFromCharCodeExt() argument
177 return GlyphFromCharCode(charcode); in GlyphFromCharCodeExt()
[all …]
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c146 FT_UInt32 charcode = *pchar_code; in tt_cmap0_char_next() local
152 while ( ++charcode < 256 ) in tt_cmap0_char_next()
154 gindex = table[charcode]; in tt_cmap0_char_next()
157 result = charcode; in tt_cmap0_char_next()
498 FT_UInt32 charcode = *pcharcode + 1; in tt_cmap2_char_next() local
502 while ( charcode < 0x10000UL ) in tt_cmap2_char_next()
504 subheader = tt_cmap2_get_subheader( table, charcode ); in tt_cmap2_char_next()
512 FT_UInt char_lo = (FT_UInt)( charcode & 0xFF ); in tt_cmap2_char_next()
528 charcode = FT_PAD_FLOOR( charcode, 256 ) + char_lo; in tt_cmap2_char_next()
530 for ( ; pos < count; pos++, charcode++ ) in tt_cmap2_char_next()
[all …]
/external/freetype/src/sfnt/
Dttcmap.c139 FT_UInt32 charcode = *pchar_code; in tt_cmap0_char_next() local
145 while ( ++charcode < 256 ) in tt_cmap0_char_next()
147 gindex = table[charcode]; in tt_cmap0_char_next()
150 result = charcode; in tt_cmap0_char_next()
489 FT_UInt32 charcode = *pcharcode + 1; in tt_cmap2_char_next() local
493 while ( charcode < 0x10000UL ) in tt_cmap2_char_next()
495 subheader = tt_cmap2_get_subheader( table, charcode ); in tt_cmap2_char_next()
503 FT_UInt char_lo = (FT_UInt)( charcode & 0xFF ); in tt_cmap2_char_next()
519 charcode = FT_PAD_FLOOR( charcode, 256 ) + char_lo; in tt_cmap2_char_next()
521 for ( ; pos < count; pos++, charcode++ ) in tt_cmap2_char_next()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/
Dfpdf_cmaps.cpp81 FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode) { in FPDFAPI_CIDFromCharCode() argument
82 if (charcode >> 16) { in FPDFAPI_CIDFromCharCode()
86 (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, in FPDFAPI_CIDFromCharCode()
89 return found[3] + (FX_WORD)charcode - found[1]; in FPDFAPI_CIDFromCharCode()
93 (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, in FPDFAPI_CIDFromCharCode()
106 FX_WORD code = (FX_WORD)charcode; in FPDFAPI_CIDFromCharCode()
Dcmap_int.h29 FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode);
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp144 FX_DWORD& charcode, in GetCharInfo() argument
147 charcode = (FX_DWORD)(uintptr_t)m_pCharCodes; in GetCharInfo()
155 charcode = m_pCharCodes[i]; in GetCharInfo()
175 FX_DWORD charcode = m_pCharCodes[i]; in GetCharInfo() local
176 if (charcode == (FX_DWORD)-1) { in GetCharInfo()
315 FX_FLOAT CPDF_TextObject::GetCharWidth(FX_DWORD charcode) const { in GetCharWidth()
324 return pFont->GetCharWidthF(charcode, 0) * fontsize; in GetCharWidth()
326 FX_WORD CID = pCIDFont->CIDFromCharCode(charcode); in GetCharWidth()
359 FX_DWORD charcode = in GetCharRect() local
361 if (charcode == (FX_DWORD)-1) { in GetCharRect()
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp465 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCode(FX_DWORD charcode) { in GlyphFromCharCode() argument
468 return charcode; in GlyphFromCharCode()
471 return FXFT_Get_Char_Index(face, charcode); in GlyphFromCharCode()
476 index = FXFT_Get_Char_Index(face, charcode); in GlyphFromCharCode()
478 return FXFT_Get_Char_Index(face, charcode); in GlyphFromCharCode()
480 return charcode; in GlyphFromCharCode()
492 FX_DWORD CFX_UnicodeEncodingEx::GlyphFromCharCode(FX_DWORD charcode) { in GlyphFromCharCode() argument
494 FT_UInt nIndex = FXFT_Get_Char_Index(face, charcode); in GlyphFromCharCode()
510 nIndex = FXFT_Get_Char_Index(face, charcode); in GlyphFromCharCode()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp20 CFX_GlyphBitmap* CPDF_Type3Cache::LoadGlyph(FX_DWORD charcode, in LoadGlyph() argument
37 auto it2 = pSizeCache->m_GlyphMap.find(charcode); in LoadGlyph()
42 RenderGlyph(pSizeCache, charcode, pMatrix, retinaScaleX, retinaScaleY); in LoadGlyph()
43 pSizeCache->m_GlyphMap[charcode] = pGlyphBitmap; in LoadGlyph()
122 FX_DWORD charcode, in RenderGlyph() argument
126 const CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode); in RenderGlyph()
381 FX_DWORD charcode = pChars[iChar]; in ProcessType3Text() local
382 if (charcode == (FX_DWORD)-1) { in ProcessType3Text()
385 CPDF_Type3Char* pType3Char = pType3Font->LoadChar(charcode); in ProcessType3Text()
454 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd); in ProcessType3Text()
[all …]
/external/freetype/src/autofit/
Dhbshim.c423 FT_ULong charcode, in af_get_char_index() argument
437 in_idx = FT_Get_Char_Index( metrics->globals->face, charcode ); in af_get_char_index()
450 uint32_t c = (uint32_t)charcode; in af_get_char_index()
524 FT_ULong charcode, in af_get_char_index() argument
536 *codepoint = FT_Get_Char_Index( face, charcode ); in af_get_char_index()
Dafglobal.c187 FT_ULong charcode = range->first; in af_face_globals_compute_style_coverage() local
191 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_style_coverage()
200 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_style_coverage()
202 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_style_coverage()
Dhbshim.h45 FT_ULong charcode,
/external/pdfium/third_party/freetype/src/type1/
Dt1load.c1301 FT_Int charcode; in parse_encoding() local
1305 charcode = n; in parse_encoding()
1308 charcode = (FT_Int)T1_ToInt( parser ); in parse_encoding()
1337 parser->root.error = T1_Add_Table( char_table, charcode, in parse_encoding()
1341 char_table->elements[charcode][len] = '\0'; in parse_encoding()
2262 FT_Int charcode, idx, min_char, max_char; in T1_Open_Face() local
2274 charcode = 0; in T1_Open_Face()
2275 for ( ; charcode < loader.encoding_table.max_elems; charcode++ ) in T1_Open_Face()
2280 type1->encoding.char_index[charcode] = 0; in T1_Open_Face()
2281 type1->encoding.char_name [charcode] = (char *)".notdef"; in T1_Open_Face()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp854 int charcode; in AddFont() local
855 for (charcode = 32; charcode < 128; charcode++) { in AddFont()
856 int glyph_index = pEncoding->GlyphFromCharCode(charcode); in AddFont()
868 for (charcode = 128; charcode <= 255; charcode++) { in AddFont()
869 int glyph_index = pEncoding->GlyphFromCharCode(charcode); in AddFont()
/external/freetype/include/
Dfreetype.h3220 FT_ULong charcode );
3579 FT_ULong charcode,
3615 FT_ULong charcode,
3679 FT_ULong charcode );
/external/pdfium/third_party/freetype/include/freetype/
Dfreetype.h3344 FT_ULong charcode );
3713 FT_ULong charcode,
3749 FT_ULong charcode,
3813 FT_ULong charcode );
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp75 FX_DWORD charcode = pText->m_nChars == 1 in ProcessObject() local
78 if (charcode == (FX_DWORD)-1) { in ProcessObject()
82 pFont->GetCharBBox(charcode, char_box); in ProcessObject()
98 pFont->AppendChar(str, charcode); in ProcessObject()
119 FX_DWORD charcode = pText->m_nChars == 1 in ProcessObject() local
122 if (charcode == (FX_DWORD)-1) { in ProcessObject()
147 pFont->AppendChar(segment, charcode); in ProcessObject()
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftdriver.h72 FT_Long charcode );
76 FT_Long charcode );
/external/freetype/include/internal/
Dftdriver.h72 FT_Long charcode );
76 FT_Long charcode );
/external/freetype/src/cache/
Dftccmap.c52 #define FTC_CMAP_HASH( faceid, index, charcode ) \ argument
54 ( (charcode) / FTC_CMAP_INDICES_MAX ) )
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c3374 FT_ULong charcode ) in FT_Get_Char_Index() argument
3384 if ( charcode > 0xFFFFFFFFUL ) in FT_Get_Char_Index()
3387 FT_TRACE1(( " 0x%x is truncated\n", charcode )); in FT_Get_Char_Index()
3390 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_Get_Char_Index()
3428 FT_ULong charcode, in FT_Get_Next_Char() argument
3437 FT_UInt32 code = (FT_UInt32)charcode; in FT_Get_Next_Char()
3461 FT_ULong charcode, in FT_Face_GetCharVariantIndex() argument
3480 if ( charcode > 0xFFFFFFFFUL ) in FT_Face_GetCharVariantIndex()
3483 FT_TRACE1(( " 0x%x is truncated\n", charcode )); in FT_Face_GetCharVariantIndex()
3492 (FT_UInt32)charcode, in FT_Face_GetCharVariantIndex()
[all …]

12