Home
last modified time | relevance | path

Searched refs:sortText (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp345 EXPECT_LT(sortText(std::numeric_limits<float>::infinity()), in TEST()
346 sortText(1000.2f)); in TEST()
347 EXPECT_LT(sortText(1000.2f), sortText(1)); in TEST()
348 EXPECT_LT(sortText(1), sortText(0.3f)); in TEST()
349 EXPECT_LT(sortText(0.3f), sortText(0)); in TEST()
350 EXPECT_LT(sortText(0), sortText(-10)); in TEST()
351 EXPECT_LT(sortText(-10), sortText(-std::numeric_limits<float>::infinity())); in TEST()
353 EXPECT_LT(sortText(1, "z"), sortText(0, "a")); in TEST()
354 EXPECT_LT(sortText(0, "a"), sortText(0, "z")); in TEST()
DCodeCompleteTests.cpp1807 EXPECT_EQ(R.sortText, sortText(1.0, "x")); in TEST()
/external/llvm-project/clang-tools-extra/clangd/test/
Dcompletion-auto-trigger.test28 # CHECK-NEXT: "sortText": "{{.*}}size",
51 # CHECK-NEXT: "sortText": "{{.*}}default_capacity",
92 # CHECK-NEXT: "sortText": "{{.*}}ns_member",
Dprotocol.test43 # CHECK-NEXT: "sortText": "{{.*}}"
73 # CHECK-NEXT: "sortText": "{{.*}}"
103 # CHECK-NEXT: "sortText": "{{.*}}"
Dcompletion.test21 # CHECK-NEXT: "sortText": "{{.*}}a"
55 # CHECK-NEXT: "sortText": "{{.*}}b"
Dcompletion-snippets.test37 # CHECK-NEXT: "sortText": "{{.*}}func_with_args"
/external/llvm-project/clang-tools-extra/clangd/
DQuality.h222 std::string sortText(float Score, llvm::StringRef Tiebreak = "");
DProtocol.cpp942 if (!CI.sortText.empty()) in toJSON()
943 Result["sortText"] = CI.sortText; in toJSON()
966 return (L.sortText.empty() ? L.label : L.sortText) < in operator <()
967 (R.sortText.empty() ? R.label : R.sortText); in operator <()
DQuality.cpp547 std::string sortText(float Score, llvm::StringRef Name) { in sortText() function
DCodeComplete.cpp1912 LSP.sortText = sortText(Score.Total, Name); in render()
DProtocol.h1169 std::string sortText; member