Home
last modified time | relevance | path

Searched refs:char_index (Results 1 - 18 of 18) sorted by relevance

/third_party/gn/src/base/strings/
H A Dutf_string_conversion_utils.cc16 int32_t* char_index, in ReadUnicodeCharacter()
22 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter()
27 (*char_index)--; in ReadUnicodeCharacter()
35 int32_t* char_index, in ReadUnicodeCharacter()
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 || !CBU16_IS_TRAIL(src[*char_index + 1])) { in ReadUnicodeCharacter()
46 CBU16_GET_SUPPLEMENTARY(src[*char_index], src[*char_index in ReadUnicodeCharacter()
14 ReadUnicodeCharacter(const char* src, int32_t src_len, int32_t* char_index, uint32_t* code_point_out) ReadUnicodeCharacter() argument
33 ReadUnicodeCharacter(const char16_t* src, int32_t src_len, int32_t* char_index, uint32_t* code_point) ReadUnicodeCharacter() argument
[all...]
H A Dutf_string_conversion_utils.h38 // |*code_point|. |src| represents the entire string to read, and |*char_index|
39 // is the character offset within the string to start reading at. |*char_index|
46 int32_t* char_index,
52 int32_t* char_index,
H A Dstring_util.cc319 int32_t char_index = truncation_length - 1; in TruncateUTF8ToByteSize() local
326 while (char_index >= 0) { in TruncateUTF8ToByteSize()
327 int32_t prev = char_index; in TruncateUTF8ToByteSize()
329 CBU8_NEXT(data, char_index, truncation_length, code_point); in TruncateUTF8ToByteSize()
331 char_index = prev - 1; in TruncateUTF8ToByteSize()
337 if (char_index >= 0) in TruncateUTF8ToByteSize()
338 *output = input.substr(0, char_index); in TruncateUTF8ToByteSize()
469 int32_t char_index = 0; in IsStringUTF8() local
471 while (char_index < src_len) { in IsStringUTF8()
473 CBU8_NEXT(src, char_index, src_le in IsStringUTF8()
[all...]
/third_party/skia/third_party/externals/freetype/src/type42/
H A Dt42objs.c107 /* The index is then stored in type1.encoding.char_index, and */ in T42_Open_Face()
120 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()
H A Dt42parse.c357 if ( encode->char_index ) in t42_parse_encoding()
359 FT_FREE( encode->char_index ); in t42_parse_encoding()
366 if ( FT_NEW_ARRAY( encode->char_index, count ) || in t42_parse_encoding()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dt1types.h66 * char_index ::
78 FT_UShort* char_index; member
H A Dftobjs.h214 FT_CMap_CharIndexFunc char_index; member
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1load.c1524 if ( encode->char_index ) in parse_encoding()
1526 FT_FREE( encode->char_index ); in parse_encoding()
1533 if ( FT_NEW_ARRAY( encode->char_index, array_size ) || in parse_encoding()
2677 /* the index is then stored in type1.encoding.char_index, and */ in FT_LOCAL_DEF()
2690 type1->encoding.char_index[charcode] = 0; in FT_LOCAL_DEF()
2701 type1->encoding.char_index[charcode] = (FT_UShort)idx; in FT_LOCAL_DEF()
H A Dt1objs.c259 FT_FREE( type1->encoding.char_index ); in T1_Face_Done()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dt1cmap.c141 (FT_CMap_CharIndexFunc)t1_cmap_std_char_index, /* char_index */
170 (FT_CMap_CharIndexFunc)t1_cmap_std_char_index, /* char_index */
202 cmap->indices = encoding->char_index; in FT_CALLBACK_DEF()
270 (FT_CMap_CharIndexFunc)t1_cmap_custom_char_index, /* char_index */
363 (FT_CMap_CharIndexFunc)t1_cmap_unicode_char_index, /* char_index */
/third_party/python/Lib/test/
H A Dtest_sax.py1455 self.char_index = 0 # Used to index specified results within handlers
1491 t = h.specified_chars[h.char_index]
1494 h.char_index += 1
1506 self.assertEqual(self.char_index, 2)
/third_party/skia/third_party/externals/libpng/
H A Dpng.c2842 size_t char_index=0; in png_check_fp_string() local
2844 if (png_check_fp_number(string, size, &state, &char_index) != 0 && in png_check_fp_string()
2845 (char_index == size || string[char_index] == 0)) in png_check_fp_string()
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h551 int char_index, // character to display
555 // Call GetBakedQuad with char_index = 'character - first_char', and it
659 int char_index, // character to display
3699 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule)
3703 const stbtt_bakedchar *b = chardata + char_index;
4193 STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer)
4196 const stbtt_packedchar *b = chardata + char_index;
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h551 int char_index, // character to display
555 // Call GetBakedQuad with char_index = 'character - first_char', and it
659 int char_index, // character to display
3699 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule)
3703 const stbtt_bakedchar *b = chardata + char_index;
4193 STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer)
4196 const stbtt_packedchar *b = chardata + char_index;
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttcmap.c188 (FT_CMap_CharIndexFunc)tt_cmap0_char_index, /* char_index */
602 (FT_CMap_CharIndexFunc)tt_cmap2_char_index, /* char_index */
1559 (FT_CMap_CharIndexFunc)tt_cmap4_char_index, /* char_index */
1729 (FT_CMap_CharIndexFunc)tt_cmap6_char_index, /* char_index */
2023 (FT_CMap_CharIndexFunc)tt_cmap8_char_index, /* char_index */
2195 (FT_CMap_CharIndexFunc)tt_cmap10_char_index, /* char_index */
2548 (FT_CMap_CharIndexFunc)tt_cmap12_char_index, /* char_index */
2874 (FT_CMap_CharIndexFunc)tt_cmap13_char_index, /* char_index */
3304 return ucmap->cmap.clazz->char_index( &ucmap->cmap, charcode ); in FT_CALLBACK_DEF()
3636 (FT_CMap_CharIndexFunc)tt_cmap14_char_index, /* char_index */
[all...]
/third_party/node/deps/ada/
H A Dada.cpp2839 uint16_t char_index = uint16_t(descriptor >> 8);
2840 for (size_t idx = char_index; idx < char_index + char_count; idx++) {
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftobjs.c3818 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_EXPORT_DEF()
/third_party/glfw/deps/
H A Dnuklear.h12558 int char_index, float *xpos, float *ypos, struct nk_tt_aligned_quad *q, in nk_tt_GetPackedQuad()
12562 struct nk_tt_packedchar *b = (struct nk_tt_packedchar*)(chardata + char_index); in nk_tt_GetPackedQuad()
12557 nk_tt_GetPackedQuad(struct nk_tt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, struct nk_tt_aligned_quad *q, int align_to_integer) nk_tt_GetPackedQuad() argument

Completed in 98 milliseconds