Home
last modified time | relevance | path

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

/system/sepolicy/build/
Dfile_utils.py43 with open(input_file, 'r') as in_file:
44 tmp_output.writelines(line for line in in_file.readlines()
/system/extras/app-launcher/
Dcomputestatsf.c12 char *in_file; variable
55 in_file = argv[1]; in main()
56 in_fp = fopen(in_file, "r"); in main()
Dcomputestats.c12 char *in_file; variable
55 in_file = argv[1]; in main()
56 in_fp = fopen(in_file, "r"); in main()
/system/update_engine/payload_generator/
Ddeflate_utils.cc93 for (auto& in_file : *files) { // We need to modify so no constant. in RealignSplittedFiles()
95 ShiftExtentsOverExtents(file.extents, &in_file.extents)); in RealignSplittedFiles()
97 ShiftBitExtentsOverExtents(file.extents, &in_file.deflates)); in RealignSplittedFiles()
99 in_file.name = file.name + "/" + in_file.name; in RealignSplittedFiles()
100 num_blocks += utils::BlocksInExtents(in_file.extents); in RealignSplittedFiles()
Dgenerate_delta_main.cc81 const string& in_file) { in CalculateHashForSigning() argument
83 LOG_IF(FATAL, in_file.empty()) in CalculateHashForSigning()
90 in_file, sizes, &payload_hash, &metadata_hash)); in CalculateHashForSigning()
112 void SignPayload(const string& in_file, in SignPayload() argument
119 LOG_IF(FATAL, in_file.empty()) << "Must pass --in_file to sign payload."; in SignPayload()
127 CHECK(PayloadSigner::AddSignatureToPayload(in_file, in SignPayload()
143 int VerifySignedPayload(const string& in_file, const string& public_key) { in VerifySignedPayload() argument
145 LOG_IF(FATAL, in_file.empty()) in VerifySignedPayload()
149 if (!PayloadSigner::VerifySignedPayload(in_file, public_key)) { in VerifySignedPayload()
340 DEFINE_string(in_file, in Main()
/system/bt/gd/packet/parser/
Dmain.cc66 FILE* in_file = fopen(input_file.string().c_str(), "r"); in parse_declarations_one_file() local
67 if (in_file == nullptr) { in parse_declarations_one_file()
72 yyset_in(in_file, scanner); in parse_declarations_one_file()
82 fclose(in_file); in parse_declarations_one_file()
/system/libufdt/tests/src/
Dextract_dtb.c155 const char *in_file = argv[1]; in main() local
158 int ret = extract_dtbs(in_file, out_dtb_file, out_image_file); in main()
/system/update_engine/scripts/
Dbrillo_update_payload779 --in_file="${FLAGS_unsigned_payload}" \
809 --in_file="${FLAGS_unsigned_payload}"
834 --in_file="${FLAGS_payload}" \
863 GENERATOR_ARGS=( --in_file="${FLAGS_payload}" )
/system/update_engine/scripts/update_payload/
Dapplier.py438 with tempfile.NamedTemporaryFile(delete=False) as in_file:
439 in_file_name = in_file.name
440 in_file.write(in_data)
/system/sepolicy/tools/
Dcheck_seapp.c1111 static void parse_file(file_info *in_file) { in parse_file() argument
1128 while (fgets(line_buf, sizeof(line_buf) - 1, in_file->file)) { in parse_file()
1185 rule_map *r = rule_map_new(keys, token_cnt, lineno, in_file->name, is_never_allow); in parse_file()
1195 in_file->name, lineno, name, value); in parse_file()
1205 in_file->name, lineno, KVP_NUM_OF_RULES); in parse_file()
/system/core/fs_mgr/libsnapshot/
Dmake_cow_from_ab_ota.cpp82 PayloadConverter(const std::string& in_file, const std::string& out_dir) in PayloadConverter() argument
83 : in_file_(in_file), out_dir_(out_dir), source_tf_zip_(nullptr, &CloseArchive) {} in PayloadConverter()