Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dutf_string_conversion_utils.cc15 int32_t* char_index, in ReadUnicodeCharacter() argument
21 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter()
26 (*char_index)--; in ReadUnicodeCharacter()
34 int32_t* char_index, in ReadUnicodeCharacter() argument
36 if (CBU16_IS_SURROGATE(src[*char_index])) { in ReadUnicodeCharacter()
37 if (!CBU16_IS_SURROGATE_LEAD(src[*char_index]) || in ReadUnicodeCharacter()
38 *char_index + 1 >= src_len || in ReadUnicodeCharacter()
39 !CBU16_IS_TRAIL(src[*char_index + 1])) { in ReadUnicodeCharacter()
45 *code_point = CBU16_GET_SUPPLEMENTARY(src[*char_index], in ReadUnicodeCharacter()
46 src[*char_index + 1]); in ReadUnicodeCharacter()
[all …]
Dutf_string_conversion_utils.h45 int32_t* char_index,
51 int32_t* char_index,
58 int32_t* char_index,
Dstring_util.cc362 int32_t char_index = truncation_length - 1; in TruncateUTF8ToByteSize() local
369 while (char_index >= 0) { in TruncateUTF8ToByteSize()
370 int32_t prev = char_index; in TruncateUTF8ToByteSize()
372 CBU8_NEXT(data, char_index, truncation_length, code_point); in TruncateUTF8ToByteSize()
375 char_index = prev - 1; in TruncateUTF8ToByteSize()
381 if (char_index >= 0 ) in TruncateUTF8ToByteSize()
382 *output = input.substr(0, char_index); in TruncateUTF8ToByteSize()
521 int32_t char_index = 0; in IsStringUTF8() local
523 while (char_index < src_len) { in IsStringUTF8()
525 CBU8_NEXT(src, char_index, src_len, code_point); in IsStringUTF8()
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.h117 clazz->clazz.char_index = char_index_; \
Dttcmap.c3189 return ucmap->cmap.clazz->char_index( &ucmap->cmap, charcode ); in tt_cmap14_char_var_index()
/external/freetype/src/sfnt/
Dttcmap.h117 clazz->clazz.char_index = char_index_; \
Dttcmap.c3275 return ucmap->cmap.clazz->char_index( &ucmap->cmap, charcode ); in tt_cmap14_char_var_index()
/external/pdfium/third_party/freetype/include/freetype/internal/
Dt1types.h75 FT_UShort* char_index; member
Dftobjs.h198 FT_CMap_CharIndexFunc char_index; member
273 clazz->char_index = char_index_; \
/external/freetype/include/freetype/internal/
Dt1types.h76 FT_UShort* char_index; member
Dftobjs.h199 FT_CMap_CharIndexFunc char_index; member
274 clazz->char_index = char_index_; \
/external/freetype/src/psaux/
Dt1cmap.c194 cmap->indices = encoding->char_index; in t1_cmap_custom_init()
/external/pdfium/third_party/freetype/src/psaux/
Dt1cmap.c194 cmap->indices = encoding->char_index; in t1_cmap_custom_init()
/external/pdfium/third_party/freetype/src/type1/
Dt1load.c1225 if ( encode->char_index ) in parse_encoding()
1227 FT_FREE( encode->char_index ); in parse_encoding()
1234 if ( FT_NEW_ARRAY( encode->char_index, count ) || in parse_encoding()
2280 type1->encoding.char_index[charcode] = 0; in T1_Open_Face()
2291 type1->encoding.char_index[charcode] = (FT_UShort)idx; in T1_Open_Face()
Dt1objs.c254 FT_FREE( type1->encoding.char_index ); in T1_Face_Done()
/external/skia/third_party/libpng/
Dpng.c2775 png_size_t char_index=0;
2777 if (png_check_fp_number(string, size, &state, &char_index) != 0 &&
2778 (char_index == size || string[char_index] == 0))
/external/libpng/
Dpng.c2807 png_size_t char_index=0;
2809 if (png_check_fp_number(string, size, &state, &char_index) != 0 &&
2810 (char_index == size || string[char_index] == 0))
DCHANGES3184 char_index, divisor, exp_b10, and gamma_val, respectively, and
/external/pdfium/third_party/libpng16/
Dpng.c2776 png_size_t char_index=0;
2778 if (png_check_fp_number(string, size, &state, &char_index) != 0 &&
2779 (char_index == size || string[char_index] == 0))
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c3390 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_Get_Char_Index()
/external/freetype/src/base/
Dftobjs.c3525 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_Get_Char_Index()