Home
last modified time | relevance | path

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

123456789

/external/u-boot/fs/fat/
Dfat.c684 static int fat_itr_isdir(fat_itr *itr);
694 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument
699 itr->fsdata = fsdata; in fat_itr_root()
700 itr->start_clust = 0; in fat_itr_root()
701 itr->clust = fsdata->root_cluster; in fat_itr_root()
702 itr->next_clust = fsdata->root_cluster; in fat_itr_root()
703 itr->dent = NULL; in fat_itr_root()
704 itr->remaining = 0; in fat_itr_root()
705 itr->last_cluster = 0; in fat_itr_root()
706 itr->is_root = 1; in fat_itr_root()
[all …]
Dfat_write.c212 static int new_dir_table(fat_itr *itr);
213 static int flush_dir(fat_itr *itr);
220 fill_dir_slot(fat_itr *itr, const char *l_name) in fill_dir_slot() argument
228 checksum = mkcksum(itr->dent->name, itr->dent->ext); in fill_dir_slot()
243 memcpy(itr->dent, slotptr, sizeof(dir_slot)); in fill_dir_slot()
247 if (itr->remaining == 0) in fill_dir_slot()
248 flush_dir(itr); in fill_dir_slot()
251 if (!fat_itr_next(itr)) in fill_dir_slot()
252 if (!itr->dent && in fill_dir_slot()
253 (!itr->is_root || itr->fsdata->fatsize == 32) && in fill_dir_slot()
[all …]
/external/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_duplicate_intrinsic.c29 lima_nir_duplicate_intrinsic(nir_builder *b, nir_intrinsic_instr *itr, in lima_nir_duplicate_intrinsic() argument
35 nir_foreach_use_safe(use_src, &itr->dest.ssa) { in lima_nir_duplicate_intrinsic()
42 dupl->num_components = itr->num_components; in lima_nir_duplicate_intrinsic()
43 memcpy(dupl->const_index, itr->const_index, sizeof(itr->const_index)); in lima_nir_duplicate_intrinsic()
44 dupl->src[0].is_ssa = itr->src[0].is_ssa; in lima_nir_duplicate_intrinsic()
45 if (itr->src[0].is_ssa) in lima_nir_duplicate_intrinsic()
46 dupl->src[0].ssa = itr->src[0].ssa; in lima_nir_duplicate_intrinsic()
48 dupl->src[0].reg = itr->src[0].reg; in lima_nir_duplicate_intrinsic()
51 dupl->num_components, itr->dest.ssa.bit_size, in lima_nir_duplicate_intrinsic()
52 itr->dest.ssa.name); in lima_nir_duplicate_intrinsic()
[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/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLanguageTag.java171 StringTokenIterator itr; in parse() local
185 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
188 itr = new StringTokenIterator(gfmap[1] + languageTag.substring(dash), SEP); in parse()
192 itr = new StringTokenIterator(languageTag, SEP); in parse()
198 if (tag.parseLanguage(itr, sts)) { in parse()
201 tag.parseExtlangs(itr, sts); in parse()
202 tag.parseScript(itr, sts); in parse()
203 tag.parseRegion(itr, sts); in parse()
204 tag.parseVariants(itr, sts); in parse()
205 tag.parseExtensions(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
181 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
184 itr = new StringTokenIterator(gfmap[1] + languageTag.substring(dash), SEP); in parse()
188 itr = new StringTokenIterator(languageTag, SEP); in parse()
194 if (tag.parseLanguage(itr, sts)) { in parse()
197 tag.parseExtlangs(itr, sts); in parse()
198 tag.parseScript(itr, sts); in parse()
199 tag.parseRegion(itr, sts); in parse()
200 tag.parseVariants(itr, sts); in parse()
201 tag.parseExtensions(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/python/cpython3/Modules/_decimal/tests/
Dranddec.py151 def un_close_to_pow10(prec, maxexp, itr=None): argument
152 if itr is None:
155 lst = sample(range(prec+30), itr)
168 def bin_close_to_pow10(prec, maxexp, itr=None): argument
169 if itr is None:
172 lst = sample(range(prec+30), itr)
269 def un_close_numbers(prec, emax, emin, itr=None): argument
270 if itr is None:
271 itr = 1000
272 for _ in range(itr):
[all …]
/external/google-fruit/include/fruit/impl/data_structures/
Dsemistatic_graph.defn.h34 inline SemistaticGraph<NodeId, Node>::node_iterator::node_iterator(NodeData* itr) : itr(itr) {} in node_iterator() argument
38 FruitAssert(itr->edges_begin != 1); in getNode()
39 return itr->node; in getNode()
44 FruitAssert(itr->edges_begin != 1); in isTerminal()
45 return itr->edges_begin == 0; in isTerminal()
50 FruitAssert(itr->edges_begin != 1); in setTerminal()
51 itr->edges_begin = 0; in setTerminal()
56 return itr == other.itr;
60 …ticGraph<NodeId, Node>::const_node_iterator::const_node_iterator(const NodeData* itr) : itr(itr) {} in const_node_iterator() argument
63 …cGraph<NodeId, Node>::const_node_iterator::const_node_iterator(node_iterator itr) : itr(itr.itr) {} in const_node_iterator() argument
[all …]
Dsemistatic_map.templates.h61 for (Iter itr = values_begin; !(itr == values_end); ++itr) { in SemistaticMap() local
62 Unsigned& this_count = count[hash((*itr).first)]; in SemistaticMap()
85 Iter itr = values_begin; in SemistaticMap() local
86 for (std::size_t i = 0; i < num_values; ++i, ++itr) { in SemistaticMap()
87 value_type*& first_value_ptr = lookup_table[hash((*itr).first)].begin; in SemistaticMap()
91 *first_value_ptr = *itr; in SemistaticMap()
106 …for (auto itr = new_elements.begin(), itr_end = new_elements.end(); itr != itr_end; /* no incremen… in SemistaticMap() local
107 Unsigned h = hash(itr->first); in SemistaticMap()
110 for (; itr != itr_end && hash(itr->first) == h; ++itr) { in SemistaticMap()
123 …for (value_type *itr = new_elements.data(), *itr_end = new_elements.data() + new_elements.size(); in SemistaticMap() local
[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/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/tensorflow/tensorflow/lite/experimental/ruy/
Dprepacked_cache.cc27 auto itr = cache_.find(key); in FindAndUpdate() local
29 if (itr != cache_.end()) { in FindAndUpdate()
31 itr->second.second = time; in FindAndUpdate()
33 return itr; in FindAndUpdate()
55 for (auto itr = cache_.begin(); itr != cache_.end(); ++itr) { in EjectOne() local
56 if (itr->second.second < oldest_time) { in EjectOne()
57 oldest_time = itr->second.second; in EjectOne()
58 oldest = itr; in EjectOne()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTextTrieMapTest.java90 Iterator itr = null; in TestCaseSensitive() local
98 itr = map.get((String)TESTCASES[i][0]); in TestCaseSensitive()
99 checkResult("get(String) case " + i, itr, TESTCASES[i][1]); in TestCaseSensitive()
110 itr = map.get(textBuf.toString(), i); in TestCaseSensitive()
111 checkResult("get(String, int) case " + i, itr, TESTCASES[i][1]); in TestCaseSensitive()
144 itr = map.get("Sunday"); in TestCaseSensitive()
145 checkResult("Get Sunday", itr, new Object[]{FOO, SUN}); in TestCaseSensitive()
150 Iterator itr = null; in TestCaseInsensitive() local
158 itr = map.get((String)TESTCASES[i][0]); in TestCaseInsensitive()
159 checkResult("get(String) case " + i, itr, TESTCASES[i][2]); in TestCaseInsensitive()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTextTrieMapTest.java93 Iterator itr = null; in TestCaseSensitive() local
101 itr = map.get((String)TESTCASES[i][0]); in TestCaseSensitive()
102 checkResult("get(String) case " + i, itr, TESTCASES[i][1]); in TestCaseSensitive()
113 itr = map.get(textBuf.toString(), i); in TestCaseSensitive()
114 checkResult("get(String, int) case " + i, itr, TESTCASES[i][1]); in TestCaseSensitive()
147 itr = map.get("Sunday"); in TestCaseSensitive()
148 checkResult("Get Sunday", itr, new Object[]{FOO, SUN}); in TestCaseSensitive()
153 Iterator itr = null; in TestCaseInsensitive() local
161 itr = map.get((String)TESTCASES[i][0]); in TestCaseInsensitive()
162 checkResult("get(String) case " + i, itr, TESTCASES[i][2]); in TestCaseInsensitive()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DVisitorList.java125 final Iterator<EqualsHashcodeOverridingFacade> itr = innerList.iterator(); in iterator()
129 return itr.hasNext(); in iterator()
134 return itr.next().overridden; in iterator()
139 itr.remove(); in iterator()
157 final ListIterator<EqualsHashcodeOverridingFacade> itr = innerList.listIterator(index); in listIterator()
161 return itr.hasNext(); in listIterator()
166 return itr.next().overridden; in listIterator()
171 itr.remove(); in listIterator()
176 itr.add(new EqualsHashcodeOverridingFacade((N) elem)); in listIterator()
181 return itr.hasPrevious(); in listIterator()
[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/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 …]
/external/swiftshader/third_party/llvm-7.0/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 …]
/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()
/external/google-fruit/include/fruit/impl/injector/
Dinjector_storage.defn.h41 ++itr;
45 return itr == other.itr;
49 return itr != other.itr;
53 return itr - other.itr;
58 FruitAssert(itr->kind != ComponentStorageEntry::Kind::COMPRESSED_BINDING); in getId()
59 FruitAssert(itr->kind != ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS); in getId()
60 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACED_LAZY_COMPONENT_WITH_NO_ARGS); in getId()
61 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACEMENT_LAZY_COMPONENT_WITH_NO_ARGS); in getId()
62 FruitAssert(itr->kind != ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS); in getId()
63 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACED_LAZY_COMPONENT_WITH_ARGS); in getId()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_params.h104 NameMap::const_iterator itr; in java_package() local
106 itr = java_packages_.find(file_name); in java_package()
107 if (itr == java_packages_.end()) { in java_package()
110 return itr->second; in java_package()
126 NameMap::const_iterator itr; in java_outer_classname() local
128 itr = java_outer_classnames_.find(file_name); in java_outer_classname()
129 if (itr == java_outer_classnames_.end()) { in java_outer_classname()
132 return itr->second; in java_outer_classname()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DVisitorListTest.java95 Iterator<CompilationUnit> itr = list.iterator(); in visitorListIterator() local
96 assertEquals(x1, itr.next()); in visitorListIterator()
97 itr.remove(); in visitorListIterator()
99 assertEquals(x2, itr.next()); in visitorListIterator()
100 itr.remove(); in visitorListIterator()
114 Iterator<CompilationUnit> itr = list.listIterator(2); in visitorListListIterator() local
115 assertEquals(x1, itr.next()); in visitorListListIterator()
116 itr.remove(); in visitorListListIterator()
118 assertEquals(x2, itr.next()); in visitorListListIterator()
119 itr.remove(); in visitorListListIterator()

123456789