/libcore/ojluni/src/main/java/java/net/ |
CookieManager.java | 417 final StringBuilder result = new StringBuilder(); local 431 result.append("$Version=\"1\"; "); 436 result.append("; "); 439 result.append(cookies.get(i).toString()); 443 cookieHeader.add(result.toString());
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
DistinctOpTest.java | 81 Collection<Integer> result = exerciseOpsInt( local 88 assertUnique(result); 89 assertTrue((data.size() > 0) ? result.size() > 0 : result.size() == 0); 90 assertTrue(result.size() <= data.size()); 146 Collection<Integer> result = exerciseOpsInt( local 153 assertUnique(result); 158 Collection<Integer> result = withData(data) local 162 assertUnique(result); 163 assertSorted(result); 168 Collection<Integer> result = withData(data) local [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 61 TestSuite result = new TestSuite(); local 62 result.addTest(new SinkTestCase("sinkTestNoWriting")); 63 result.addTest(new SinkTestCase("sinkTestWriteZeroChars")); 64 result.addTest(new SinkTestCase("sinkTestWriteCharByChar")); 65 result.addTest(new SinkTestCase("sinkTestWriteArray")); 66 result.addTest(new SinkTestCase("sinkTestWriteOffset")); 67 result.addTest(new SinkTestCase("sinkTestWriteLargeArray")); 70 result.addTest(new SinkTestCase("sinkTestWriteAfterClose")); 72 result.addTest(new SinkTestCase("sinkTestWriteAfterCloseSuppressed")); 75 return result; [all...] |
SinkTester.java | 62 TestSuite result = new TestSuite(); local 63 result.addTest(new SinkTestCase("sinkTestNoWriting")); 64 result.addTest(new SinkTestCase("sinkTestWriteZeroBytes")); 65 result.addTest(new SinkTestCase("sinkTestWriteByteByByte")); 66 result.addTest(new SinkTestCase("sinkTestWriteArray")); 67 result.addTest(new SinkTestCase("sinkTestWriteOffset")); 68 result.addTest(new SinkTestCase("sinkTestWriteLargeArray")); 71 result.addTest(new SinkTestCase("sinkTestWriteAfterClose")); 73 result.addTest(new SinkTestCase("sinkTestWriteAfterCloseSuppressed")); 76 return result; [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 120 final Bundle result = new Bundle(); local 121 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); 122 return result;
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
AppWidgetManagerCompatVL.java | 165 HashMap<ComponentKey, AppWidgetProviderInfo> result = new HashMap<>(); local 170 result.put(new ComponentKey(info.provider, userHandle), info); 173 return result;
|
/packages/apps/Settings/src/com/android/settings/ |
AllowBindAppWidgetActivity.java | 55 // By default, set the result to cancelled 62 Intent result = new Intent(); local 63 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); 64 setResult(RESULT_OK, result);
|
AppWidgetPickActivity.java | 149 int result; local 162 result = RESULT_OK; 165 // bogus. Set the result to canceled, and exit. The app *should* 169 result = RESULT_CANCELED; 171 setResultData(result, null); 179 * Convenience method for setting the result code and intent. This method 184 Intent result = intent != null ? intent : new Intent(); local 185 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); 186 setResult(code, result);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
AddWifiNetworkActivity.java | 52 Bundle result = new Bundle(); local 53 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason)); 54 onBundlePageResult(mConnectPage, result); 59 Bundle result = new Bundle(); local 60 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, ""); 61 onBundlePageResult(mSuccessPage, result);
|
EditIpSettingsActivity.java | 73 Bundle result = new Bundle(); local 74 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason)); 75 onBundlePageResult(mSavePage, result); 80 Bundle result = new Bundle(); local 81 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, ""); 82 onBundlePageResult(mSuccessPage, result);
|
EditProxySettingsActivity.java | 73 Bundle result = new Bundle(); local 74 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason)); 75 onBundlePageResult(mSavePage, result); 80 Bundle result = new Bundle(); local 81 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, ""); 82 onBundlePageResult(mSuccessPage, result);
|
/art/compiler/debug/ |
elf_debug_writer.cc | 186 std::vector<MethodDebugInfo> result; local 195 result.push_back(std::move(info)); 198 return result;
|
/art/compiler/jni/quick/ |
calling_convention.cc | 295 int result = HandleReferencesOffset().Int32Value() + itr_refs_ * handle_scope_pointer_size_; local 296 CHECK_GT(result, HandleScopeNumRefsOffset().Int32Value()); 297 return FrameOffset(result);
|
/art/runtime/arch/arm64/ |
memcmp16_arm64.S | 27 /* Parameters and result. */ 31 #define result x0 define 102 sub result, data1, data2 126 mov result, #0 139 sub result, data1, data2
|
/art/runtime/base/ |
length_prefixed_array.h | 74 size_t result = OffsetOfElement(num_elements, element_size, alignment); local 75 DCHECK_ALIGNED_PARAM(result, alignment); 76 return result;
|
/art/runtime/gc/space/ |
rosalloc_space-inl.h | 73 mirror::Object* result = reinterpret_cast<mirror::Object*>( local 77 if (LIKELY(result != nullptr)) { 79 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result) 84 DCHECK_EQ(rosalloc_usable_size, rosalloc_->UsableSize(result)); 91 return result;
|
/art/runtime/native/ |
java_lang_String.cc | 59 mirror::String* result = mirror::String::AllocFromStrings(soa.Self(), string_this, string_arg); local 60 return soa.AddLocalReference<jstring>(result); 78 mirror::String* result = mirror::String::AllocFromString<true>(soa.Self(), length, string_this, local 80 return soa.AddLocalReference<jstring>(result); 94 mirror::String* result = s->Intern(); local 95 return soa.AddLocalReference<jstring>(result);
|
/art/runtime/verifier/ |
reg_type_cache-inl.h | 32 const RegType* result = entries_[id]; local 33 DCHECK(result != nullptr); 34 return *result; 47 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); local 48 DCHECK(result.IsImpreciseConstant()); 49 return *down_cast<const ImpreciseConstType*>(&result); 54 const ConstantType& result = FromCat1Const(jchar_max, false); local 55 DCHECK(result.IsImpreciseConstant()); 56 return *down_cast<const ImpreciseConstType*>(&result); 60 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::min(), false) local 66 const ConstantType& result = FromCat1Const(std::numeric_limits<jint>::max(), false); local 72 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); local 78 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); local 84 const RegType* result = &FromClass("Ljava\/lang\/Class;", mirror::Class::GetJavaLangClass(), true); local 91 const RegType* result = &FromClass("Ljava\/lang\/String;", mirror::String::GetJavaLangString(), local 98 const RegType* result = &FromClass("Ljava\/lang\/Throwable;", local 110 const RegType* result = &FromClass("Ljava\/lang\/Object;", local [all...] |
/art/test/022-interface/src/ |
Main.java | 22 int result = 0; local 28 result = faceObj.iFunc2(5); 30 System.out.println(result); 33 result = faceObj2.iFunc2(5); 35 System.out.println(result);
|
/bionic/libc/arch-arm64/generic/bionic/ |
memchr.S | 45 #define result x0 define 119 /* If we're out of data we finish regardless of the result */ 156 /* Compute the potential result */ 157 add result, src, synd, lsr #1 158 /* Select result or NULL */ 159 csel result, xzr, result, eq 163 mov result, xzr
|
memcmp.S | 35 /* Parameters and result. */ 39 #define result x0 define 111 sub result, data1, data2, lsr #56 140 mov result, #0 153 sub result, data1, data2
|
strchr.S | 44 #define result x0 define 151 add result, src, tmp1, lsr #1 152 csel result, result, xzr, eq
|
strcmp.S | 39 /* Parameters and result. */ 42 #define result x0 define 95 sub result, data1, data2, lsr #56 102 the result directly. We can't just subtract the bytes as the 106 cset result, ne 107 cneg result, result, lo 127 sub result, data1, data2, lsr #56 160 sub result, data1, data2
|
/bionic/libc/arch-mips/string/ |
mips_strlen.c | 152 char *result = mine == libs ? "PASS" : "FAIL"; local 153 sprintf (answer, "new_strlen=%d: lib_strlen=%d: %s!", mine, libs, result);
|
/bionic/libc/bionic/ |
legacy_32_bit_support.cpp | 62 // returns the off64_t result via a pointer because 32-bit kernels can't return 64-bit results. 64 off64_t result; local 67 if (__llseek(fd, off_hi, off_lo, &result, whence) < 0) { 70 return result; 124 int result = prlimit64(pid, resource, local 127 if (result != -1 && o32 != nullptr) { 131 return result;
|