HomeSort by relevance Sort by last modified time
    Searched defs:it (Results 376 - 400 of 3394) sorted by null

<<11121314151617181920>>

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
TestHttpResponseTest.java 62 HeaderIterator it = resp.headerIterator(); local
64 assertThat(it.hasNext(), is(true));
65 assertThat(it.nextHeader().getValue(), equalTo("http://bar.com"));
66 assertThat(it.nextHeader().getValue(), equalTo("http://zombo.com"));
67 assertThat(it.hasNext(), is(false));
78 HeaderIterator it = resp.headerIterator("Location"); local
80 assertThat(it.hasNext(), is(true));
81 assertThat(it.nextHeader().getValue(), equalTo("http://bar.com"));
82 assertThat(it.hasNext(), is(true));
83 assertThat(it.nextHeader().getValue(), equalTo("http://foo.com"))
    [all...]
  /frameworks/base/core/java/android/speech/tts/
AudioPlaybackHandler.java 103 Iterator<PlaybackQueueItem> it = mQueue.iterator(); local
105 while (it.hasNext()) {
106 final PlaybackQueueItem item = it.next();
108 it.remove();
  /frameworks/base/services/core/java/com/android/server/am/
UriPermissionOwner.java 76 Iterator<UriPermission> it = mReadPerms.iterator(); local
77 while (it.hasNext()) {
78 UriPermission perm = it.next();
82 it.remove();
91 Iterator<UriPermission> it = mWritePerms.iterator(); local
92 while (it.hasNext()) {
93 UriPermission perm = it.next();
97 it.remove();
  /libcore/luni/src/test/java/libcore/java/text/
BreakIteratorTest.java 58 BreakIterator it = BreakIterator.getWordInstance(Locale.US); local
59 it.setText(new String(cs));
73 BreakIterator it = BreakIterator.getWordInstance(Locale.US); local
74 it.setText(s);
78 it.setText(s);
81 BreakIterator clone = (BreakIterator) it.clone();
83 assertExpectedWordBoundaries(it, s);
87 private void assertExpectedWordBoundaries(BreakIterator it, String s) {
89 int pos = it.first();
93 pos = it.next()
106 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local
130 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local
154 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local
    [all...]
OldAttributedCharacterIteratorTest.java 29 AttributedCharacterIterator it; field in class:OldAttributedCharacterIteratorTest
36 AttributedCharacterIterator it = as.getIterator(); local
41 2, it.getRunLimit(attr));
46 it = as.getIterator();
48 4, it.getRunLimit(attr));
52 4, it.getRunLimit(attr));
57 AttributedCharacterIterator it = as.getIterator(); local
59 it.getAllAttributeKeys();
67 it = as.getIterator();
69 it.getAllAttributeKeys()
112 AttributedCharacterIterator it = as.getIterator(); local
144 AttributedCharacterIterator it = as.getIterator(); local
175 AttributedCharacterIterator it = as.getIterator(); local
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
GroupByOpTest.java 5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
75 Iterator<Integer> it = stream.iterator(); local
76 while (it.hasNext()) {
77 it.next();
91 Iterator<Integer> it = stream.iterator(); local
92 while (it.hasNext()) {
93 it.next();
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
PackageInstallerCompatVL.java 175 Iterator<SessionInfo> it = list.iterator(); local
176 while (it.hasNext()) {
177 if (verify(it.next()) == null) {
178 it.remove();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameLookupBuilder.java 86 * Returns common nickname cluster IDs for a given name. For example, it
328 Iterator<String> it = local
330 if (it != null) {
331 while (it.hasNext()) {
332 builder.appendName(it.next());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
LayoutReloadMonitor.java 147 * Removes a listener, no matter which {@link IProject} it was associated with.
153 Iterator<ILayoutReloadListener> it = list.iterator(); local
154 while (it.hasNext()) {
155 ILayoutReloadListener i = it.next();
157 it.remove();
190 // project is an Android project, it's the one being affected
194 // check the projects depending on it, if they are Android project, update them.
270 // nothing to be done here, it all happens in the resourceChangeEventEnd
286 // check if the project is a library, and if it is search for what other
360 // reload and we don't want to do it twice.
    [all...]
  /art/libartbase/base/
stl_util.h 34 // For hash_[multi]set, it is important that this deletes behind the iterator
35 // because the hash_set may call the hash function on the iterator when it is
68 // in the case it's given a null pointer.
94 auto it = std::find(container.begin(), container.end(), value); local
95 DCHECK(it != container.end()); // Must exist.
96 return std::distance(container.begin(), it);
102 auto it = std::find(container.begin(), container.end(), value); local
103 DCHECK(it != container.end()); // Must exist.
104 container.erase(it);
110 auto it = std::find(container.begin(), container.end(), old_value) local
121 auto it = std::find(start, container.end(), value); local
    [all...]
transform_iterator_test.cc 136 auto it = MakeTransformIterator(input.begin(), add1); local
137 decltype(MakeTransformIterator(input.cbegin(), add1)) cit = it;
138 static_assert(!std::is_same<decltype(it), decltype(cit)>::value, "Types must be different");
139 ASSERT_EQ(it, cit);
204 auto it = MakeTransformIterator(input.begin(), sub1); local
205 decltype(MakeTransformIterator(input.cbegin(), sub1)) cit = it;
206 static_assert(!std::is_same<decltype(it), decltype(cit)>::value, "Types must be different");
207 ASSERT_EQ(it, cit);
242 auto it = MakeTransformIterator(input.begin(), mul3); local
243 decltype(MakeTransformIterator(input.cbegin(), mul3)) cit = it;
502 auto it = MakeTransformIterator(input.begin(), ref); local
    [all...]
  /bionic/libc/malloc_debug/
MapData.cpp 127 auto it = entries_.find(entry); local
128 if (it == entries_.end()) {
151 auto it = entries_.find(&pc_entry); local
152 if (it == entries_.end()) {
155 it = entries_.find(&pc_entry);
156 if (it == entries_.end()) {
160 MapEntry* entry = *it;
  /cts/suite/audio_quality/lib/src/task/
TaskGeneric.cpp 127 std::set<android::String8, android::String8>::iterator it = mAllowedStringAttributes.find(key); local
128 if (it == mAllowedStringAttributes.end()) {
137 std::map<android::String8, android::String8>::const_iterator it = mStringAttributes.find(key); local
138 if (it == mStringAttributes.end()) {
141 value = it->second;
TaskSave.cpp 86 std::list<TaskCase::BufferPair>::iterator it = buffersp->begin(); local
88 for (; it != end; it++) {
90 fileName.appendPath(it->first);
91 if (!it->second->saveToFile(fileName)) {
124 std::list<TaskCase::ValuePair>::iterator it = values->begin(); local
127 for (; it != end; it++) {
128 if (it->second.getType() == TaskCase::Value::ETypeDouble) {
129 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble())
    [all...]
  /development/tools/mkstubs/src/com/android/mkstubs/
AsmAnalyzer.java 64 * E.g. it returns something like android/view/View.
86 for(Iterator<String> it = keys.iterator(); it.hasNext(); ) {
87 String key = it.next();
91 // remove if we don't keep it
94 it.remove();
  /external/apache-http/src/org/apache/http/client/methods/
HttpOptions.java 98 HeaderIterator it = response.headerIterator("Allow"); local
100 while (it.hasNext()) {
101 Header header = it.nextHeader();
  /external/apache-http/src/org/apache/http/client/protocol/
ResponseProcessCookies.java 105 HeaderIterator it = response.headerIterator(SM.SET_COOKIE); local
106 processCookies(it, cookieSpec, cookieOrigin, cookieStore);
112 it = response.headerIterator(SM.SET_COOKIE2);
113 processCookies(it, cookieSpec, cookieOrigin, cookieStore);
  /external/apache-http/src/org/apache/http/impl/client/
BasicCookieStore.java 82 * If the given cookie has already expired it will not be added, but existing
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
94 if (cookieComparator.compare(cookie, it.next()) == 0) {
95 it.remove();
107 * in the given array order. If any of the given cookies has already expired it will
146 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
147 if (it.next().isExpired(date)) {
148 it.remove()
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
SignerInformationStore.java 42 Iterator it = signerInfos.iterator(); local
44 while (it.hasNext())
46 SignerInformation signer = (SignerInformation)it.next();
  /external/clang/tools/diagtool/
DiagTool.cpp 34 ToolMap::iterator it = getTools(tools)->find(toolCmd); local
35 return (it == getTools(tools)->end()) ? nullptr : it->getValue();
45 for (ToolMap::iterator it = getTools(tools)->begin(),
46 ei = getTools(tools)->end(); it != ei; ++it) {
47 toolNames.push_back(it->getKey());
48 unsigned len = it->getKey().size();
54 for (std::vector<llvm::StringRef>::iterator it = toolNames.begin(),
55 ei = toolNames.end(); it != ei; ++it)
    [all...]
  /external/eigen/demos/opengl/
icosphere.cpp 82 std::map<Key,int>::iterator it = edgeMap.find(edgeKey); local
83 if (it==edgeMap.end())
90 ids1[k] = it->second;
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
FieldDeclarationTransformationsTest.java 16 * JavaParser is distributed in the hope that it will be useful,
48 FieldDeclaration it = consider("int A;"); local
49 it.setModifiers(EnumSet.of(Modifier.PUBLIC));
50 assertTransformedToString("public int A;", it);
55 FieldDeclaration it = consider("public int A;"); local
56 it.setModifiers(EnumSet.noneOf(Modifier.class));
57 assertTransformedToString("int A;", it);
62 FieldDeclaration it = consider("int A;"); local
63 it.setModifiers(EnumSet.of(Modifier.PROTECTED));
64 assertTransformedToString("protected int A;", it);
69 FieldDeclaration it = consider("int a, b;"); local
    [all...]
  /external/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/
reverse_copy.pass.cpp 27 auto it = std::reverse_copy(std::begin(ia), std::end(ia), std::begin(ib)); local
29 return std::distance(std::begin(ib), it) == std::size(ia)
  /external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
insert_or_assign.pass.cpp 148 M::const_iterator it = m.find(2); local
151 r = m.insert_or_assign(it, 2, std::move(mv1));
158 r = m.insert_or_assign(it, 3, std::move(mv2));
171 M::const_iterator it = std::next(m.cbegin()); local
175 r = m.insert_or_assign(it, std::move(mvkey1), std::move(mv1));
184 r = m.insert_or_assign(it, std::move(mvkey2), std::move(mv2));
try.emplace.pass.cpp 145 M::const_iterator it = m.find(2); local
150 r = m.try_emplace(it, i, std::move(mv1));
157 r = m.try_emplace(it, 3, std::move(mv1));
171 M::const_iterator it = std::next(m.cbegin()); local
175 r = m.try_emplace(it, std::move(mvkey1), std::move(mv1));
182 r = m.try_emplace(it, std::move(mvkey2), std::move(mv1));

Completed in 1502 milliseconds

<<11121314151617181920>>