/system/extras/sound/ |
D | playwav.c | 151 int wav_play(const char *fn) in wav_play() argument 156 fd = open(fn, O_RDONLY); in wav_play() 158 fprintf(stderr, "playwav: cannot open '%s'\n", fn); in wav_play() 172 fprintf(stderr, "playwav: '%s' is not a riff/wave file\n", fn); in wav_play() 177 fprintf(stderr, "playwav: '%s' is not pcm format\n", fn); in wav_play() 181 fprintf(stderr, "playwav: '%s' is not 16bit per sample\n", fn); in wav_play() 191 int wav_rec(const char *fn, unsigned channels, unsigned rate) in wav_rec() argument 215 fd = open(fn, O_CREAT | O_RDWR, 0666); in wav_rec() 291 unlink(fn); in wav_rec() 295 int mp3_play(const char *fn) in mp3_play() argument [all …]
|
/system/core/init/ |
D | ueventd_parser.c | 30 static void parse_config(const char *fn, char *s) in parse_config() argument 36 state.filename = fn; in parse_config() 62 int ueventd_parse_config_file(const char *fn) in ueventd_parse_config_file() argument 65 data = read_file(fn, 0); in ueventd_parse_config_file() 68 parse_config(fn, data); in ueventd_parse_config_file()
|
D | logo.c | 105 int load_565rle_image(char *fn) in load_565rle_image() argument 116 fd = open(fn, O_RDONLY); in load_565rle_image() 118 ERROR("cannot open '%s'\n", fn); in load_565rle_image() 152 unlink(fn); in load_565rle_image()
|
D | ueventd_parser.h | 22 int ueventd_parse_config_file(const char *fn);
|
D | init_parser.h | 33 int init_parse_config_file(const char *fn);
|
D | util.h | 30 void *read_file(const char *fn, unsigned *_sz);
|
D | init_parser.c | 182 static void parse_config(const char *fn, char *s) in parse_config() argument 189 state.filename = fn; in parse_config() 220 int init_parse_config_file(const char *fn) in init_parse_config_file() argument 223 data = read_file(fn, 0); in init_parse_config_file() 226 parse_config(fn, data); in init_parse_config_file()
|
D | util.c | 164 void *read_file(const char *fn, unsigned *_sz) in read_file() argument 171 fd = open(fn, O_RDONLY); in read_file()
|
D | property_service.c | 451 static void load_properties_from_file(const char *fn) in load_properties_from_file() argument 456 data = read_file(fn, &sz); in load_properties_from_file()
|
/system/core/fastboot/ |
D | fastboot.c | 78 char *fn; in find_item() local 82 fn = "boot.img"; in find_item() 84 fn = "recovery.img"; in find_item() 86 fn = "system.img"; in find_item() 88 fn = "userdata.img"; in find_item() 90 fn = "android-info.txt"; in find_item() 99 "../../../target/product/%s/%s", product, fn); in find_item() 109 sprintf(path, "%s/%s", dir, fn); in find_item() 114 void *load_file(const char *fn, unsigned *_sz); 116 void *load_file(const char *fn, unsigned *_sz) in load_file() argument [all …]
|
D | util_windows.c | 51 void *load_file(const char *fn, unsigned *_sz) in load_file() argument 57 file = CreateFile( fn, in load_file() 82 fprintf(stderr, "load_file: could not read %ld bytes from '%s'\n", file_size, fn); in load_file()
|
/system/core/sh/ |
D | mknodes.sh | 171 echo " ${fn}(n->$struct.$name${cl};" 206 echo " new->$f = ${fn}n->$f${fn:+)};"
|
D | eval.c | 457 struct arglist fn; in expredir() local 458 fn.lastp = &fn.list; in expredir() 465 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir() 466 redir->nfile.expfname = fn.list->text; in expredir() 471 expandarg(redir->ndup.vname, &fn, EXP_FULL | EXP_TILDE); in expredir() 472 fixredir(redir, fn.list->text, 1); in expredir()
|
/system/extras/tests/framebuffer/ |
D | mdp_test.c | 34 char *type, *fn; in open_file() local 37 fn = strchr(name, ':'); in open_file() 38 if (!fn) in open_file() 40 *(fn++) = '\0'; in open_file() 51 *fd = open(fn, O_RDONLY); in open_file() 64 printf("Successfully opened file %s (fmt=%d len=%d fd=%d)\n", fn, *fmt, in open_file()
|
/system/core/libcutils/ |
D | load_file.c | 22 void *load_file(const char *fn, unsigned *_sz) in load_file() argument 29 fd = open(fn, O_RDONLY); in load_file()
|
D | config_utils.c | 312 void config_load_file(cnode *root, const char *fn) in config_load_file() argument 315 data = load_file(fn, 0); in config_load_file()
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/inc/ |
D | osApi.h | 339 void _os_profile (TI_HANDLE OsContext, UINT32 fn, UINT32 par); 340 #define os_profile(hos,fn,par) _os_profile (hos, fn, par) argument 342 #define os_profile(hos,fn,par) argument
|
/system/core/include/cutils/ |
D | misc.h | 29 extern void *load_file(const char *fn, unsigned *sz);
|
D | config_utils.h | 40 void config_load_file(cnode *root, const char *fn);
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 140 load_diskconfig(const char *fn, char *path_override) in load_diskconfig() argument 161 config_load_file(root, fn); in load_diskconfig() 163 LOGE("Could not read config file %s", fn); in load_diskconfig() 168 LOGE("Could not find device section in config file '%s'", fn); in load_diskconfig()
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 28 static void *load_file(const char *fn, unsigned *_sz) in load_file() argument 35 fd = open(fn, O_RDONLY); in load_file()
|
/system/core/include/diskconfig/ |
D | diskconfig.h | 112 struct disk_info *load_diskconfig(const char *fn, char *path_override);
|
/system/core/adb/ |
D | fdevent.c | 35 static void fatal(const char *fn, const char *fmt, ...) in fatal() argument 39 fprintf(stderr, "%s:", fn); in fatal()
|
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/ |
D | osApi.h | 538 #define os_profile(hos,fn,par) argument
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
D | osapi.c | 1747 void _os_profile (TI_HANDLE OsContext, UINT32 fn, UINT32 par) in _os_profile() argument 1749 tiwlan_profile (OsContext, fn, par); in _os_profile()
|