Home
last modified time | relevance | path

Searched refs:in_file (Results 1 – 10 of 10) 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/
Dgenerate_delta_main.cc109 const string& in_file) { in CalculateHashForSigning() argument
111 LOG_IF(FATAL, in_file.empty()) in CalculateHashForSigning()
118 in_file, sizes, &payload_hash, &metadata_hash)); in CalculateHashForSigning()
140 void SignPayload(const string& in_file, in SignPayload() argument
147 LOG_IF(FATAL, in_file.empty()) << "Must pass --in_file to sign payload."; in SignPayload()
155 CHECK(PayloadSigner::AddSignatureToPayload(in_file, in SignPayload()
171 int VerifySignedPayload(const string& in_file, const string& public_key) { in VerifySignedPayload() argument
173 LOG_IF(FATAL, in_file.empty()) in VerifySignedPayload()
177 if (!PayloadSigner::VerifySignedPayload(in_file, public_key)) { in VerifySignedPayload()
331 DEFINE_string(in_file, in Main()
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()
/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_payload734 --in_file="${FLAGS_unsigned_payload}" \
764 --in_file="${FLAGS_unsigned_payload}"
789 --in_file="${FLAGS_payload}" \
818 GENERATOR_ARGS=( --in_file="${FLAGS_payload}" )
/system/bt/gd/packet/parser/
Dmain.cc68 FILE* in_file = fopen(input_file.string().c_str(), "r"); in parse_declarations_one_file() local
69 if (in_file == nullptr) { in parse_declarations_one_file()
74 yyset_in(in_file, scanner); in parse_declarations_one_file()
84 fclose(in_file); in parse_declarations_one_file()
/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.c1061 static void parse_file(file_info *in_file) { in parse_file() argument
1078 while (fgets(line_buf, sizeof(line_buf) - 1, in_file->file)) { in parse_file()
1135 rule_map *r = rule_map_new(keys, token_cnt, lineno, in_file->name, is_never_allow); in parse_file()
1145 in_file->name, lineno, name, value); in parse_file()
1155 in_file->name, lineno, KVP_NUM_OF_RULES); in parse_file()