Home
last modified time | relevance | path

Searched refs:Exists (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/mindspore/tests/ut/cpp/dataset/
Dpath_test.cc31 ASSERT_TRUE(f.Exists()); in TEST_F()
55 ASSERT_TRUE(p2.Exists()); in TEST_F()
60 ASSERT_TRUE(p2.Exists()); in TEST_F()
66 ASSERT_TRUE(p3.Exists()); in TEST_F()
71 ASSERT_TRUE(p4.Exists()); in TEST_F()
77 ASSERT_TRUE((p5 + "tmp").Exists()); in TEST_F()
81 ASSERT_TRUE((p5 / "tmp").Exists()); in TEST_F()
85 ASSERT_TRUE((p5 + s).Exists()); in TEST_F()
89 ASSERT_TRUE((p5 / s).Exists()); in TEST_F()
94 ASSERT_TRUE((p5 + p6).Exists()); in TEST_F()
[all …]
/third_party/googletest/googlemock/test/
Dgmock-actions_test.cc98 EXPECT_TRUE(BuiltInDefaultValue<int*>::Exists()); in TEST()
99 EXPECT_TRUE(BuiltInDefaultValue<const char*>::Exists()); in TEST()
100 EXPECT_TRUE(BuiltInDefaultValue<void*>::Exists()); in TEST()
135 EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::Exists()); in TEST()
136 EXPECT_TRUE(BuiltInDefaultValue<signed char>::Exists()); in TEST()
137 EXPECT_TRUE(BuiltInDefaultValue<char>::Exists()); in TEST()
139 EXPECT_TRUE(BuiltInDefaultValue<wchar_t>::Exists()); in TEST()
141 EXPECT_TRUE(BuiltInDefaultValue<unsigned short>::Exists()); // NOLINT in TEST()
142 EXPECT_TRUE(BuiltInDefaultValue<signed short>::Exists()); // NOLINT in TEST()
143 EXPECT_TRUE(BuiltInDefaultValue<short>::Exists()); // NOLINT in TEST()
[all …]
/third_party/cef/tests/ceftests/
Dbrowser_info_map_unittest.cc53 bool Exists(int browser_id, InfoIdType info_id, InfoObjectType info) { in Exists() function in __anon5d69b8f20111::MyVisitor
326 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
365 EXPECT_TRUE(visitor.Exists(kBrowserId1, 2, obj2)); in TEST()
417 EXPECT_TRUE(visitor.Exists(kBrowserId1, 1, obj1)); in TEST()
418 EXPECT_TRUE(visitor.Exists(kBrowserId1, 2, obj2)); in TEST()
419 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
420 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
460 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
461 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
501 EXPECT_TRUE(visitor.Exists(kBrowserId1, 1, obj1)); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dequivalence_relation.h77 assert(Exists(value1) && in MakeEquivalent()
79 assert(Exists(value2) && in MakeEquivalent()
108 assert(!Exists(value)); in Register()
139 assert(Exists(value)); in GetEquivalenceClass()
177 bool Exists(const T& value) const { in Exists() function
185 assert(Exists(*value)); in Find()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dequivalence_relation.h77 assert(Exists(value1) && in MakeEquivalent()
79 assert(Exists(value2) && in MakeEquivalent()
108 assert(!Exists(value)); in Register()
139 assert(Exists(value)); in GetEquivalenceClass()
177 bool Exists(const T& value) const { in Exists() function
185 assert(Exists(*value)); in Find()
/third_party/spirv-tools/source/fuzz/
Dequivalence_relation.h77 assert(Exists(value1) && in MakeEquivalent()
79 assert(Exists(value2) && in MakeEquivalent()
108 assert(!Exists(value)); in Register()
139 assert(Exists(value)); in GetEquivalenceClass()
177 bool Exists(const T& value) const { in Exists() function
185 assert(Exists(*value)); in Find()
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dnode_recovery.cc28 if (recovery_storage_->Exists(kRecoveryWorkerNum)) { in Recover()
36 if (recovery_storage_->Exists(kRecoveryServerNum)) { in Recover()
44 if (recovery_storage_->Exists(kRecoverySchedulerIp)) { in Recover()
52 if (recovery_storage_->Exists(kRecoverySchedulerPort)) { in Recover()
/third_party/grpc/src/csharp/Grpc.Tools.Tests/
DMsBuildAssemblyHelper.cs47 if (!Directory.Exists(msbuildToolPath)) in TweakAssemblyPathIfOnMono()
59 if (!File.Exists(Path.Combine(msbuildToolPath, assemblyName))) in TweakAssemblyPathIfOnMono()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts.cpp124 assert(synonymous_.Exists(lhs_dd) && in AddEquationFactRecursive()
129 assert(synonymous_.Exists(*rhs_dd) && in AddEquationFactRecursive()
288 assert(synonymous_.Exists(dd) && in ComputeConversionDataSynonymFacts()
579 if (synonymous_.Exists(dd1_prefix) && in ComputeClosureOfFacts()
580 synonymous_.Exists(dd2_prefix) && in ComputeClosureOfFacts()
786 return synonymous_.Exists(dd) ? synonymous_.Find(&dd) in RegisterDataDescriptor()
878 if (synonymous_.Exists(data_descriptor)) { in GetSynonymsForDataDescriptor()
920 return synonymous_.Exists(data_descriptor1) && in IsSynonymous()
921 synonymous_.Exists(data_descriptor2) && in IsSynonymous()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts.cpp124 assert(synonymous_.Exists(lhs_dd) && in AddEquationFactRecursive()
129 assert(synonymous_.Exists(*rhs_dd) && in AddEquationFactRecursive()
288 assert(synonymous_.Exists(dd) && in ComputeConversionDataSynonymFacts()
579 if (synonymous_.Exists(dd1_prefix) && in ComputeClosureOfFacts()
580 synonymous_.Exists(dd2_prefix) && in ComputeClosureOfFacts()
786 return synonymous_.Exists(dd) ? synonymous_.Find(&dd) in RegisterDataDescriptor()
878 if (synonymous_.Exists(data_descriptor)) { in GetSynonymsForDataDescriptor()
920 return synonymous_.Exists(data_descriptor1) && in IsSynonymous()
921 synonymous_.Exists(data_descriptor2) && in IsSynonymous()
/third_party/spirv-tools/source/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts.cpp124 assert(synonymous_.Exists(lhs_dd) && in AddEquationFactRecursive()
129 assert(synonymous_.Exists(*rhs_dd) && in AddEquationFactRecursive()
288 assert(synonymous_.Exists(dd) && in ComputeConversionDataSynonymFacts()
579 if (synonymous_.Exists(dd1_prefix) && in ComputeClosureOfFacts()
580 synonymous_.Exists(dd2_prefix) && in ComputeClosureOfFacts()
786 return synonymous_.Exists(dd) ? synonymous_.Find(&dd) in RegisterDataDescriptor()
878 if (synonymous_.Exists(data_descriptor)) { in GetSynonymsForDataDescriptor()
920 return synonymous_.Exists(data_descriptor1) && in IsSynonymous()
921 synonymous_.Exists(data_descriptor2) && in IsSynonymous()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Djson_helper.cc31 if (!base_dir.IsDirectory() || !base_dir.Exists()) { in CreateAlbum()
70 if (in.Exists()) { in UpdateArray()
110 if (in.Exists()) { in RemoveKey()
Djson_helper.h72 if (in.Exists()) {
116 if (in.Exists()) {
/third_party/css-what/src/__fixtures__/
Dtests.ts363 action: AttributeAction.Exists,
837 action: AttributeAction.Exists,
906 action: AttributeAction.Exists,
922 action: AttributeAction.Exists,
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dsbu_op.cc150 CHECK_FAIL_RETURN_UNEXPECTED(url_path_.Exists() && !url_path_.IsDirectory(), in ParseSBUData()
155 CHECK_FAIL_RETURN_UNEXPECTED(caption_path_.Exists() && !caption_path_.IsDirectory(), in ParseSBUData()
160 CHECK_FAIL_RETURN_UNEXPECTED(image_folder_.Exists() && image_folder_.IsDirectory(), in ParseSBUData()
217 if (image_path.Exists() && !image_path.IsDirectory()) { in ParsePair()
Dimage_folder_op.cc156 if (folder.Exists() == false || dirItr == nullptr) { in PrescanWorkerEntry()
206 if (dir.Exists() == false || dir.IsDirectory() == false) { in StartAsyncWalk()
249 err_msg += (dir.Exists() == false || dir.IsDirectory() == false) in CountRowsAndClasses()
284 if (subdir.Exists() == false || dir_itr == nullptr) { in CountRowsAndClasses()
Dcifar_op.cc126 CHECK_FAIL_RETURN_UNEXPECTED(file_path.Exists() && !file_path.IsDirectory(), in ReadCifar10BlockData()
168 CHECK_FAIL_RETURN_UNEXPECTED(file_path.Exists() && !file_path.IsDirectory(), in ReadCifar100BlockData()
321 file_path.Exists() && !file_path.IsDirectory(), in CountTotalRows()
349 file_path.Exists() && !file_path.IsDirectory(), in CountTotalRows()
/third_party/grpc/examples/csharp/RouteGuide/RouteGuideServer/
DRouteGuideImpl.cs56 …var responses = features.FindAll( (feature) => feature.Exists() && request.Contains(feature.Locati… in ListFeatures()
80 if (CheckFeature(point).Exists()) in RecordRoute()
/third_party/css-what/src/
Dstringify.ts112 if (token.action === AttributeAction.Exists) {
142 case AttributeAction.Exists:
/third_party/mesa3d/src/amd/addrlib/src/core/
Dcoord.h94 BOOL_32 Exists(Coordinate& co);
117 BOOL_32 Exists(Coordinate& co);
/third_party/protobuf/src/google/protobuf/testing/
Dgoogletest.cc93 while (!File::Exists(prefix + "/src/google/protobuf/descriptor.cc")) { in TestSourceDir()
94 if (!File::Exists(prefix)) { in TestSourceDir()
Dfile.cc69 bool File::Exists(const string& name) { in Exists() function in google::protobuf::File
133 if (Exists(path)) return false; in RecursivelyCreateDir()
/third_party/mindspore/tests/ut/cpp/dataset/common/
Dbboxop_common.cc65 if (!dir_path.Exists()) { in GetInputImagesAndAnnotations()
67 EXPECT_TRUE(dir_path.Exists()); in GetInputImagesAndAnnotations()
179 if (!Path(path).Exists()) { in LoadAnnotationFile()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dcpu_sampling.cc186 if (path.Exists()) { in SaveToFile()
239 if (!temp_path.Exists()) { in ParseCpuInfo()
402 if (path.Exists()) { in SaveToFile()
540 if (path.Exists()) { in SaveToFile()
594 if (path.Exists()) { in SaveTimeStampToFile()
615 if (path.Exists()) { in SaveSamplingItervalToFile()
/third_party/googletest/googlemock/include/gmock/
Dgmock-actions.h199 static bool Exists() {
214 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); }
223 static bool Exists() { return true; }
233 static bool Exists() { return true; } \
316 static bool Exists() {
317 return IsSet() || internal::BuiltInDefaultValue<T>::Exists();
377 static bool Exists() {
378 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists();
398 static bool Exists() { return true; }

12345