/system/unwinding/libunwindstack/ |
D | RegsRiscv64.cpp | 105 void RegsRiscv64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { in IterateRegisters() argument 106 fn("pc", regs_[RISCV64_REG_PC]); in IterateRegisters() 107 fn("ra", regs_[RISCV64_REG_RA]); in IterateRegisters() 108 fn("sp", regs_[RISCV64_REG_SP]); in IterateRegisters() 109 fn("gp", regs_[RISCV64_REG_GP]); in IterateRegisters() 110 fn("tp", regs_[RISCV64_REG_TP]); in IterateRegisters() 111 fn("t0", regs_[RISCV64_REG_T0]); in IterateRegisters() 112 fn("t1", regs_[RISCV64_REG_T1]); in IterateRegisters() 113 fn("t2", regs_[RISCV64_REG_T2]); in IterateRegisters() 114 fn("t3", regs_[RISCV64_REG_T3]); in IterateRegisters() [all …]
|
D | RegsArm64.cpp | 97 void RegsArm64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { in IterateRegisters() argument 98 fn("x0", regs_[ARM64_REG_R0]); in IterateRegisters() 99 fn("x1", regs_[ARM64_REG_R1]); in IterateRegisters() 100 fn("x2", regs_[ARM64_REG_R2]); in IterateRegisters() 101 fn("x3", regs_[ARM64_REG_R3]); in IterateRegisters() 102 fn("x4", regs_[ARM64_REG_R4]); in IterateRegisters() 103 fn("x5", regs_[ARM64_REG_R5]); in IterateRegisters() 104 fn("x6", regs_[ARM64_REG_R6]); in IterateRegisters() 105 fn("x7", regs_[ARM64_REG_R7]); in IterateRegisters() 106 fn("x8", regs_[ARM64_REG_R8]); in IterateRegisters() [all …]
|
D | RegsArm.cpp | 64 void RegsArm::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { in IterateRegisters() argument 65 fn("r0", regs_[ARM_REG_R0]); in IterateRegisters() 66 fn("r1", regs_[ARM_REG_R1]); in IterateRegisters() 67 fn("r2", regs_[ARM_REG_R2]); in IterateRegisters() 68 fn("r3", regs_[ARM_REG_R3]); in IterateRegisters() 69 fn("r4", regs_[ARM_REG_R4]); in IterateRegisters() 70 fn("r5", regs_[ARM_REG_R5]); in IterateRegisters() 71 fn("r6", regs_[ARM_REG_R6]); in IterateRegisters() 72 fn("r7", regs_[ARM_REG_R7]); in IterateRegisters() 73 fn("r8", regs_[ARM_REG_R8]); in IterateRegisters() [all …]
|
D | RegsX86_64.cpp | 66 void RegsX86_64::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { in IterateRegisters() argument 67 fn("rax", regs_[X86_64_REG_RAX]); in IterateRegisters() 68 fn("rbx", regs_[X86_64_REG_RBX]); in IterateRegisters() 69 fn("rcx", regs_[X86_64_REG_RCX]); in IterateRegisters() 70 fn("rdx", regs_[X86_64_REG_RDX]); in IterateRegisters() 71 fn("r8", regs_[X86_64_REG_R8]); in IterateRegisters() 72 fn("r9", regs_[X86_64_REG_R9]); in IterateRegisters() 73 fn("r10", regs_[X86_64_REG_R10]); in IterateRegisters() 74 fn("r11", regs_[X86_64_REG_R11]); in IterateRegisters() 75 fn("r12", regs_[X86_64_REG_R12]); in IterateRegisters() [all …]
|
D | RegsX86.cpp | 65 void RegsX86::IterateRegisters(std::function<void(const char*, uint64_t)> fn) { in IterateRegisters() argument 66 fn("eax", regs_[X86_REG_EAX]); in IterateRegisters() 67 fn("ebx", regs_[X86_REG_EBX]); in IterateRegisters() 68 fn("ecx", regs_[X86_REG_ECX]); in IterateRegisters() 69 fn("edx", regs_[X86_REG_EDX]); in IterateRegisters() 70 fn("ebp", regs_[X86_REG_EBP]); in IterateRegisters() 71 fn("edi", regs_[X86_REG_EDI]); in IterateRegisters() 72 fn("esi", regs_[X86_REG_ESI]); in IterateRegisters() 73 fn("esp", regs_[X86_REG_ESP]); in IterateRegisters() 74 fn("eip", regs_[X86_REG_EIP]); in IterateRegisters()
|
/system/extras/sound/ |
D | playwav.c | 154 int wav_play(const char *fn) in wav_play() argument 158 fd = open(fn, O_RDONLY); in wav_play() 160 fprintf(stderr, "playwav: cannot open '%s'\n", fn); in wav_play() 174 fprintf(stderr, "playwav: '%s' is not a riff/wave file\n", fn); in wav_play() 179 fprintf(stderr, "playwav: '%s' is not pcm format\n", fn); in wav_play() 183 fprintf(stderr, "playwav: '%s' is not 16bit per sample\n", fn); in wav_play() 193 int wav_rec(const char *fn, unsigned channels, unsigned rate) in wav_rec() argument 217 fd = open(fn, O_CREAT | O_RDWR, 0666); in wav_rec() 293 unlink(fn); in wav_rec() 297 int mp3_play(const char *fn) in mp3_play() argument [all …]
|
/system/core/fs_mgr/libfstab/ |
D | boot_config.cpp | 53 const std::function<void(std::string, std::string)>& fn) { in ImportBootconfigFromString() argument 83 fn(std::move(key), std::move(value)); in ImportBootconfigFromString() 99 void ImportBootconfig(const std::function<void(std::string, std::string)>& fn) { in ImportBootconfig() argument 102 ImportBootconfigFromString(bootconfig, fn); in ImportBootconfig() 112 const std::function<void(std::string, std::string)>& fn) { in ImportKernelCmdlineFromString() argument 131 fn(std::move(piece), ""); in ImportKernelCmdlineFromString() 136 fn(std::move(piece), std::move(value)); in ImportKernelCmdlineFromString() 155 void ImportKernelCmdline(const std::function<void(std::string, std::string)>& fn) { in ImportKernelCmdline() argument 158 ImportKernelCmdlineFromString(android::base::Trim(cmdline), fn); in ImportKernelCmdline()
|
D | fstab_priv.h | 40 const std::function<void(std::string, std::string)>& fn); 46 const std::function<void(std::string, std::string)>& fn);
|
/system/netd/server/ |
D | NFLogListener.h | 42 virtual netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) = 0; 47 uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn) = 0; 71 netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) override; 74 uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn) override;
|
D | NFLogListener.cpp | 153 const auto& fn = findWithDefault(mDispatchMap, ntohs(nfmsg.res_id), kDefaultDispatchFn); in NFLogListener() local 154 fn(nlmsg, nfmsg, drop(msg, sizeof(nfmsg))); in NFLogListener() 177 Status NFLogListener::subscribe(uint16_t nfLogGroup, const DispatchFn& fn) { in subscribe() argument 178 return subscribe(nfLogGroup, kDefaultPacketRange, fn); in subscribe() 182 uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn) { in subscribe() argument 187 mDispatchMap[nfLogGroup] = fn; in subscribe()
|
D | NFLogListenerTest.cpp | 56 MOCK_METHOD2(subscribe, netdutils::Status(uint16_t type, const DispatchFn& fn)); 79 void subscribe(uint16_t type, const NFLogListenerInterface::DispatchFn& fn) { in subscribe() argument 82 EXPECT_OK(mListener->subscribe(type, fn)); in subscribe()
|
D | InterfaceController.cpp | 113 const std::function<void(const std::string& path, const std::string& iface)>& fn) { in forEachInterface() argument 115 fn(dirname, "default"); in forEachInterface() 129 fn(dirname, ent->d_name); in forEachInterface() 135 auto fn = [basename, value](const std::string& path, const std::string& iface) { in setOnAllInterfaces() local 138 forEachInterface(dirname, fn); in setOnAllInterfaces() 161 auto fn = [min, max](const std::string& prefix, const std::string& iface) { in setAcceptIPv6RIO() local 172 forEachInterface(ipv6_proc_path, fn); in setAcceptIPv6RIO()
|
/system/apex/apexer/ |
D | apexer_test.py | 300 fd, fn = tempfile.mkstemp(prefix=self._testMethodName+"_repacked_", suffix=apex_suffix) 302 self._to_cleanup.append(fn) 303 cmd.extend([payload_dir, fn]) 306 return fn 331 fd, fn = tempfile.mkstemp(prefix=self._testMethodName+"_repacked_", suffix=".apex") 333 self._to_cleanup.append(fn) 342 unsigned_apex, fn] 344 return fn 380 fd, fn = tempfile.mkstemp(prefix=self._testMethodName+"_input_", suffix=".apex") 382 shutil.copyfile(apex_file_path, fn) [all …]
|
/system/memory/libmemunreachable/ |
D | Binder.cpp | 38 std::function<ssize_t(size_t, uintptr_t*)> fn) { in BinderReferencesToVector() argument 39 if (fn == nullptr) { in BinderReferencesToVector() 48 ssize_t ret = fn(refs.size(), refs.data()); in BinderReferencesToVector()
|
/system/core/libcutils/ |
D | canned_fs_config.cpp | 50 int load_canned_fs_config(const char* fn) { in load_canned_fs_config() argument 51 std::ifstream input(fn); in load_canned_fs_config() 64 std::cerr << "Ill-formed line: " << line << " in " << fn << std::endl; in load_canned_fs_config() 89 std::cerr << "info: ignored token \"" << sv << "\" in " << fn << std::endl; in load_canned_fs_config()
|
D | load_file.cpp | 24 void *load_file(const char *fn, unsigned *_sz) in load_file() argument 31 fd = open(fn, O_RDONLY); in load_file()
|
D | properties.cpp | 113 int property_list(void (*fn)(const char* name, const char* value, void* cookie), void* cookie) { in property_list() 114 callback_data data = {fn, cookie}; in property_list()
|
/system/extras/libfec/include/fec/ |
D | io.h | 126 explicit io(const std::string& fn, int mode = O_RDONLY, int flags = 0, 128 open(fn, mode, flags, roots); in handle_() 135 bool open(const std::string& fn, int mode = O_RDONLY, int flags = 0, 139 int rc = fec_open(&fh, fn.c_str(), mode, flags, roots);
|
/system/core/libutils/ |
D | Threads.cpp | 213 static bool doCreateThread(android_thread_func_t fn, void* arg, android_thread_id_t *id) in doCreateThread() argument 219 pDetails->func = fn; in doCreateThread() 249 int androidCreateRawThreadEtc(android_thread_func_t fn, in androidCreateRawThreadEtc() argument 256 return doCreateThread( fn, userData, threadId); in androidCreateRawThreadEtc() 269 int androidCreateThread(android_thread_func_t fn, void* arg) in androidCreateThread() argument 271 return createThreadEtc(fn, arg); in androidCreateThread() 274 int androidCreateThreadGetID(android_thread_func_t fn, void *arg, android_thread_id_t *id) in androidCreateThreadGetID() argument 276 return createThreadEtc(fn, arg, "android:unnamed_thread", in androidCreateThreadGetID()
|
/system/apex/tests/testdata/sharedlibs/build/ |
D | shared_libs_repack.py | 193 fd, fn = tempfile.mkstemp(prefix='repacked_', suffix=apex_suffix, dir=tmpdir) 195 cmd.extend([payload_dir, fn]) 198 return fn 224 fd, fn = tempfile.mkstemp(prefix='repacked_', suffix='.apex', dir=tmpdir) 232 '-a', '4096', '--align-file-size', x509key_path, pk8key_path, unsigned_apex, fn 235 return fn
|
/system/core/libcutils/include/cutils/ |
D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
/system/core/libcutils/include_outside_system/cutils/ |
D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
/system/core/libcutils/include/private/ |
D | canned_fs_config.h | 24 int load_canned_fs_config(const char* fn);
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Regs.h | 109 virtual void IterateRegisters(std::function<void(const char*, uint64_t)> fn) override { in IterateRegisters() argument 111 fn(std::to_string(i).c_str(), regs_[i]); in IterateRegisters()
|
/system/vold/ |
D | VolumeManager.h | 86 std::shared_ptr<android::vold::VolumeBase> findVolumeWithFilter(Fn fn) { in findVolumeWithFilter() argument 88 if (fn(*vol)) { in findVolumeWithFilter() 94 if (fn(*vol)) { in findVolumeWithFilter()
|