Searched defs:result (Results 76 - 100 of 217) sorted by relevance

123456789

/art/runtime/
H A Dindenter.h39 std::streamsize result = n; // Aborts on failure. variable
52 return result;
H A Dleb128.h33 int result = *(ptr++); local
34 if (UNLIKELY(result > 0x7f)) {
36 result = (result & 0x7f) | ((cur & 0x7f) << 7);
39 result |= (cur & 0x7f) << 14;
42 result |= (cur & 0x7f) << 21;
47 result |= cur << 28;
53 return static_cast<uint32_t>(result);
69 int32_t result = *(ptr++); local
70 if (result <
[all...]
H A Dmonitor.h145 void* result; local
146 int error = posix_memalign(&result, LockWord::kMonitorIdAlignment, size);
148 return result;
H A Dreflection_test.cc149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
150 EXPECT_EQ(0, result.GetB());
153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
154 EXPECT_EQ(-1, result.GetB());
157 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
158 EXPECT_EQ(SCHAR_MAX, result.GetB());
162 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
163 EXPECT_EQ(SCHAR_MIN, result.GetB());
175 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
176 EXPECT_EQ(0, result
200 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
226 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
256 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
296 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
341 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
387 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
422 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
450 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
481 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); local
[all...]
/art/runtime/jdwp/
H A Djdwp_request.cc163 uint16_t result = p_[0] << 8 | p_[1]; local
165 return result;
169 uint32_t result = p_[0] << 24; local
170 result |= p_[1] << 16;
171 result |= p_[2] << 8;
172 result |= p_[3];
174 return result;
/art/runtime/native/
H A Djava_lang_String.cc59 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);
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc147 jbyteArray result = env->NewByteArray(bytes.size()); local
148 if (result != nullptr) {
149 env->SetByteArrayRegion(result, 0, bytes.size(), reinterpret_cast<const jbyte*>(&bytes[0]));
151 return result;
/art/test/004-checker-UnsafeTest18/src/
H A DMain.java354 private static void expectEqual32(int expected, int result) { argument
355 if (expected != result) {
356 throw new Error("Expected: " + expected + ", found: " + result);
366 private static void expectEqual64(long expected, long result) { argument
367 if (expected != result) {
368 throw new Error("Expected: " + expected + ", found: " + result);
372 private static void expectEqualObj(Object expected, Object result) { argument
373 if (expected != result) {
374 throw new Error("Expected: " + expected + ", found: " + result);
/art/test/137-cfi/
H A Dcfi.cc145 bool result = CheckStack(bt.get(), full_signatrues ? full_seq : seq); local
147 return result ? JNI_TRUE : JNI_FALSE;
149 LOG(INFO) << "Result of check-stack: " << result;
223 bool result = true; local
226 result = false;
229 result = false;
232 if (result) {
254 result = CheckStack(bt.get(), full_signatrues ? full_seq : seq);
264 return result ? JNI_TRUE : JNI_FALSE;
/art/test/415-optimizing-arith-neg/src/
H A DMain.java22 public static void assertEquals(int expected, int result) { argument
23 if (expected != result) {
24 throw new Error("Expected: " + expected + ", found: " + result);
28 public static void assertEquals(long expected, long result) { argument
29 if (expected != result) {
30 throw new Error("Expected: " + expected + ", found: " + result);
34 public static void assertEquals(float expected, float result) { argument
35 if (expected != result) {
36 throw new Error("Expected: " + expected + ", found: " + result);
40 public static void assertEquals(String expected, float result) { argument
46 assertEquals(double expected, double result) argument
52 assertEquals(String expected, double result) argument
58 assertIsNaN(float result) argument
64 assertIsNaN(double result) argument
[all...]
/art/test/432-optimizing-cmp/src/
H A DMain.java162 int result = (Integer)m.invoke(null, a, b);
163 return result;
169 int result = (Integer)m.invoke(null, a, b);
170 return result;
176 int result = (Integer)m.invoke(null, a, b);
177 return result;
183 int result = (Integer)m.invoke(null, a, b);
184 return result;
190 int result = (Integer)m.invoke(null, a, b);
191 return result;
194 expectEquals(int expected, int result) argument
[all...]
/art/test/538-checker-embed-constants/src/
H A DMain.java19 public static void assertIntEquals(int expected, int result) { argument
20 if (expected != result) {
21 throw new Error("Expected: " + expected + ", found: " + result);
25 public static void assertLongEquals(long expected, long result) { argument
26 if (expected != result) {
27 throw new Error("Expected: " + expected + ", found: " + result);
/art/test/550-checker-multiply-accumulate/src/
H A DMain.java22 public static void assertIntEquals(int expected, int result) { argument
23 if (expected != result) {
24 throw new Error("Expected: " + expected + ", found: " + result);
28 public static void assertLongEquals(long expected, long result) { argument
29 if (expected != result) {
30 throw new Error("Expected: " + expected + ", found: " + result);
/art/test/564-checker-bitcount/src/
H A DMain.java199 private static void expectEqualsInt(int expected, int result) { argument
200 if (expected != result) {
201 throw new Error("Expected: " + expected + ", found: " + result);
/art/test/564-checker-negbitwise/src/
H A DMain.java22 public static void assertIntEquals(int expected, int result) { argument
23 if (expected != result) {
24 throw new Error("Expected: " + expected + ", found: " + result);
28 public static void assertLongEquals(long expected, long result) { argument
29 if (expected != result) {
30 throw new Error("Expected: " + expected + ", found: " + result);
/art/test/565-checker-rotate/src/
H A DMain.java625 private static void expectEqualsInt(int expected, int result) { argument
626 if (expected != result) {
627 throw new Error("Expected: " + expected + ", found: " + result);
631 private static void expectEqualsLong(long expected, long result) { argument
632 if (expected != result) {
633 throw new Error("Expected: " + expected + ", found: " + result);
/art/cmdline/
H A Dcmdline_parser_test.cc135 static ::testing::AssertionResult IsResultSuccessful(CmdlineResult result) { argument
136 if (result.IsSuccess()) {
140 << result.GetStatus() << " with: " << result.GetMessage();
144 static ::testing::AssertionResult IsResultFailure(CmdlineResult result, argument
146 if (result.IsSuccess()) {
149 } else if (result.GetStatus() == failure_status) {
154 << " but got " << result.GetStatus();
/art/compiler/
H A Dcommon_compiler_test.cc105 int result = mprotect(reinterpret_cast<void*>(base), len, PROT_READ | PROT_WRITE | PROT_EXEC); local
106 CHECK_EQ(result, 0);
/art/compiler/jni/quick/arm/
H A Dcalling_convention_arm.cc119 FrameOffset result = local
123 return result;
241 uint32_t result = 0; local
242 result = 1 << R5 | 1 << R6 | 1 << R7 | 1 << R8 | 1 << R10 | 1 << R11 | 1 << LR;
243 return result;
247 uint32_t result = 0; local
249 result |= (1 << kHFSCalleeSaveRegisters[i]);
251 return result;
/art/compiler/jni/quick/arm64/
H A Dcalling_convention_arm64.cc101 FrameOffset result = local
105 return result;
196 uint32_t result = 0; local
198 result |= (1 << kDCalleeSaveRegisters[i]);
200 return result;
/art/compiler/jni/quick/
H A Dcalling_convention.h40 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); local
41 if (result >= 1 && result < 4) {
42 result = 4;
44 return result;
47 // Register that holds result of this method invocation.
178 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); local
179 if (result >= 1 && result < 4) {
180 result
[all...]
/art/compiler/linker/
H A Drelative_patcher_test.h153 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); local
155 result.first ? result.second : kTrampolineOffset + compiled_method->CodeDelta();
197 auto result = method_offset_map_.FindMethodOffset(method_ref); local
198 CHECK(result.first); // Must have been linked.
199 size_t offset = result.second - compiled_methods_[idx]->CodeDelta();
/art/compiler/optimizing/
H A Dssa_builder.cc271 // The phi could have been made dead as a result of conflicts while in the
559 HFloatConstant* result = constant->GetNext()->AsFloatConstant(); local
560 if (result == nullptr) {
562 result = new (graph_->GetArena()) HFloatConstant(value);
563 constant->GetBlock()->InsertInstructionBefore(result, constant->GetNext());
564 graph_->CacheFloatConstant(result);
568 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue());
570 return result;
581 HDoubleConstant* result = constant->GetNext()->AsDoubleConstant(); local
582 if (result
[all...]
/art/compiler/utils/
H A Dswap_space.h168 T* result = reinterpret_cast<T*>(malloc(n * sizeof(T))); local
169 CHECK(result != nullptr || n == 0u); // Abort if malloc() fails.
170 return result;
/art/dex2oat/
H A Ddex2oat_test.cc182 int result = pclose(pipe); local
183 success_ = result == 0;
292 CompilerFilter::Filter result ATTRIBUTE_UNUSED) OVERRIDE {

Completed in 490 milliseconds

123456789