/external/owasp/sanitizer/src/tests/org/owasp/html/ |
CssFuzzerTest.java | 123 for (CssTokens.TokenIterator it = tokens.iterator(); it.hasNext(); 124 it.advance()) { 125 System.err.println(it.token() + ":" + it.type()); 143 for (CssTokens.TokenIterator it = tokens.iterator(); it.hasNext();) { 144 CssTokens.TokenType type = it.type(); 145 String token = it.next(); 253 * This hack helps ignore it [all...] |
/frameworks/layoutlib/bridge/src/android/text/ |
StaticLayout_Delegate.java | 93 BreakIterator it = BreakIterator.getLineInstance(); local 94 it.setText((CharacterIterator) new Segment(builder.mText, 0, length)); 99 it.first(); 100 while ((loc = it.next()) != BreakIterator.DONE) { 129 * Compute metadata each character - things which help in deciding if it's possible to break
|
/libcore/ojluni/src/main/java/java/util/ |
AbstractList.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 101 * prevents it from being added to this list 105 * prevents it from being added to this list 171 * {@code listIterator()}). Then, it iterates over the list until the 178 ListIterator<E> it = listIterator(); local 180 while (it.hasNext()) 181 if (it.next()==null) 182 return it.previousIndex() 203 ListIterator<E> it = listIterator(size()); local 568 ListIterator<E> it = listIterator(fromIndex); local [all...] |
Spliterators.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 128 * characteristics for the spliterator to report; it is common to 158 * characteristics for the spliterator to report; it is common to 193 * characteristics for the spliterator to report; it is common to 221 * characteristics for the spliterator to report; it is common to 255 * characteristics for the spliterator to report; it is common to 283 * characteristics for the spliterator to report. (For example, if it is 321 * characteristics for the spliterator to report; it is common t 1695 private Iterator<? extends T> it; field in class:Spliterators.IteratorSpliterator 1846 private PrimitiveIterator.OfInt it; field in class:Spliterators.IntIteratorSpliterator 1940 private PrimitiveIterator.OfLong it; field in class:Spliterators.LongIteratorSpliterator 2034 private PrimitiveIterator.OfDouble it; field in class:Spliterators.DoubleIteratorSpliterator [all...] |
/prebuilts/tools/common/m2/repository/it/unimi/dsi/fastutil/7.2.0/ |
fastutil-7.2.0.jar | |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SearchIterator.java | 33 * this class, it is easy to scan through text looking for all occurrences of 224 // Create a clone of CharacterItearator, so it won't 255 // Create a clone of CharacterItearator, so it won't 358 CharacterIterator it = search_.text(); local 359 it.setIndex(search_.matchedIndex_); 360 while (it.getIndex() < limit) { 361 result.append(it.current()); 362 it.next(); 364 it.setIndex(search_.matchedIndex_); 400 // if matchedIndex == DONE, it means that either a [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
MessageFormat.java | 51 * corresponding subformat, which then formats it into a string. The 83 * return arrays will throw an exception, since it is not possible to 100 * If the argument is a <code>Map</code> it can be used with Strings that 171 * except single quotes, but curly braces within it must be balanced. 178 * In particular, it isn't always obvious to localizers whether single 398 * It is recommended to create separate format instances for each thread. 399 * If multiple threads access a format concurrently, it must be synchronized 433 * creates a list of subformats for the format elements contained in it. 449 * creates a list of subformats for the format elements contained in it. 466 * creates a list of subformats for the format elements contained in it 1069 AttributedCharacterIterator it = messageFormat.formatToCharacterIterator(arguments); local [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
SearchIterator.java | 32 * this class, it is easy to scan through text looking for all occurrences of 231 // Create a clone of CharacterItearator, so it won't 263 // Create a clone of CharacterItearator, so it won't 372 CharacterIterator it = search_.text(); local 373 it.setIndex(search_.matchedIndex_); 374 while (it.getIndex() < limit) { 375 result.append(it.current()); 376 it.next(); 378 it.setIndex(search_.matchedIndex_); 415 // if matchedIndex == DONE, it means that either a [all...] |
/frameworks/base/core/java/android/util/ |
MapCollections.java | 202 Iterator<?> it = collection.iterator(); local 203 while (it.hasNext()) { 204 if (!contains(it.next())) { 381 Iterator<?> it = collection.iterator(); local 382 while (it.hasNext()) { 383 if (!contains(it.next())) { 459 Iterator<?> it = collection.iterator(); local 460 while (it.hasNext()) { 461 if (!map.containsKey(it.next())) { 470 Iterator<?> it = collection.iterator() local 479 Iterator<K> it = map.keySet().iterator(); local [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
TimeController.java | 75 * Check if the job has a timing constraint, and if so determine where to insert it in our 84 // then there is no need to track it. This gives us a fast path for a common 86 // Unlike most controllers, once one of our constraints has been satisfied, it 94 // If it doesn't have a deadline, we'll never have to touch it again. 100 ListIterator<JobStatus> it = mTrackedJobs.listIterator(mTrackedJobs.size()); local 101 while (it.hasPrevious()) { 102 JobStatus ts = it.previous(); 110 it.next(); 112 it.add(job) 166 Iterator<JobStatus> it = mTrackedJobs.iterator(); local 212 Iterator<JobStatus> it = mTrackedJobs.iterator(); local [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneResultAdapter.java | 191 * saved, it will remove the oldest and append this one. 211 Iterator<String> it = recents.iterator(); local 213 if (!it.hasNext()) { 216 it.next(); 217 it.remove(); 275 // We'll need to re-inflate the view if it was null, or if it was used as an empty item.
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
MapCollections.java | 200 Iterator<?> it = collection.iterator(); local 201 while (it.hasNext()) { 202 if (!contains(it.next())) { 379 Iterator<?> it = collection.iterator(); local 380 while (it.hasNext()) { 381 if (!contains(it.next())) { 457 Iterator<?> it = collection.iterator(); local 458 while (it.hasNext()) { 459 if (!map.containsKey(it.next())) { 468 Iterator<?> it = collection.iterator() local 477 Iterator<K> it = map.keySet().iterator(); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedStringTest.java | 31 AttributedCharacterIterator it = attrString.getIterator(); local 33 buf.append(it.first()); 35 while ((ch = it.next()) != CharacterIterator.DONE) 171 AttributedCharacterIterator it = attrString.getIterator(); local 173 buf.append(it.first()); 175 while ((ch = it.next()) != CharacterIterator.DONE) 286 AttributedCharacterIterator it = as.getIterator(); local 287 assertEquals("non-null value limit", 2, it 293 it = as.getIterator(); 294 assertEquals("null value limit", 4, it 402 AttributedCharacterIterator it = attrString.getIterator(); local 427 AttributedCharacterIterator it = attrString.getIterator(aci); local 459 AttributedCharacterIterator it = attrString.getIterator(aci, 1, 5); local [all...] |
/art/compiler/dex/ |
verification_results.cc | 70 auto it = verified_methods_.find(ref); local 71 inserted = it == verified_methods_.end(); 76 existing = it->second; 84 // TODO: Investigate why are we doing the work again for this method and try to avoid it. 95 // registered. It is unsafe to replace the existing one since the JIT may be using it to 106 auto it = verified_methods_.find(ref); local 107 return (it != verified_methods_.end()) ? it->second : nullptr; 156 for (auto it = verified_methods_.begin(); it != verified_methods_.end(); ) [all...] |
/art/dex2oat/linker/ |
multi_oat_relative_patcher.h | 34 // any number of oat files. It provides storage for method code offsets 49 // It must must never point directly to a method's code to avoid relative offsets 51 // GetOffset() and an error indication in WriteThunks(). Additionally, it must be 52 // page-aligned, so that it does not skew alignment calculations, say arm64 ADRP. 57 auto it = method_offset_map_.map.find(method_ref); local 58 return (it != method_offset_map_.map.end()) ? it->second - adjustment_ : 0u;
|
/art/runtime/jdwp/ |
object_registry.cc | 111 // This object isn't in the registry yet, so add it. 133 for (auto it = object_to_entry_.lower_bound(identity_hash_code), end = object_to_entry_.end(); 134 it != end && it->first == identity_hash_code; ++it) { 135 ObjectRegistryEntry* entry = it->second; 182 auto it = id_to_entry_.find(id); local 183 if (it == id_to_entry_.end()) { 187 ObjectRegistryEntry& entry = *it->second; 198 auto it = id_to_entry_.find(id) local 207 auto it = id_to_entry_.find(id); local 215 auto it = id_to_entry_.find(id); local 245 auto it = id_to_entry_.find(id); local 259 auto it = id_to_entry_.find(id); local [all...] |
/bionic/libc/bionic/ |
net_if.cpp | 88 if_list* it = list; local 89 list = it->next; 90 if (names_too) free(it->data.if_name); 91 free(it); 130 for (if_list* it = list; it != nullptr; it = it->next) { 138 for (if_list* it = list; it != nullptr; it = it->next) [all...] |
pthread_atfork.cpp | 52 for (atfork_t* it = first_; it != nullptr; it = it->next) { 53 f(it); 59 for (atfork_t* it = last_; it != nullptr; it = it->prev) { 60 f(it); 78 atfork_t* it = first_; local [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiPackage.java | 82 Iterator<Entry<String, ApiClass>> it = mApiClassMap.entrySet().iterator(); local 83 while (it.hasNext()) { 84 Map.Entry<String, ApiClass> entry = it.next();
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyUtils.java | 100 Iterator<String> it = mValidPackages.iterator(); local 101 while (it.hasNext()) { 102 Logger.out.println(":AllowPackage: " + it.next()); 106 Iterator<String> it = mInvalidPackages.iterator(); local 107 while (it.hasNext()) { 108 Logger.out.println(":DisallowPackage: " + it.next());
|
/device/google/cuttlefish_common/host/libs/ivserver/ |
vsocsharedmem.cc | 108 auto it = region_name_to_index_.find(region_name); local 109 if (it == region_name_to_index_.end()) return false; 111 *guest_to_host = region_data_[it->second].host_fd; 112 *host_to_guest = region_data_[it->second].guest_fd;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
iterobject.c | 14 seqiterobject *it;
local 20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
21 if (it == NULL)
23 it->it_index = 0;
25 it->it_seq = seq;
26 _PyObject_GC_TRACK(it);
27 return (PyObject *)it;
31 iter_dealloc(seqiterobject *it)
33 _PyObject_GC_UNTRACK(it);
34 Py_XDECREF(it->it_seq); 48 seqiterobject *it; local 140 calliterobject *it; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
iterobject.c | 14 seqiterobject *it;
local 20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
21 if (it == NULL)
23 it->it_index = 0;
25 it->it_seq = seq;
26 _PyObject_GC_TRACK(it);
27 return (PyObject *)it;
31 iter_dealloc(seqiterobject *it)
33 _PyObject_GC_UNTRACK(it);
34 Py_XDECREF(it->it_seq); 48 seqiterobject *it; local 140 calliterobject *it; local [all...] |
rangeobject.c | 226 PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of len(list(it)).");
270 rangeiterobject *it;
local 276 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type);
277 if (it == NULL)
279 it->index = 0;
280 it->start = ((rangeobject *)seq)->start;
281 it->step = ((rangeobject *)seq)->step;
282 it->len = ((rangeobject *)seq)->len;
283 return (PyObject *)it;
289 rangeiterobject *it;
local [all...] |
/external/boringssl/src/crypto/asn1/ |
tasn_new.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 70 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 72 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 74 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 76 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) 79 if (ASN1_item_ex_new(&ret, it) > 0) 86 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 88 return asn1_item_ex_combine_new(pval, it, 0); 91 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 97 const ASN1_AUX *aux = it->funcs 262 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); local [all...] |