Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 12 of 12) sorted by relevance

/external/libvpx/build/make/
Dobj_int_extract.c158 struct stat stat_buf; in main() local
185 if (fstat(fd, &stat_buf)) in main()
191 file_buf = malloc(stat_buf.st_size); in main()
199 if (read(fd, file_buf, stat_buf.st_size) != stat_buf.st_size) in main()
211 res = parse_macho(file_buf, stat_buf.st_size); in main()
466 struct stat stat_buf; in main() local
498 if (fstat(fd, &stat_buf)) in main()
504 file_buf = malloc(stat_buf.st_size); in main()
512 if (read(fd, file_buf, stat_buf.st_size) != stat_buf.st_size) in main()
524 res = parse_elf32(file_buf, stat_buf.st_size, mode); in main()
[all …]
/external/oprofile/libdb/
Ddb_manage.c169 struct stat stat_buf; in odb_open() local
200 if (fstat(data->fd, &stat_buf)) { in odb_open()
205 if (stat_buf.st_size == 0) { in odb_open()
222 nr_node = (stat_buf.st_size - data->offset_node) / in odb_open()
236 if (stat_buf.st_size == 0) { in odb_open()
/external/bluetooth/glib/glib/
Dgfileutils.c599 struct stat *stat_buf, in get_contents_regfile() argument
610 size = stat_buf->st_size; in get_contents_regfile()
681 struct stat stat_buf; in get_contents_posix() local
704 if (fstat (fd, &stat_buf) < 0) in get_contents_posix()
720 if (stat_buf.st_size > 0 && S_ISREG (stat_buf.st_mode)) in get_contents_posix()
723 &stat_buf, in get_contents_posix()
Dgkeyfile.c378 struct stat stat_buf; in g_key_file_load_from_fd() local
381 if (fstat (fd, &stat_buf) < 0) in g_key_file_load_from_fd()
389 if (!S_ISREG (stat_buf.st_mode)) in g_key_file_load_from_fd()
397 if (stat_buf.st_size == 0) in g_key_file_load_from_fd()
/external/dbus/bus/
Dactivation.c256 DBusStat stat_buf; in update_desktop_file_entry() local
278 if (!_dbus_stat (&file_path, &stat_buf, NULL)) in update_desktop_file_entry()
377 entry->mtime = stat_buf.mtime; in update_desktop_file_entry()
401 DBusStat stat_buf; in check_service_file() local
426 if (!_dbus_stat (&file_path, &stat_buf, NULL)) in check_service_file()
440 if (stat_buf.mtime > entry->mtime) in check_service_file()
1750 DBusStat stat_buf; in init_service_reload_test() local
1752 if (!_dbus_stat (dir, &stat_buf, NULL)) in init_service_reload_test()
/external/v8/src/
Dd8-posix.cc564 struct stat stat_buf; in CheckItsADirectory() local
565 int stat_result = stat(directory, &stat_buf); in CheckItsADirectory()
570 if ((stat_buf.st_mode & S_IFDIR) != 0) return true; in CheckItsADirectory()
/external/qemu/block/
Draw-posix.c1128 struct stat stat_buf; in hdev_create() local
1143 if (fstat(fd, &stat_buf) < 0) in hdev_create()
1145 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode)) in hdev_create()
/external/chromium/third_party/icu/source/test/cintltst/
Dudatatst.c132 struct stat stat_buf; in TestUDataOpen() local
162 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
206 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
/external/icu4c/test/cintltst/
Dudatatst.c138 struct stat stat_buf; in TestUDataOpen() local
169 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
213 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
/external/libvpx/
Dvpxenc.c130 struct stat stat_buf; in stats_open_file() local
135 fstat(fd, &stat_buf); in stats_open_file()
136 stats->buf.sz = stat_buf.st_size; in stats_open_file()
/external/bluetooth/glib/gio/
Dglocalfileinfo.c1689 GLocalFileStat stat_buf; in _g_local_file_info_get_from_fd() local
1699 if (FSTAT (fd, &stat_buf) == -1) in _g_local_file_info_get_from_fd()
1717 set_info_from_stat (info, &stat_buf, matcher); in _g_local_file_info_get_from_fd()
/external/ppp/pppd/
Dsys-linux.c2813 struct stat stat_buf; in sys_check_options() local
2816 || lstat(path, &stat_buf) < 0) { in sys_check_options()