/optee_os-3.20.0/scripts/ |
A D | ts_bin_to_c.py | 97 f.write('\t\t') 101 f.write('\n') 103 f.write(' ') 134 f.write('};\n') 141 f.write('};\n') 146 f.write('. image = {') 152 f.write('\t.uuid = {\n') 160 f.write('\t\t\t') 162 f.write('\n\t\t},\n\t},\n') 170 f.write('}\n') [all …]
|
A D | gen_stmm_hex.py | 36 outf.write('/* Automatically generated, do no edit */\n') 37 outf.write('const unsigned char stmm_image[] = {\n') 41 outf.write('\t') 42 outf.write('0x{:02x},'.format(bytes[i])) 45 outf.write('\n') 47 outf.write(' ') 48 outf.write('};\n') 50 outf.write('const unsigned int stmm_image_size = sizeof(stmm_image);\n') 51 outf.write('const unsigned int stmm_image_uncompressed_size = '
|
A D | bin_to_c.py | 47 f.write('/* Generated from ' + args.bin + ' by ' + 49 f.write('#include <compiler.h>\n') 50 f.write('#include <stdint.h>\n') 52 f.write('__extension__ const char ' + args.vname + '[] = {\n') 54 f.write('__extension__ const uint8_t ' + args.vname + '[] ' + 59 f.write('\t\t') 63 f.write(hex(bytes[i]) + ',') 66 f.write('\n') 68 f.write(' ') 69 f.write('};\n')
|
A D | pem_to_pub_c.py | 51 f.write("#include <stdint.h>\n") 52 f.write("#include <stddef.h>\n\n") 53 f.write("const uint32_t " + args.prefix + "_exponent = " + 55 f.write("const uint8_t " + args.prefix + "_modulus[] = {\n") 59 f.write("0x" + '{0:02x}'.format(x) + ",") 62 f.write("\n") 64 f.write(" ") 65 f.write("};\n") 66 f.write("const size_t " + args.prefix + "_modulus_size = sizeof(" +
|
A D | gen_ldelf_hex.py | 96 outf.write(b' __aligned(4096) = {\n') 104 outf.write(b'\t') 105 outf.write(b'0x' + '{:02x}'.format(data[j]).encode('utf-8') 109 outf.write(b'\n') 111 outf.write(b' ') 113 outf.write(b'};\n') 115 outf.write(b'const unsigned int ldelf_code_size = %d;\n' % code_size) 140 outf.write(b'/* Automatically generated, do no edit */\n') 141 outf.write(b'#include <compiler.h>\n') 142 outf.write(b'#include <stdint.h>\n') [all …]
|
A D | gen_tee_bin.py | 249 outf.write(get_pager_bin(elffile)) 253 outf.write(get_pageable_bin(elffile)) 269 outf.write(pager_bin) 270 outf.write(pageable_bin[:init_bin_size]) 271 outf.write(embdata_bin) 272 outf.write(pageable_bin[init_bin_size:]) 299 outf.write(pager_bin) 300 outf.write(pageable_bin[:init_bin_size]) 301 outf.write(embdata_bin) 335 outf.write(pager_bin) [all …]
|
A D | symbolize.py | 420 def write(self, line): member in Symbolizer 427 self._out.write(line[:pre]) 428 self._out.write(addr) 439 self._out.write(' ' + res) 440 self._out.write(line[post:]) 451 self._out.write(line[:pre]) 454 self._out.write(res_arr[0]) 459 self._out.write(line) 487 self._out.write(line) 534 self._out.write(line) [all …]
|
A D | sign_encrypt.py | 806 def write(self, outf): member in BinaryImage 811 f.write(self.shdr) 812 f.write(self.img_digest) 813 f.write(self.sig) 818 f.write(self.ehdr) 819 f.write(self.nonce) 820 f.write(self.tag) 823 f.write(self.img) 843 ta_image.write(args.outf) 854 image.write(args.outf) [all …]
|
A D | update_changelog.py | 42 f.write(text + '\n' + current_content)
|
A D | get_maintainer.py | 124 of.write(line) 234 f.write(urlopen(url).read())
|
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/ |
A D | stm32image.py | 46 dest_fd.write(struct.pack('<I', hdr_magic_number)) 49 dest_fd.write(b'\x00' * 64) 52 dest_fd.write(struct.pack('<IBBBBIIIIIIII', 68 dest_fd.write(b'\x00' * 64) 71 dest_fd.write(b'\x00' * 83) 72 dest_fd.write(struct.pack('<B', bintype)) 80 dest_fd.write(b'\x00' * header_size) 85 dest_fd.write(mmsrc[:sizesrc])
|
/optee_os-3.20.0/core/arch/arm/plat-amlogic/scripts/ |
A D | aml_bin2img.py | 28 dest_fd.write(struct.pack('<IIQQQQQ', 38 dest_fd.write(b'\x00' * 464) 47 dest_fd.write(b'\x00' * header_size) 52 dest_fd.write(mmsrc[:sizesrc])
|
/optee_os-3.20.0/lib/libutils/isoc/include/ |
A D | unistd.h | 15 ssize_t write(int fd, const void *buf, size_t count);
|
/optee_os-3.20.0/lib/libutils/isoc/ |
A D | write.c | 10 ssize_t write(int fd, const void *buf, size_t count) in write() function
|
A D | fwrite.c | 21 return write(fd, ptr, size * nmemb); in fwrite()
|
A D | sub.mk | 36 srcs-y += write.c
|
/optee_os-3.20.0/core/arch/arm/plat-totalcompute/fdts/ |
A D | optee_sp_manifest.dts | 33 attributes = <0x3>; /* read-write */
|
/optee_os-3.20.0/core/include/tee/ |
A D | fs_dirfile.h | 43 TEE_Result (*write)(struct tee_file_handle *fh, size_t pos, member
|
A D | tee_fs.h | 42 TEE_Result (*write)(struct tee_file_handle *fh, size_t pos, member
|
/optee_os-3.20.0/core/arch/arm/dts/ |
A D | stm32mp15xx-dhcom-som.dtsi | 172 st,fmc2-ebi-cs-write-address-setup-ns = <5>; 173 st,fmc2-ebi-cs-write-address-hold-ns = <5>; 174 st,fmc2-ebi-cs-write-bus-turnaround-ns = <5>; 175 st,fmc2-ebi-cs-write-data-setup-ns = <45>; 176 st,fmc2-ebi-cs-write-data-hold-ns = <1>;
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | arm32_sysreg.txt | 93 ATS12NSOPW c7 0 c8 5 WO Stages 1 and 2 Non-secure only PL1 write 95 ATS12NSOUW c7 0 c8 7 WO Stages 1 and 2 Non-secure only unprivileged write 97 ATS1CPW c7 0 c8 1 WO Stage 1 Current state PL1 write 99 ATS1CUW c7 0 c8 3 WO Stage 1 Current state unprivileged write 101 ATS1HW c7 4 c8 1 WO Stage 1 Hyp mode write
|
/optee_os-3.20.0/core/lib/zlib/ |
A D | gzguts.h | 50 # define write _write macro
|
/optee_os-3.20.0/core/include/drivers/ |
A D | stm32_i2c.h | 230 bool write);
|
/optee_os-3.20.0/core/kernel/ |
A D | ree_fs_ta.c | 117 res = ops->write(fh, 0, &db_hdr, sizeof(db_hdr)); in check_update_version() 158 res = ops->write(fh, sizeof(db_hdr) + (i * len), in check_update_version() 167 res = ops->write(fh, sizeof(db_hdr) + (db_hdr.nb_entries * len), in check_update_version() 173 res = ops->write(fh, 0, &db_hdr, sizeof(db_hdr)); in check_update_version()
|
/optee_os-3.20.0/core/drivers/ |
A D | stm32_i2c.c | 1218 bool write) in stm32_i2c_read_write_membyte() argument 1235 hi2c->i2c_state = write ? I2C_STATE_BUSY_TX : I2C_STATE_BUSY_RX; in stm32_i2c_read_write_membyte() 1239 write ? I2C_RELOAD_MODE : I2C_SOFTEND_MODE, in stm32_i2c_read_write_membyte() 1248 if (write) in stm32_i2c_read_write_membyte() 1259 write ? I2C_NO_STARTSTOP : I2C_GENERATE_START_READ); in stm32_i2c_read_write_membyte() 1262 if (write) { in stm32_i2c_read_write_membyte()
|