Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/tests/java_api/RSUnitTests/
DRSUnitTests.py322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file:
323 out_file.write(
331 out_file.write(line)
338 with open(out_path, 'w') as out_file:
339 out_file.write(
344 out_file.write(in_file.read())
/frameworks/ml/nn/tools/test_generator/
Dspec_visualizer.py231 def DumpHtml(spec_file, out_file): argument
237 with open(out_file, "w") as out_fd:
255 spec_file, out_file = ParseCmdLine() variable
259 DumpHtml(spec_file, out_file)
260 print("Output HTML file: %s" % out_file)
/frameworks/rs/
Dupdate-prebuilts.py126 with open(out_file_path, 'w') as out_file:
130 stdout=out_file)
/frameworks/base/startop/view_compiler/
Ddex_testcase_generator.cc36 std::ofstream out_file(outdir + "/trivial.dex"); in GenerateTrivialDexFile() local
37 out_file.write(image.ptr<const char>(), image.size()); in GenerateTrivialDexFile()
342 std::ofstream out_file(outdir + "/simple.dex"); in GenerateSimpleTestCases() local
343 out_file.write(image.ptr<const char>(), image.size()); in GenerateSimpleTestCases()
Ddex_builder.cc181 std::ofstream out_file(filename); in WriteTestDexFile() local
182 out_file.write(image.ptr<const char>(), image.size()); in WriteTestDexFile()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.h65 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file);
DProtoSerialize.cpp640 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file) { in SerializeCompiledFileToPb() argument
641 out_file->set_resource_name(file.name.to_string()); in SerializeCompiledFileToPb()
642 out_file->set_source_path(file.source.path); in SerializeCompiledFileToPb()
643 out_file->set_type(SerializeFileReferenceTypeToPb(file.type)); in SerializeCompiledFileToPb()
644 SerializeConfig(file.config, out_file->mutable_config()); in SerializeCompiledFileToPb()
647 pb::internal::CompiledFile_Symbol* pb_symbol = out_file->add_exported_symbol(); in SerializeCompiledFileToPb()
DProtoDeserialize.h61 ResourceFile* out_file, std::string* out_error);
DProtoDeserialize.cpp582 ResourceFile* out_file, std::string* out_error) { in DeserializeCompiledFileFromPb() argument
591 out_file->name = name_ref.ToResourceName(); in DeserializeCompiledFileFromPb()
592 out_file->source.path = pb_file.source_path(); in DeserializeCompiledFileFromPb()
593 out_file->type = DeserializeFileReferenceTypeFromPb(pb_file.type()); in DeserializeCompiledFileFromPb()
596 if (!DeserializeConfigFromPb(pb_file.config(), &out_file->config, &config_error)) { in DeserializeCompiledFileFromPb()
616 out_file->exported_symbols.push_back(SourcedResourceName{name_ref.ToResourceName(), line}); in DeserializeCompiledFileFromPb()
/frameworks/base/tools/aapt2/format/
DContainer.h63 bool GetResFileOffsets(pb::internal::CompiledFile* out_file, off64_t* out_offset,
DContainer.cpp202 bool ContainerReaderEntry::GetResFileOffsets(pb::internal::CompiledFile* out_file, in GetResFileOffsets() argument
243 if (!out_file->ParseFromCodedStream(&coded_in)) { in GetResFileOffsets()