Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 6 of 6) sorted by relevance

/art/compiler/dex/quick/
Dresource_mask.cc57 #define DEFINE_LIST_32(fn) \ argument
58 fn(0), fn(1), fn(2), fn(3), fn(4), fn(5), fn(6), fn(7), \
59 fn(8), fn(9), fn(10), fn(11), fn(12), fn(13), fn(14), fn(15), \
60 fn(16), fn(17), fn(18), fn(19), fn(20), fn(21), fn(22), fn(23), \
61 fn(24), fn(25), fn(26), fn(27), fn(28), fn(29), fn(30), fn(31)
/art/compiler/llvm/
Dintrinsic_helper.cc136 ::llvm::Function *fn = ::llvm::Function::Create(type, in IntrinsicHelper()
141 fn->setOnlyReadsMemory(); in IntrinsicHelper()
144 fn->setDoesNotAccessMemory(); in IntrinsicHelper()
147 fn->setDoesNotThrow(); in IntrinsicHelper()
149 intrinsic_funcs_[id] = fn; in IntrinsicHelper()
151 DCHECK_NE(fn, static_cast< ::llvm::Function*>(NULL)) << "Intrinsic `" in IntrinsicHelper()
155 for (::llvm::Function::arg_iterator arg_iter = fn->arg_begin(), in IntrinsicHelper()
156 arg_end = fn->arg_end(); arg_iter != arg_end; arg_iter++) { in IntrinsicHelper()
161 ::llvm::AttributeSet attribute_set = ::llvm::AttributeSet::get(fn->getContext(), in IntrinsicHelper()
169 if (!intrinsic_funcs_map_.insert(std::make_pair(fn, id)).second) { in IntrinsicHelper()
Druntime_support_builder.cc46 ::llvm::Function* fn = module_.getFunction(#NAME); \ in RuntimeSupportBuilder()
47 DCHECK(fn != NULL) << "Function not found: " << #NAME; \ in RuntimeSupportBuilder()
48 runtime_support_func_decls_[runtime_support::ID] = fn; \ in RuntimeSupportBuilder()
/art/runtime/interpreter/
Dinterpreter.cc141 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetNativeMethod())); in InterpreterJni() local
147 jresult = fn(soa.Env(), klass.get()); in InterpreterJni()
152 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetNativeMethod())); in InterpreterJni() local
156 fn(soa.Env(), klass.get()); in InterpreterJni()
159 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetNativeMethod())); in InterpreterJni() local
163 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni()
166 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetNativeMethod())); in InterpreterJni() local
170 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
173 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetNativeMethod())); in InterpreterJni() local
177 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
[all …]
/art/test/004-JniTest/
Djni_test.cc46 Fn fn = reinterpret_cast<Fn>(arg); in AttachHelper() local
47 fn(env); in AttachHelper()
54 static void PthreadHelper(void (*fn)(JNIEnv*)) { in PthreadHelper()
57 reinterpret_cast<void*>(fn)); in PthreadHelper()
/art/runtime/
Djni_internal.cc521 void* fn = nullptr; in FindNativeMethod() local
523 fn = library->FindSymbolWithNativeBridge(jni_short_name, m); in FindNativeMethod()
524 if (fn == nullptr) { in FindNativeMethod()
525 fn = library->FindSymbolWithNativeBridge(jni_long_name, m); in FindNativeMethod()
528 fn = library->FindSymbol(jni_short_name); in FindNativeMethod()
529 if (fn == nullptr) { in FindNativeMethod()
530 fn = library->FindSymbol(jni_long_name); in FindNativeMethod()
533 if (fn != nullptr) { in FindNativeMethod()
536 return fn; in FindNativeMethod()
1538 #define GET_PRIMITIVE_FIELD(fn, instance) \ argument
[all …]