Home
last modified time | relevance | path

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

1234

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java130 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local
131 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
132 String s = itr.current(); in setUnicodeLocaleKeyword()
134 …w new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); in setUnicodeLocaleKeyword()
136 itr.next(); in setUnicodeLocaleKeyword()
174 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local
175 while (!itr.isDone()) { in setExtension()
176 String s = itr.current(); in setExtension()
184 … throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension()
186 itr.next(); in setExtension()
[all …]
/third_party/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, NULL); in lima_nir_duplicate_intrinsic()
68 nir_foreach_if_use_safe(use_src, &itr->dest.ssa) { in lima_nir_duplicate_intrinsic()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLanguageTag.java127 StringTokenIterator itr; in parse() local
140 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
143 itr = new StringTokenIterator(gfmap[1] + languageTag.substring(dash), SEP); in parse()
147 itr = new StringTokenIterator(languageTag, SEP); in parse()
153 if (tag.parseLanguage(itr, sts)) { in parse()
156 tag.parseExtlangs(itr, sts); in parse()
157 tag.parseScript(itr, sts); in parse()
158 tag.parseRegion(itr, sts); in parse()
159 tag.parseVariants(itr, sts); in parse()
160 tag.parseExtensions(itr, sts); in parse()
[all …]
DInternalLocaleBuilder.java126 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local
127 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
128 String s = itr.current(); in setUnicodeLocaleKeyword()
130 …w new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); in setUnicodeLocaleKeyword()
132 itr.next(); in setUnicodeLocaleKeyword()
170 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local
171 while (!itr.isDone()) { in setExtension()
172 String s = itr.current(); in setExtension()
180 … throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension()
182 itr.next(); in setExtension()
[all …]
/third_party/python/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 …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cfg.hpp55 auto itr = immediate_dominators.find(block); in get_immediate_dominator() local
56 if (itr != std::end(immediate_dominators)) in get_immediate_dominator()
57 return itr->second; in get_immediate_dominator()
64 auto itr = visit_order.find(block); in get_visit_order() local
65 assert(itr != std::end(visit_order)); in get_visit_order()
66 int v = itr->second.get(); in get_visit_order()
75 auto itr = preceding_edges.find(block); in get_preceding_edges() local
76 if (itr != std::end(preceding_edges)) in get_preceding_edges()
77 return itr->second; in get_preceding_edges()
84 auto itr = succeeding_edges.find(block); in get_succeeding_edges() local
[all …]
Dspirv_cfg.cpp83 auto itr = visit_order.find(to); in is_back_edge() local
84 return itr != end(visit_order) && itr->second.get() == 0; in is_back_edge()
90 auto itr = visit_order.find(to); in has_visited_forward_edge() local
91 return itr != end(visit_order) && itr->second.get() > 0; in has_visited_forward_edge()
220 auto itr = find(begin(l), end(l), value); in add_branch() local
221 if (itr == end(l)) in add_branch()
232 auto itr = preceding_edges.find(block_id); in find_loop_dominator() local
233 if (itr == end(preceding_edges)) in find_loop_dominator()
235 if (itr->second.empty()) in find_loop_dominator()
244 for (auto &pred : itr->second) in find_loop_dominator()
[all …]
Dspirv_cross_containers.hpp376 void insert(T *itr, const T *insert_begin, const T *insert_end) SPIRV_CROSS_NOEXCEPT in insert() argument
379 if (itr == this->end()) in insert()
414 while (original_source_itr != itr) in insert()
450 while (target_itr != this->end() && source_itr != itr) in insert()
458 std::move_backward(itr, source_itr, target_itr); in insert()
461 while (itr != this->end() && insert_begin != insert_end) in insert()
462 *itr++ = *insert_begin++; in insert()
467 new (itr) T(*insert_begin); in insert()
468 ++itr; in insert()
477 void insert(T *itr, const T &value) SPIRV_CROSS_NOEXCEPT in insert() argument
[all …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/rust/crates/clap/src/
Dderive.rs102 fn parse_from<I, T>(itr: I) -> Self in parse_from()
107 let mut matches = <Self as CommandFactory>::command().get_matches_from(itr); in parse_from()
121 fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> in try_parse_from()
126 let mut matches = ok!(<Self as CommandFactory>::command().try_get_matches_from(itr)); in try_parse_from()
131 fn update_from<I, T>(&mut self, itr: I) in update_from()
136 let mut matches = <Self as CommandFactory>::command_for_update().get_matches_from(itr); in update_from()
147 fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> in try_update_from()
153 ok!(<Self as CommandFactory>::command_for_update().try_get_matches_from(itr)); in try_update_from()
406 fn parse_from<I, It>(itr: I) -> Self in parse_from()
411 Box::new(<T as Parser>::parse_from(itr)) in parse_from()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvideobox.c149 guint itr; in GST_START_TEST() local
166 for (itr = 0; itr < conversions_test_size; itr++) { in GST_START_TEST()
170 conversion_table[itr].in_caps); in GST_START_TEST()
172 conversion_table[itr].out_caps); in GST_START_TEST()
180 fail_unless (link_res == conversion_table[itr].expected_result, in GST_START_TEST()
182 conversion_table[itr].in_caps, conversion_table[itr].out_caps); in GST_START_TEST()
/third_party/nghttp2/src/
Dshrpx_downstream_queue.cc62 auto itr = host_entries_.find(host); in find_host_entry() local
63 if (itr == std::end(host_entries_)) { in find_host_entry()
67 std::tie(itr, std::ignore) = in find_host_entry()
71 std::tie(itr, std::ignore) = host_entries_.insert( in find_host_entry()
75 return (*itr).second; in find_host_entry()
104 auto itr = host_entries_.find(make_host_key(host)); in can_activate() local
105 if (itr == std::end(host_entries_)) { in can_activate()
108 auto &ent = (*itr).second; in can_activate()
/third_party/libuv/src/
Dstrtok.c25 char* uv__strtok(char* str, const char* sep, char** itr) { in uv__strtok() argument
31 start = tmp = *itr; in uv__strtok()
42 *itr = tmp + 1; in uv__strtok()
50 *itr = NULL; in uv__strtok()
/third_party/node/deps/uv/src/
Dstrtok.c25 char* uv__strtok(char* str, const char* sep, char** itr) { in uv__strtok() argument
31 start = tmp = *itr; in uv__strtok()
42 *itr = tmp + 1; in uv__strtok()
50 *itr = NULL; in uv__strtok()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp166 auto itr = recurrent_node_map_.find(inst); in AnalyzeInstruction() local
167 if (itr != recurrent_node_map_.end()) return itr->second; in AnalyzeInstruction()
366 auto itr = node_cache_.find(prospective_node); in GetCachedOrAdd() local
367 if (itr != node_cache_.end()) { in GetCachedOrAdd()
368 return (*itr).get(); in GetCachedOrAdd()
378 for (auto itr = node->graph_cbegin(); itr != node->graph_cend(); ++itr) { in IsLoopInvariant() local
379 if (const SERecurrentNode* rec = itr->AsSERecurrentNode()) { in IsLoopInvariant()
387 } else if (const SEValueUnknown* unknown = itr->AsSEValueUnknown()) { in IsLoopInvariant()
400 for (auto itr = node->graph_begin(); itr != node->graph_end(); ++itr) { in GetCoefficientFromRecurrentTerm() local
401 SERecurrentNode* rec = itr->AsSERecurrentNode(); in GetCoefficientFromRecurrentTerm()
[all …]
Dloop_unroller.cpp622 void LoopUnrollerUtilsImpl::CopyBasicBlock(Loop* loop, const BasicBlock* itr, in CopyBasicBlock() argument
625 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock()
626 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock()
636 if (itr == loop->GetContinueBlock()) { in CopyBasicBlock()
648 if (itr == loop->GetHeaderBlock()) { in CopyBasicBlock()
659 if (itr == loop->GetLatchBlock()) state_.new_latch_block = basic_block; in CopyBasicBlock()
662 if (itr == loop_condition_block_) { in CopyBasicBlock()
671 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
677 for (const BasicBlock* itr : loop_blocks_inorder_) { in CopyBody() local
678 CopyBasicBlock(loop, itr, false); in CopyBody()
[all …]
/third_party/spirv-tools/source/opt/
Dscalar_analysis.cpp166 auto itr = recurrent_node_map_.find(inst); in AnalyzeInstruction() local
167 if (itr != recurrent_node_map_.end()) return itr->second; in AnalyzeInstruction()
366 auto itr = node_cache_.find(prospective_node); in GetCachedOrAdd() local
367 if (itr != node_cache_.end()) { in GetCachedOrAdd()
368 return (*itr).get(); in GetCachedOrAdd()
378 for (auto itr = node->graph_cbegin(); itr != node->graph_cend(); ++itr) { in IsLoopInvariant() local
379 if (const SERecurrentNode* rec = itr->AsSERecurrentNode()) { in IsLoopInvariant()
387 } else if (const SEValueUnknown* unknown = itr->AsSEValueUnknown()) { in IsLoopInvariant()
400 for (auto itr = node->graph_begin(); itr != node->graph_end(); ++itr) { in GetCoefficientFromRecurrentTerm() local
401 SERecurrentNode* rec = itr->AsSERecurrentNode(); in GetCoefficientFromRecurrentTerm()
[all …]
Dloop_unroller.cpp623 void LoopUnrollerUtilsImpl::CopyBasicBlock(Loop* loop, const BasicBlock* itr, in CopyBasicBlock() argument
626 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock()
627 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock()
637 if (itr == loop->GetContinueBlock()) { in CopyBasicBlock()
649 if (itr == loop->GetHeaderBlock()) { in CopyBasicBlock()
660 if (itr == loop->GetLatchBlock()) state_.new_latch_block = basic_block; in CopyBasicBlock()
663 if (itr == loop_condition_block_) { in CopyBasicBlock()
672 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
678 for (const BasicBlock* itr : loop_blocks_inorder_) { in CopyBody() local
679 CopyBasicBlock(loop, itr, false); in CopyBody()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dscalar_analysis.cpp166 auto itr = recurrent_node_map_.find(inst); in AnalyzeInstruction() local
167 if (itr != recurrent_node_map_.end()) return itr->second; in AnalyzeInstruction()
366 auto itr = node_cache_.find(prospective_node); in GetCachedOrAdd() local
367 if (itr != node_cache_.end()) { in GetCachedOrAdd()
368 return (*itr).get(); in GetCachedOrAdd()
378 for (auto itr = node->graph_cbegin(); itr != node->graph_cend(); ++itr) { in IsLoopInvariant() local
379 if (const SERecurrentNode* rec = itr->AsSERecurrentNode()) { in IsLoopInvariant()
387 } else if (const SEValueUnknown* unknown = itr->AsSEValueUnknown()) { in IsLoopInvariant()
400 for (auto itr = node->graph_begin(); itr != node->graph_end(); ++itr) { in GetCoefficientFromRecurrentTerm() local
401 SERecurrentNode* rec = itr->AsSERecurrentNode(); in GetCoefficientFromRecurrentTerm()
[all …]
Dloop_unroller.cpp622 void LoopUnrollerUtilsImpl::CopyBasicBlock(Loop* loop, const BasicBlock* itr, in CopyBasicBlock() argument
625 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock()
626 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock()
636 if (itr == loop->GetContinueBlock()) { in CopyBasicBlock()
648 if (itr == loop->GetHeaderBlock()) { in CopyBasicBlock()
659 if (itr == loop->GetLatchBlock()) state_.new_latch_block = basic_block; in CopyBasicBlock()
662 if (itr == loop_condition_block_) { in CopyBasicBlock()
671 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
677 for (const BasicBlock* itr : loop_blocks_inorder_) { in CopyBody() local
678 CopyBasicBlock(loop, itr, false); in CopyBody()
[all …]
/third_party/gn/src/base/json/
Djson_writer.cc127 for (DictionaryValue::Iterator itr(*dict); !itr.IsAtEnd(); in BuildJSONString() local
128 itr.Advance()) { in BuildJSONString()
129 if (omit_binary_values_ && itr.value().type() == Value::Type::BINARY) { in BuildJSONString()
142 EscapeJSONString(itr.key(), true, json_string_); in BuildJSONString()
147 if (!BuildJSONString(itr.value(), depth + 1U)) in BuildJSONString()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_impl.cc65 TimeZoneImplByName::const_iterator itr = time_zone_map->find(name); in LoadTimeZone() local
66 if (itr != time_zone_map->end()) { in LoadTimeZone()
67 *tz = time_zone(itr->second); in LoadTimeZone()
68 return itr->second != utc_impl; in LoadTimeZone()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSlotIndexes.cpp250 for (IndexList::const_iterator itr = indexList.begin(); in dump() local
251 itr != indexList.end(); ++itr) { in dump()
252 dbgs() << itr->getIndex() << " "; in dump()
254 if (itr->getInstr()) { in dump()
255 dbgs() << *itr->getInstr(); in dump()

1234