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

12345

/art/runtime/
H A Dleb128.h29 int result = *(ptr++); local
30 if (result > 0x7f) {
32 result = (result & 0x7f) | ((cur & 0x7f) << 7);
35 result |= (cur & 0x7f) << 14;
38 result |= (cur & 0x7f) << 21;
43 result |= cur << 28;
49 return static_cast<uint32_t>(result);
65 int32_t result = *(ptr++); local
66 if (result <
[all...]
H A Dutils.cc73 std::string result; local
74 if (ReadFileToString(StringPrintf("/proc/self/task/%d/comm", tid), &result)) {
75 result.resize(result.size() - 1); // Lose the trailing '\n'.
77 result = "<unknown>";
79 return result;
103 bool ReadFileToString(const std::string& file_name, std::string* result) { argument
118 result->append(&buf[0], n);
265 std::string result; local
272 result
291 std::string result; local
307 std::string result; local
327 std::string result; local
417 std::string result; local
428 std::string result; local
544 std::string result; local
570 std::string result; local
873 Split(const std::string& s, char separator, std::vector<std::string>& result) argument
1180 int result = mkdir(dalvik_cache.c_str(), 0700); local
[all...]
H A Djni_internal_test.cc122 JValue result; local
128 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'V'); local
139 JValue result; local
147 result.SetB(-1);
148 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'B'); local
149 EXPECT_EQ(0, result.GetB());
152 result.SetB(0);
153 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'B'); local
154 EXPECT_EQ(-1, result.GetB());
157 result
158 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'B'); local
163 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'B'); local
175 JValue result; local
184 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
189 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
194 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
199 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
212 JValue result; local
222 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
229 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
236 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
243 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
255 JValue result; local
265 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
271 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
277 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
283 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
289 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
301 JValue result; local
312 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
319 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
326 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
333 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
340 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
352 JValue result; local
364 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
372 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
380 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
388 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
396 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
408 JValue result; local
421 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
430 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
439 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
448 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
457 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'I'); local
471 JValue result; local
483 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
493 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
503 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
513 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
523 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
538 JValue result; local
552 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
565 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
578 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
594 JValue result; local
610 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
626 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
642 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
659 JValue result; local
677 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
696 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
715 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'D'); local
1651 JValue result; local
1658 method->Invoke(Thread::Current(), arg_array.GetArray(), arg_array.GetNumBytes(), &result, 'V'); local
[all...]
/art/jdwpspy/
H A DCommon.h37 u2 result; local
39 result = *pSrc++ << 8;
40 result |= *pSrc++;
42 return result;
49 u4 result; local
51 result = *pSrc++ << 24;
52 result |= *pSrc++ << 16;
53 result |= *pSrc++ << 8;
54 result |= *pSrc++;
56 return result;
63 u8 result; local
[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...]
H A Dstringpiece.cc38 const char* result = std::search(ptr_ + pos, ptr_ + length_, local
40 const size_type xpos = result - ptr_;
57 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); local
58 return result != ptr_ + length_ ? result - ptr_ : npos;
67 const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); local
68 return result != last ? result - ptr_ : npos;
/art/test/025-access-controller/src/
H A DMain.java25 Integer result = AccessController.doPrivileged(priv);
26 System.out.println("AccessControllerTest: got " + result);
/art/runtime/gc/space/
H A Ddlmalloc_space-inl.h41 mirror::Object* result = reinterpret_cast<mirror::Object*>(mspace_malloc(mspace_, num_bytes)); local
42 if (result != NULL) {
44 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result)
47 size_t allocation_size = AllocationSizeNonvirtual(result);
55 return result;
/art/runtime/mirror/
H A Dthrowable.cc52 std::string result(PrettyTypeOf(this));
53 result += ": ";
56 result += msg->ToModifiedUtf8();
58 result += "\n";
73 result += StringPrintf(" at %s (%s:%d)\n", PrettyMethod(method, true).c_str(),
79 result += "Caused by: ";
80 result += cause->Dump();
82 return result;
H A Dart_method-inl.h31 Class* result = GetFieldObject<Class*>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, declaring_class_), false); local
32 DCHECK(result != NULL) << this;
33 DCHECK(result->IsIdxLoaded() || result->IsErroneous()) << this;
34 return result;
189 bool result = false; local
192 result = true;
196 return result;
200 bool result = this == Runtime::Current()->GetResolutionMethod(); local
202 DCHECK(!result || IsRuntimeMetho
[all...]
H A Dart_method.cc113 ArtMethod* result = NULL; local
114 // Did this method override a super class method? If so load the result from the super class'
117 result = super_class_vtable->Get(method_index);
121 result = GetDexCacheResolvedMethods()->Get(GetDexMethodIndex());
122 CHECK_EQ(result,
128 for (size_t i = 0; i < iftable->Count() && result == NULL; i++) {
134 result = interface_method;
142 MethodHelper result_mh(result);
143 DCHECK(result == NULL || MethodHelper(this).HasSameNameAndSignature(&result_mh));
145 return result;
246 Invoke(Thread* self, uint32_t* args, uint32_t args_size, JValue* result, char result_type) argument
[all...]
H A Dstring.cc85 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), false); local
86 if (result == 0) {
89 result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), false);
90 DCHECK(result != 0 || ComputeUtf16Hash(GetCharArray(), GetOffset(), GetLength()) == 0)
91 << ToModifiedUtf8() << " " << result;
92 return result;
96 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), false); local
97 DCHECK(result >= 0 && result <= GetCharArray()->GetLength());
98 return result;
[all...]
/art/compiler/jni/
H A Djni_compiler_test.cc157 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 24); local
158 EXPECT_EQ(25, result);
172 jint result = env_->CallStaticIntMethod(jklass_, jmethod_, 42); local
173 EXPECT_EQ(43, result);
194 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 42); local
195 EXPECT_EQ(42, result);
197 result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 0xCAFED00D);
198 EXPECT_EQ(static_cast<jint>(0xCAFED00D), result);
220 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 99, 10); local
221 EXPECT_EQ(99 - 10, result);
249 jlong result = env_->CallNonvirtualLongMethod(jobj_, jklass_, jmethod_, a, b); local
275 jdouble result = env_->CallNonvirtualDoubleMethod(jobj_, jklass_, jmethod_, local
306 jlong result = env_->CallNonvirtualLongMethod(jobj_, jklass_, jmethod_, a, b); local
338 jobject result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, 0, NULL, NULL); local
381 jint result = env_->CallStaticIntMethod(jklass_, jmethod_, 20, 30); local
404 jdouble result = env_->CallStaticDoubleMethod(jklass_, jmethod_, 99.0, 10.0); local
442 jobject result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, NULL, NULL); local
493 jobject result = env_->CallStaticObjectMethod(jklass_, jmethod_, 0, NULL, NULL); local
597 jint result = env->CallNonvirtualIntMethod(thisObj, jklass, jmethod, i - 1); local
608 jint result = env_->CallNonvirtualIntMethod(jobj_, jklass_, jmethod_, 10); local
620 jobject result = env_->CallNonvirtualObjectMethod(jobj_, jklass_, jmethod_, jobj_); local
639 jint result = env_->CallIntMethod(jobj_, jmethod_, i); local
673 jboolean result = env_->CallBooleanMethod(jobj_, jmethod_, jobj_, 0x12345678ABCDEF88ll, 0xCAFEF00D, 0xEBADF00D); local
690 jint result = env_->CallStaticIntMethod(jklass_, jmethod_, 0x12345678ABCDEF88ll, jobj_, local
[all...]
/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/runtime/entrypoints/interpreter/
H A Dinterpreter_entrypoints.cc30 ShadowFrame* shadow_frame, JValue* result) {
40 method->Invoke(self, arg_array.GetArray(), arg_array.GetNumBytes(), result, mh.GetShorty()[0]);
44 result, mh.GetShorty()[0]);
28 artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, ShadowFrame* shadow_frame, JValue* result) argument
H A Dinterpreter_entrypoints.h39 ShadowFrame* shadow_frame, JValue* result);
42 ShadowFrame* shadow_frame, JValue* result);
/art/runtime/verifier/
H A Dreg_type_cache-inl.h40 RegType* result = entries_[id]; local
41 DCHECK(result != NULL);
42 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
429 std::stringstream result; local
435 std::stringstream result; local
441 std::stringstream result; local
447 std::stringstream result; local
454 std::stringstream result; local
461 std::stringstream result; local
477 std::stringstream result; local
491 std::stringstream result; local
505 std::stringstream result; local
518 std::stringstream result; local
931 mirror::Class* result = s->GetSuperClass(); // short-cut to java.lang.Object local
[all...]
/art/test/023-many-interfaces/
H A Diface-gen.c49 int result; local
51 result = createFiles(100);
53 return (result != 0);
/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc34 const void* result = instrumentation->GetQuickCodeFor(method); local
35 bool interpreter_entry = (result == GetQuickToInterpreterBridge());
38 CHECK(result != NULL) << PrettyMethod(method);
39 return result;
H A Dquick_jni_entrypoints.cc65 extern mirror::Object* JniMethodEndWithReference(jobject result, uint32_t saved_local_ref_cookie, argument
68 mirror::Object* o = self->DecodeJObject(result); // Must decode before pop.
70 // Process result.
80 extern mirror::Object* JniMethodEndWithReferenceSynchronized(jobject result, argument
85 mirror::Object* o = self->DecodeJObject(result);
87 // Process result.
/art/compiler/jni/quick/
H A Dcalling_convention.h37 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); local
38 if (result >= 1 && result < 4) {
39 result = 4;
41 return result;
44 // Register that holds result of this method invocation.
125 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); local
126 if (result >= 1 && result < 4) {
127 result
[all...]
/art/test/064-field-access/src/
H A DMain.java52 Object result = null;
56 result = field.getBoolean(obj);
59 result = field.getByte(obj);
62 result = field.getShort(obj);
65 result = field.getChar(obj);
68 result = field.getInt(obj);
71 result = field.getLong(obj);
74 result = field.getFloat(obj);
77 result = field.getDouble(obj);
80 result
[all...]
/art/compiler/llvm/
H A Druntime_support_builder_x86.cc60 CallInst* result = irb_.CreateCall(func); local
61 result->setOnlyReadsMemory();
62 irb_.SetTBAA(result, s_ty);
63 return result;
/art/runtime/entrypoints/portable/
H A Dportable_jni_entrypoints.cc62 extern "C" mirror::Object* art_portable_jni_method_end_with_reference(jobject result,
67 mirror::Object* o = self->DecodeJObject(result); // Must decode before pop.
69 // Process result.
79 extern "C" mirror::Object* art_portable_jni_method_end_with_reference_synchronized(jobject result,
86 mirror::Object* o = self->DecodeJObject(result);
88 // Process result.

Completed in 3981 milliseconds

12345