Lines Matching refs:fn
239 void ForEachDexClass(Fn fn) { in ForEachDexClass() argument
242 fn(DexClass(accessor)); in ForEachDexClass()
248 void ForEachDexMember(Fn fn) { in ForEachDexMember() argument
249 ForEachDexClass([&fn](const DexClass& klass) { in ForEachDexMember()
251 fn(DexMember(klass, field)); in ForEachDexMember()
254 fn(DexMember(klass, method)); in ForEachDexMember()
340 bool ForEachResolvableMember(const DexMember& other, Fn fn) { in ForEachResolvableMember() argument
342 return ForEachResolvableMember_Impl(other, fn, true, true, visited); in ForEachResolvableMember()
354 void ForEachSubClass(Fn fn) { in ForEachSubClass() argument
356 if (fn(subclass)) { in ForEachSubClass()
357 subclass->ForEachSubClass(fn); in ForEachSubClass()
365 Fn fn, in ForEachResolvableMember_Impl() argument
376 bool found = ForEachMatchingMember(other, fn); in ForEachResolvableMember_Impl()
384 fn, in ForEachResolvableMember_Impl()
399 fn, in ForEachResolvableMember_Impl()
410 bool ForEachMatchingMember(const DexMember& other, Fn fn) { in ForEachMatchingMember() argument
416 fn(member); in ForEachMatchingMember()
453 bool ForEachResolvableMember(const DexMember& other, Fn fn) { in ForEachResolvableMember() argument
455 return (klass != nullptr) && klass->ForEachResolvableMember(other, fn); in ForEachResolvableMember()