Searched refs:sourceStat (Results 1 - 3 of 3) sorted by relevance

/haiku/src/bin/
H A Dcopyattr.cpp298 struct stat sourceStat; local
299 if (lstat(sourcePath, &sourceStat) < 0) {
323 if (S_ISDIR(sourceStat.st_mode)) {
353 if (S_ISDIR(sourceStat.st_mode)) {
356 } else if (S_ISREG(sourceStat.st_mode)) {
378 if (S_ISDIR(sourceStat.st_mode)) {
389 } else if (S_ISREG(sourceStat.st_mode)) {
404 } else if (S_ISLNK(sourceStat.st_mode)) {
439 destNode->SetOwner(sourceStat.st_uid);
440 destNode->SetGroup(sourceStat
[all...]
/haiku/src/kits/storage/
H A DCopyEngine.cpp138 struct stat sourceStat; local
139 if (lstat(sourcePath, &sourceStat) < 0) {
153 if (!S_ISDIR(sourceStat.st_mode)
160 if (S_ISDIR(sourceStat.st_mode)) {
187 if (S_ISDIR(sourceStat.st_mode)) {
190 } else if (S_ISREG(sourceStat.st_mode)) {
211 if (S_ISDIR(sourceStat.st_mode)) {
221 } else if (S_ISREG(sourceStat.st_mode)) {
241 } else if (S_ISLNK(sourceStat.st_mode)) {
280 destNode->SetOwner(sourceStat
[all...]
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp993 struct stat sourceStat; local
995 &sourceStat);
1005 if ((sourceStat.st_mode & S_IFMT) != (targetStat.st_mode & S_IFMT)
1006 || (!S_ISDIR(sourceStat.st_mode) && !S_ISREG(sourceStat.st_mode)
1007 && !S_ISLNK(sourceStat.st_mode))) {
1021 if (S_ISDIR(sourceStat.st_mode)) {
1098 || (sourceStat.st_mode & S_IFMT)
1127 if (S_ISREG(sourceStat.st_mode)) {

Completed in 31 milliseconds