Lines Matching refs:result
1003 int result = rename(old_name.c_str(), new_name.c_str());
1004 return (result == -1) ? -errno : result;
1051 int result = chmod(path.c_str(), hostMode);
1052 if (result < 0)
1151 int result = fchmod(sim_fd, hostMode);
1153 return (result < 0) ? -errno : 0;
1255 int result = stat(path.c_str(), &hostBuf);
1257 if (result < 0)
1285 int result = stat(path.c_str(), &hostBuf);
1288 int result = stat64(path.c_str(), &hostBuf);
1291 if (result < 0)
1322 int result = stat(path.c_str(), &hostBuf);
1325 int result = stat64(path.c_str(), &hostBuf);
1328 if (result < 0)
1354 int result = fstat(sim_fd, &hostBuf);
1357 int result = fstat64(sim_fd, &hostBuf);
1360 if (result < 0)
1388 int result = lstat(path.c_str(), &hostBuf);
1390 if (result < 0)
1418 int result = lstat(path.c_str(), &hostBuf);
1421 int result = lstat64(path.c_str(), &hostBuf);
1424 if (result < 0)
1450 int result = fstat(sim_fd, &hostBuf);
1452 if (result < 0)
1480 int result = statfs(path.c_str(), &hostBuf);
1482 if (result < 0)
1648 int result = fstatfs(sim_fd, &hostBuf);
1650 if (result < 0)
1684 int result = readv(sim_fd, hiov, count);
1688 if (result != -1) {
1695 return (result == -1) ? -local_errno : result;
1727 int result = writev(sim_fd, hiov, count);
1732 return (result == -1) ? -errno : result;
2122 int result = utimes(path.c_str(), hostTimeval);
2124 if (result < 0)