Home
last modified time | relevance | path

Searched refs:Paths (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs47 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
57 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
101 mask.Paths.AddRange(input); in ToString()
113 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromString()
116 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromString()
135 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromFieldNumbers()
138 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromFieldNumbers()
160 mask.Paths.AddRange(input); in Normalize()
173 Assert.AreEqual(2, result.Paths.Count); in Union()
174 Assert.Contains("bar", result.Paths); in Union()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs47 RepeatedField<string> paths = tree.ToFieldMask().Paths; in AddFieldPath()
51 paths = tree.ToFieldMask().Paths; in AddFieldPath()
57 paths = tree.ToFieldMask().Paths; in AddFieldPath()
63 paths = tree.ToFieldMask().Paths; in AddFieldPath()
68 paths = tree.ToFieldMask().Paths; in AddFieldPath()
74 paths = tree.ToFieldMask().Paths; in AddFieldPath()
79 paths = tree.ToFieldMask().Paths; in AddFieldPath()
85 paths = tree.ToFieldMask().Paths; in AddFieldPath()
97 Paths = {"foo", "bar.baz", "bar.quz"} in MergeFromFieldMask()
99 RepeatedField<string> paths = tree.ToFieldMask().Paths; in MergeFromFieldMask()
[all …]
/third_party/libphonenumber/migrator/src/test/java/com/google/phonenumbers/migrator/
DMigrationFactoryTest.java24 import java.nio.file.Paths;
35 private static final Path RECIPES_PATH = Paths.get(TEST_DATA_PATH + "testRecipesFile.csv");
41 MigrationFactory.createMigration(Paths.get(fileLocation), "44", false); in createFromFilePath_invalidPathLocation_expectException()
51 Path fileLocation = Paths.get(TEST_DATA_PATH + "testNumbersFile.txt"); in createFromFilePath_validPathLocation_expectValidFields()
94 Path fileLocation = Paths.get("invalid-recipe-location"); in createWithCustomRecipes_invalidPathLocation_expectException()
DMetadataZipFileReaderTest.java27 import java.nio.file.Paths;
43 MetadataZipFileReader.of(Files.newInputStream(Paths.get(fileLocation))); in createInstance_invalidFileLocation_expectException()
54 …MetadataZipFileReader validZip = MetadataZipFileReader.of(Files.newInputStream(Paths.get(fileLocat… in importTable_countryCodeInZip_expectCsvTable()
62 …MetadataZipFileReader validZip = MetadataZipFileReader.of(Files.newInputStream(Paths.get(fileLocat… in importTable_countryCodeNotInZip_expectEmptyCsvTable()
DMigrationJobTest.java34 import java.nio.file.Paths;
48 private static final Path RECIPES_PATH = Paths.get(TEST_DATA_PATH + "testRecipesFile.csv");
54 .createCustomRecipeMigration(Paths.get(numbersPath), COUNTRY_CODE, MigrationFactory in customRecipesMigration_expectMigrations()
66 .createCustomRecipeMigration(Paths.get(numbersPath), unsupportedCountry, MigrationFactory in customRecipesMigration_noRecipesFromCountry_expectNoMigrations()
77 .createCustomRecipeMigration(Paths.get(numbersPath), COUNTRY_CODE, MigrationFactory in customRecipes_singleMigration_unsupportedRecipeKey_expectException()
97 .createCustomRecipeMigration(Paths.get(numbersPath), COUNTRY_CODE, MigrationFactory in customRecipes_singleMigration_validKey_expectMigration()
224 Path createdFileLocation = Paths.get(report.exportToFile("strictTestFile")); in invalidMigration_strictExport_expectFileWithOriginalNumber()
242 Path createdFileLocation = Paths.get(report.exportToFile("lenientTestFile")); in invalidMigration_exportInvalidMigrations_expectFileWithMigratedNumber()
276 Path recipesPath = Paths.get(TEST_DATA_PATH + "testRecipesFile.csv"); in createMockJobFromTestRecipes()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DCommandLineMain.java25 import java.nio.file.Paths;
96 …MigrationFactory.importRecipes(Files.newInputStream(Paths.get(clm.optionalParameter.customRecipe))… in main()
103 .createCustomRecipeMigration(Paths.get(clm.numberInput.file), clm.countryCode, in main()
104 …MigrationFactory.importRecipes(Files.newInputStream(Paths.get(clm.optionalParameter.customRecipe))… in main()
107 .createMigration(Paths.get(clm.numberInput.file), clm.countryCode, in main()
116 printFileReport(mr, Paths.get(clm.numberInput.file)); in main()
/third_party/lzma/CPP/7zip/UI/Common/
DTempFiles.cpp14 while (!Paths.IsEmpty()) in Clear()
16 NDir::DeleteFileAlways(Paths.Back()); in Clear()
17 Paths.DeleteBack(); in Clear()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMaskPartial.cs103 return ToJson(Paths, true); in ToDiagnosticString()
144 mask.Paths.Add(path);
176 mask.Paths.Add(field.Name);
223 foreach (var path in fieldMask.Paths) in IsValid()
309 foreach (var path in additionalMask.Paths) in Intersection()
/third_party/node/deps/v8/third_party/zlib/google/
Dzip.h29 using Paths = base::span<const base::FilePath>; variable
48 virtual bool Open(Paths paths, std::vector<base::File>* files) = 0;
118 Paths src_files;
169 Paths src_relative_paths,
Dzip_writer.cc181 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries()
196 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries()
229 bool ZipWriter::AddFileEntries(Paths paths) { in AddFileEntries()
236 const Paths relative_paths = paths.subspan(0, n); in AddFileEntries()
268 bool ZipWriter::AddDirectoryEntries(Paths paths) { in AddDirectoryEntries()
Dzip_writer.h81 bool AddMixedEntries(Paths paths);
101 bool AddFileEntries(Paths paths);
110 bool AddDirectoryEntries(Paths paths);
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DGenerateCodeTask.java13 import java.nio.file.Paths;
43 this.cldrPath = checkNotNull(Paths.get(path)); in setCldrDir()
49 this.cOutDir = Paths.get(path); in setCOutDir()
55 this.javaOutDir = Paths.get(path); in setJavaOutDir()
/third_party/node/deps/zlib/google/
Dzip.h29 using Paths = base::span<const base::FilePath>; variable
48 virtual bool Open(Paths paths, std::vector<base::File>* files) = 0;
118 Paths src_files;
169 Paths src_relative_paths,
Dzip_writer.cc181 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries()
196 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries()
229 bool ZipWriter::AddFileEntries(Paths paths) { in AddFileEntries()
236 const Paths relative_paths = paths.subspan(0, n); in AddFileEntries()
268 bool ZipWriter::AddDirectoryEntries(Paths paths) { in AddDirectoryEntries()
Dzip_writer.h81 bool AddMixedEntries(Paths paths);
101 bool AddFileEntries(Paths paths);
110 bool AddDirectoryEntries(Paths paths);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAutomaton.h82 SmallVector<NfaPath, 4> Paths; variable
125 Paths.clear(); in reset()
142 Paths.clear(); in getPaths()
150 Paths.push_back(std::move(P)); in getPaths()
152 return Paths; in getPaths()
DSpecialCaseList.h72 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
81 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
107 bool createInternal(const std::vector<std::string> &Paths,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSpecialCaseList.cpp74 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
77 if (SCL->createInternal(Paths, FS, Error)) in create()
91 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
94 if (auto SCL = create(Paths, FS, Error)) in createOrDie()
99 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument
102 for (const auto &Path : Paths) { in createInternal()
/third_party/lzma/CPP/7zip/UI/Console/
DUpdateCallbackConsole.h14 FStringVector Paths; member
19 Paths.Add(path); in AddError()
24 Paths.Clear(); in Clear()
/third_party/lzma/CPP/7zip/UI/GUI/
DExtractDialog.cpp214 for (unsigned i = 0; i < _info.Paths.Size() && i < kHistorySize; i++) in OnInit()
215 _path.AddString(_info.Paths[i]); in OnInit()
396 _info.Paths.Clear(); in OnOK()
398 AddUniqueString(_info.Paths, s); in OnOK()
406 AddUniqueString(_info.Paths, sTemp); in OnOK()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs46 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
56 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSA.cpp522 SmallVector<DefPath, 32> Paths; member in __anon5a1bdc7a0511::ClobberWalker
598 auto UpwardDefs = make_range(upward_defs_begin({Phi, Paths[PriorNode].Loc}), in addSearches()
601 PausedSearches.push_back(Paths.size()); in addSearches()
602 Paths.emplace_back(P.second, P.first, PriorNode); in addSearches()
633 DefPath &Node = Paths[PathIndex]; in getBlockingAccess()
717 T &curNode() const { return W->Paths[*N]; } in curNode()
747 assert(!Paths.empty() && NP >= &Paths.front() && NP <= &Paths.back() && in defPathIndex()
749 return NP - &Paths.front(); in defPathIndex()
767 assert(Paths.empty() && VisitedPhis.empty() && in tryOptimizePhi()
770 Paths.emplace_back(Loc, Start, Phi, None); in tryOptimizePhi()
[all …]
/third_party/ninja/src/
Dstate.cc106 Paths::const_iterator i = paths_.find(path); in LookupNode()
118 for (Paths::iterator i = paths_.begin(); i != paths_.end(); ++i) { in SpellcheckNode()
183 for (Paths::iterator i = paths_.begin(); i != paths_.end(); ++i) in Reset()
193 for (Paths::iterator i = paths_.begin(); i != paths_.end(); ++i) { in Dump()
/third_party/rust/crates/bindgen/bindgen/ir/
Dtraversal.rs262 pub struct Paths<'ctx>(BTreeMap<ItemId, ItemId>, &'ctx BindgenContext); struct
264 impl<'ctx> TraversalStorage<'ctx> for Paths<'ctx> { implementation
266 Paths(BTreeMap::new(), ctx) in new()
478 ItemTraversal<'ctx, Paths<'ctx>, VecDeque<ItemId>>;
/third_party/skia/infra/bots/gen_tasks_logic/
Dgen_tasks_logic.go142 Paths: []string{
156 Paths: []string{"skia"},
405 Paths: []string{
418 Paths: []string{
426 Paths: []string{
435 Paths: []string{
446 Paths: []string{
453 Paths: []string{
465 Paths: []string{
472 Paths: []string{
[all …]

12345