/art/test/448-multiple-returns/src/ |
Main.java | 27 int result = (Integer)m.invoke(null); local 28 if (result != 0) { 29 throw new Error("Expected 0, got " + result);
|
/art/test/452-multiple-returns2/src/ |
Main.java | 27 int result = (Integer)m.invoke(null); local 28 if (result != 4) { 29 throw new Error("Expected 4, got " + result);
|
/art/test/453-not-byte/src/ |
Main.java | 27 int result = (Integer)m.invoke(null, (byte)42); local 28 if (result != -43) { 29 throw new Error("Expected -43, got " + result);
|
/art/test/460-multiple-returns3/src/ |
Main.java | 27 short result = (Short) m.invoke(null); local 28 if (result != 4) { 29 throw new Error("Expected 4, got " + result);
|
/art/test/469-condition-materialization/src/ |
Main.java | 43 int result = runTest(true); local 44 if (result != 42) { 45 throw new Error("Expected 42, got " + result);
|
/art/test/478-checker-inliner-nested-loop/src/ |
Main.java | 20 public static void assertIntEquals(int expected, int result) { 21 if (expected != result) { 22 throw new Error("Expected: " + expected + ", found: " + result); 27 int result; local 29 result = x * y; 31 result = 0; 33 return result;
|
/art/test/499-bce-phi-array-length/src/ |
Main.java | 19 int result = 0; local 23 result += array[i]; 29 result += array[j]; 32 return result; 36 int result = 0; local 38 result += array[i]; 40 result += array[j]; 44 result += array[0]; 45 result += array[1]; 46 result += array[2] 54 int result = foo(1, a); local [all...] |
/art/test/501-null-constant-dce/src/ |
Main.java | 27 Object result = m.invoke(null, arguments); local 28 if (result != null) { 29 throw new Error("Expected null, got " + result);
|
/art/test/501-regression-packed-switch/src/ |
Main.java | 28 Integer result = (Integer) m.invoke(null, new Integer(42)); local 29 if (result != 5) { 30 throw new Error("Expected 5, got " + result);
|
/art/test/504-regression-baseline-entry/src/ |
Main.java | 28 Integer result = (Integer) m.invoke(null); local 29 if (result != 5) { 30 throw new Error("Expected 5, got " + result);
|
/art/test/513-array-deopt/src/ |
Main.java | 44 int[] result = bar(a); local 45 if (result.length != 0) { 46 throw new Error("Expected 0, got " + result.length); 49 result = foo(a); 50 if (result.length != 4) { 51 throw new Error("Expected 5, got " + result.length);
|
/bionic/libc/private/ |
ThreadLocalBuffer.h | 47 T* result = reinterpret_cast<T*>(pthread_getspecific(key_)); local 48 if (result == nullptr) { 49 result = reinterpret_cast<T*>(calloc(1, Size)); 50 pthread_setspecific(key_, result); 52 return result;
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
reallocarr.c | 59 int saved_errno, result; local 87 result = errno; 89 result = 0; 93 return result;
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_csqrt.c | 51 double complex result; local 97 result = CMPLX(t, b / (2 * t)); 100 result = CMPLX(fabs(b) / (2 * t), copysign(t, b)); 105 return (result * 2); 107 return (result);
|
s_csqrtl.c | 51 long double complex result; local 97 result = CMPLXL(t, b / (2 * t)); 100 result = CMPLXL(fabsl(b) / (2 * t), copysignl(t, b)); 105 return (result * 2); 107 return (result);
|
s_fmaf.c | 45 double xy, result; local 49 result = xy + z; 50 EXTRACT_WORDS(hr, lr, result); 51 /* Common case: The double precision result is fine. */ 54 result - xy == z || /* exact */ 56 return (result); 59 * If result is inexact, and exactly halfway between two float values, 66 if (result == adjusted_result)
|
/bionic/tests/ |
sys_xattr_test.cpp | 108 ssize_t result = flistxattr(tf.fd, buf, sizeof(buf)); local 109 ASSERT_TRUE(result >= 9);
|
/bootable/recovery/ |
print_sha1.h | 27 std::string result = ""; local 29 result.push_back(hex[(sha1[i]>>4) & 0xf]); 30 result.push_back(hex[sha1[i] & 0xf]); 32 return result;
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
IModuleListener.java | 16 package com.android.compatibility.common.tradefed.result; 18 import com.android.tradefed.result.ITestInvocationListener;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskAsync.cpp | 44 TaskGeneric::ExecutionResult result = start(); local 45 if (result == TaskGeneric::EResultOK) { 55 return result; 60 bool result = true; local 90 result = TaskGeneric::parseAttribute(name, value); 92 return result;
|
/cts/suite/audio_quality/test/ |
ModelBuilderTest.cpp | 84 TaskGeneric::ExecutionResult result = task->run(); local 85 ASSERT_TRUE((result == TaskGeneric::EResultOK) || (result == TaskGeneric::EResultPass));
|
/cts/suite/audio_quality/test_description/processing/ |
gen_random.py | 32 result = np.zeros(samples * 2 if stereo else samples, dtype=np.int16) 54 result[2 * i] = filteredData[i] 55 result[2 * i + 1] = filteredData[i] 58 result[i] = filteredData[i] 59 return result 82 result = do_gen_random(inputData[0], inputData[1], inputData[2], inputData[3]) 85 outputData.append(result) 98 result = do_gen_random(peakAmplitude, durationInMSec, samplingRate, fHigh) variable 99 plt.plot(result)
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
SnoozeAlarmTest.java | 28 String result = runTest(TestcaseType.SNOOZE_ALARM); local 36 assertTrue(result.equals(Utils.ABORT_RESULT) || result.equals(Utils.COMPLETION_RESULT));
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
trsMatrix.cpp | 40 // return: result if successful 68 double result; local 70 result = m[0][0] * (m[1][1] * m[2][2] - m[1][2] * m[2][1]); 71 result += m[0][1] * (m[1][2] * m[2][0] - m[1][0] * m[2][2]); 72 result += m[0][2] * (m[1][0] * m[2][1] - m[1][1] * m[2][0]); 74 return result;
|
/external/ImageMagick/Magick++/tests/ |
coderInfo.cpp | 21 int result = 0; local 38 ++result; 52 ++result; 66 ++result; 72 return result;
|