Searched refs:utf8_pos (Results 1 – 4 of 4) sorted by relevance
/third_party/node/deps/brotli/c/enc/ |
D | literal_cost.c | 69 size_t utf8_pos = 0; in EstimateBitCostsForLiteralsUTF8() local 72 ++histogram[utf8_pos][c]; in EstimateBitCostsForLiteralsUTF8() 73 ++in_window_utf8[utf8_pos]; in EstimateBitCostsForLiteralsUTF8() 74 utf8_pos = UTF8Position(last_c, c, max_utf8); in EstimateBitCostsForLiteralsUTF8() 102 size_t utf8_pos = UTF8Position(last_c, c, max_utf8); in EstimateBitCostsForLiteralsUTF8() local 104 size_t histo = histogram[utf8_pos][data[masked_pos]]; in EstimateBitCostsForLiteralsUTF8() 109 lit_cost = FastLog2(in_window_utf8[utf8_pos]) - FastLog2(histo); in EstimateBitCostsForLiteralsUTF8()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | literal_cost.c | 69 size_t utf8_pos = 0; in EstimateBitCostsForLiteralsUTF8() local 72 ++histogram[utf8_pos][c]; in EstimateBitCostsForLiteralsUTF8() 73 ++in_window_utf8[utf8_pos]; in EstimateBitCostsForLiteralsUTF8() 74 utf8_pos = UTF8Position(last_c, c, max_utf8); in EstimateBitCostsForLiteralsUTF8() 102 size_t utf8_pos = UTF8Position(last_c, c, max_utf8); in EstimateBitCostsForLiteralsUTF8() local 104 size_t histo = histogram[utf8_pos][data[masked_pos]]; in EstimateBitCostsForLiteralsUTF8() 109 lit_cost = FastLog2(in_window_utf8[utf8_pos]) - FastLog2(histo); in EstimateBitCostsForLiteralsUTF8()
|
/third_party/jerryscript/jerry-core/lit/ |
D | lit-strings.c | 819 lit_utf8_byte_t *utf8_pos = utf8_string; in lit_convert_cesu8_string_to_utf8_string() local 835 utf8_pos -= prev_ch_size; in lit_convert_cesu8_string_to_utf8_string() 837 lit_code_point_to_utf8 (code_point, utf8_pos); in lit_convert_cesu8_string_to_utf8_string() 842 memcpy (utf8_pos, cesu8_pos, code_unit_size); in lit_convert_cesu8_string_to_utf8_string() 846 utf8_pos = utf8_string + size; in lit_convert_cesu8_string_to_utf8_string() 853 JERRY_ASSERT (utf8_pos <= utf8_end_pos); in lit_convert_cesu8_string_to_utf8_string()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 1243 lit_utf8_byte_t *utf8_pos = buffer_p; in ecma_substring_copy_to_utf8_buffer() local 1273 lit_code_point_to_utf8 (code_point, utf8_pos); in ecma_substring_copy_to_utf8_buffer() 1278 memcpy (utf8_pos, cesu8_pos, code_unit_size); in ecma_substring_copy_to_utf8_buffer() 1284 memcpy (utf8_pos, cesu8_pos, code_unit_size); in ecma_substring_copy_to_utf8_buffer() 1288 utf8_pos = buffer_p + size; in ecma_substring_copy_to_utf8_buffer() 1292 JERRY_ASSERT (utf8_pos <= utf8_end_pos); in ecma_substring_copy_to_utf8_buffer()
|