Home
last modified time | relevance | path

Searched refs:text_size (Results 1 – 25 of 52) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-name.cc75 unsigned int *text_size /* IN/OUT */, in hb_ot_name_convert_utf() argument
87 if (text_size && *text_size) in hb_ot_name_convert_utf()
89 (*text_size)--; /* Same room for NUL-termination. */ in hb_ot_name_convert_utf()
90 const typename out_utf_t::codepoint_t *dst_end = text + *text_size; in hb_ot_name_convert_utf()
103 *text_size = dst - text; in hb_ot_name_convert_utf()
122 unsigned int *text_size /* IN/OUT */, in hb_ot_name_get_utf() argument
137 return hb_ot_name_convert_utf<hb_utf16_be_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
140 return hb_ot_name_convert_utf<hb_ascii_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
143 if (text_size) in hb_ot_name_get_utf()
145 if (*text_size) in hb_ot_name_get_utf()
[all …]
Dhb-ot-name.h109 unsigned int *text_size /* IN/OUT */,
116 unsigned int *text_size /* IN/OUT */,
123 unsigned int *text_size /* IN/OUT */,
/third_party/harfbuzz/src/
Dhb-ot-name.cc71 unsigned int *text_size /* IN/OUT */, in hb_ot_name_convert_utf() argument
83 if (text_size && *text_size) in hb_ot_name_convert_utf()
85 (*text_size)--; /* Same room for NUL-termination. */ in hb_ot_name_convert_utf()
86 const typename out_utf_t::codepoint_t *dst_end = text + *text_size; in hb_ot_name_convert_utf()
99 *text_size = dst - text; in hb_ot_name_convert_utf()
118 unsigned int *text_size /* IN/OUT */, in hb_ot_name_get_utf() argument
133 return hb_ot_name_convert_utf<hb_utf16_be_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
136 return hb_ot_name_convert_utf<hb_ascii_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
139 if (text_size) in hb_ot_name_get_utf()
141 if (*text_size) in hb_ot_name_get_utf()
[all …]
Dhb-ot-name.h108 unsigned int *text_size /* IN/OUT */,
115 unsigned int *text_size /* IN/OUT */,
122 unsigned int *text_size /* IN/OUT */,
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-name.cc71 unsigned int *text_size /* IN/OUT */, in hb_ot_name_convert_utf() argument
83 if (text_size && *text_size) in hb_ot_name_convert_utf()
85 (*text_size)--; /* Same room for NUL-termination. */ in hb_ot_name_convert_utf()
86 const typename out_utf_t::codepoint_t *dst_end = text + *text_size; in hb_ot_name_convert_utf()
99 *text_size = dst - text; in hb_ot_name_convert_utf()
118 unsigned int *text_size /* IN/OUT */, in hb_ot_name_get_utf() argument
133 return hb_ot_name_convert_utf<hb_utf16_be_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
136 return hb_ot_name_convert_utf<hb_ascii_t, utf_t> (bytes, text_size, text); in hb_ot_name_get_utf()
139 if (text_size) in hb_ot_name_get_utf()
141 if (*text_size) in hb_ot_name_get_utf()
[all …]
Dhb-ot-name.h138 unsigned int *text_size /* IN/OUT */,
145 unsigned int *text_size /* IN/OUT */,
152 unsigned int *text_size /* IN/OUT */,
/third_party/python/Programs/
D_freeze_importlib.c40 size_t text_size, data_size, i, n; in main() local
63 text_size = (size_t)stat.st_size; in main()
64 text = (char *) malloc(text_size + 1); in main()
66 fprintf(stderr, "could not allocate %ld bytes\n", (long) text_size); in main()
69 n = fread(text, 1, text_size, infile); in main()
72 if (n < text_size) { in main()
74 (long) n, (long) text_size); in main()
77 text[text_size] = '\0'; in main()
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.c51 size_t text_size = 0; in load_text_fp() local
56 if (total_read + CHUNK + 1 > text_size) { in load_text_fp()
57 text_size = text_size ? text_size * 2 : CHUNK + 1; in load_text_fp()
58 text = reralloc_size (ctx, text, text_size); in load_text_fp()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-name.c81 unsigned int text_size = 10; in test_ot_name() local
88 g_assert_cmpuint (27, ==, hb_ot_name_get_utf8 (face, name_id, lang, &text_size, text)); in test_ot_name()
89 g_assert_cmpuint (9, ==, text_size); in test_ot_name()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-name.c90 unsigned int text_size = 10; in test_ot_name() local
97 g_assert_cmpuint (27, ==, hb_ot_name_get_utf8 (face, name_id, lang, &text_size, text)); in test_ot_name()
98 g_assert_cmpuint (9, ==, text_size); in test_ot_name()
/third_party/harfbuzz/test/api/
Dtest-ot-name.c90 unsigned int text_size = 10; in test_ot_name() local
97 g_assert_cmpuint (27, ==, hb_ot_name_get_utf8 (face, name_id, lang, &text_size, text)); in test_ot_name()
98 g_assert_cmpuint (9, ==, text_size); in test_ot_name()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp399 SkScalar text_size, in DEF_TEST() member
427 tsize.text_size, in DEF_TEST()
428 tsize.text_size, in DEF_TEST()
447 tsize.text_size, talign.align); in DEF_TEST()
453 tsize.text_size, talign.align); in DEF_TEST()
464 SkScalar text_size, in DEF_TEST() member
492 tsize.text_size, in DEF_TEST()
493 tsize.text_size, in DEF_TEST()
514 tsize.text_size, SkToU32(talign.align)); in DEF_TEST()
520 tsize.text_size, SkToU32(talign.align)); in DEF_TEST()
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp444 SkScalar text_size, in DEF_TEST() member
472 tsize.text_size, in DEF_TEST()
473 0, tsize.text_size, in DEF_TEST()
474 tsize.text_size, in DEF_TEST()
498 tsize.text_size, talign.align); in DEF_TEST()
504 tsize.text_size, talign.align); in DEF_TEST()
515 SkScalar text_size, in DEF_TEST() member
543 tsize.text_size, in DEF_TEST()
544 0, tsize.text_size, in DEF_TEST()
545 tsize.text_size, in DEF_TEST()
[all …]
/third_party/flutter/skia/modules/skottie/src/text/
DTextValue.cpp27 const skjson::NumberValue* text_size = (*jtxt)["s"]; in FromJSON() local
29 if (!font_name || !text || !text_size || !line_height) { in FromJSON()
40 v->fTextSize = **text_size; in FromJSON()
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc77 unsigned int text_size = sizeof (text_from_data) / sizeof (hb_codepoint_t); in LLVMFuzzerTestOneInput() local
79 trySubset (face, text_from_data, text_size, flags); in LLVMFuzzerTestOneInput()
/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c228 uint32_t *text_size) in ac_rgp_file_write_elf_text() argument
264 *text_size = symbol_offset + align; in ac_rgp_file_write_elf_text()
381 uint32_t text_size = 0; in ac_rgp_file_write_elf_object() local
411 ac_rgp_file_write_elf_text(output, &elf_size_calc, record, &text_size); in ac_rgp_file_write_elf_object()
448 sec_hdr[2].sh_size = text_size; in ac_rgp_file_write_elf_object()
/third_party/skia/modules/skottie/src/text/
DTextValue.cpp24 const skjson::NumberValue* text_size = (*jtxt)["s"]; in Parse() local
26 if (!font_name || !text || !text_size || !line_height) { in Parse()
37 v->fTextSize = **text_size; in Parse()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc82 unsigned int text_size = sizeof (text_from_data) / sizeof (hb_codepoint_t); in LLVMFuzzerTestOneInput() local
84 trySubset (face, text_from_data, text_size, flags); in LLVMFuzzerTestOneInput()
/third_party/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc97 unsigned int text_size = sizeof (text_from_data) / sizeof (hb_codepoint_t); in LLVMFuzzerTestOneInput() local
99 trySubset (face, text_from_data, text_size, flags); in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dlibspirv.cpp47 bool SpirvTools::Assemble(const char* text, const size_t text_size, in Assemble() argument
52 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dparser.h201 size_t text_size = items_.empty() ? 0 : items_.back().text_end; variable
202 data_.reset(new char[text_size]);
203 memcpy(data_.get(), other.data_.get(), text_size);
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dparser.h223 size_t text_size = items_.empty() ? 0 : items_.back().text_end; variable
224 data_.reset(new char[text_size]);
225 memcpy(data_.get(), other.data_.get(), text_size);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dlibspirv.cpp79 bool SpirvTools::Assemble(const char* text, const size_t text_size, in Assemble() argument
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
/third_party/spirv-tools/source/
Dlibspirv.cpp79 bool SpirvTools::Assemble(const char* text, const size_t text_size, in Assemble() argument
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
/third_party/skia/third_party/externals/spirv-tools/source/
Dlibspirv.cpp79 bool SpirvTools::Assemble(const char* text, const size_t text_size, in Assemble() argument
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()

123