Home
last modified time | relevance | path

Searched refs:file_stats (Results 1 – 8 of 8) sorted by relevance

/external/autotest/server/
Dcrashcollect.py109 file_stats = _get_file_stats(host, log_path)
110 if not file_stats:
115 random.random() > file_stats.collection_probability):
118 log_path, file_stats.size,
119 file_stats.collection_probability)
/external/webrtc/webrtc/base/
Dstream.cc450 struct stat file_stats; in GetSize() local
451 if (fstat(fileno(file_), &file_stats) != 0) in GetSize()
454 *size = file_stats.st_size; in GetSize()
476 struct stat file_stats; in GetSize() local
477 if (stat(filename.c_str(), &file_stats) != 0) in GetSize()
479 *size = file_stats.st_size; in GetSize()
/external/ImageMagick/MagickCore/
Dutility.c1850 file_stats; in ShredFile() local
1888 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in ShredFile()
1889 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ShredFile()
1890 length=(MagickSizeType) file_stats.st_size; in ShredFile()
Dblob.c1417 file_stats; in FileToBlob() local
1424 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in FileToBlob()
1425 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob()
1591 file_stats; in FileToImage() local
1617 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in FileToImage()
1618 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToImage()
2277 file_stats; in ImageToFile() local
2302 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in ImageToFile()
2303 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ImageToFile()
2703 file_stats; in InjectImageBlob() local
[all …]
Dxml-tree.c638 file_stats; in FileToXML() local
645 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in FileToXML()
646 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToXML()
Dcache.c605 file_stats; in ClonePixelCacheOnDisk() local
620 if ((fstat(cache_info->file,&file_stats) == 0) && (file_stats.st_size > 0)) in ClonePixelCacheOnDisk()
621 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ClonePixelCacheOnDisk()
/external/python/cpython3/Lib/
Dpstats.py126 file_stats = os.stat(arg)
127 arg = time.ctime(file_stats.st_mtime) + " " + arg
/external/python/cpython2/Lib/
Dpstats.py113 file_stats = os.stat(arg)
114 arg = time.ctime(file_stats.st_mtime) + " " + arg