Home
last modified time | relevance | path

Searched refs:f (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/tools/ota/
Dconvert-to-bmp.py67 f = open(outfile, "wb") variable
68 f.write(header)
69 f.write(info)
73 f.write(data[i+2]) # B
74 f.write(data[i+1]) # G
75 f.write(data[i+0]) # R
76 f.write(data[i+3]) # A
77 f.close()
/bootable/recovery/
Dinstall.c78 FILE* f = fopen(filename, "rb"); in handle_firmware_update() local
79 if (f == NULL) { in handle_firmware_update()
83 if (fread(data, 1, data_size, f) != data_size) { in handle_firmware_update()
87 fclose(f); in handle_firmware_update()
278 FILE* f = fopen(filename, "r"); in load_keys() local
279 if (f == NULL) { in load_keys()
290 if (fscanf(f, " { %i , %i , { %i", in load_keys()
299 if (fscanf(f, " , %i", &(key->n[i])) != 1) goto exit; in load_keys()
301 if (fscanf(f, " } , { %i", &(key->rr[0])) != 1) goto exit; in load_keys()
303 if (fscanf(f, " , %i", &(key->rr[i])) != 1) goto exit; in load_keys()
[all …]
/bootable/recovery/updater/
Dinstall.c333 FILE* f = fopen(dest_path, "wb"); in PackageExtractFileFn() local
334 if (f == NULL) { in PackageExtractFileFn()
339 success = mzExtractZipEntryToFile(za, entry, fileno(f)); in PackageExtractFileFn()
340 fclose(f); in PackageExtractFileFn()
493 FILE* f = fopen(filename, "rb"); in FileGetPropFn() local
494 if (f == NULL) { in FileGetPropFn()
500 if (fread(buffer, 1, st.st_size, f) != st.st_size) { in FileGetPropFn()
503 fclose(f); in FileGetPropFn()
508 fclose(f); in FileGetPropFn()
602 FILE* f = fopen(filename, "rb"); in WriteRawImageFn() local
[all …]
/bootable/diskinstaller/
Dconfig.mk28 f=$(patsubst $(1)/%,$(2)/%,$(_f)); \
29 mkdir -p `dirname $$f`; \
30 echo "Copy: $$f" ; \
31 cp -fR $(_f) $$f; \
/bootable/recovery/edify/
Dmain.c183 FILE* f = fopen(argv[1], "r"); in main() local
185 int size = fread(buffer, 1, 8191, f); in main()
186 fclose(f); in main()
DREADME102 concat(a;b;c, d, e;f) # evaluates to "cdf"