Home
last modified time | relevance | path

Searched refs:to_write (Results 1 – 4 of 4) sorted by relevance

/external/libselinux/utils/
Dsefcontext_compile.c149 uint32_t to_write; in write_binary_file() local
153 to_write = strlen(context) + 1; in write_binary_file()
154 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
159 len = fwrite(context, sizeof(char), to_write, bin_file); in write_binary_file()
160 if (len != to_write) in write_binary_file()
164 to_write = strlen(regex_str) + 1; in write_binary_file()
165 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
170 len = fwrite(regex_str, sizeof(char), to_write, bin_file); in write_binary_file()
171 if (len != to_write) in write_binary_file()
175 to_write = mode; in write_binary_file()
[all …]
/external/selinux/libselinux/utils/
Dsefcontext_compile.c167 uint32_t to_write; in write_binary_file() local
171 to_write = strlen(context) + 1; in write_binary_file()
172 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
177 len = fwrite(context, sizeof(char), to_write, bin_file); in write_binary_file()
178 if (len != to_write) in write_binary_file()
182 to_write = strlen(regex_str) + 1; in write_binary_file()
183 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
188 len = fwrite(regex_str, sizeof(char), to_write, bin_file); in write_binary_file()
189 if (len != to_write) in write_binary_file()
193 to_write = mode; in write_binary_file()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dvarblock.py91 to_write = value & 0x7f
95 to_write |= 0x80
97 outfile.write(byte(to_write))
/external/tinycompress/
Dcompress.c355 int to_write = 0; /* zero indicates we haven't written yet */ in compress_write() local
396 to_write = avail.avail; in compress_write()
398 to_write = size; in compress_write()
399 written = write(compress->fd, cbuf, to_write); in compress_write()