Searched refs:load_file (Results 1 - 11 of 11) sorted by relevance

/system/core/include/cutils/
H A Dmisc.h29 extern void *load_file(const char *fn, unsigned *sz);
/system/core/libcutils/
H A Dload_file.c1 /* libs/cutils/load_file.c
22 void *load_file(const char *fn, unsigned *_sz) function
H A DAndroid.mk24 load_file.c \
H A Dconfig_utils.c315 data = load_file(fn, 0);
/system/core/mkbootimg/
H A Dmkbootimg.c29 static void *load_file(const char *fn, unsigned *_sz) function
221 kernel_data = load_file(kernel_fn, &hdr.kernel_size);
231 ramdisk_data = load_file(ramdisk_fn, &hdr.ramdisk_size);
239 second_data = load_file(second_fn, &hdr.second_size);
/system/core/fastboot/
H A Dfastboot.cpp182 static void *load_file(const char *fn, unsigned *_sz) function
339 kdata = load_file(kernel, &ksize);
359 rdata = load_file(ramdisk, &rsize);
793 data = load_file(fn, &sz);
810 void* data = load_file(fname, &sz);
1149 data = load_file(argv[1], &sz);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp204 buf = (char *)load_file(LAST_KMSG_PSTORE_PATH, &sz);
207 buf = (char *)load_file(LAST_KMSG_PATH, &sz);
/system/core/adb/
H A Dadb_auth_host.cpp424 char* file_data = reinterpret_cast<char*>(load_file(path, &size));
H A Dsysdeps.h186 extern void* load_file(const char* pathname, unsigned* psize);
H A Dcommandline.cpp528 uint8_t* data = reinterpret_cast<uint8_t*>(load_file(fn, &sz));
H A Dsysdeps_win32.cpp84 /***** replaces libs/cutils/load_file.c *****/
89 void *load_file(const char *fn, unsigned *_sz) function
112 D("load_file: could not allocate %ld bytes\n", file_size );
120 D("load_file: could not read %ld bytes from '%s'\n", file_size, fn);

Completed in 143 milliseconds