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.mk32 load_file.c \
H A Dconfig_utils.c315 data = load_file(fn, 0);
/system/core/mkbootimg/
H A Dmkbootimg.c28 static void *load_file(const char *fn, unsigned *_sz) function
210 kernel_data = load_file(kernel_fn, &hdr.kernel_size);
220 ramdisk_data = load_file(ramdisk_fn, &hdr.ramdisk_size);
228 second_data = load_file(second_fn, &hdr.second_size);
/system/core/fastboot/
H A Dfastboot.c193 static void *load_file(const char *fn, unsigned *_sz) function
341 kdata = load_file(kernel, &ksize);
361 rdata = load_file(ramdisk, &rsize);
369 sdata = load_file(secondstage, &ssize);
739 zdata = load_file(fn, &zsize);
794 data = load_file(fn, &sz);
815 data = load_file(fname, &sz);
1139 data = load_file(argv[1], &sz);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp203 buf = (char *)load_file(LAST_KMSG_PSTORE_PATH, &sz);
206 buf = (char *)load_file(LAST_KMSG_PATH, &sz);
/system/core/adb/
H A Dadb_auth_host.c413 file = load_file(path, (unsigned*)&ret);
H A Dsysdeps.h168 extern void* load_file(const char* pathname, unsigned* psize);
H A Dcommandline.c519 data = load_file(fn, &sz);
559 data = load_file(fn, &sz);
H A Dsysdeps_win32.c17 /***** replaces libs/cutils/load_file.c *****/
22 void *load_file(const char *fn, unsigned *_sz) function
45 D("load_file: could not allocate %ld bytes\n", file_size );
53 D("load_file: could not read %ld bytes from '%s'\n", file_size, fn);

Completed in 578 milliseconds