Home
last modified time | relevance | path

Searched refs:ResultState (Results 1 – 10 of 10) sorted by relevance

/external/icing/icing/result/
Dresult-state-manager_test.cc78 ResultState CreateResultState( in CreateResultState()
81 return ResultState(scored_document_hits, /*query_terms=*/{}, in CreateResultState()
107 ResultState original_result_state = in TEST_F()
130 ResultState original_result_state = in TEST_F()
173 ResultState empty_result_state = CreateResultState({}, /*num_per_page=*/1); in TEST_F()
183 ResultState result_state1 = in TEST_F()
188 ResultState result_state2 = in TEST_F()
221 ResultState result_state1 = in TEST_F()
226 ResultState result_state2 = in TEST_F()
255 ResultState result_state1 = in TEST_F()
[all …]
Dresult-state-manager.h58 ResultState result_state) ICING_LOCKS_EXCLUDED(mutex_);
94 std::unordered_map<uint64_t, ResultState> result_state_map_
113 uint64_t Add(ResultState result_state) ICING_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
120 void RemoveStatesIfNeeded(const ResultState& result_state)
Dresult-state_test.cc119 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
151 ResultState result_state( in TEST_F()
186 ResultState result_state(/*scored_document_hits=*/{}, query_terms_map, in TEST_F()
209 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
235 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
255 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
307 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
371 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
420 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
509 ResultState result_state(scored_document_hits, /*query_terms=*/{}, in TEST_F()
[all …]
Dresult-state.cc39 ResultState::ResultState(std::vector<ScoredDocumentHit> scored_document_hits, in ResultState() function in icing::lib::ResultState
110 std::vector<ScoredDocumentHit> ResultState::GetNextPage( in GetNextPage()
135 void ResultState::TruncateHitsTo(int new_size) { in TruncateHitsTo()
Dresult-state.h34 class ResultState {
36 ResultState(std::vector<ScoredDocumentHit> scored_document_hits,
Dresult-state-manager.cc33 ResultStateManager::RankAndPaginate(ResultState result_state) { in RankAndPaginate()
69 uint64_t ResultStateManager::Add(ResultState result_state) { in Add()
157 void ResultStateManager::RemoveStatesIfNeeded(const ResultState& result_state) { in RemoveStatesIfNeeded()
/external/linux-kselftest/tools/testing/selftests/tc-testing/
DTdcResults.py5 class ResultState(Enum): class
15 self.result = ResultState.noresult
21 if (isinstance(result, ResultState)):
73 return sum(1 for t in self._testsuite if t.result == ResultState.fail)
76 return sum(1 for t in self._testsuite if t.result == ResultState.skip)
94 if t.result == ResultState.fail:
97 if t.result == ResultState.skip or t.result == ResultState.noresult:
99 elif t.result == ResultState.fail:
127 if t.result == ResultState.skip:
Dtdc.py262 res.set_result(ResultState.skip)
289 res.set_result(ResultState.fail)
301 res.set_result(ResultState.fail)
304 res.set_result(ResultState.success)
306 res.set_result(ResultState.fail)
309 res.set_result(ResultState.success)
365 res.set_result(ResultState.skip)
379 res.set_result(ResultState.skip)
406 res.set_result(ResultState.skip)
/external/linux-kselftest/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py44 res.set_result(ResultState.skip)
108 res.set_result(ResultState.skip)
147 res.set_result(ResultState.fail)
151 res.set_result(ResultState.success)
/external/icing/icing/
Dicing-search-engine.cc1293 result_state_manager_->RankAndPaginate(ResultState( in Search()