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

/art/compiler/dex/quick/
H A Dresource_mask.cc57 #define DEFINE_LIST_32(fn) \
58 fn(0), fn(1), fn(2), fn(3), fn(4), fn(5), fn(6), fn(7), \
59 fn(
[all...]
/art/compiler/llvm/
H A Dintrinsic_helper.cc136 ::llvm::Function *fn = ::llvm::Function::Create(type, local
141 fn->setOnlyReadsMemory();
144 fn->setDoesNotAccessMemory();
147 fn->setDoesNotThrow();
149 intrinsic_funcs_[id] = fn;
151 DCHECK_NE(fn, static_cast< ::llvm::Function*>(NULL)) << "Intrinsic `"
155 for (::llvm::Function::arg_iterator arg_iter = fn->arg_begin(),
156 arg_end = fn->arg_end(); arg_iter != arg_end; arg_iter++) {
161 ::llvm::AttributeSet attribute_set = ::llvm::AttributeSet::get(fn->getContext(),
169 if (!intrinsic_funcs_map_.insert(std::make_pair(fn, i
[all...]
H A Druntime_support_builder.cc46 ::llvm::Function* fn = module_.getFunction(#NAME); \
47 DCHECK(fn != NULL) << "Function not found: " << #NAME; \
48 runtime_support_func_decls_[runtime_support::ID] = fn; \
/art/runtime/interpreter/
H A Dinterpreter.cc141 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
147 jresult = fn(soa.Env(), klass.get());
152 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
156 fn(soa.Env(), klass.get());
159 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
163 result->SetZ(fn(soa.Env(), klass.get()));
166 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
170 result->SetB(fn(soa.Env(), klass.get(), args[0]));
173 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
177 result->SetI(fn(so
180 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
193 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
200 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>( local
210 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>(method->GetEntryPointFromJni())); local
217 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
224 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
235 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
246 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
255 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
271 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
282 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
289 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
303 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
[all...]
/art/test/004-JniTest/
H A Djni_test.cc46 Fn fn = reinterpret_cast<Fn>(arg); local
47 fn(env);
54 static void PthreadHelper(void (*fn)(JNIEnv*)) { argument
57 reinterpret_cast<void*>(fn));
/art/runtime/
H A Djni_internal.cc519 void* fn = nullptr; local
521 fn = library->FindSymbolWithNativeBridge(jni_short_name, m);
522 if (fn == nullptr) {
523 fn = library->FindSymbolWithNativeBridge(jni_long_name, m);
526 fn = library->FindSymbol(jni_short_name);
527 if (fn == nullptr) {
528 fn = library->FindSymbol(jni_long_name);
531 if (fn != nullptr) {
534 return fn;
1536 #define GET_PRIMITIVE_FIELD(fn, instanc
[all...]

Completed in 230 milliseconds