/external/chromium_org/chrome/common/extensions/docs/server2/ |
mock_file_system_test.py | 65 fs.Stat('404.html') 66 fs.Stat('404.html') 67 fs.Stat('apps/') 73 fs.Stat('404.html') 74 fs.Stat('apps/') 86 }), fs.Stat('')) 87 self.assertEqual(StatInfo('0'), fs.Stat('404.html')) 92 }), fs.Stat('apps/')) 103 }), fs.Stat('')) 104 self.assertEqual(StatInfo('1'), fs.Stat('404.html') [all...] |
test_file_system_test.py | 57 self.assertRaises(FileNotFoundError, fs.Stat, 'foo') 58 self.assertRaises(FileNotFoundError, fs.Stat, 'bar/') 59 self.assertRaises(FileNotFoundError, fs.Stat, 'bar/baz') 90 self.assertRaises(FileNotFoundError, fs.Stat, 'foo') 91 self.assertRaises(FileNotFoundError, fs.Stat, '404.html/') 96 }), fs.Stat('')) 97 self.assertEquals(StatInfo('0'), fs.Stat('404.html')) 101 }), fs.Stat('extensions/')) 108 }), fs.Stat('')) 109 self.assertEquals(StatInfo('1'), fs.Stat('404.html') [all...] |
patched_file_system_test.py | 138 old_version = self._host_file_system.Stat('dir1/file1.html').version 140 # Stat an unmodified file. 141 self.assertEqual(self._file_system.Stat('dir1/file1.html'), 142 self._host_file_system.Stat('dir1/file1.html')) 144 # Stat an unmodified directory. 145 self.assertEqual(self._file_system.Stat('dir1/unmodified/'), 146 self._host_file_system.Stat('dir1/unmodified/')) 148 # Stat a modified directory. 149 self.assertEqual(self._file_system.Stat('dir2/'), 151 self.assertEqual(self._file_system.Stat('dir2/subdir1/') [all...] |
chroot_file_system_test.py | 75 }), chroot_fs.Stat('')) 76 self.assertEqual(StatInfo('0'), chroot_fs.Stat('activeTab.html')) 80 }), chroot_fs.Stat('manifest/')) 81 self.assertEqual(StatInfo('2'), chroot_fs.Stat('manifest/sockets.html')) 85 }), chroot_fs.Stat('manifest/moremanifest/')) 87 chroot_fs.Stat('manifest/moremanifest/csp.html')) 89 chroot_fs.Stat('manifest/moremanifest/usb.html'))
|
subversion_file_system_test.py | 62 stat_info = file_system.Stat('stat/') 74 stat_info = file_system.Stat('stat/extension_api.h') 108 # Stat() will always stat directories. 109 self.assertRaises(FileSystemError, svn_file_system.Stat, 'dir/file') 115 self.assertRaises(FileSystemError, svn_file_system.Stat, 'dir/') 125 dir_stat = file_system.Stat('docs_public_extensions_214898/') 131 dir_stat = file_system.Stat('api_icons_214898/' [all...] |
caching_file_system_test.py | 63 (expected, file_system.Stat('list/').version)) 69 (expected, file_system.Stat('list/').version)) 87 # The stat/read should happen before resolving the Future, and resolving 99 # Test if the Stat version is the same the resource is not re-fetched. 173 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob0')) 175 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob0')) 179 # directory won't result in a stat. 180 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob1')) 183 file_system.Stat('bob/')) 186 # Even though the stat is bumped, the object store still has it cached s [all...] |
offline_file_system.py | 22 def Stat(self, path):
|
chroot_file_system.py | 21 |root| The path to transpose all Read/Stat calls by. 46 def Stat(self, path): 47 return self._file_system.Stat(posixpath.join(self._root, path))
|
new_github_file_system_test.py | 157 self.assertEqual(StatInfo(real_hash), self._gfs.Stat('README.md')) 158 self.assertEqual(StatInfo(real_hash), self._gfs.Stat('src/hello.notpy')) 159 self.assertEqual(dir_stat, self._gfs.Stat('src/')) 163 self.assertRaises(FileNotFoundError, self._gfs.Stat, 'DONT_README.md') 197 # stat, and another for the read. 216 self.assertNotEqual(StatInfo(version), gfs.Stat('')) 228 self.assertEqual(StatInfo(version), gfs.Stat('new-file')) 241 self.assertEqual(StatInfo(version), gfs.Stat('new-file')) 257 # Fetch for the Stat(), async-fetch for the Read(). 265 self.assertEqual(StatInfo(version), gfs.Stat('hello.txt') [all...] |
caching_file_system.py | 16 smart, using Stat() to decided whether to skip Read()ing from |file_system|, 17 and only Stat()ing directories never files. 26 self._stat_object_store = create_object_store('stat') 28 # updates are picked up by the stat, so it doesn't need the force-refresh 36 def Stat(self, path): 43 # Always stat the parent directory, since it will have the stat of the child 44 # anyway, and this gives us an entire directory's stat info at once. 50 '''Converts a dir stat into the correct resulting StatInfo; if the Stat [all...] |
empty_dir_file_system.py | 26 def Stat(self, path): 28 raise FileNotFoundError('EmptyDirFileSystem cannot stat %s' % path)
|
patched_file_system.py | 121 def Stat(self, path): 132 # self._base_file_system.Stat will throw an exception. 135 self._base_file_system.Stat(directory + '/'), 146 stat_info = self._PatchStat(self._base_file_system.Stat(directory + '/'), 153 return self._base_file_system.Stat(path)
|
/external/chromium_org/dbus/ |
dbus_statistics.cc | 22 struct Stat { 23 Stat(const std::string& service, 40 bool Compare(const Stat& other) const { 49 bool operator()(Stat* lhs, Stat* rhs) const { 56 typedef std::set<Stat*, Stat::PtrCompare> StatSet; 74 // Enum to specify which field in Stat to increment in AddStat 91 Stat* stat = GetStat(service, interface, method, true) local 198 const Stat* stat = *cur_iter; local [all...] |
/cts/suite/cts/deviceTests/ui/src/com/android/cts/ui/ |
ScrollingTest.java | 23 import com.android.cts.util.Stat; 71 Stat.StatResult stat = Stat.getStat(results); local 72 getReportLog().printSummary("scrolling time", stat.mAverage, ResultType.LOWER_BETTER,
|
/cts/suite/cts/deviceTests/simplecpu/src/com/android/cts/simplecpu/ |
SimpleCpuTest.java | 24 import com.android.cts.util.Stat; 104 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD); local 105 if (stat.mDataCount != result.length) { 106 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers"); 108 getReportLog().printSummary("sorting time", stat.mAverage, ResultType.LOWER_BETTER, 126 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD) local [all...] |
/cts/tests/sample/src/android/sample/cts/ |
SampleDeviceResultTest.java | 23 import com.android.cts.util.Stat; 113 Stat.StatResult stat = Stat.getStat(result); local 117 log.printValue("Min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); 118 log.printValue("Max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); 120 log.printSummary("Average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS);
|
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 39 sys::fs::file_status Stat; 40 std::error_code EC = sys::fs::status(FilePath, Stat); 41 switch (Stat.type()) {
|
/external/chromium_org/testing/gtest/test/ |
gtest_premature_exit_test.cc | 42 using ::testing::internal::posix::Stat; 55 StatStruct stat; local 56 return Stat(filepath, &stat) == 0;
|
/external/gtest/test/ |
gtest_premature_exit_test.cc | 42 using ::testing::internal::posix::Stat; 55 StatStruct stat; local 56 return Stat(filepath, &stat) == 0;
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
noembed.h | 82 #ifdef Stat 83 #undef Stat 103 #ifdef stat 104 #undef stat macro
|
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
SequentialRWTest.java | 25 import com.android.cts.util.Stat; 72 Stat.StatResult stat = Stat.getStat(mbps); local 73 getReportLog().printSummary("write throughput", stat.mAverage, ResultType.HIGHER_BETTER, 121 Stat.StatResult stat = Stat.getStat(mbps); local 122 getReportLog().printSummary("read throughput", stat.mAverage, ResultType.HIGHER_BETTER,
|
/cts/suite/cts/hostTests/uihost/control/src/com/android/cts/taskswitching/control/ |
TaskswitchingDeviceTest.java | 33 import com.android.cts.util.Stat; 88 Stat.StatResult stat = Stat.getStat(results); local 89 getReportLog().printSummary("taskswitching time", stat.mAverage,
|
/cts/suite/cts/hostTests/uihost/src/com/android/cts/uihost/ |
InstallTimeTest.java | 27 import com.android.cts.util.Stat; 95 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD); local 96 if (stat.mDataCount != result.length) { 97 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers"); 99 report.printSummary("install time", stat.mAverage, ResultType.LOWER_BETTER,
|
/external/chromium_org/third_party/skia/include/utils/win/ |
SkIStream.h | 73 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 104 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
|
/external/skia/include/utils/win/ |
SkIStream.h | 73 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 104 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
|