Home
last modified time | relevance | path

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

/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/webkit/V8Binding/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/icu4c/test/cintltst/
Dudatatst.c131 struct stat stat_buf; in TestUDataOpen() local
161 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
205 if (stat(icuDataFilePath, &stat_buf) == 0) in TestUDataOpen()
/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()