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.cc66 const vector<const FileDescriptor*>& parsed_files) in GeneratorResponseContext() argument
68 parsed_files_(parsed_files) {} in GeneratorResponseContext()
108 vector<const FileDescriptor*> parsed_files; in GenerateCode() local
110 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in GenerateCode()
111 if (parsed_files.back() == NULL) { in GenerateCode()
119 GeneratorResponseContext context(response, parsed_files); in GenerateCode()
124 parsed_files, request.parameter(), &context, &error); in GenerateCode()
134 for (int i = 0; i < parsed_files.size(); i++) { in GenerateCode()
135 const FileDescriptor* file = parsed_files[i]; in GenerateCode()
Dcommand_line_interface.cc343 GeneratorContextImpl(const vector<const FileDescriptor*>& parsed_files);
413 const vector<const FileDescriptor*>& parsed_files) in GeneratorContextImpl() argument
414 : parsed_files_(parsed_files), in GeneratorContextImpl()
767 vector<const FileDescriptor*> parsed_files; in Run() local
776 parsed_files.push_back(parsed_file); in Run()
803 *map_slot = new GeneratorContextImpl(parsed_files); in Run()
806 if (!GenerateOutput(parsed_files, output_directives_[i], *map_slot)) { in Run()
836 if (!GenerateDependencyManifestFile(parsed_files, output_directories, in Run()
845 if (!WriteDescriptorSet(parsed_files)) { in Run()
872 for (int i = 0; i < parsed_files.size(); ++i) { in Run()
[all …]
Dcommand_line_interface.h238 bool GenerateOutput(const vector<const FileDescriptor*>& parsed_files,
241 bool GeneratePluginOutput(const vector<const FileDescriptor*>& parsed_files,
251 bool WriteDescriptorSet(const vector<const FileDescriptor*> parsed_files);
255 const vector<const FileDescriptor*>& parsed_files,
/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.h8260 FileDef** parsed_files = upb_loaddescriptor(buf, n, &parsed_files, status);
8262 if (parsed_files) {
8263 FileDef** p = parsed_files;
8265 files->push_back(reffed_ptr<FileDef>(*p, &parsed_files));
8268 free(parsed_files);