/art/compiler/utils/ |
atomic_dex_ref_map-inl.h | 34 // TODO: Use specialization for this? Not sure if worth it. 106 auto it = arrays_.find(dex_file); local 107 return (it != arrays_.end()) ? &it->second : nullptr; 113 auto it = arrays_.find(dex_file); local 114 return (it != arrays_.end()) ? &it->second : nullptr; 130 for (auto& it : arrays_) { 131 for (auto& element : it.second) {
|
/art/openjdkjvmti/ |
jvmti_weak_table.h | 11 * This code is free software; you can redistribute it and/or modify it 17 * This code is distributed in the hope that it will be useful, but WITHOUT 147 auto it = tagged_objects_.find(art::GcRoot<art::mirror::Object>(obj)); local 148 if (it != tagged_objects_.end()) { 149 *result = it->second;
|
ti_breakpoint.cc | 11 * This code is free software; you can redistribute it and/or modify it 17 * This code is distributed in the hope that it will be useful, but WITHOUT 76 auto it = env->breakpoints.find(b); local 77 DCHECK(it != env->breakpoints.end()); 78 env->breakpoints.erase(it); 83 // TODO It might be good to send these all at once instead. 107 // Didn't get inserted because it's already present!
|
transform.cc | 11 * This code is free software; you can redistribute it and/or modify it 17 * This code is distributed in the hope that it will be useful, but WITHOUT 105 // lock/unlock (which it wasn't) on all architectures we care about. 107 auto it = std::find_if(uninitialized_class_definitions_.begin(), variable 110 if (it != uninitialized_class_definitions_.end()) { 111 res = *it; 113 uninitialized_class_definitions_.erase(it); 114 // Put it in the initializing list 117 // Wait for the ptr to be initialized (if it is currently initializing) 155 auto it = std::find(uninitialized_class_definitions_.begin(), variable [all...] |
/art/profman/ |
boot_image_profile.cc | 83 ClassDataItemIterator it(*dex_file, class_data); 84 while (it.HasNextStaticField()) { 85 const uint32_t flags = it.GetFieldAccessFlags(); 91 it.Next(); 93 it.SkipInstanceFields(); 94 while (it.HasNextMethod()) { 95 const uint32_t flags = it.GetMethodAccessFlags(); 106 it.Next(); 113 auto it = inferred_classes.find(std::make_pair(profile.get(), ref.TypeIndex())); local 114 if (it != inferred_classes.end() | [all...] |
/art/test/548-checker-inlining-and-dce/src/ |
Main.java | 21 private void inlinedForNull(Iterable it) { 22 if (it != null) { 28 private void inlinedForFalse(boolean value, Iterable it) { 42 public void testInlinedForFalseInlined(Iterable it) { 43 inlinedForFalse(false, it); 52 public void testInlinedForFalseNotInlined(Iterable it) { 53 inlinedForFalse(true, it); 63 public void testInlinedForNullInlined(Iterable it) { 73 public void testInlinedForNullNotInlined(Iterable it) { 74 inlinedForNull(it); 79 Iterable it = new Iterable() { local [all...] |
/cts/suite/audio_quality/lib/src/ |
Report.cpp | 93 std::list<StringPair>::const_iterator it; local 94 for (it = begin; it != end; it++) { 96 printf(" <test title=\"%s\" result=\"pass\" >", it->first.string()); 98 printf(" <test title=\"%s\" result=\"fail\" >", it->first.string()); 100 printf(" <details>\n%s", it->second.string());
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSequential.cpp | 94 std::list<TaskAsync*>::iterator it; local 95 it = std::find(mAsyncTasks.begin(), mAsyncTasks.end(), task); 96 if (it != mAsyncTasks.end()) { // already queued
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
MockRectF.java | 31 public RectF it;
field in class:MockRectF 40 it.left = rhs.left;
41 it.top = rhs.top;
42 it.right = rhs.right;
43 it.bottom = rhs.bottom;
48 it.left = left;
49 it.top = top;
50 it.right = right;
51 it.bottom = bottom;
61 it.left = it.left + dx; [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 130 Iterator<?> it = keySet.iterator(); local 131 while (it.hasNext()) { 134 keySet.contains(it.next())); 145 for (int counter = 0; it.hasNext(); counter++) { 148 objArray[counter] == it.next()); 154 for (int counter = 0; it.hasNext(); counter++) { 157 objArray[counter] == it.next());
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultConnectionKeepAliveStrategy.java | 65 HeaderElementIterator it = new BasicHeaderElementIterator( local 67 while (it.hasNext()) { 68 HeaderElement he = it.nextElement();
|
/external/clang/lib/Analysis/ |
CocoaConventions.cpp | 98 StringRef::iterator it = functionName.begin(); local 99 StringRef::iterator start = it; 104 for ( ; it != endI ; ++it) { 105 // Search for the first character. It can either be 'C' or 'c'. 106 char ch = *it; 109 if (ch == 'c' && it != start && isLetter(*(it - 1))) 112 ++it; 118 if (it == endI [all...] |
/external/deqp/framework/delibs/decpp/ |
deSTLUtil.hpp | 44 const typename C::const_iterator it = container.find(item); local 45 return (it != container.end()); 51 const I it = std::find(begin, end, item); local 52 return (it != end); 80 typename M::const_iterator it = map.find(key); local 81 if (it == map.end()) 83 return &it->second;
|
/external/e2fsprogs/contrib/android/ |
basefs_allocator.c | 39 struct ext2fs_hashmap_entry *it = NULL; local 52 while ((e = ext2fs_hashmap_iter_in_order(entries, &it))) 100 struct ext2fs_hashmap_entry *it = NULL; local 103 while ((e = ext2fs_hashmap_iter_in_order(allocator->entries, &it))) {
|
/external/e2fsprogs/lib/ext2fs/ |
hashmap.c | 64 struct ext2fs_hashmap_entry **it) 66 *it = *it ? (*it)->list_next : h->first; 67 return *it ? (*it)->data : NULL; 73 struct ext2fs_hashmap_entry *it = h->entries[i]; local 74 while (it) { 75 struct ext2fs_hashmap_entry *tmp = it->next; 77 h->free(it->data) [all...] |
/external/eigen/test/ |
stdlist_overload.cpp | 31 typename Container::iterator it = c.begin(); local 32 std::advance(it, position); 33 return it; 39 typename Container::iterator it = c.begin(); local 40 std::advance(it, position); 41 *it = value;
|
/external/google-benchmark/src/ |
csv_reporter.cc | 139 auto it = run.counters.find(ucn); local 140 if(it == run.counters.end()) { 143 Out << "," << it->second;
|
/external/google-breakpad/src/processor/ |
simple_symbol_supplier.cc | 132 map<string, char *>::iterator it = memory_buffers_.find(module->code_file()); local 133 if (it == memory_buffers_.end()) { 138 delete [] it->second; 139 memory_buffers_.erase(it);
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-typed-test.cc | 71 for (DefinedTestIter it = defined_test_names_.begin(); 72 it != defined_test_names_.end(); 73 ++it) { 74 if (name == *it) { 88 for (DefinedTestIter it = defined_test_names_.begin(); 89 it != defined_test_names_.end(); 90 ++it) { 91 if (tests.count(*it) == 0) { 92 errors << "You forgot to list test " << *it << ".\n"; local
|
/external/guava/guava/src/com/google/common/io/ |
MultiInputStream.java | 36 private Iterator<? extends ByteSource> it; field in class:MultiInputStream 42 * @param it an iterator of I/O suppliers that will provide each substream 45 Iterator<? extends ByteSource> it) throws IOException { 46 this.it = checkNotNull(it); 65 if (it.hasNext()) { 66 in = it.next().openStream();
|
MultiReader.java | 34 private final Iterator<? extends CharSource> it; field in class:MultiReader 38 this.it = readers; 47 if (it.hasNext()) { 48 current = it.next().openStream();
|
/external/honggfuzz/ |
honggfuzz.c | 76 struct itimerval it = { local 80 if (setitimer(ITIMER_REAL, &it, NULL) == -1) {
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
InitializerDeclarationTransformationsTest.java | 16 * JavaParser is distributed in the hope that it will be useful, 48 InitializerDeclaration it = consider("{ /*some comment*/ }"); local 49 it.setStatic(true); 50 assertTransformedToString("static { /*some comment*/ }", it); 55 InitializerDeclaration it = consider("static { /*some comment*/ }"); local 56 it.setStatic(false); 57 assertTransformedToString("{ /*some comment*/ }", it);
|
/external/libbrillo/brillo/ |
map_utils.h | 63 typename T::const_iterator it = map.find(key); local 64 if (it == map.end()) 66 return it->second;
|
/external/libchrome/base/metrics/ |
persistent_sample_map_unittest.cc | 164 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); local 170 it->Get(&min, &max, &count); 174 EXPECT_FALSE(it->GetBucketIndex(NULL)); 176 it->Next(); 177 it->Get(&min, &max, &count); 182 it->Next(); 183 it->Get(&min, &max, &count); 188 it->Next(); 189 EXPECT_TRUE(it->Done()); 213 std::unique_ptr<SampleCountIterator> it = samples1.Iterator() local 243 std::unique_ptr<SampleCountIterator> it = samples.Iterator(); local [all...] |