Searched refs:ResultState (Results 1 – 10 of 10) sorted by relevance
/external/icing/icing/result/ |
D | result-state-manager_test.cc | 78 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 …]
|
D | result-state-manager.h | 58 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)
|
D | result-state_test.cc | 119 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 …]
|
D | result-state.cc | 39 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()
|
D | result-state.h | 34 class ResultState { 36 ResultState(std::vector<ScoredDocumentHit> scored_document_hits,
|
D | result-state-manager.cc | 33 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/ |
D | TdcResults.py | 5 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:
|
D | tdc.py | 262 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/ |
D | valgrindPlugin.py | 44 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/ |
D | icing-search-engine.cc | 1293 result_state_manager_->RankAndPaginate(ResultState( in Search()
|