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.c1828 file_stats; in ShredFile() local
1866 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in ShredFile()
1867 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ShredFile()
1868 length=(MagickSizeType) file_stats.st_size; in ShredFile()
Dblob.c1414 file_stats; in FileToBlob() local
1421 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in FileToBlob()
1422 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob()
1589 file_stats; in FileToImage() local
1615 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in FileToImage()
1616 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToImage()
2266 file_stats; in ImageToFile() local
2291 if ((fstat(file,&file_stats) == 0) && (file_stats.st_size > 0)) in ImageToFile()
2292 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ImageToFile()
2692 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.c604 file_stats; in ClonePixelCacheOnDisk() local
619 if ((fstat(cache_info->file,&file_stats) == 0) && (file_stats.st_size > 0)) in ClonePixelCacheOnDisk()
620 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ClonePixelCacheOnDisk()
/external/python/cpython2/Lib/
Dpstats.py113 file_stats = os.stat(arg)
114 arg = time.ctime(file_stats.st_mtime) + " " + arg
/external/python/cpython3/Lib/
Dpstats.py126 file_stats = os.stat(arg)
127 arg = time.ctime(file_stats.st_mtime) + " " + arg