Home
last modified time | relevance | path

Searched refs:char_index (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/strings/
Dutf_string_conversion_utils.cc16 int32_t* char_index, in ReadUnicodeCharacter() argument
22 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter()
27 (*char_index)--; in ReadUnicodeCharacter()
35 int32_t* char_index, in ReadUnicodeCharacter() argument
37 if (CBU16_IS_SURROGATE(src[*char_index])) { in ReadUnicodeCharacter()
38 if (!CBU16_IS_SURROGATE_LEAD(src[*char_index]) || in ReadUnicodeCharacter()
39 *char_index + 1 >= src_len || in ReadUnicodeCharacter()
40 !CBU16_IS_TRAIL(src[*char_index + 1])) { in ReadUnicodeCharacter()
46 *code_point = CBU16_GET_SUPPLEMENTARY(src[*char_index], in ReadUnicodeCharacter()
47 src[*char_index + 1]); in ReadUnicodeCharacter()
[all …]
Dutf_string_conversion_utils.h46 int32_t* char_index,
52 int32_t* char_index,
59 int32_t* char_index,
Dstring_util.cc364 int32_t char_index = truncation_length - 1; in TruncateUTF8ToByteSize() local
371 while (char_index >= 0) { in TruncateUTF8ToByteSize()
372 int32_t prev = char_index; in TruncateUTF8ToByteSize()
374 CBU8_NEXT(data, char_index, truncation_length, code_point); in TruncateUTF8ToByteSize()
377 char_index = prev - 1; in TruncateUTF8ToByteSize()
383 if (char_index >= 0 ) in TruncateUTF8ToByteSize()
384 *output = input.substr(0, char_index); in TruncateUTF8ToByteSize()
517 int32_t char_index = 0; in IsStringUTF8() local
519 while (char_index < src_len) { in IsStringUTF8()
521 CBU8_NEXT(src, char_index, src_len, code_point); in IsStringUTF8()
/external/freetype/src/type42/
Dt42objs.c120 type1->encoding.char_index[charcode] = 0; in T42_Open_Face()
131 type1->encoding.char_index[charcode] = (FT_UShort)idx; in T42_Open_Face()
439 FT_FREE( type1->encoding.char_index ); in T42_Face_Done()
Dt42parse.c356 if ( encode->char_index ) in t42_parse_encoding()
358 FT_FREE( encode->char_index ); in t42_parse_encoding()
365 if ( FT_NEW_ARRAY( encode->char_index, count ) || in t42_parse_encoding()
/external/freetype/include/freetype/internal/
Dt1types.h81 FT_UShort* char_index; member
Dftobjs.h215 FT_CMap_CharIndexFunc char_index; member
/external/freetype/src/psaux/
Dt1cmap.c202 cmap->indices = encoding->char_index; in t1_cmap_custom_init()
/external/freetype/src/type1/
Dt1load.c1408 if ( encode->char_index ) in parse_encoding()
1410 FT_FREE( encode->char_index ); in parse_encoding()
1417 if ( FT_NEW_ARRAY( encode->char_index, array_size ) || in parse_encoding()
2572 type1->encoding.char_index[charcode] = 0; in T1_Open_Face()
2583 type1->encoding.char_index[charcode] = (FT_UShort)idx; in T1_Open_Face()
Dt1objs.c256 FT_FREE( type1->encoding.char_index ); in T1_Face_Done()
/external/u-boot/drivers/video/
Dstb_truetype.h485 int char_index, // character to display
585 int char_index, // character to display
2560 STBTT_DEF void stbtt_GetBakedQuad(stbtt_bakedchar *chardata, int pw, int ph, int char_index, float … in stbtt_GetBakedQuad() argument
2564 stbtt_bakedchar *b = chardata + char_index; in stbtt_GetBakedQuad()
3010 STBTT_DEF void stbtt_GetPackedQuad(stbtt_packedchar *chardata, int pw, int ph, int char_index, floa… in stbtt_GetPackedQuad() argument
3013 stbtt_packedchar *b = chardata + char_index; in stbtt_GetPackedQuad()
/external/libpng/
Dpng.c2848 png_size_t char_index=0;
2850 if (png_check_fp_number(string, size, &state, &char_index) != 0 &&
2851 (char_index == size || string[char_index] == 0))
DCHANGES3184 char_index, divisor, exp_b10, and gamma_val, respectively, and
/external/pdfium/third_party/libpng16/
Dpng.c2810 png_size_t char_index=0;
2812 if (png_check_fp_number(string, size, &state, &char_index) != 0 &&
2813 (char_index == size || string[char_index] == 0))
/external/freetype/src/sfnt/
Dttcmap.c3298 return ucmap->cmap.clazz->char_index( &ucmap->cmap, charcode ); in tt_cmap14_char_var_index()
/external/freetype/src/base/
Dftobjs.c3697 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_Get_Char_Index()