Home
last modified time | relevance | path

Searched refs:parsed_files (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dplugin.cc67 const std::vector<const FileDescriptor*>& parsed_files) in GeneratorResponseContext() argument
70 parsed_files_(parsed_files) {} in GeneratorResponseContext()
115 std::vector<const FileDescriptor*> parsed_files; in GenerateCode() local
117 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in GenerateCode()
118 if (parsed_files.back() == NULL) { in GenerateCode()
128 parsed_files); in GenerateCode()
132 bool succeeded = generator.GenerateAll(parsed_files, request.parameter(), in GenerateCode()
Dcommand_line_interface.h276 std::vector<const FileDescriptor*>* parsed_files);
280 bool GenerateOutput(const std::vector<const FileDescriptor*>& parsed_files,
284 const std::vector<const FileDescriptor*>& parsed_files,
293 const std::vector<const FileDescriptor*>& parsed_files);
297 const std::vector<const FileDescriptor*>& parsed_files,
Dcommand_line_interface.cc368 GeneratorContextImpl(const std::vector<const FileDescriptor*>& parsed_files);
446 const std::vector<const FileDescriptor*>& parsed_files) in GeneratorContextImpl() argument
447 : parsed_files_(parsed_files), had_error_(false) {} in GeneratorContextImpl()
834 std::vector<const FileDescriptor*> parsed_files; in Run() local
881 if (!ParseInputFiles(descriptor_pool.get(), &parsed_files)) { in Run()
903 *map_slot = new GeneratorContextImpl(parsed_files); in Run()
906 if (!GenerateOutput(parsed_files, output_directives_[i], *map_slot)) { in Run()
937 if (!GenerateDependencyManifestFile(parsed_files, output_directories, in Run()
946 if (!WriteDescriptorSet(parsed_files)) { in Run()
977 for (int i = 0; i < parsed_files.size(); ++i) { in Run()
[all …]
/external/python/cpython3/Lib/test/
Dtest_configparser.py716 parsed_files = cf.read([file1, "nonexistent-file"])
717 self.assertEqual(parsed_files, [file1])
721 parsed_files = cf.read(file1)
722 self.assertEqual(parsed_files, [file1])
726 parsed_files = cf.read(pathlib.Path(file1))
727 self.assertEqual(parsed_files, [file1])
731 parsed_files = cf.read([pathlib.Path(file1), file1])
732 self.assertEqual(parsed_files, [file1, file1])
736 parsed_files = cf.read(["nonexistent-file"])
737 self.assertEqual(parsed_files, [])
[all …]
/external/python/cpython2/Lib/test/
Dtest_cfgparser.py303 parsed_files = cf.read([file1, "nonexistent-file"])
304 self.assertEqual(parsed_files, [file1])
308 parsed_files = cf.read(file1)
309 self.assertEqual(parsed_files, [file1])
313 parsed_files = cf.read(["nonexistent-file"])
314 self.assertEqual(parsed_files, [])
317 parsed_files = cf.read([])
318 self.assertEqual(parsed_files, [])
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h10322 FileDef** parsed_files = upb_loaddescriptor(buf, n, &parsed_files, status);
10324 if (parsed_files) {
10325 FileDef** p = parsed_files;
10327 files->push_back(reffed_ptr<FileDef>(*p, &parsed_files));
10330 free(parsed_files);