Home
last modified time | relevance | path

Searched refs:char_count (Results 1 – 23 of 23) sorted by relevance

/external/cronet/base/debug/
Dalias.h91 #define DEBUG_ALIAS_FOR_CSTR(var_name, c_str, char_count) \ argument
92 char var_name[char_count]; \
96 #define DEBUG_ALIAS_FOR_U16CSTR(var_name, c_str, char_count) \ argument
97 char16_t var_name[char_count]; \
101 #define DEBUG_ALIAS_FOR_WCHARCSTR(var_name, c_str, char_count) \ argument
102 wchar_t var_name[char_count]; \
/external/harfbuzz_ng/test/api/
Dtest-ot-name.c43 unsigned int char_count = 100; in test_ot_layout_feature_get_name_ids_and_characters() local
65 0, &char_count, characters); in test_ot_layout_feature_get_name_ids_and_characters()
68 g_assert_cmpint (char_count, ==, 2); in test_ot_layout_feature_get_name_ids_and_characters()
72 char_count = 100; in test_ot_layout_feature_get_name_ids_and_characters()
75 1, &char_count, characters); in test_ot_layout_feature_get_name_ids_and_characters()
77 g_assert_cmpint (char_count, ==, 1); in test_ot_layout_feature_get_name_ids_and_characters()
/external/angle/src/libANGLE/
Dgen_overlay_fonts.py134 char_count = len(chars)
172 font_data_size = char_count * glyph_width * glyph_height
177 for charIndex in range(char_count):
226 char_count=char_count,
/external/pdfium/fpdfsdk/
Dfpdf_text.cpp308 int char_count, in FPDFText_GetText() argument
311 if (!textpage || start_index < 0 || char_count < 0 || !result) in FPDFText_GetText()
318 char_count = std::min(char_count, char_available); in FPDFText_GetText()
319 if (char_count == 0) { in FPDFText_GetText()
325 WideString str = textpage->GetPageText(start_index, char_count); in FPDFText_GetText()
327 if (str.GetLength() > static_cast<size_t>(char_count)) in FPDFText_GetText()
328 str = str.First(static_cast<size_t>(char_count)); in FPDFText_GetText()
337 DCHECK_LE(ret_count, static_cast<size_t>(char_count) + 1); in FPDFText_GetText()
539 int* char_count) { in FPDFLink_GetTextRange() argument
550 *char_count = pdfium::base::checked_cast<int>(maybe_range.value().m_Count); in FPDFLink_GetTextRange()
Dfpdf_text_embeddertest.cpp737 int char_count; in TEST_F() local
739 FPDFLink_GetTextRange(page_link, 0, &start_char_index, &char_count)); in TEST_F()
741 EXPECT_EQ(24, char_count); in TEST_F()
745 char_count = -8; in TEST_F()
747 FPDFLink_GetTextRange(page_link, 6, &start_char_index, &char_count)); in TEST_F()
749 EXPECT_EQ(char_count, -8); in TEST_F()
753 char_count = -8; in TEST_F()
755 FPDFLink_GetTextRange(nullptr, 0, &start_char_index, &char_count)); in TEST_F()
757 EXPECT_EQ(char_count, -8); in TEST_F()
761 char_count = -8; in TEST_F()
[all …]
/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp47 size_t char_count = endPos - startPos + 1; in IsMatchWholeWord() local
48 if (char_count == 0) in IsMatchWholeWord()
50 if (char_count == 1 && csPageText[startPos] > 255) in IsMatchWholeWord()
54 if (startPos + char_count < csPageText.GetLength()) in IsMatchWholeWord()
55 char_right = csPageText[startPos + char_count]; in IsMatchWholeWord()
72 if (char_count > 0) { in IsMatchWholeWord()
/external/libchrome/base/debug/
Dalias.h38 #define DEBUG_ALIAS_FOR_CSTR(var_name, c_str, char_count) \ argument
39 char var_name[char_count]; \
/external/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
Dspvtools_dis_fuzzer.cpp45 size_t char_count = input.size() * sizeof(uint32_t) / sizeof(char); in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzzers/
Dspvtools_dis_fuzzer.cpp45 size_t char_count = input.size() * sizeof(uint32_t) / sizeof(char); in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
/external/deqp-deps/SPIRV-Tools/test/fuzzers/
Dspvtools_dis_fuzzer.cpp45 size_t char_count = input.size() * sizeof(uint32_t) / sizeof(char); in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fxcrt/
Dwidetext_buffer.cpp76 pdfium::span<wchar_t> WideTextBuffer::ExpandWideBuf(size_t char_count) { in ExpandWideBuf() argument
78 FX_SAFE_SIZE_T safe_bytes = char_count; in ExpandWideBuf()
Dwidetext_buffer.h41 pdfium::span<wchar_t> ExpandWideBuf(size_t char_count);
/external/pdfium/xfa/fde/
Dcfde_textout.cpp401 piece.char_count = j - chars_to_skip; in RetrievePieces()
470 const size_t end = piece->start_char + piece->char_count; in ReloadLinePiece()
509 if (m_CharPos.size() < pPiece->char_count) in GetDisplayPos()
510 m_CharPos.resize(pPiece->char_count, TextCharPos()); in GetDisplayPos()
515 tr.iLength = pdfium::base::checked_cast<int32_t>(pPiece->char_count); in GetDisplayPos()
Dcfde_textout.h62 size_t char_count = 0; member
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.h149 void DrawTextAsType3Font(int char_count,
154 bool DrawTextAsType42Font(int char_count,
Dcfx_psrenderer.cpp744 void CFX_PSRenderer::DrawTextAsType3Font(int char_count, in DrawTextAsType3Font() argument
752 for (int i = 0; i < char_count; i++) { in DrawTextAsType3Font()
767 bool CFX_PSRenderer::DrawTextAsType42Font(int char_count, in DrawTextAsType42Font() argument
789 for (int i = 0; i < char_count; ++i) { in DrawTextAsType42Font()
/external/kernel-headers/original/uapi/linux/
Dcyclades.h11 unsigned long char_count; member
/external/pdfium/public/
Dfpdf_text.h657 int* char_count);
/external/harfbuzz_ng/src/
Dhb-ot-layout.h433 unsigned int *char_count /* IN/OUT. May be NULL */,
Dhb-ot-layout.cc1762 unsigned int *char_count, /* IN/OUT. May be NULL */ in hb_ot_layout_feature_get_characters() argument
1769 .get_characters (start_offset, char_count, characters); in hb_ot_layout_feature_get_characters()
Dhb-ot-layout-common.hh657 get_characters (unsigned start_offset, unsigned *char_count, hb_codepoint_t *chars) const in get_characters()
659 if (char_count) in get_characters()
661 + characters.as_array ().sub_array (start_offset, char_count) in get_characters()
662 | hb_sink (hb_array (chars, *char_count)) in get_characters()
/external/rust/crates/url/src/
Dparser.rs871 let mut char_count = 0; in parse_userinfo() localVariable
880 last_at = Some((char_count, remaining.clone())) in parse_userinfo()
886 char_count += 1; in parse_userinfo()
/external/mesa3d/src/imgui/
Dimgui.cpp1654 int char_count = 0; in ImTextCountCharsFromUtf8() local
1662 char_count++; in ImTextCountCharsFromUtf8()
1664 return char_count; in ImTextCountCharsFromUtf8()
8819 const int char_count = (int)(line_end - line_start); in LogRenderedText() local
8821 LogText(IM_NEWLINE "%*s%.*s", tree_depth*4, "", char_count, line_start); in LogRenderedText()
8823 LogText(" %.*s", char_count, line_start); in LogRenderedText()