Home
last modified time | relevance | path

Searched refs:codepoints (Results 1 – 25 of 67) sorted by relevance

123

/external/harfbuzz_ng/test/api/
Dtest-subset-cff1.c37 hb_set_t *codepoints = hb_set_create (); in test_subset_cff1_noop() local
39 hb_set_add (codepoints, 'a'); in test_subset_cff1_noop()
40 hb_set_add (codepoints, 'b'); in test_subset_cff1_noop()
41 hb_set_add (codepoints, 'c'); in test_subset_cff1_noop()
42 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_cff1_noop()
43 hb_set_destroy (codepoints); in test_subset_cff1_noop()
57 hb_set_t *codepoints = hb_set_create (); in test_subset_cff1() local
59 hb_set_add (codepoints, 'a'); in test_subset_cff1()
60 hb_set_add (codepoints, 'c'); in test_subset_cff1()
61 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_cff1()
[all …]
Dtest-subset-hmtx.c53 hb_set_t *codepoints = hb_set_create (); in test_subset_hmtx_simple_subset() local
55 hb_set_add (codepoints, 'a'); in test_subset_hmtx_simple_subset()
56 hb_set_add (codepoints, 'c'); in test_subset_hmtx_simple_subset()
57 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_hmtx_simple_subset()
58 hb_set_destroy (codepoints); in test_subset_hmtx_simple_subset()
75 hb_set_t *codepoints = hb_set_create (); in test_subset_hmtx_monospace() local
77 hb_set_add (codepoints, 'a'); in test_subset_hmtx_monospace()
78 hb_set_add (codepoints, 'c'); in test_subset_hmtx_monospace()
79 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_hmtx_monospace()
80 hb_set_destroy (codepoints); in test_subset_hmtx_monospace()
[all …]
Dtest-subset-cff2.c37 hb_set_t *codepoints = hb_set_create (); in test_subset_cff2_noop() local
39 hb_set_add (codepoints, 'a'); in test_subset_cff2_noop()
40 hb_set_add (codepoints, 'b'); in test_subset_cff2_noop()
41 hb_set_add (codepoints, 'c'); in test_subset_cff2_noop()
42 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_cff2_noop()
43 hb_set_destroy (codepoints); in test_subset_cff2_noop()
57 hb_set_t *codepoints = hb_set_create (); in test_subset_cff2() local
59 hb_set_add (codepoints, 'a'); in test_subset_cff2()
60 hb_set_add (codepoints, 'c'); in test_subset_cff2()
61 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_cff2()
[all …]
Dtest-subset-glyf.c66 hb_set_t *codepoints = hb_set_create(); in test_subset_glyf() local
68 hb_set_add (codepoints, 97); in test_subset_glyf()
69 hb_set_add (codepoints, 99); in test_subset_glyf()
70 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_glyf()
71 hb_set_destroy (codepoints); in test_subset_glyf()
88 hb_set_t *codepoints = hb_set_create(); in test_subset_glyf_with_components() local
90 hb_set_add (codepoints, 0x1fc); in test_subset_glyf_with_components()
91 …_subset = hb_subset_test_create_subset (face_components, hb_subset_test_create_input (codepoints)); in test_subset_glyf_with_components()
92 hb_set_destroy (codepoints); in test_subset_glyf_with_components()
111 hb_set_t *codepoints = hb_set_create(); in test_subset_glyf_with_gsub() local
[all …]
Dtest-collect-unicodes.c34 hb_set_t *codepoints = hb_set_create(); in test_collect_unicodes_format4() local
37 hb_face_collect_unicodes (face, codepoints); in test_collect_unicodes_format4()
40 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
42 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
44 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
46 g_assert (!hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
48 hb_set_destroy (codepoints); in test_collect_unicodes_format4()
56 hb_set_t *codepoints = hb_set_create(); in test_collect_unicodes_format12() local
59 hb_face_collect_unicodes (face, codepoints); in test_collect_unicodes_format12()
62 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format12()
[all …]
Dtest-subset-hdmx.c39 hb_set_t *codepoints = hb_set_create (); in test_subset_hdmx_simple_subset() local
41 hb_set_add (codepoints, 'a'); in test_subset_hdmx_simple_subset()
42 hb_set_add (codepoints, 'c'); in test_subset_hdmx_simple_subset()
43 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_hdmx_simple_subset()
44 hb_set_destroy (codepoints); in test_subset_hdmx_simple_subset()
59 hb_set_t *codepoints = hb_set_create (); in test_subset_hdmx_multiple_device_records() local
61 hb_set_add (codepoints, 'a'); in test_subset_hdmx_multiple_device_records()
62 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_hdmx_multiple_device_records()
63 hb_set_destroy (codepoints); in test_subset_hdmx_multiple_device_records()
78 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_hdmx_invalid() local
[all …]
Dtest-subset-cmap.c38 hb_set_t *codepoints = hb_set_create (); in test_subset_cmap() local
40 hb_set_add (codepoints, 97); in test_subset_cmap()
41 hb_set_add (codepoints, 99); in test_subset_cmap()
42 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_cmap()
43 hb_set_destroy (codepoints); in test_subset_cmap()
57 hb_set_t *codepoints = hb_set_create (); in test_subset_cmap_non_consecutive_glyphs() local
59 hb_set_add (codepoints, 0xD7); in test_subset_cmap_non_consecutive_glyphs()
60 hb_set_add (codepoints, 0xD8); in test_subset_cmap_non_consecutive_glyphs()
61 hb_set_add (codepoints, 0xD9); in test_subset_cmap_non_consecutive_glyphs()
62 hb_set_add (codepoints, 0xDA); in test_subset_cmap_non_consecutive_glyphs()
[all …]
Dtest-subset-vmtx.c53 hb_set_t *codepoints = hb_set_create (); in test_subset_vmtx_simple_subset() local
54 hb_set_add (codepoints, 0x660E); in test_subset_vmtx_simple_subset()
56 …e_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); in test_subset_vmtx_simple_subset()
57 hb_set_destroy (codepoints); in test_subset_vmtx_simple_subset()
73 hb_set_t *codepoints = hb_set_create(); in test_subset_vmtx_noop() local
74 hb_set_add (codepoints, 0x660E); in test_subset_vmtx_noop()
75 hb_set_add (codepoints, 0x6975); in test_subset_vmtx_noop()
76 hb_set_add (codepoints, 0x73E0); in test_subset_vmtx_noop()
77 hb_set_add (codepoints, 0x5EA6); in test_subset_vmtx_noop()
78 hb_set_add (codepoints, 0x8F38); in test_subset_vmtx_noop()
[all …]
Dtest-subset.c38 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_32_tables() local
41 hb_set_add (codepoints, 'a'); in test_subset_32_tables()
42 hb_set_add (codepoints, 'b'); in test_subset_32_tables()
43 hb_set_add (codepoints, 'c'); in test_subset_32_tables()
60 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_no_inf_loop() local
63 hb_set_add (codepoints, 'a'); in test_subset_no_inf_loop()
64 hb_set_add (codepoints, 'b'); in test_subset_no_inf_loop()
65 hb_set_add (codepoints, 'c'); in test_subset_no_inf_loop()
82 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_crash() local
85 hb_set_add (codepoints, 'a'); in test_subset_crash()
[all …]
Dtest-subset-os2.c37 hb_set_t *codepoints = hb_set_create(); in test_subset_os2() local
39 hb_set_add (codepoints, 98); in test_subset_os2()
40 …face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)… in test_subset_os2()
41 hb_set_destroy (codepoints); in test_subset_os2()
Dtest-subset-post.c39 hb_set_t *codepoints = hb_set_create (); in test_post_drops_glyph_names() local
40 hb_set_add (codepoints, 0x660E); in test_post_drops_glyph_names()
42 …e_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); in test_post_drops_glyph_names()
43 hb_set_destroy (codepoints); in test_post_drops_glyph_names()
Dtest-buffer.c367 const uint32_t codepoints[8]; member
399 for (chars = 0; test->codepoints[chars]; chars++) in test_buffer_utf8_conversion()
408 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf8_conversion()
712 const uint32_t codepoints[8]; member
745 for (chars = 0; test->codepoints[chars]; chars++) in test_buffer_utf16_conversion()
754 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf16_conversion()
763 const uint32_t codepoints[8]; member
799 for (chars = 0; test->codepoints[chars]; chars++) in test_buffer_utf32_conversion()
808 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf32_conversion()
Dhb-subset-test.h51 hb_subset_test_create_input(const hb_set_t *codepoints) in hb_subset_test_create_input() argument
55 hb_set_union (input_codepoints, codepoints); in hb_subset_test_create_input()
/external/noto-fonts/emoji-compat/
Dcreatefont.py130 def codepoint_to_string(codepoints): argument
132 return ' '.join([to_hex_str(x) for x in codepoints])
176 codepoints = [hex_str_to_int(x) for x in line.split(';')[0].strip().split(' ')]
177 emojis_set.add(codepoint_to_string(codepoints).upper())
186 codepoints = [to_hex_str(x) for x in
188 emojis_set.update(codepoints)
203 def __init__(self, codepoints, is_emoji_style): argument
204 self.codepoints = codepoints
221 codepoint_to_string(self.codepoints))
232 json_element['codepoints'] = self.codepoints
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_string_ops.py273 codepoints = _unicode_decode(input, input_encoding, errors,
276 ragged_array_ops.expand_dims(codepoints, -1),
336 codepoints, offsets = _unicode_decode(input, input_encoding, errors,
340 ragged_array_ops.expand_dims(codepoints, -1),
384 codepoints = flat_result.char_values
388 codepoints = ragged_tensor.RaggedTensor.from_row_splits(
391 codepoints = input.with_flat_values(codepoints)
399 return codepoints, offsets
401 return codepoints
/external/libtextclassifier/utils/
Dtokenizer.fbs29 // consisting only of codepoints in internal_tokenizer_codepoint_ranges
34 // Role of the codepoints in the range.
37 // Concatenates the codepoint to the current run of codepoints.
40 // Splits a run of codepoints before the current codepoint.
43 // Splits a run of codepoints after the current codepoint.
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UnicodeEncode.pbtxt10 A 1D tensor containing the unicode codepoints that should be encoded.
16 A 1D tensor specifying how the unicode codepoints should be split into strings.
17 In particular, `output[i]` is constructed by encoding the codepoints in the
52 The 1-D Tensor of strings encoded from the provided unicode codepoints.
58 Unicode codepoints in `input_values[input_splits[i]:input_splits[i+1]]`
Dapi_def_UnicodeDecode.pbtxt19 A 1D int32 Tensor containing the decoded codepoints.
61 The character codepoints for all strings are returned using a single vector
64 The `row_splits` tensor indicates where the codepoints for
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py30 def codepoint_to_string(codepoints): argument
32 return '_'.join([to_hex_str(x) for x in codepoints])
75 codepoints = [glyph_to_codepoint_map[x] for x in glyph_names]
87 codepoint_map[codepoint_to_string(codepoints)] = glyph
100 codepoints = [glyph_to_codepoint_map[x] for x in glyph_names]
101 codepoint_map[codepoint_to_string(codepoints)] = ligature.LigGlyph
/external/python/cpython3/Lib/test/
Dtest_ucn.py166 for seqname, codepoints in sequences:
167 self.assertEqual(unicodedata.lookup(seqname), codepoints)
187 seqname, codepoints = line.split(';')
188 codepoints = ''.join(chr(int(cp, 16)) for cp in codepoints.split())
189 self.assertEqual(unicodedata.lookup(seqname), codepoints)
/external/harfbuzz_ng/src/
Dhb-ot-os2-table.hh173 void _update_unicode_ranges (const hb_set_t *codepoints, in _update_unicode_ranges()
180 while (codepoints->next (&cp)) { in _update_unicode_ranges()
199 static void find_min_and_max_codepoint (const hb_set_t *codepoints, in find_min_and_max_codepoint()
203 *min_cp = codepoints->get_min (); in find_min_and_max_codepoint()
204 *max_cp = codepoints->get_max (); in find_min_and_max_codepoint()
/external/skqp/experimental/tools/
Dgenerate-unicode-test-txt62 def codepoints(): function
78 for i in codepoints():
/external/skia/experimental/tools/
Dgenerate-unicode-test-txt62 def codepoints(): function
78 for i in codepoints():
/external/libtextclassifier/annotator/number/
Dnumber.cc84 const flatbuffers::Vector<int32_t>* codepoints) { in FlatbuffersVectorToSet() argument
85 if (codepoints == nullptr) { in FlatbuffersVectorToSet()
90 for (const int codepoint : *codepoints) { in FlatbuffersVectorToSet()
/external/harfbuzz_ng/test/fuzzing/
Dhb-subset-fuzzer.cc19 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in trySubset() local
23 hb_set_add (codepoints, text[i]); in trySubset()

123