Home
last modified time | relevance | path

Searched refs:candidates (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/chromium_org/chrome/installer/util/
Dlanguage_selector.cc192 void GetCandidatesFromSystem(std::vector<std::wstring>* candidates) { in GetCandidatesFromSystem() argument
193 DCHECK(candidates); in GetCandidatesFromSystem()
199 candidates->push_back(language); in GetCandidatesFromSystem()
204 base::win::i18n::GetThreadPreferredUILanguageList(candidates); in GetCandidatesFromSystem()
216 std::vector<std::wstring> candidates; in LanguageSelector() local
218 GetCandidatesFromSystem(&candidates); in LanguageSelector()
219 DoSelect(candidates); in LanguageSelector()
222 LanguageSelector::LanguageSelector(const std::vector<std::wstring>& candidates) in LanguageSelector() argument
227 DoSelect(candidates); in LanguageSelector()
257 bool LanguageSelector::SelectIf(const std::vector<std::wstring>& candidates, in SelectIf() argument
[all …]
Dlanguage_selector_unittest.cc43 std::wstring candidates[] = { in TEST() local
47 std::vector<std::wstring>(&candidates[0], in TEST()
48 &candidates[arraysize(candidates)])); in TEST()
53 std::wstring candidates[] = { in TEST() local
57 std::vector<std::wstring>(&candidates[0], in TEST()
58 &candidates[arraysize(candidates)])); in TEST()
63 std::wstring candidates[] = { in TEST() local
67 std::vector<std::wstring>(&candidates[0], in TEST()
68 &candidates[arraysize(candidates)])); in TEST()
Dlanguage_selector.h27 explicit LanguageSelector(const std::vector<std::wstring>& candidates);
46 static bool SelectIf(const std::vector<std::wstring>& candidates,
49 void DoSelect(const std::vector<std::wstring>& candidates);
/external/objenesis/tck/src/org/objenesis/tck/candidates/
Dcandidates.properties55 org.objenesis.tck.candidates.NoConstructor = No constructor
56 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (s…
57 org.objenesis.tck.candidates.DefaultPublicConstructor = Default public co…
58 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public co…
59 org.objenesis.tck.candidates.DefaultProtectedConstructor = Default protected…
60 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected…
61 org.objenesis.tck.candidates.DefaultPackageConstructor = Default package c…
62 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package c…
63 org.objenesis.tck.candidates.DefaultPrivateConstructor = Default private c…
64 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private c…
[all …]
Dserializable-candidates.properties55 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (s…
56 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public co…
57 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected…
58 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package c…
59 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private c…
60 org.objenesis.tck.candidates.SerializableReplacer = Serializable replacing with another class
61 org.objenesis.tck.candidates.SerializableResolver = Serializable resolving to another class
64 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throw…
65 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with …
66 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with …
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLFormattingElementList.cpp135 WillBeHeapVector<RawPtrWillBeMember<HTMLStackItem>, 10> candidates; in tryToEnsureNoahsArkConditionQuickly() local
152 candidates.append(candidate); in tryToEnsureNoahsArkConditionQuickly()
155 if (candidates.size() < kNoahsArkCapacity) in tryToEnsureNoahsArkConditionQuickly()
158 remainingCandidates.appendVector(candidates); in tryToEnsureNoahsArkConditionQuickly()
163 WillBeHeapVector<RawPtrWillBeMember<HTMLStackItem> > candidates; in ensureNoahsArkCondition() local
164 tryToEnsureNoahsArkConditionQuickly(newItem, candidates); in ensureNoahsArkCondition()
165 if (candidates.isEmpty()) in ensureNoahsArkCondition()
171 remainingCandidates.reserveInitialCapacity(candidates.size()); in ensureNoahsArkCondition()
177 for (size_t j = 0; j < candidates.size(); ++j) { in ensureNoahsArkCondition()
178 HTMLStackItem* candidate = candidates[j]; in ensureNoahsArkCondition()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dfolder_creator.cc69 ScopedVector<google_apis::FileResource> candidates, in DidListFolders() argument
84 candidates.reserve(candidates.size() + file_list->items().size()); in DidListFolders()
85 candidates.insert(candidates.end(), in DidListFolders()
95 base::Passed(&candidates))); in DidListFolders()
100 for (size_t i = 0; i < candidates.size(); ++i) { in DidListFolders()
101 const google_apis::FileResource& entry = *candidates[i]; in DidListFolders()
116 status = metadata_database_->UpdateByFileResourceList(candidates.Pass()); in DidListFolders()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformOperations.cpp113 static void findCandidatesInPlane(double px, double py, double nz, double* candidates, int* numCand… in findCandidatesInPlane() argument
119 candidates[0] = phi; // The element at 0deg (maximum x) in findCandidatesInPlane()
122 candidates[i] = candidates[i - 1] + M_PI_2; // every 90 deg in findCandidatesInPlane()
125 candidates[i] *= -1; in findCandidatesInPlane()
135 double candidates[6]; in boundingBoxForArc() local
167 findCandidatesInPlane(point.y(), point.z(), fromTransform.x(), candidates, &numCandidates); in boundingBoxForArc()
170 findCandidatesInPlane(point.z(), point.x(), fromTransform.y(), candidates, &numCandidates); in boundingBoxForArc()
173 findCandidatesInPlane(point.x(), point.y(), fromTransform.z(), candidates, &numCandidates); in boundingBoxForArc()
208 candidates[0] = atan2(v2.x(), v1.x()); in boundingBoxForArc()
209 candidates[1] = candidates[0] + M_PI; in boundingBoxForArc()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ddictbe.cpp116 int candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
142 PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() function in PossibleWord
264 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() local
267 if (candidates == 1) { in divideUpDictionaryRange()
272 else if (candidates > 1) { in divideUpDictionaryRange()
279 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
294 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
317 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
340 … int candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() local
342 if (candidates > 0) { in divideUpDictionaryRange()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp119 int candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
145 PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() function in PossibleWord
267 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() local
270 if (candidates == 1) { in divideUpDictionaryRange()
275 else if (candidates > 1) { in divideUpDictionaryRange()
282 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
297 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
320 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0 in divideUpDictionaryRange()
343 … int candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() local
345 if (candidates > 0) { in divideUpDictionaryRange()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtransportdescription.h113 const Candidates& candidates) in TransportDescription()
121 candidates(candidates) {} in TransportDescription()
138 candidates(from.candidates) {} in TransportDescription()
154 candidates = from.candidates;
183 Candidates candidates; member
Drawtransportchannel.cc178 PortAllocatorSession *session, const std::vector<Candidate>& candidates) { in OnCandidatesReady() argument
180 ASSERT(candidates.size() >= 1); in OnCandidatesReady()
183 Candidate c = candidates[candidates.size() - 1]; in OnCandidatesReady()
190 if (stun_port_->candidates().size() < 2) in OnCandidatesReady()
195 if (stun_port_->candidates()[0].address() == in OnCandidatesReady()
196 stun_port_->candidates()[1].address()) { in OnCandidatesReady()
206 if (relay_port_->candidates().size() > 0) in OnCandidatesReady()
Drawtransport.cc58 Candidates* candidates, in ParseCandidates() argument
77 candidates->push_back(candidate); in ParseCandidates()
84 const Candidates& candidates, in WriteCandidates() argument
89 cand = candidates.begin(); in WriteCandidates()
90 cand != candidates.end(); in WriteCandidates()
/external/chromium_org/cc/animation/
Dtransform_operation.cc210 double* candidates, in FindCandidatesInPlane() argument
214 candidates[0] = phi; in FindCandidatesInPlane()
216 candidates[i] = candidates[i - 1] + M_PI_2; in FindCandidatesInPlane()
219 candidates[i] *= -1.f; in FindCandidatesInPlane()
249 double candidates[kMaxNumCandidates]; in BoundingBoxForArc() local
292 point.x(), point.y(), axis.z(), candidates, &num_candidates); in BoundingBoxForArc()
295 point.z(), point.x(), axis.y(), candidates, &num_candidates); in BoundingBoxForArc()
298 point.y(), point.z(), axis.x(), candidates, &num_candidates); in BoundingBoxForArc()
335 candidates[0] = atan2(v2.x(), v1.x()); in BoundingBoxForArc()
336 candidates[1] = candidates[0] + M_PI; in BoundingBoxForArc()
[all …]
/external/chromium_org/tools/
Dgyp-explain.py39 candidates = []
42 candidates.append(target)
44 if not candidates:
47 if len(candidates) > 1:
49 substring, ' '.join(candidates))
51 return candidates[0]
/external/chromium_org/content/browser/media/capture/
Daudio_mirroring_manager.cc53 std::set<SourceFrameRef> candidates; in AddDiverter() local
54 candidates.insert(routes_.back().source_render_frame); in AddDiverter()
55 InitiateQueriesToFindNewDestination(NULL, candidates); in AddDiverter()
86 std::set<SourceFrameRef> candidates; in StartMirroring() local
90 candidates.insert(it->source_render_frame); in StartMirroring()
92 if (!candidates.empty()) { in StartMirroring()
94 candidates, in StartMirroring()
130 const std::set<SourceFrameRef>& candidates) { in InitiateQueriesToFindNewDestination() argument
137 candidates, in InitiateQueriesToFindNewDestination()
Dweb_contents_audio_muter.cc79 const std::set<SourceFrameRef>& candidates, in QueryForMatches() argument
86 candidates, in QueryForMatches()
90 void QueryForMatchesOnUIThread(const std::set<SourceFrameRef>& candidates, in QueryForMatchesOnUIThread() argument
96 for (std::set<SourceFrameRef>::const_iterator i = candidates.begin(); in QueryForMatchesOnUIThread()
97 i != candidates.end(); ++i) { in QueryForMatchesOnUIThread()
/external/chromium_org/cc/output/
Doverlay_strategy_single_on_top.cc75 OverlayCandidateList candidates; in Attempt() local
79 candidates.push_back(main_image); in Attempt()
90 candidates.push_back(candidate); in Attempt()
93 capability_checker_->CheckOverlaySupport(&candidates); in Attempt()
96 if (candidates[1].overlay_handled) { in Attempt()
98 candidate_list->swap(candidates); in Attempt()
Doverlay_processor.cc23 OverlayCandidateValidator* candidates = in Initialize() local
25 if (candidates) { in Initialize()
27 new OverlayStrategySingleOnTop(candidates, resource_provider_))); in Initialize()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Djsepsessiondescription_unittest.cc151 const IceCandidateCollection* ice_candidates = jsep_desc_->candidates(0); in TEST_F()
160 EXPECT_EQ(0u, jsep_desc_->candidates(1)->count()); in TEST_F()
167 EXPECT_EQ(0u, jsep_desc_->candidates(0)->count()); in TEST_F()
168 const IceCandidateCollection* ice_candidates = jsep_desc_->candidates(1); in TEST_F()
185 const IceCandidateCollection* ice_candidates = jsep_desc_->candidates(0); in TEST_F()
194 EXPECT_EQ(0u, jsep_desc_->candidates(1)->count()); in TEST_F()
212 EXPECT_EQ(1u, jsep_desc_->candidates(0)->count()); in TEST_F()
216 EXPECT_EQ(1u, jsep_desc_->candidates(0)->count()); in TEST_F()
226 EXPECT_EQ(1u, jsep_desc_->candidates(0)->count()); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
DCustomElementUpgradeCandidateMap.cpp101 OwnPtrWillBeRawPtr<ElementSet> candidates = m_unresolvedDefinitions.take(descriptor); in takeUpgradeCandidatesFor() local
103 if (!candidates) in takeUpgradeCandidatesFor()
106 …for (ElementSet::const_iterator candidate = candidates->begin(); candidate != candidates->end(); +… in takeUpgradeCandidatesFor()
110 return candidates.release(); in takeUpgradeCandidatesFor()
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_mcomp.c503 const MV candidates[MAX_PATTERN_SCALES] in vp9_pattern_search()
538 const MV this_mv = {br + candidates[t][i].row, in vp9_pattern_search()
539 bc + candidates[t][i].col}; in vp9_pattern_search()
547 const MV this_mv = {br + candidates[t][i].row, in vp9_pattern_search()
548 bc + candidates[t][i].col}; in vp9_pattern_search()
565 br += candidates[best_init_s][k].row; in vp9_pattern_search()
566 bc += candidates[best_init_s][k].col; in vp9_pattern_search()
581 const MV this_mv = {br + candidates[s][i].row, in vp9_pattern_search()
582 bc + candidates[s][i].col}; in vp9_pattern_search()
590 const MV this_mv = {br + candidates[s][i].row, in vp9_pattern_search()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_mvref_common.c173 int_mv candidates[2 + MAX_MV_REF_CANDIDATES]; in vp9_append_sub8x8_mvs_for_idx() local
174 candidates[0] = bmi[1].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
175 candidates[1] = bmi[0].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
176 candidates[2] = mv_list[0]; in vp9_append_sub8x8_mvs_for_idx()
177 candidates[3] = mv_list[1]; in vp9_append_sub8x8_mvs_for_idx()
181 if (nearest->as_int != candidates[n].as_int) { in vp9_append_sub8x8_mvs_for_idx()
182 near->as_int = candidates[n].as_int; in vp9_append_sub8x8_mvs_for_idx()
/external/chromium_org/chrome/browser/resources/whispernet_proxy/js/
Dwrapper.js196 WhisperDecoder.prototype.handleCandidates_ = function(candidates, audible) { argument
197 if (!this.tokenCallback_ || !candidates || candidates.length == 0)
201 for (var i = 0; i < candidates.length; ++i) {
202 returnCandidates[i] = { token: bytesToBase64(candidates[i]),
/external/chromium_org/third_party/android_platform/development/scripts/
Dsymbol.py208 candidates = PathListJoin([out_dir], buildtype_list) + [CHROME_SYMBOLS_DIR]
209 candidates = PathListJoin(candidates, dirs)
210 candidates = PathListJoin(candidates, [filepart])
211 candidates = list(
212 itertools.chain.from_iterable(map(candidate_fun, candidates)))
213 candidates = sorted(candidates, key=os.path.getmtime, reverse=True)
214 return candidates

12345678910