OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Exists
(Results
1 - 25
of
98
) sorted by null
1
2
3
4
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem_shutil_test.py
42
self.assertTrue(self.filesystem.
Exists
(directory))
44
self.assertFalse(self.filesystem.
Exists
(directory))
51
self.assertTrue(self.filesystem.
Exists
(src_file))
52
self.assertFalse(self.filesystem.
Exists
(dst_file))
54
self.assertTrue(self.filesystem.
Exists
(dst_file))
65
self.assertTrue(self.filesystem.
Exists
(src_file))
66
self.assertTrue(self.filesystem.
Exists
(parent_directory))
67
self.assertFalse(self.filesystem.
Exists
(dst_file))
69
self.assertTrue(self.filesystem.
Exists
(dst_file))
83
self.assertTrue(self.filesystem.
Exists
(src_file)
[
all
...]
fake_filesystem_unittest_test.py
48
self.assertFalse(os.path.
exists
('/fake_file.txt'))
51
self.assertTrue(self.fs.
Exists
('/fake_file.txt'))
59
self.assertFalse(os.path.
exists
('/fake_file.txt'))
62
self.assertTrue(self.fs.
Exists
('/fake_file.txt'))
70
self.assertFalse(self.fs.
Exists
('/test/dir1/dir2'))
72
self.assertTrue(self.fs.
Exists
('/test/dir1/dir2'))
89
self.assertTrue(self.fs.
Exists
('/test/dir1/dir2b'))
90
self.assertTrue(self.fs.
Exists
('/test/dir1/dir2a'))
93
self.assertFalse(self.fs.
Exists
('/test/dir1'))
100
self.assertTrue(self.fs.
Exists
(tf.name)
[
all
...]
fake_filesystem_test.py
222
self.assertRaises(TypeError, self.filesystem.
Exists
, None)
225
self.assertFalse(self.filesystem.
Exists
(''))
228
self.assertTrue(self.filesystem.
Exists
(self.root_name))
231
self.assertFalse(self.filesystem.
Exists
(self.fake_file.name))
243
self.assertTrue(self.filesystem.
Exists
(self.fake_file.name))
248
self.assertTrue(self.filesystem.
Exists
('a/b/../c/file_two'))
249
self.assertTrue(self.filesystem.
Exists
('/a/c/../b/file_one'))
250
self.assertTrue(self.filesystem.
Exists
('/a/c/../../a/b/file_one'))
251
self.assertFalse(self.filesystem.
Exists
('a/b/../z/d'))
252
self.assertFalse(self.filesystem.
Exists
('a/b/../z/../c/file_two')
[
all
...]
fake_filesystem_shutil.py
34
>>> filesystem.
Exists
('/dst/new-file')
39
>>> filesystem.
Exists
('/src/new-file')
84
if self.filesystem.
Exists
(dst):
112
if not self.filesystem.
Exists
(dst_dir):
125
if self.filesystem.
Exists
(dst):
159
if self.filesystem.
Exists
(dst):
fake_tempfile.py
76
while not filename or self._filesystem.
Exists
(filename):
244
while not entryname or self._filesystem.
Exists
(entryname):
/build/kati/
file.h
38
bool
Exists
() const { return exists_; }
fileutil.h
27
bool
Exists
(StringPiece f);
fileutil.cc
37
bool
Exists
(StringPiece filename) {
166
if (
Exists
(pat))
/external/gmock/test/
gmock-actions_test.cc
90
// Tests that BuiltInDefaultValue<T*>::
Exists
() return true.
92
EXPECT_TRUE(BuiltInDefaultValue<int*>::
Exists
());
93
EXPECT_TRUE(BuiltInDefaultValue<const char*>::
Exists
());
94
EXPECT_TRUE(BuiltInDefaultValue<void*>::
Exists
());
125
// Tests that BuiltInDefaultValue<T>::
Exists
() returns true when T is a
128
EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::
Exists
());
129
EXPECT_TRUE(BuiltInDefaultValue<signed char>::
Exists
());
130
EXPECT_TRUE(BuiltInDefaultValue<char>::
Exists
());
132
EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::
Exists
());
133
EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::
Exists
());
[
all
...]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
system_stub_unittest.py
83
self.assertFalse(self.cloud_storage.
Exists
(self.cloud_storage.PUBLIC_BUCKET,
85
self.assertFalse(self.cloud_storage.
Exists
(
87
self.assertFalse(self.cloud_storage.
Exists
(
93
self.assertTrue(self.cloud_storage.
Exists
(
95
self.assertTrue(self.cloud_storage.
Exists
(
97
self.assertTrue(self.cloud_storage.
Exists
(
99
self.assertFalse(self.cloud_storage.
Exists
(
101
self.assertFalse(self.cloud_storage.
Exists
(
103
self.assertFalse(self.cloud_storage.
Exists
(
111
self.assertFalse(self.cloud_storage.
Exists
(self.cloud_storage.PUBLIC_BUCKET
[
all
...]
/external/google-breakpad/src/testing/test/
gmock-actions_test.cc
90
// Tests that BuiltInDefaultValue<T*>::
Exists
() return true.
92
EXPECT_TRUE(BuiltInDefaultValue<int*>::
Exists
());
93
EXPECT_TRUE(BuiltInDefaultValue<const char*>::
Exists
());
94
EXPECT_TRUE(BuiltInDefaultValue<void*>::
Exists
());
125
// Tests that BuiltInDefaultValue<T>::
Exists
() returns true when T is a
128
EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::
Exists
());
129
EXPECT_TRUE(BuiltInDefaultValue<signed char>::
Exists
());
130
EXPECT_TRUE(BuiltInDefaultValue<char>::
Exists
());
132
EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::
Exists
());
133
EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::
Exists
());
[
all
...]
/external/protobuf/src/google/protobuf/testing/
file.h
48
// Check if the file
exists
.
49
static bool
Exists
(const string& name);
file.cc
61
bool File::
Exists
(const string& name) {
121
if (
Exists
(path)) return false;
googletest.cc
72
while (!File::
Exists
(prefix + "/src/google/protobuf")) {
73
if (!File::
Exists
(prefix)) {
/system/update_engine/common/
mock_prefs.h
41
MOCK_CONST_METHOD1(
Exists
, bool(const std::string& key));
prefs_interface.h
74
// Returns true if the setting
exists
(i.e. a file with the given key
75
//
exists
in the prefs directory)
76
virtual bool
Exists
(const std::string& key) const = 0;
prefs.h
52
bool
Exists
(const std::string& key) const override;
fake_prefs.h
49
bool
Exists
(const std::string& key) const override;
/art/runtime/base/
variant_map_test.cc
53
EXPECT_FALSE(fm.
Exists
(FruitMap::Apple));
55
EXPECT_FALSE(fm.
Exists
(FruitMap::Orange));
60
EXPECT_TRUE(fm.
Exists
(FruitMap::Apple));
65
EXPECT_TRUE(fm.
Exists
(FruitMap::Apple));
74
EXPECT_FALSE(fm.
Exists
(FruitMap::Apple));
78
EXPECT_FALSE(fm.
Exists
(FruitMap::Orange));
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
ANTLRFileStream.cs
142
if (file.
Exists
)
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_filesystem_shutil.py
34
>>> filesystem.
Exists
('/dst/new-file')
39
>>> filesystem.
Exists
('/src/new-file')
84
if self.filesystem.
Exists
(dst):
112
if not self.filesystem.
Exists
(dst_dir):
125
if self.filesystem.
Exists
(dst):
159
if self.filesystem.
Exists
(dst):
/external/gmock/include/gmock/
gmock-actions.h
74
static bool
Exists
() { return false; }
89
static bool
Exists
() { return BuiltInDefaultValue<T>::
Exists
(); }
98
static bool
Exists
() { return true; }
108
static bool
Exists
() { return true; } \
180
//
exists
a built-in default value.
181
static bool
Exists
() {
182
return IsSet() || internal::BuiltInDefaultValue<T>::
Exists
();
216
//
exists
a built-in default value.
217
static bool
Exists
() {
[
all
...]
/external/google-breakpad/src/testing/include/gmock/
gmock-actions.h
74
static bool
Exists
() { return false; }
89
static bool
Exists
() { return BuiltInDefaultValue<T>::
Exists
(); }
98
static bool
Exists
() { return true; }
108
static bool
Exists
() { return true; } \
180
//
exists
a built-in default value.
181
static bool
Exists
() {
182
return IsSet() || internal::BuiltInDefaultValue<T>::
Exists
();
216
//
exists
a built-in default value.
217
static bool
Exists
() {
[
all
...]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
base_config_unittest.py
200
self.assertFalse(os.path.
exists
(self.file_path))
202
self.assertTrue(os.path.
exists
(self.file_path))
209
self.assertFalse(os.path.
exists
(self.file_path))
212
self.assertTrue(os.path.
exists
(self.file_path))
238
uploader_cs_mock.
Exists
.return_value = False
272
uploader_cs_mock.
Exists
.call_args_list)
281
uploader_cs_mock.
Exists
.return_value = True
320
uploader_cs_mock.
Exists
.call_args_list)
329
uploader_cs_mock.
Exists
.return_value = True
362
uploader_cs_mock.
Exists
.call_args_list
[
all
...]
/system/update_engine/
image_properties_android.cc
79
if (!system_state->prefs()->
Exists
(current_channel_key) ||
Completed in 459 milliseconds
1
2
3
4