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

123

/system/core/libunwindstack/
H A DRegsArm64.cpp71 void RegsArm64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
72 fn("x0", regs_[ARM64_REG_R0]);
73 fn("x1", regs_[ARM64_REG_R1]);
74 fn("x2", regs_[ARM64_REG_R2]);
75 fn("x3", regs_[ARM64_REG_R3]);
76 fn("x4", regs_[ARM64_REG_R4]);
77 fn("x5", regs_[ARM64_REG_R5]);
78 fn("x6", regs_[ARM64_REG_R6]);
79 fn("x7", regs_[ARM64_REG_R7]);
80 fn("x
[all...]
H A DRegsMips.cpp72 void RegsMips::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
73 fn("r0", regs_[MIPS_REG_R0]);
74 fn("r1", regs_[MIPS_REG_R1]);
75 fn("r2", regs_[MIPS_REG_R2]);
76 fn("r3", regs_[MIPS_REG_R3]);
77 fn("r4", regs_[MIPS_REG_R4]);
78 fn("r5", regs_[MIPS_REG_R5]);
79 fn("r6", regs_[MIPS_REG_R6]);
80 fn("r7", regs_[MIPS_REG_R7]);
81 fn("r
[all...]
H A DRegsMips64.cpp72 void RegsMips64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
73 fn("r0", regs_[MIPS64_REG_R0]);
74 fn("r1", regs_[MIPS64_REG_R1]);
75 fn("r2", regs_[MIPS64_REG_R2]);
76 fn("r3", regs_[MIPS64_REG_R3]);
77 fn("r4", regs_[MIPS64_REG_R4]);
78 fn("r5", regs_[MIPS64_REG_R5]);
79 fn("r6", regs_[MIPS64_REG_R6]);
80 fn("r7", regs_[MIPS64_REG_R7]);
81 fn("r
[all...]
H A DRegsArm.cpp94 void RegsArm::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
95 fn("r0", regs_[ARM_REG_R0]);
96 fn("r1", regs_[ARM_REG_R1]);
97 fn("r2", regs_[ARM_REG_R2]);
98 fn("r3", regs_[ARM_REG_R3]);
99 fn("r4", regs_[ARM_REG_R4]);
100 fn("r5", regs_[ARM_REG_R5]);
101 fn("r6", regs_[ARM_REG_R6]);
102 fn("r7", regs_[ARM_REG_R7]);
103 fn("r
[all...]
H A DRegsX86_64.cpp72 void RegsX86_64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
73 fn("rax", regs_[X86_64_REG_RAX]);
74 fn("rbx", regs_[X86_64_REG_RBX]);
75 fn("rcx", regs_[X86_64_REG_RCX]);
76 fn("rdx", regs_[X86_64_REG_RDX]);
77 fn("r8", regs_[X86_64_REG_R8]);
78 fn("r9", regs_[X86_64_REG_R9]);
79 fn("r10", regs_[X86_64_REG_R10]);
80 fn("r11", regs_[X86_64_REG_R11]);
81 fn("r1
[all...]
H A DRegsX86.cpp72 void RegsX86::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { argument
73 fn("eax", regs_[X86_REG_EAX]);
74 fn("ebx", regs_[X86_REG_EBX]);
75 fn("ecx", regs_[X86_REG_ECX]);
76 fn("edx", regs_[X86_REG_EDX]);
77 fn("ebp", regs_[X86_REG_EBP]);
78 fn("edi", regs_[X86_REG_EDI]);
79 fn("esi", regs_[X86_REG_ESI]);
80 fn("esp", regs_[X86_REG_ESP]);
81 fn("ei
[all...]
/system/core/include/cutils/
H A Dmisc.h29 extern void *load_file(const char *fn, unsigned *sz);
H A Dconfig_utils.h40 void config_load_file(cnode *root, const char *fn);
/system/core/libcutils/include/cutils/
H A Dmisc.h29 extern void *load_file(const char *fn, unsigned *sz);
H A Dconfig_utils.h40 void config_load_file(cnode *root, const char *fn);
/system/core/libcutils/include_vndk/cutils/
H A Dmisc.h29 extern void *load_file(const char *fn, unsigned *sz);
H A Dconfig_utils.h40 void config_load_file(cnode *root, const char *fn);
/system/core/include/private/
H A Dcanned_fs_config.h24 int load_canned_fs_config(const char* fn);
/system/core/libcutils/include/private/
H A Dcanned_fs_config.h24 int load_canned_fs_config(const char* fn);
/system/netd/libnetdutils/include/netdutils/
H A DMisc.h40 Cleanup(FnT fn) : mFn(fn) {} argument
55 Cleanup<FnT> makeCleanup(FnT fn) { argument
56 return Cleanup<FnT>(fn);
/system/bt/osi/include/
H A Dosi.h55 // Re-run |fn| system call until the system call doesn't cause EINTR.
56 #define OSI_NO_INTR(fn) \
58 } while ((fn) == -1 && errno == EINTR)
/system/core/libcutils/
H A Dload_file.cpp24 void *load_file(const char *fn, unsigned *_sz) argument
31 fd = open(fn, O_RDONLY);
H A Dcanned_fs_config.cpp45 int load_canned_fs_config(const char* fn) { argument
49 f = fopen(fn, "r");
51 fprintf(stderr, "failed to open %s: %s\n", fn, strerror(errno));
/system/netd/server/
H A DNFLogListener.h40 // subscribe() and join() must not be called from the stack of fn().
41 virtual netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) = 0;
46 uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn) = 0;
70 netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) override;
73 uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn) override;
H A DNetlinkListener.h42 // Deliver future messages with nlmsghdr.nlmsg_type == type to fn.
46 // subscribe() and join() must not be called from the stack of fn().
47 virtual netdutils::Status subscribe(uint16_t type, const DispatchFn& fn) = 0;
79 netdutils::Status subscribe(uint16_t type, const DispatchFn& fn) override;
/system/security/keystore/
H A Dkeystore_aidl_hidl_marshalling_utils.h30 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args)
31 -> NullOr<decltype(fn(in, std::forward<Args>(args)...))> {
36 return fn(in, std::forward<Args>(args)...);
39 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { argument
46 return fn(arg.value(), out);
49 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { argument
53 return fn(std::forward<Arg>(arg), out);
/system/extras/sound/
H A Dplaywav.c154 int wav_play(const char *fn) argument
158 fd = open(fn, O_RDONLY);
160 fprintf(stderr, "playwav: cannot open '%s'\n", fn);
174 fprintf(stderr, "playwav: '%s' is not a riff/wave file\n", fn);
179 fprintf(stderr, "playwav: '%s' is not pcm format\n", fn);
183 fprintf(stderr, "playwav: '%s' is not 16bit per sample\n", fn);
193 int wav_rec(const char *fn, unsigned channels, unsigned rate) argument
217 fd = open(fn, O_CREAT | O_RDWR, 0666);
293 unlink(fn);
297 int mp3_play(const char *fn) argument
333 const char *fn = 0; local
[all...]
/system/core/libmemunreachable/
H A DBinder.cpp38 std::function<ssize_t(size_t, uintptr_t*)> fn) {
39 if (fn == nullptr) {
48 ssize_t ret = fn(refs.size(), refs.data());
37 BinderReferencesToVector(allocator::vector<uintptr_t>& refs, std::function<ssize_t(size_t, uintptr_t*)> fn) argument
/system/core/init/
H A Dinit.h45 void register_epoll_handler(int fd, void (*fn)());
/system/core/adb/
H A Dadb_utils.h76 void PopAll(Fn fn) { argument
87 fn(t);

Completed in 263 milliseconds

123