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/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.h80 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file);
DProtoDeserialize.h61 ResourceFile* out_file, std::string* out_error);
DProtoSerialize.cpp720 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file) { in SerializeCompiledFileToPb() argument
721 out_file->set_resource_name(file.name.to_string()); in SerializeCompiledFileToPb()
722 out_file->set_source_path(file.source.path); in SerializeCompiledFileToPb()
723 out_file->set_type(SerializeFileReferenceTypeToPb(file.type)); in SerializeCompiledFileToPb()
724 SerializeConfig(file.config, out_file->mutable_config()); in SerializeCompiledFileToPb()
727 pb::internal::CompiledFile_Symbol* pb_symbol = out_file->add_exported_symbol(); in SerializeCompiledFileToPb()
DProtoDeserialize.cpp598 ResourceFile* out_file, std::string* out_error) { in DeserializeCompiledFileFromPb() argument
607 out_file->name = name_ref.ToResourceName(); in DeserializeCompiledFileFromPb()
608 out_file->source.path = pb_file.source_path(); in DeserializeCompiledFileFromPb()
609 out_file->type = DeserializeFileReferenceTypeFromPb(pb_file.type()); in DeserializeCompiledFileFromPb()
612 if (!DeserializeConfigFromPb(pb_file.config(), &out_file->config, &config_error)) { in DeserializeCompiledFileFromPb()
632 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()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp351 unique_fd out_file, in_file; in TEST_F() local
352 ASSERT_TRUE(base::Pipe(&out_file, &in_file)); in TEST_F()
355 file_descriptors.push_back(ParcelFileDescriptor(std::move(out_file))); in TEST_F()