/system/core/include/cutils/ |
H A D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
H A D | config_utils.h | 40 void config_load_file(cnode *root, const char *fn);
|
/system/core/libcutils/include/cutils/ |
H A D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
H A D | config_utils.h | 40 void config_load_file(cnode *root, const char *fn);
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
H A D | config_utils.h | 40 void config_load_file(cnode *root, const char *fn);
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | NonVolatileStore.cpp | 67 std::string fn = get_storage_location(); local 70 fn.append(filename_prefix); 71 if (fn.length() > 200) { 75 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), block); 119 std::string fn = get_storage_location(); local 123 fn.append(filename_prefix); 124 if (fn.length() > 200) { 128 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), block); 185 std::string fn = get_storage_location(); local 194 fn 225 std::string fn = get_storage_location(); local [all...] |
H A D | StartupConfig.cpp | 84 static const char fn[] = "StartupConfig::append"; local 86 ALOGE("%s: exceed max length", fn); 90 ALOGD("%s: try append %zu bytes", fn, 96 ALOGD("%s: new size %u bytes", fn, mBuffer[0]);
|
/system/core/include/private/ |
H A D | canned_fs_config.h | 22 int load_canned_fs_config(const char* fn);
|
/system/core/libcutils/include/private/ |
H A D | canned_fs_config.h | 22 int load_canned_fs_config(const char* fn);
|
/system/netd/libnetdutils/include/netdutils/ |
H A D | Misc.h | 40 Cleanup(FnT fn) : mFn(fn) {} argument 55 Cleanup<FnT> makeCleanup(FnT fn) { argument 56 return Cleanup<FnT>(fn);
|
/system/core/liblog/tests/ |
H A D | benchmark.h | 38 Benchmark(const char* name, void (*fn)(int)) : name_(strdup(name)), fn_(fn) { argument 61 BenchmarkWantsArgBase(const char* name, void (*fn)(int, T)) : Benchmark(name) { argument 62 fn_arg_ = fn; 78 BenchmarkWithArg(const char* name, void (*fn)(int, T), const char* arg_name, T arg) : argument 79 BenchmarkWantsArg<T>(name, fn), arg_(arg) { 100 BenchmarkWantsArg<T>(const char* name, void (*fn)(int, T)) : argument 101 BenchmarkWantsArgBase<T>(name, fn) { } 107 BenchmarkWantsArg<int>(const char* name, void (*fn)(int, int)) : argument 108 BenchmarkWantsArgBase<int>(name, fn) { } 118 BenchmarkFactory(const char* name, void (*fn)(int)) argument 123 BenchmarkFactory(const char* name, void (*fn)(int, T)) argument [all...] |
/system/bt/osi/include/ |
H A D | osi.h | 64 // Re-run |fn| system call until the system call doesn't cause EINTR. 65 #define OSI_NO_INTR(fn) \ 67 } while ((fn) == -1 && errno == EINTR)
|
/system/core/libcutils/ |
H A D | load_file.c | 22 void *load_file(const char *fn, unsigned *_sz) argument 29 fd = open(fn, O_RDONLY);
|
H A D | canned_fs_config.c | 45 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/security/keystore/ |
H A D | keystore_aidl_hidl_marshalling_utils.h | 28 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args) 29 -> NullOr<decltype(fn(in, std::forward<Args>(args)...))> { 34 return fn(in, std::forward<Args>(args)...); 37 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { argument 44 return fn(arg.value(), out); 47 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { argument 51 return fn(std::forward<Arg>(arg), out);
|
/system/extras/sound/ |
H A D | playwav.c | 153 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 D | Binder.cpp | 38 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 D | init.h | 39 void register_epoll_handler(int fd, void (*fn)());
|
/system/core/adb/ |
H A D | adb_utils.h | 76 void PopAll(Fn fn) { argument 87 fn(t);
|
H A D | fdevent.h | 84 void fdevent_run_on_main_thread(std::function<void()> fn);
|
/system/netd/server/ |
H A D | NFLogListener.h | 40 // subscribe() and join() must not be called from the stack of fn(). 41 virtual netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) = 0; 65 netdutils::Status subscribe(uint16_t nfLogGroup, const DispatchFn& fn) override;
|
H A D | NetlinkListener.h | 42 // 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;
|
H A D | NetlinkListener.cpp | 87 Status NetlinkListener::subscribe(uint16_t type, const DispatchFn& fn) { argument 89 mDispatchMap[type] = fn; 104 const auto& fn = findWithDefault(mDispatchMap, nlmsg.nlmsg_type, kDefaultDispatchFn); 105 fn(nlmsg, buf);
|
/system/extras/libfec/include/fec/ |
H A D | io.h | 126 explicit io(const std::string& fn, int mode = O_RDONLY, int flags = 0, argument 128 open(fn, mode, flags, roots); 135 bool open(const std::string& fn, int mode = O_RDONLY, int flags = 0, argument 139 int rc = fec_open(&fh, fn.c_str(), mode, flags, roots);
|