Searched refs:result (Results 1 - 25 of 155) sorted by relevance

1234567

/art/test/110-field-access/src/
H A DMain.java33 int result = 0;
35 result = intVal;
37 return result;
40 int result = 0;
42 result = finalIntVal;
44 return result;
47 int result = 0;
49 result = staticIntVal;
51 return result;
54 int result
[all...]
/art/test/402-optimizing-control-flow/src/
H A DMain.java29 int result = $opt$testIfEq1(42);
30 expectEquals(42, result);
32 result = $opt$testIfEq2(42);
33 expectEquals(7, result);
35 result = $opt$testWhileLoop(42);
36 expectEquals(45, result);
38 result = $opt$testDoWhileLoop(42);
39 expectEquals(45, result);
41 result = $opt$testForLoop(42);
42 expectEquals(44, result);
[all...]
/art/runtime/base/
H A Dstringprintf.cc32 int result = vsnprintf(space, sizeof(space), format, backup_ap); local
35 if (result < static_cast<int>(sizeof(space))) {
36 if (result >= 0) {
38 dst->append(space, result);
42 if (result < 0) {
50 int length = result+1;
55 result = vsnprintf(buf, length, format, backup_ap);
58 if (result >= 0 && result < length) {
60 dst->append(buf, result);
68 std::string result; local
[all...]
/art/test/025-access-controller/src/
H A DMain.java25 Integer result = AccessController.doPrivileged(priv);
26 System.out.println("AccessControllerTest: got " + result);
/art/compiler/dex/
H A Dquick_compiler_callbacks.cc26 bool result = verification_results_->ProcessVerifiedMethod(verifier); local
27 if (result) {
32 return result;
/art/test/112-double-math/src/
H A DMain.java23 double result = cond_neg_double(-1.0d, true);
25 if (Double.doubleToRawLongBits(result) == 0x3ff0000000000000L) {
28 System.out.println("cond_neg_double FAILED " + result);
/art/runtime/mirror/
H A Dstring-inl.h41 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); local
42 DCHECK(result >= 0 && result <= GetCharArray()->GetLength());
43 return result;
72 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); local
73 if (UNLIKELY(result == 0)) {
74 result = ComputeHashCode();
76 DCHECK(result != 0 || ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength()) == 0)
77 << ToModifiedUtf8() << " " << result;
78 return result;
[all...]
H A Dthrowable.cc73 std::string result(PrettyTypeOf(this));
74 result += ": ";
77 result += msg->ToModifiedUtf8();
79 result += "\n";
88 result += "(Throwable with empty stack trace)";
95 result += StringPrintf(" at %s (%s:%d)\n", PrettyMethod(method, true).c_str(),
107 result += "(Throwable with empty stack trace)";
111 result += StringPrintf(" at %s (%s:%d)\n",
118 result += "(Throwable with no stack trace)";
123 result
[all...]
/art/runtime/
H A Dleb128.h30 int result = *(ptr++); local
31 if (UNLIKELY(result > 0x7f)) {
33 result = (result & 0x7f) | ((cur & 0x7f) << 7);
36 result |= (cur & 0x7f) << 14;
39 result |= (cur & 0x7f) << 21;
44 result |= cur << 28;
50 return static_cast<uint32_t>(result);
66 int32_t result = *(ptr++); local
67 if (result <
[all...]
H A Dreflection_test.cc147 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
148 EXPECT_EQ(0, result.GetB());
151 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args);
152 EXPECT_EQ(-1, result.GetB());
155 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args);
156 EXPECT_EQ(SCHAR_MAX, result.GetB());
159 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args);
160 EXPECT_EQ(SCHAR_MIN, result.GetB());
171 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
172 EXPECT_EQ(0, result
195 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
220 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
249 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
288 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
332 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
377 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
411 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
438 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
468 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); local
[all...]
H A Dinstruction_set.cc121 std::string result; local
123 result += "div";
125 if (result.size() == 0) {
126 result = "none";
128 return result;
H A Dutils.cc76 std::string result; local
77 if (ReadFileToString(StringPrintf("/proc/self/task/%d/comm", tid), &result)) {
78 result.resize(result.size() - 1); // Lose the trailing '\n'.
80 result = "<unknown>";
82 return result;
113 bool ReadFileToString(const std::string& file_name, std::string* result) { argument
128 result->append(&buf[0], n);
276 std::string result; local
283 result
296 std::string result; local
313 std::string result; local
333 std::string result; local
430 std::string result; local
441 std::string result; local
560 std::string result; local
572 std::string result; local
598 std::string result; local
909 Split(const std::string& s, char separator, std::vector<std::string>& result) argument
926 std::string result; local
1236 int result = mkdir(dalvik_cache_root.c_str(), 0700); local
[all...]
/art/runtime/verifier/
H A Dreg_type_cache-inl.h29 RegType* result = entries_[id]; local
30 DCHECK(result != NULL);
31 return *result;
H A Dreg_type.cc85 std::stringstream result; local
89 result << "Zero/null";
91 result << "Precise ";
93 result << StringPrintf("Constant: %d", val);
95 result << StringPrintf("Constant: 0x%x", val);
98 return result.str();
395 std::stringstream result; local
397 result << "UnresolvedMergedReferences(";
399 result << reg_type_cache_->GetFromId(*it).Dump();
401 result << ", ";
409 std::stringstream result; local
416 std::stringstream result; local
422 std::stringstream result; local
430 std::stringstream result; local
437 std::stringstream result; local
443 std::stringstream result; local
449 std::stringstream result; local
456 std::stringstream result; local
463 std::stringstream result; local
478 std::stringstream result; local
492 std::stringstream result; local
506 std::stringstream result; local
519 std::stringstream result; local
927 mirror::Class* result = s->GetSuperClass(); // short-cut to java.lang.Object local
[all...]
/art/runtime/gc/space/
H A Ddlmalloc_space-inl.h55 mirror::Object* result = reinterpret_cast<mirror::Object*>(mspace_malloc(mspace_, num_bytes)); local
56 if (LIKELY(result != NULL)) {
58 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result)
61 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size);
65 return result;
H A Drosalloc_space-inl.h56 mirror::Object* result = reinterpret_cast<mirror::Object*>( local
58 if (LIKELY(result != NULL)) {
60 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result)
65 DCHECK_EQ(rosalloc_size, rosalloc_->UsableSize(result));
70 return result;
/art/test/401-optimizing-compiler/src/
H A DMain.java32 int result = $opt$TestInvokeIntParameter(42);
33 if (result != 42) {
34 throw new Error("Different value returned: " + result);
46 result = $opt$TestInvokeWith2Parameters(10, 9);
47 if (result != 1) {
48 throw new Error("Unexpected result: " + result);
51 result = $opt$TestInvokeWith3Parameters(10, 9, 1);
52 if (result != 0) {
53 throw new Error("Unexpected result
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc35 const void* result; local
37 result = GetQuickToInterpreterBridge();
39 result = instrumentation->GetQuickCodeFor(method, sizeof(void*));
41 DCHECK((result != Runtime::Current()->GetClassLinker()->GetQuickToInterpreterBridgeTrampoline())
43 bool interpreter_entry = (result == GetQuickToInterpreterBridge());
46 CHECK(result != NULL) << PrettyMethod(method);
47 return result;
/art/test/004-JniTest/src/
H A DMain.java103 byte result = byteMethod((byte)i, (byte)2, (byte)(-3), (byte)4, (byte)(-5), (byte)6,
105 if (returns[i] != result) {
106 System.out.println("Run " + i + " with " + returns[i] + " vs " + result);
118 short result = shortMethod((short)i, (short)2, (short)(-3), (short)4, (short)(-5), (short)6,
120 if (returns[i] != result) {
121 System.out.println("Run " + i + " with " + returns[i] + " vs " + result);
149 char result = charMethod((char)i, 'a', 'b', 'c', '0', '1', '2', (char)1234, (char)2345,
151 if (returns[i] != result) {
152 System.out.println("Run " + i + " with " + (int)returns[i] + " vs " + (int)result);
/art/test/115-native-bridge/src/
H A DNativeBridgeMain.java98 byte result = byteMethod((byte)i, (byte)2, (byte)(-3), (byte)4, (byte)(-5), (byte)6,
100 if (returns[i] != result) {
101 System.out.println("Run " + i + " with " + returns[i] + " vs " + result);
113 short result = shortMethod((short)i, (short)2, (short)(-3), (short)4, (short)(-5), (short)6,
115 if (returns[i] != result) {
116 System.out.println("Run " + i + " with " + returns[i] + " vs " + result);
144 char result = charMethod((char)i, 'a', 'b', 'c', '0', '1', '2', (char)1234, (char)2345,
146 if (returns[i] != result) {
147 System.out.println("Run " + i + " with " + (int)returns[i] + " vs " + (int)result);
/art/test/022-interface/src/
H A DMain.java22 int result = 0;
28 result = faceObj.iFunc2(5);
30 System.out.println(result);
33 result = faceObj2.iFunc2(5);
35 System.out.println(result);
/art/test/023-many-interfaces/
H A Diface-gen.c49 int result; local
51 result = createFiles(100);
53 return (result != 0);
/art/test/303-verification-stress/
H A Dclasses-gen.c59 int result; local
61 result = createFiles(40, 2000);
63 return (result != 0);
/art/runtime/entrypoints/interpreter/
H A Dinterpreter_entrypoints.h38 ShadowFrame* shadow_frame, JValue* result);
41 ShadowFrame* shadow_frame, JValue* result);
/art/runtime/native/
H A Djava_lang_reflect_Proxy.cc31 mirror::Class* result = class_linker->CreateProxyClass(soa, name, interfaces, loader, methods, local
33 return soa.AddLocalReference<jclass>(result);

Completed in 2083 milliseconds

1234567