/external/chromium_org/chrome/common/extensions/docs/server2/ |
test_file_system_test.py | 7 from file_system import FileNotFoundError, StatInfo 92 self.assertEquals(StatInfo('0', child_versions={ 97 self.assertEquals(StatInfo('0'), fs.Stat('404.html')) 98 self.assertEquals(StatInfo('0', child_versions={ 104 self.assertEquals(StatInfo('1', child_versions={ 109 self.assertEquals(StatInfo('1'), fs.Stat('404.html')) 110 self.assertEquals(StatInfo('1', child_versions={ 116 self.assertEquals(StatInfo('2', child_versions={ 121 self.assertEquals(StatInfo('2'), fs.Stat('404.html')) 122 self.assertEquals(StatInfo('1', child_versions= [all...] |
mock_file_system_test.py | 7 from file_system import FileNotFoundError, StatInfo 82 self.assertEqual(StatInfo('0', child_versions={ 87 self.assertEqual(StatInfo('0'), fs.Stat('404.html')) 88 self.assertEqual(StatInfo('0', child_versions={ 99 self.assertEqual(StatInfo('1', child_versions={ 104 self.assertEqual(StatInfo('1'), fs.Stat('404.html')) 105 self.assertEqual(StatInfo('0', child_versions={ 121 self.assertEqual(StatInfo('2', child_versions={ 126 self.assertEqual(StatInfo('2'), fs.Stat('404.html')) 127 self.assertEqual(StatInfo('2', child_versions= [all...] |
chroot_file_system_test.py | 9 from file_system import StatInfo 71 self.assertEqual(StatInfo('2', child_versions={ 76 self.assertEqual(StatInfo('0'), chroot_fs.Stat('activeTab.html')) 77 self.assertEqual(StatInfo('2', child_versions={ 81 self.assertEqual(StatInfo('2'), chroot_fs.Stat('manifest/sockets.html')) 82 self.assertEqual(StatInfo('1', child_versions={ 86 self.assertEqual(StatInfo('1'), 88 self.assertEqual(StatInfo('0'),
|
empty_dir_file_system.py | 5 from file_system import FileNotFoundError, FileSystem, StatInfo 29 return StatInfo(0, child_versions=[])
|
patched_file_system_test.py | 9 from file_system import FileNotFoundError, StatInfo 150 StatInfo(version, {'subdir1/': version})) 152 StatInfo(version, {'sub2.txt': version, 165 StatInfo(version, {'a.js': version})) 167 StatInfo(version)) 169 StatInfo(version, {'1.html': version})) 171 StatInfo(version)) 181 StatInfo(old_version, {})) 183 StatInfo(version, {})) 185 StatInfo(version, {}) [all...] |
caching_file_system_test.py | 12 from file_system import FileNotFoundError, StatInfo 190 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob0')) 192 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob0')) 197 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob1')) 199 StatInfo('0', child_versions={'bob0': '0', 'bob1': '0'}), 206 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob0')) 207 self.assertEqual(StatInfo('0'), file_system.Stat('bob/bob1')) 209 StatInfo('0', child_versions={'bob0': '0', 'bob1': '0'}), 226 StatInfo(stat, child_versions={'bob0': stat, 'bob1': stat}), 229 self.assertEqual(StatInfo(stat), file_system.Stat('bob/bob0') [all...] |
new_github_file_system_test.py | 16 from file_system import FileNotFoundError, StatInfo 152 dir_stat = StatInfo(real_hash, { 153 'hello.notpy': StatInfo(real_hash), 154 '__init__.notpy': StatInfo(real_hash) 157 self.assertEqual(StatInfo(real_hash), self._gfs.Stat('README.md')) 158 self.assertEqual(StatInfo(real_hash), self._gfs.Stat('src/hello.notpy')) 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')) 265 self.assertEqual(StatInfo(version), gfs.Stat('hello.txt') [all...] |
patched_file_system.py | 7 from file_system import FileSystem, StatInfo, FileNotFoundError 131 stat_info = StatInfo( 148 stat_info = StatInfo(stat_info.child_versions[filename])
|
subversion_file_system_test.py | 12 from file_system import FileSystemError, StatInfo 65 expected = StatInfo( 77 self.assertEqual(StatInfo('146163'), stat_info)
|
github_file_system.py | 14 from file_system import FileSystem, StatInfo 168 return StatInfo(version) 173 return StatInfo(version) 196 return StatInfo(version)
|
gcs_file_system.py | 10 from file_system import FileSystem, FileNotFoundError, StatInfo 62 return StatInfo(last_commit, child_versions)
|
gitiles_file_system_test.py | 11 from file_system import StatInfo 118 expected_stat_info = StatInfo('some_long_string', {
|
local_file_system.py | 9 from file_system import FileSystem, FileNotFoundError, StatInfo 62 return StatInfo(version, child_versions)
|
file_system.py | 52 class StatInfo(object): 63 return (isinstance(other, StatInfo) and 139 Returns a |StatInfo| object containing the version of |path|. If |path| 140 is a directory, |StatInfo| will have the versions of all the children of 141 the directory in |StatInfo.child_versions|. 152 '''An async version of Stat. Returns a Future to a StatInfo rather than a 153 raw StatInfo.
|
gitiles_file_system.py | 21 StatInfo) 44 '''Returns a StatInfo object comprised of the tree ID for |json_data|, 48 return StatInfo(tree['id'], 221 return StatInfo(stat_info.child_versions[filename])
|
subversion_file_system.py | 14 FileNotFoundError, FileSystem, FileSystemError, StatInfo) 96 return StatInfo(parent_version, child_versions) 200 return StatInfo(stat_info.child_versions[filename])
|
new_github_file_system.py | 16 from file_system import FileNotFoundError, FileSystem, FileSystemError, StatInfo 261 '''Stats |path| returning its version as as StatInfo object. If |path| ends 262 with a '/', it is assumed to be a directory and the StatInfo object returned 282 stat_info = StatInfo(version) 284 stat_info.child_versions = dict((p, StatInfo(version))
|
caching_file_system.py | 8 from file_system import FileSystem, StatInfo, FileNotFoundError 47 '''Converts a dir stat into the correct resulting StatInfo; if the Stat 48 was for a file, the StatInfo should just contain that file. 57 return StatInfo(file_version)
|
test_file_system.py | 5 from file_system import FileSystem, FileNotFoundError, StatInfo 131 stat_result = StatInfo(str(self._stat_tracker.GetVersion(path)))
|
/external/llvm/lib/Support/ |
Statistic.cpp | 65 static ManagedStatic<StatisticInfo> StatInfo; 71 // If stats are enabled, inform StatInfo that this statistic should be 76 StatInfo->addStatistic(this); 101 StatisticInfo &Stats = *StatInfo; 141 StatisticInfo &Stats = *StatInfo;
|