/packages/apps/Email/src/org/apache/commons/io/input/ |
CountingInputStream.java | 57 int found = super.read(b);
local 58 this.count += (found >= 0) ? found : 0;
59 return found;
74 int found = super.read(b, off, len);
local 75 this.count += (found >= 0) ? found : 0;
76 return found;
88 int found = super.read();
local 89 this.count += (found >= 0) ? 1 : 0; [all...] |
/dalvik/vm/ |
Intern.c | 68 StringObject* found; local 86 found = (StringObject*) dvmHashTableLookup(gDvm.internedStrings, 88 if (immortal && !IS_IMMORTAL(found)) { 96 dvmHashTableRemove(gDvm.internedStrings, hash, found); 97 found = (StringObject*) SET_IMMORTAL_BIT(found); 98 found = (StringObject*) dvmHashTableLookup(gDvm.internedStrings, 99 hash, found, hashcmpImmortalStrings, true); 100 assert(IS_IMMORTAL(found)); 105 //if (found == strObj [all...] |
/development/host/windows/usb/api/ |
adb_object_handle.cpp | 113 AdbObjectHandleMap::iterator found = the_map.find(adb_handle());
local 114 ATLASSERT((found != the_map.end()) && (this == found->second));
116 if ((found != the_map.end()) && (this == found->second)) {
118 the_map.erase(found);
155 AdbObjectHandleMap::iterator found = the_map.find(adb_hndl);
local 156 if (found != the_map.end()) {
157 ret = found->second;
|
/external/webkit/WebCore/platform/graphics/win/ |
WKCACFContextFlusher.cpp | 63 ContextSet::iterator found = m_contexts.find(context); local 64 if (found == m_contexts.end()) 67 CFRelease(*found); 68 m_contexts.remove(found);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 90 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>(); local 93 zipClasses, found); 98 found.keySet().toArray()); 99 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); 105 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>(); local 108 found.clear(); 109 mAa.findGlobs("mock_android.view", zipClasses, found); 112 found.keySet().toArray()); 115 mAa.findGlobs("mock_android.*.*Group$*Layout*", zipClasses, found); 121 found.keySet().toArray()) 164 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>(); local [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicTokenIterator.java | 154 * If found, the token is stored in {@link #currentToken}. 158 * If not found, {@link #currentToken} is set to <code>null</code>. 163 * @return the position after the found token in the current header, or 186 return -1; // nothing found 228 * negative if no token start could be found 236 boolean found = false; 237 while (!found && (this.currentHeader != null)) { 240 while (!found && (from < to)) { 247 // found the start of a token 248 found = true [all...] |
BasicHeaderIterator.java | 105 boolean found = false; 106 while (!found && (from < to)) { 108 found = filterHeader(from); 110 return found ? from : -1;
|
BasicListHeaderIterator.java | 113 boolean found = false; 114 while (!found && (from < to)) { 116 found = filterHeader(from); 118 return found ? from : -1;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListSetSelectionTest.java | 71 boolean found = false; 76 found = true; 80 assertTrue("Selected item not visible in list", found); 102 boolean found = false; 108 found = true; 112 assertTrue("Selected item not visible in list", found); 137 boolean found = false; 142 found = true; 146 assertTrue("Selected item not visible in list", found);
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
SchemeRegistry.java | 78 Scheme found = get(name); local 79 if (found == null) { 83 return found; 120 Scheme found = registeredSchemes.get(name); local 121 return found;
|
/dalvik/tests/063-process-manager/src/ |
Main.java | 27 boolean found = false; 35 found = true; 39 if (! found) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
ElemChoose.java | 81 boolean found = false; 90 found = true; 101 // System.err.println("Found COLLECTION/icuser/ictimezone/LITERAL"); 111 found = true; 120 if (!found)
|
/external/e2fsprogs/lib/ext2fs/ |
lookup.c | 25 int found; member in struct:lookup_struct 44 ls->found++; 60 ls.found = 0; 66 return (ls.found) ? 0 : EXT2_ET_FILE_NOT_FOUND;
|
/external/openssl/crypto/bn/ |
bn_depr.c | 74 int found = 0; local 88 found = 1; 90 if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd); 91 return(found ? rnd : NULL);
|
/external/freetype/src/base/ |
ftdebug.c | 170 FT_Int level = -1, found = -1; local 186 found = n; 200 if ( found >= 0 && level >= 0 ) 202 if ( found == trace_any ) 209 ft_trace_levels[found] = level;
|
/external/skia/src/animator/ |
SkDisplayList.cpp | 62 SkGroup** parent, SkGroup** found, SkTDDrawableArray**grandList) { 66 return SearchForMatch(match, list, parent, found, grandList); 80 SkGroup** parent, SkGroup** found, SkTDDrawableArray**grandList) { 81 *found = NULL; 90 if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grandList, index)) 101 if (draw->isGroup() && SearchGroupForMatch(draw, match, list, parent, found, grandList, index)) 109 SkGroup** parent, SkGroup** found, SkTDDrawableArray** grandList, int &index) { 114 int groupIndex = group->findGroup(match, list, parent, found, grandList); 116 *found = group;
|
SkDisplayList.h | 47 SkGroup** parent, SkGroup** found, SkTDDrawableArray** grandList); 61 SkGroup** parent, SkGroup** found, SkTDDrawableArray**grandList); 63 SkTDDrawableArray** list, SkGroup** parent, SkGroup** found, SkTDDrawableArray** grandList,
|
/external/webkit/JavaScriptCore/wtf/ |
MessageQueue.h | 134 DequeConstIterator<DataType*> found = m_queue.end(); local 135 while (!m_killed && !timedOut && (found = m_queue.findIf(predicate)) == m_queue.end()) 150 ASSERT(found != m_queue.end()); 151 DataType* message = *found; 152 m_queue.remove(found); 178 DequeConstIterator<DataType*> found = m_queue.findIf(predicate); local 179 if (found == m_queue.end()) 182 DataType* message = *found; 183 m_queue.remove(found);
|
/cts/tests/tests/net/src/android/net/cts/ |
TrafficStatsTest.java | 79 int found = 0; local 85 if (addr.length > 0) found++; 103 assertTrue("txp: " + txPacketsBefore + " [" + found + "] " + txPacketsAfter, 104 txPacketsAfter >= txPacketsBefore + found); 105 assertTrue("rxp: " + rxPacketsBefore + " [" + found + "] " + rxPacketsAfter, 106 rxPacketsAfter >= rxPacketsBefore + found); 107 assertTrue("txb: " + txBytesBefore + " [" + found + "] " + txBytesAfter, 108 txBytesAfter >= txBytesBefore + found * 20); 109 assertTrue("rxb: " + rxBytesBefore + " [" + found + "] " + rxBytesAfter, 110 rxBytesAfter >= rxBytesBefore + found * 20) [all...] |
/external/opencore/oscl/oscl/osclutil/src/ |
oscl_string_xml.cpp | 40 bool result = true, done = false, found = false; local 78 found = true; 102 found = true; 125 found = true; 148 found = true; 173 found = true; 225 if (!found && (str_buf_out == 0))
|
/dalvik/libdex/ |
DexDataMap.c | 126 int found = dexDataMapGet(map, offset); local 128 if (found == type) { 132 if (found < 0) { 133 LOGE("No data map entry found @ 0x%x; expected %x\n", 136 LOGE("Unexpected data map entry @ 0x%x: expected %x, found %x\n", 137 offset, type, found);
|
/external/elfutils/tests/ |
get-aranges.c | 57 Dwarf_Arange *found; local 59 found = dwarf_getarange_addr (aranges, testaddr[i]); 60 if (found != NULL) 64 if (dwarf_getarangeinfo (found, NULL, NULL, &cu_offset) != 0)
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexFactory.java | 42 boolean found = false; 45 found = true; 48 if (!found) {
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
GenericIPMreq.java | 103 boolean found = false; 104 while ((theAddresses.hasMoreElements()) && (found != true)) { 108 found = true;
|
/external/gtest/src/ |
gtest-typed-test.cc | 58 bool found = false; local 63 found = true; 68 if (found) { 72 << " can be found in this test case.\n";
|