Home
last modified time | relevance | path

Searched refs:GetCodeRange (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser_unittest.cpp39 TEST(cpdf_cmapparser, GetCodeRange) { in TEST() argument
43 range = CPDF_CMapParser::GetCodeRange("", ""); in TEST()
45 range = CPDF_CMapParser::GetCodeRange("A", ""); in TEST()
49 range = CPDF_CMapParser::GetCodeRange("<aaaaaaaaaa>", ""); in TEST()
52 range = CPDF_CMapParser::GetCodeRange("<12345678>", "<87654321>"); in TEST()
63 range = CPDF_CMapParser::GetCodeRange("<a1>", "<F3>"); in TEST()
70 range = CPDF_CMapParser::GetCodeRange("<a1>", ""); in TEST()
Dcpdf_cmapparser.cpp118 GetCodeRange(m_LastWord.AsStringView(), word); in HandleCodeSpaceRange()
166 Optional<CPDF_CMap::CodeRange> CPDF_CMapParser::GetCodeRange( in GetCodeRange() function in CPDF_CMapParser
Dcpdf_cmapparser.h46 static Optional<CPDF_CMap::CodeRange> GetCodeRange(ByteStringView first,
/external/clang/unittests/Format/
DSortIncludesTest.cpp23 std::vector<tooling::Range> GetCodeRange(StringRef Code) { in GetCodeRange() function in clang::format::__anon25c962d60111::SortIncludesTest
28 auto Ranges = GetCodeRange(Code); in sort()
39 sortIncludes(Style, Code, GetCodeRange(Code), "input.cpp", &Cursor); in newCursor()
64 EXPECT_TRUE(sortIncludes(Style, Code, GetCodeRange(Code), "a.cc").empty()); in TEST_F()
/external/llvm-project/clang/unittests/Format/
DSortImportsTestJava.cpp12 std::vector<tooling::Range> GetCodeRange(StringRef Code) { in GetCodeRange() function in clang::format::__anon6dc1c7fd0111::SortImportsTestJava
27 std::string sort(StringRef Code) { return sort(Code, GetCodeRange(Code)); } in sort()
341 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.java").empty()); in TEST_F()
348 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.java").empty()); in TEST_F()
DSortIncludesTest.cpp23 std::vector<tooling::Range> GetCodeRange(StringRef Code) { in GetCodeRange() function in clang::format::__anon87020ec40111::SortIncludesTest
43 return sort(Code, GetCodeRange(Code), FileName, ExpectedNumRanges); in sort()
47 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.cpp", &Cursor); in newCursor()
151 EXPECT_TRUE(sortIncludes(FmtStyle, Code, GetCodeRange(Code), "a.cc").empty()); in TEST_F()
160 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "a/extra_action.cc") in TEST_F()