/art/runtime/entrypoints/quick/ |
quick_instrumentation_entrypoints.cc | 36 const void* result; local 38 result = GetQuickToInterpreterBridge(); 40 result = instrumentation->GetQuickCodeFor(method, sizeof(void*)); 41 DCHECK(!Runtime::Current()->GetClassLinker()->IsQuickToInterpreterBridge(result)); 43 bool interpreter_entry = (result == GetQuickToInterpreterBridge()); 46 CHECK(result != nullptr) << PrettyMethod(method); 47 return result;
|
/art/runtime/ |
image-inl.h | 40 mirror::ObjectArray<mirror::Object>* result = local 43 DCHECK_EQ(image_roots, result);
|
/art/runtime/native/ |
java_lang_StringFactory.cc | 47 mirror::String* result = mirror::String::AllocFromByteArray<true>(soa.Self(), byte_count, local 50 return soa.AddLocalReference<jstring>(result); 61 mirror::String* result = mirror::String::AllocFromCharArray<true>(soa.Self(), char_count, local 64 return soa.AddLocalReference<jstring>(result); 76 mirror::String* result = mirror::String::AllocFromString<true>(soa.Self(), string->GetLength(), local 78 return soa.AddLocalReference<jstring>(result);
|
/art/test/416-optimizing-arith-not/src/ |
Main.java | 21 public static void expectEquals(int expected, int result) { 22 if (expected != result) { 23 throw new Error("Expected: " + expected + ", found: " + result); 27 public static void expectEquals(long expected, long result) { 28 if (expected != result) { 29 throw new Error("Expected: " + expected + ", found: " + result); 69 int result = (Integer)m.invoke(null, a); local 70 return result; 76 long result = (Long)m.invoke(null, a); local 77 return result; [all...] |
/art/test/550-checker-regression-wide-store/src/ |
Main.java | 27 int result = (Integer) m.invoke(null, arg); local 28 return result; 33 throw new Error("Wrong result: " + expected + " != " + actual);
|
/art/test/552-checker-primitive-typeprop/src/ |
Main.java | 26 throw new Error("Wrong result, expected=" + expected + ", actual=" + actual); 35 int result; local 37 result = (Integer) m.invoke(null, new Object[] { true, array } ); 38 assertEquals(2, result); 40 result = (Integer) m.invoke(null, new Object[] { false, array } ); 41 assertEquals(0, result);
|
/art/test/573-checker-checkcast-regression/src/ |
Main.java | 21 int result = test(array, 0, 2); local 22 System.out.println(result);
|
/art/test/802-deoptimization/src/ |
Main.java | 34 Object result = m.invoke(null, new Object[]{PARAMETER_VALUE}); local 35 int intResult = ((Integer) result).intValue(); 39 System.out.println("CatchHandlerOnEntryWithoutMoveException KO: result==" + intResult);
|
/bionic/libc/bionic/ |
arpa_inet.cpp | 49 uint32_t result = 0; local 53 result = parts[0]; 57 result = (parts[0] << 24) | parts[1]; 61 result = (parts[0] << 24) | (parts[1] << 16) | parts[2]; 65 result = (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8) | parts[3]; 70 if (addr != nullptr) addr->s_addr = htonl(result);
|
mmap.cpp | 61 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); local 63 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE && 66 int rc = madvise(result, size, MADV_MERGEABLE); 72 return result;
|
ptrace.cpp | 50 long result = __ptrace(req, pid, addr, data); local 51 if (is_peek && result == 0) { 54 return result;
|
/bionic/libc/dns/net/ |
nsdispatch.c | 104 int i, result; local 123 result = 0; 128 result = 0; 131 result = (*cb)(retval, cb_data, ap); 135 if (result & srclist[i].flags) 138 if ((result & NS_UNAVAIL) != 0 && errno == ENOSPC) { 143 result &= NS_STATUSMASK; /* clear private flags in result */ 145 return (result ? result : NS_NOTFOUND) [all...] |
/bionic/libc/private/ |
bionic_futex.h | 48 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); local 49 if (__predict_false(result == -1)) { 50 result = -errno; 53 return result;
|
/bionic/tests/ |
fenv_test.cpp | 35 volatile float result __attribute__((unused)) = 123.0f / zero; local
|
/bionic/tests/libs/ |
namespaces_root.cpp | 43 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string")); local 44 if (result == nullptr) { 50 return *result;
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
IInvocationResultRepo.java | 16 package com.android.compatibility.common.tradefed.result; 37 * @return the {@link InvocationResult} or <code>null</null> if the result with that session id
|
InvocationResultRepo.java | 16 package com.android.compatibility.common.tradefed.result; 31 * Ordered list of result directories. the index of each file is its session id.
|
/cts/common/util/src/com/android/compatibility/common/util/ |
MeasureTime.java | 33 double[] result = new double[count]; local 40 result[i] = end - start; 42 return result;
|
/cts/libs/vogar-expect/src/vogar/commands/ |
CommandFailedException.java | 44 StringBuilder result = new StringBuilder(); local 45 result.append("Command failed:"); 47 result.append(" ").append(arg); 50 result.append("\n ").append(outputLine); 52 return result.toString();
|
/cts/suite/audio_quality/lib/src/task/ |
TaskBatch.cpp | 63 bool result = TaskGeneric::forEachChild(runAlways, NULL); local
|
TaskInput.cpp | 85 bool result = mHw->waitForCompletion(); local 88 if (!result) {
|
/cts/tests/app/src/android/app/backup/cts/ |
BackupManagerTest.java | 32 int result = backupManager.requestRestore(new RestoreObserver() {}); local 33 assertTrue(result != 0);
|
/cts/tests/app/src/android/app/cts/ |
Instrumentation_ActivityResultTest.java | 29 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); local 30 assertEquals(Activity.RESULT_OK, result.getResultCode()); 31 assertEquals(intent, result.getResultData()); 33 result = new ActivityResult(Activity.RESULT_CANCELED, intent); 34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode());
|
/cts/tests/tests/drm/jni/ |
android_drm_cts_NativeCodeTest.cpp | 31 jboolean result = false; local 40 const char *match = "Result: Parcel(00000000 '....')"; 42 result = true; 47 return result;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Interpolator_ResultTest.java | 20 import android.graphics.Interpolator.Result; 27 assertEquals(Result.FREEZE_START, Result.valueOf("FREEZE_START")); 28 assertEquals(Result.FREEZE_END, Result.valueOf("FREEZE_END")); 29 assertEquals(Result.NORMAL, Result.valueOf("NORMAL")); 33 Result[] result = Result.values() local [all...] |