Searched refs:st (Results 1 – 3 of 3) sorted by relevance
24 struct stat st; in is_dir() local25 err = stat(path.c_str(), &st); in is_dir()26 return err != 0 || S_ISDIR(st.st_mode); in is_dir()120 struct stat st; in mkdir_recursively() local121 err = stat(p.c_str(), &st); in mkdir_recursively()130 else if (!S_ISDIR(st.st_mode)) { in mkdir_recursively()
346 struct stat st; in locate() local347 err = stat(full.c_str(), &st); in locate()351 rec->sourceMod = st.st_mtime; in locate()352 rec->sourceSize = st.st_size; in locate()353 rec->sourceIsDir = S_ISDIR(st.st_mode); in locate()369 struct stat st; in stat_out() local370 err = stat(rec->outPath.c_str(), &st); in stat_out()372 rec->outMod = st.st_mtime; in stat_out()373 rec->outSize = st.st_size; in stat_out()374 rec->outIsDir = S_ISDIR(st.st_mode); in stat_out()[all …]
21 st = os.lstat(path)22 return st.st_size;