Home
last modified time | relevance | path

Searched refs:max_length (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/localization/locale.stdcvt/
H A Dcodecvt_utf8_utf16_max_length.pass.cpp34 int r = c.max_length(); in main()
40 int r = c.max_length(); in main()
47 int r = c.max_length(); in main()
53 int r = c.max_length(); in main()
59 int r = c.max_length(); in main()
65 int r = c.max_length(); in main()
H A Dcodecvt_utf8_max_length.pass.cpp46 int r = c.max_length(); in test()
52 int r = c.max_length(); in test()
62 int r = c.max_length(); in test()
68 int r = c.max_length(); in test()
H A Dcodecvt_utf16_max_length.pass.cpp46 int r = c.max_length(); in test()
52 int r = c.max_length(); in test()
62 int r = c.max_length(); in test()
68 int r = c.max_length(); in test()
/llvm-project-15.0.7/llvm/utils/lint/
H A Dcommon_lint.py8 def VerifyLineLength(filename, lines, max_length): argument
25 if length > max_length:
27 'Line exceeds %d chars (%d)' % (max_length, length)))
/llvm-project-15.0.7/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
H A Dchar32_t_char8_t_max_length.pass.cpp27 assert(f.max_length() == 4); in main()
28 static_assert(noexcept(f.max_length())); in main()
H A Dchar16_t_char8_t_max_length.pass.cpp27 assert(f.max_length() == 4); in main()
28 static_assert(noexcept(f.max_length())); in main()
H A Dchar_max_length.pass.cpp26 assert(f.max_length() == 1); in main()
H A Dwchar_t_max_length.pass.cpp28 assert(f.max_length() == 1); in main()
H A Dchar16_t_max_length.pass.cpp29 assert(f.max_length() == 4); in main()
H A Dchar32_t_max_length.pass.cpp29 assert(f.max_length() == 4); in main()
/llvm-project-15.0.7/clang/test/CXX/class.access/class.access.nest/
H A Dp1.cpp10 static const unsigned long max_length; member
14 const unsigned long A::C::max_length = sizeof(B); member in test0::A::C
/llvm-project-15.0.7/lldb/source/Host/macosx/cfcpp/
H A DCFCString.cpp129 CFIndex max_length = in FileSystemRepresentation() local
131 if (max_length > 0) { in FileSystemRepresentation()
132 str.resize(max_length); in FileSystemRepresentation()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DCFString.cpp121 CFIndex max_length = in FileSystemRepresentation() local
123 if (max_length > 0) { in FileSystemRepresentation()
124 str.resize(max_length); in FileSystemRepresentation()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2008-03-10-RegAllocInfLoop.ll6 …i32 @parse_backslash(ptr inreg %word, ptr inreg %word_length, ptr inreg %max_length) nounwind {
11 …%tmp26 = call fastcc ptr @w_addchar( ptr null, ptr %word_length, ptr %max_length, i8 signext %tmp…
/llvm-project-15.0.7/lldb/source/Utility/
H A DStringList.cpp77 size_t max_length = 0; in GetMaxStringLength() local
80 if (max_length < len) in GetMaxStringLength()
81 max_length = len; in GetMaxStringLength()
83 return max_length; in GetMaxStringLength()
/llvm-project-15.0.7/compiler-rt/include/fuzzer/
H A DFuzzedDataProvider.h54 std::string ConsumeRandomLengthString(size_t max_length);
152 FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) { in ConsumeRandomLengthString() argument
162 result.reserve(std::min(max_length, remaining_bytes_)); in ConsumeRandomLengthString()
163 for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) { in ConsumeRandomLengthString()
/llvm-project-15.0.7/llvm/utils/
H A DlldbDataFormatters.py180 max_length = 1024
182 truncate = actual_length > max_length
183 length = min(max_length, actual_length)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cpp525 constexpr uptr max_length = 1024; in ReadFromSymbolizer() local
530 buffer_.resize(size_before + max_length); in ReadFromSymbolizer()
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObject.cpp861 Status &error, uint32_t max_length, in ReadPointedString() argument
875 if (max_length == 0) in ReadPointedString()
876 max_length = target->GetMaximumSizeOfStringSummary(); in ReadPointedString()
897 if (cstr_len > max_length) { in ReadPointedString()
899 cstr_len = max_length; in ReadPointedString()
945 cstr_len = max_length; in ReadPointedString()
H A DIOHandlerCursesGUI.cpp806 const size_t max_length = help_delegate_up->GetMaxLineLength(); in CreateHelpSubwindow() local
809 if (max_length + 4 < static_cast<size_t>(bounds.size.width)) { in CreateHelpSubwindow()
810 bounds.origin.x += (bounds.size.width - max_length + 4) / 2; in CreateHelpSubwindow()
811 bounds.size.width = max_length + 4; in CreateHelpSubwindow()
/llvm-project-15.0.7/libcxx/include/
H A D__locale1012 int max_length() const _NOEXCEPT
1098 int max_length() const _NOEXCEPT
1183 int max_length() const _NOEXCEPT
1271 int max_length() const _NOEXCEPT
1359 int max_length() const _NOEXCEPT
1447 int max_length() const _NOEXCEPT
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DValueObject.h683 uint32_t max_length = 0, bool honor_array = true,
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc5547 static void PrintOnOneLine(const char* str, int max_length) { in PrintOnOneLine() argument
5550 if (i >= max_length) { in PrintOnOneLine()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DRNBRemote.cpp124 uint32_t max_length = UINT32_MAX) { in decode_hex_ascii_string() argument
127 for (const char *c = p; ((c - p) / 2) < max_length; c += 2) { in decode_hex_ascii_string()