Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 25 of 119) sorted by relevance

12345

/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLanguageTag.java171 StringTokenIterator itr; in parse() local
178 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
181 itr = new StringTokenIterator(languageTag, SEP); in parse()
187 if (tag.parseLanguage(itr, sts)) { in parse()
188 tag.parseExtlangs(itr, sts); in parse()
189 tag.parseScript(itr, sts); in parse()
190 tag.parseRegion(itr, sts); in parse()
191 tag.parseVariants(itr, sts); in parse()
192 tag.parseExtensions(itr, sts); in parse()
194 tag.parsePrivateuse(itr, sts); in parse()
[all …]
DInternalLocaleBuilder.java129 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local
130 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
131 String s = itr.current(); in setUnicodeLocaleKeyword()
133 …w new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); in setUnicodeLocaleKeyword()
135 itr.next(); in setUnicodeLocaleKeyword()
173 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local
174 while (!itr.isDone()) { in setExtension()
175 String s = itr.current(); in setExtension()
183 … throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension()
185 itr.next(); in setExtension()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLanguageTag.java167 StringTokenIterator itr; in parse() local
174 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
177 itr = new StringTokenIterator(languageTag, SEP); in parse()
183 if (tag.parseLanguage(itr, sts)) { in parse()
184 tag.parseExtlangs(itr, sts); in parse()
185 tag.parseScript(itr, sts); in parse()
186 tag.parseRegion(itr, sts); in parse()
187 tag.parseVariants(itr, sts); in parse()
188 tag.parseExtensions(itr, sts); in parse()
190 tag.parsePrivateuse(itr, sts); in parse()
[all …]
DInternalLocaleBuilder.java125 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local
126 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
127 String s = itr.current(); in setUnicodeLocaleKeyword()
129 …w new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); in setUnicodeLocaleKeyword()
131 itr.next(); in setUnicodeLocaleKeyword()
169 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local
170 while (!itr.isDone()) { in setExtension()
171 String s = itr.current(); in setExtension()
179 … throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension()
181 itr.next(); in setExtension()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLanguageTag.java167 StringTokenIterator itr; in parse() local
173 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
175 itr = new StringTokenIterator(languageTag, SEP); in parse()
181 if (tag.parseLanguage(itr, sts)) { in parse()
182 tag.parseExtlangs(itr, sts); in parse()
183 tag.parseScript(itr, sts); in parse()
184 tag.parseRegion(itr, sts); in parse()
185 tag.parseVariants(itr, sts); in parse()
186 tag.parseExtensions(itr, sts); in parse()
188 tag.parsePrivateuse(itr, sts); in parse()
[all …]
DInternalLocaleBuilder.java125 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local
126 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
127 String s = itr.current(); in setUnicodeLocaleKeyword()
129 …w new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); in setUnicodeLocaleKeyword()
131 itr.next(); in setUnicodeLocaleKeyword()
169 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local
170 while (!itr.isDone()) { in setExtension()
171 String s = itr.current(); in setExtension()
179 … throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension()
181 itr.next(); in setExtension()
[all …]
/external/eigen/bench/btl/generic_bench/timers/
Dx86_timer.hh123 std::map<unsigned long long , unsigned long long>::iterator itr; in dump_statistics() local
124 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in dump_statistics()
126 outfile << (*itr).first << " " << (*itr).second << endl ; in dump_statistics()
155 std::map<unsigned long long,unsigned long long>::iterator itr; in get_mean_clicks() local
159 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in get_mean_clicks()
162 mean_clicks+=(*itr).second*(*itr).first; in get_mean_clicks()
189 std::map<unsigned long long,unsigned long long>::iterator itr; in get_most_occured_clicks() local
191 for(itr=_counted_clicks.begin() ; itr!=_counted_clicks.end() ; itr++) in get_most_occured_clicks()
194 if (max_occurence<=(*itr).second){ in get_most_occured_clicks()
195 max_occurence=(*itr).second; in get_most_occured_clicks()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTextTrieMapTest.java71 Iterator itr = null; in TestCaseSensitive() local
79 itr = map.get((String)TESTCASES[i][0]); in TestCaseSensitive()
80 checkResult(itr, TESTCASES[i][1]); in TestCaseSensitive()
91 itr = map.get(textBuf.toString(), i); in TestCaseSensitive()
92 checkResult(itr, TESTCASES[i][1]); in TestCaseSensitive()
101 itr = map.get("Sunday"); in TestCaseSensitive()
102 checkResult(itr, new Object[]{FOO, SUN}); in TestCaseSensitive()
107 Iterator itr = null; in TestCaseInsensitive() local
115 itr = map.get((String)TESTCASES[i][0]); in TestCaseInsensitive()
116 checkResult(itr, TESTCASES[i][2]); in TestCaseInsensitive()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTextTrieMapTest.java70 Iterator itr = null; in TestCaseSensitive() local
78 itr = map.get((String)TESTCASES[i][0]); in TestCaseSensitive()
79 checkResult(itr, TESTCASES[i][1]); in TestCaseSensitive()
90 itr = map.get(textBuf.toString(), i); in TestCaseSensitive()
91 checkResult(itr, TESTCASES[i][1]); in TestCaseSensitive()
100 itr = map.get("Sunday"); in TestCaseSensitive()
101 checkResult(itr, new Object[]{FOO, SUN}); in TestCaseSensitive()
106 Iterator itr = null; in TestCaseInsensitive() local
114 itr = map.get((String)TESTCASES[i][0]); in TestCaseInsensitive()
115 checkResult(itr, TESTCASES[i][2]); in TestCaseInsensitive()
[all …]
/external/stressapptest/src/
Derror_diag.cc37 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in ~DeviceTree() local
38 itr != subdevices_.end(); in ~DeviceTree()
39 ++itr) { in ~DeviceTree()
40 delete itr->second; in ~DeviceTree()
43 for (std::list<ErrorInstance*>::iterator itr = errors_.begin(); in ~DeviceTree() local
44 itr != errors_.end(); in ~DeviceTree()
45 ++itr) { in ~DeviceTree()
46 delete (*itr); in ~DeviceTree()
64 std::map<string, DeviceTree*>::iterator itr = subdevices_.find(name); in UnlockedFindInSubTree() local
65 if (itr != subdevices_.end()) { in UnlockedFindInSubTree()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableMap.h207 typename TreeTy::iterator itr; variable
210 iterator(TreeTy* t) : itr(t) {} in iterator()
214 value_type_ref operator*() const { return itr->getValue(); }
215 value_type* operator->() const { return &itr->getValue(); }
217 key_type_ref getKey() const { return itr->getValue().first; } in getKey()
218 data_type_ref getData() const { return itr->getValue().second; } in getData()
221 iterator& operator++() { ++itr; return *this; }
222 iterator operator++(int) { iterator tmp(*this); ++itr; return tmp; }
223 iterator& operator--() { --itr; return *this; }
224 iterator operator--(int) { iterator tmp(*this); --itr; return tmp; }
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_params.h85 NameMap::const_iterator itr; in java_package() local
87 itr = java_packages_.find(file_name); in java_package()
88 if (itr == java_packages_.end()) { in java_package()
91 return itr->second; in java_package()
107 NameMap::const_iterator itr; in java_outer_classname() local
109 itr = java_outer_classnames_.find(file_name); in java_outer_classname()
110 if (itr == java_outer_classnames_.end()) { in java_outer_classname()
113 return itr->second; in java_outer_classname()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSlotIndexes.h415 void insert(IndexListEntry *itr, IndexListEntry *val) {
416 assert(itr != 0 && "itr should not be null.");
417 IndexListEntry *prev = itr->getPrev();
418 val->setNext(itr);
421 if (itr != indexListHead) {
427 itr->setPrev(val);
494 Mi2IndexMap::const_iterator itr = mi2iMap.find(instr);
495 assert(itr != mi2iMap.end() && "Instruction not found in maps.");
496 return itr->second;
602 SmallVectorImpl<IdxMBBPair>::const_iterator itr =
[all …]
/external/llvm/test/Transforms/LoopVersioningLICM/
Dmetadata.ll4 …_metadata(i32* nocapture %var1, i32* nocapture readnone %var2, i32* nocapture %var3, i32 %itr) #0 {
6 %cmp14 = icmp eq i32 %itr, 0
15 %cmp212 = icmp ult i32 %j.016, %itr
19 %add = add i32 %i.015, %itr
34 %cmp2 = icmp ult i32 %inc, %itr
41 %j.1.lcssa = phi i32 [ %j.016, %for.cond1.preheader ], [ %itr, %for.inc11.loopexit ]
43 %cmp = icmp ult i32 %inc12, %itr
54 …_metadata(i32* nocapture %var1, i32* nocapture readnone %var2, i32* nocapture %var3, i32 %itr) #0 {
56 %cmp14 = icmp eq i32 %itr, 0
65 %cmp212 = icmp ult i32 %j.016, %itr
[all …]
DloopversioningLICM3.ll10 define i32 @foo(i32* nocapture %var1, i32 %itr) #0 {
12 %cmp18 = icmp eq i32 %itr, 0
18 %cmp216 = icmp ult i32 %j.020, %itr
29 %add = add nsw i32 %1, %itr
33 %exitcond = icmp eq i32 %lftr.wideiv, %itr
37 %j.1.lcssa = phi i32 [ %j.020, %for.cond1.preheader ], [ %itr, %for.body3 ]
39 %exitcond21 = icmp eq i32 %inc7, %itr
/external/kmod/libkmod/
Dlibkmod-file.c288 const struct comp_type *itr; in kmod_file_open() local
301 for (itr = comp_types; itr->ops.load != NULL; itr++) { in kmod_file_open()
302 if (magic_size_max < itr->magic_size) in kmod_file_open()
303 magic_size_max = itr->magic_size; in kmod_file_open()
325 for (itr = comp_types; itr->ops.load != NULL; itr++) { in kmod_file_open()
326 if (memcmp(buf, itr->magic_bytes, itr->magic_size) == 0) in kmod_file_open()
329 if (itr->ops.load != NULL) in kmod_file_open()
330 file->ops = &itr->ops; in kmod_file_open()
Dlibkmod-list.c208 struct kmod_list *itr; in kmod_list_remove_data() local
211 for (itr = list; itr != NULL; itr = kmod_list_next(list, itr)) { in kmod_list_remove_data()
212 if (itr->data == data) in kmod_list_remove_data()
216 if (itr == NULL) in kmod_list_remove_data()
219 node = list_node_remove(&itr->node); in kmod_list_remove_data()
220 free(itr); in kmod_list_remove_data()
Dlibkmod-config.c265 char *itr; in kmod_config_add_softdep() local
334 itr = dep->name + modnamelen; in kmod_config_add_softdep()
366 dep->pre[n_pre] = itr; in kmod_config_add_softdep()
367 memcpy(itr, p, plen); in kmod_config_add_softdep()
368 itr[plen] = '\0'; in kmod_config_add_softdep()
369 itr += plen + 1; in kmod_config_add_softdep()
372 dep->post[n_post] = itr; in kmod_config_add_softdep()
373 memcpy(itr, p, plen); in kmod_config_add_softdep()
374 itr[plen] = '\0'; in kmod_config_add_softdep()
375 itr += plen + 1; in kmod_config_add_softdep()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_params.h106 NameMap::const_iterator itr; in java_package() local
108 itr = java_packages_.find(file_name); in java_package()
109 if (itr == java_packages_.end()) { in java_package()
112 return itr->second; in java_package()
128 NameMap::const_iterator itr; in java_outer_classname() local
130 itr = java_outer_classnames_.find(file_name); in java_outer_classname()
131 if (itr == java_outer_classnames_.end()) { in java_outer_classname()
134 return itr->second; in java_outer_classname()
/external/llvm/test/Analysis/LoopAccessAnalysis/
Dstore-to-invariant-check2.ll7 ; for(; i < itr; i++) {
8 ; for(; j < itr; j++) {
17 define i32 @foo(i32* nocapture readonly %var1, i32* nocapture %var2, i32 %itr) #0 {
19 %cmp20 = icmp eq i32 %itr, 0
25 %cmp218 = icmp ult i32 %j.022, %itr
42 %exitcond = icmp eq i32 %lftr.wideiv, %itr
46 %j.1.lcssa = phi i32 [ %j.022, %for.cond1.preheader ], [ %itr, %for.body3 ]
49 %exitcond26 = icmp eq i32 %lftr.wideiv25, %itr
Dstore-to-invariant-check3.ll7 ; for(; i < itr; i++) {
8 ; for(; j < itr; j++) {
15 define void @foo(i32* nocapture %var1, i32* nocapture %var2, i32 %itr) #0 {
17 %cmp20 = icmp sgt i32 %itr, 0
23 %cmp218 = icmp slt i32 %j.022, %itr
42 %exitcond = icmp eq i32 %lftr.wideiv, %itr
46 %j.1.lcssa = phi i32 [ %j.022, %for.cond1.preheader ], [ %itr, %for.body3 ]
49 %exitcond26 = icmp eq i32 %lftr.wideiv25, %itr
Dstore-to-invariant-check1.ll7 ; for(; i < itr; i++) {
8 ; for(; j < itr; j++) {
25 define i32 @foo(i32* nocapture %var1, i32* nocapture readonly %var2, i32 %itr) #0 {
27 %cmp20 = icmp eq i32 %itr, 0
33 %cmp218 = icmp ult i32 %j.022, %itr
50 %exitcond = icmp eq i32 %lftr.wideiv, %itr
54 %j.1.lcssa = phi i32 [ %j.022, %for.cond1.preheader ], [ %itr, %for.body3 ]
57 %exitcond26 = icmp eq i32 %lftr.wideiv25, %itr
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSlotIndexes.cpp150 for (const IndexListEntry *itr = front(); itr != getTail(); in dump() local
151 itr = itr->getNext()) { in dump()
152 dbgs() << itr->getIndex() << " "; in dump()
154 if (itr->getInstr() != 0) { in dump()
155 dbgs() << *itr->getInstr(); in dump()
DRegAllocPBQP.cpp207 for (LiveIntervals::const_iterator itr = lis->begin(), end = lis->end(); in build() local
208 itr != end; ++itr) { in build()
209 if (TargetRegisterInfo::isPhysicalRegister(itr->first)) { in build()
210 pregs.insert(itr->first); in build()
211 mri->setPhysRegUsed(itr->first); in build()
471 for (LiveIntervals::iterator itr = lis->begin(), end = lis->end(); in findVRegIntervalsToAlloc() local
472 itr != end; ++itr) { in findVRegIntervalsToAlloc()
475 if (TargetRegisterInfo::isPhysicalRegister(itr->first)) in findVRegIntervalsToAlloc()
478 LiveInterval *li = itr->second; in findVRegIntervalsToAlloc()
553 itr = newSpills.begin(), end = newSpills.end(); in mapPBQPToRegAlloc() local
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractRangeSetTest.java55 Iterator<Range<C>> itr = rangeSet.asRanges().iterator(); in testInvariantsInternal() local
57 if (itr.hasNext()) { in testInvariantsInternal()
58 expectedSpan = itr.next(); in testInvariantsInternal()
59 while (itr.hasNext()) { in testInvariantsInternal()
60 expectedSpan = expectedSpan.span(itr.next()); in testInvariantsInternal()

12345