Home
last modified time | relevance | path

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

/external/selinux/libselinux/utils/
Dsefcontext_compile.c184 uint32_t to_write; in write_binary_file() local
187 to_write = strlen(context) + 1; in write_binary_file()
188 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
193 len = fwrite(context, sizeof(char), to_write, bin_file); in write_binary_file()
194 if (len != to_write) in write_binary_file()
198 to_write = strlen(regex_str) + 1; in write_binary_file()
199 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
204 len = fwrite(regex_str, sizeof(char), to_write, bin_file); in write_binary_file()
205 if (len != to_write) in write_binary_file()
209 to_write = mode; in write_binary_file()
[all …]
/external/mesa3d/src/compiler/
Dblob.c132 size_t to_write) in blob_overwrite_bytes() argument
135 if (offset + to_write < offset || blob->size < offset + to_write) in blob_overwrite_bytes()
138 VG(VALGRIND_CHECK_MEM_IS_DEFINED(bytes, to_write)); in blob_overwrite_bytes()
141 memcpy(blob->data + offset, bytes, to_write); in blob_overwrite_bytes()
147 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write) in blob_write_bytes() argument
149 if (! grow_to_fit(blob, to_write)) in blob_write_bytes()
152 VG(VALGRIND_CHECK_MEM_IS_DEFINED(bytes, to_write)); in blob_write_bytes()
155 memcpy(blob->data + blob->size, bytes, to_write); in blob_write_bytes()
156 blob->size += to_write; in blob_write_bytes()
162 blob_reserve_bytes(struct blob *blob, size_t to_write) in blob_reserve_bytes() argument
[all …]
Dblob.h126 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write);
139 blob_reserve_bytes(struct blob *blob, size_t to_write);
173 size_t to_write);
/external/selinux/libselinux/src/
Dregex.c166 uint32_t to_write = 0; in regex_writef() local
177 to_write = serialized_size; in regex_writef()
181 len = fwrite(&to_write, sizeof(uint32_t), 1, fp); in regex_writef()
189 len = fwrite(bytes, 1, to_write, fp); in regex_writef()
190 if (len != to_write) in regex_writef()
394 uint32_t to_write; in regex_writef() local
404 to_write = size; in regex_writef()
405 len = fwrite(&to_write, sizeof(uint32_t), 1, fp); in regex_writef()
410 len = fwrite(regex->regex, 1, to_write, fp); in regex_writef()
411 if (len != to_write) in regex_writef()
[all …]
/external/u-boot/drivers/mtd/ubi/
Dupd.c275 int lnum, offs, err = 0, len, to_write = count; in ubi_more_update_data() local
277 int lnum, err = 0, len, to_write = count; in ubi_more_update_data()
289 to_write = count = vol->upd_bytes - vol->upd_received; in ubi_more_update_data()
370 err = to_write; in ubi_more_update_data()
/external/toolchain-utils/deprecated/
Dsheriff_rotation.py60 def WriteSheriffsAsList(self, to_write): argument
62 f.write('\n'.join(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()
/external/tensorflow/tensorflow/lite/toco/
Dtoco_port.cc246 size_t to_write = contents.size() - i; in SetContents() local
247 ssize_t written = write(fd, &contents[i], to_write); in SetContents()
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/writeback/writeback_single_inode_start/
Dformat17 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/writeback/writeback_single_inode/
Dformat17 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/writeback/writeback_single_inode/
Dformat17 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/writeback/writeback_single_inode_start/
Dformat17 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/writeback/writeback_single_inode/
Dformat18 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/writeback/writeback_single_inode_requeue/
Dformat18 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu", RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/writeback/writeback_single_inode_start/
Dformat18 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu cgro…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/writeback/writeback_single_inode/
Dformat18 print fmt: "bdi %s: ino=%lu state=%s dirtied_when=%lu age=%lu index=%lu to_write=%ld wrote=%lu cgro…
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dinput_pipeline_test.py41 def _make_csv_temp_file(to_write, test_tmpdir): argument
45 for record in to_write:
/external/brotli/c/dec/
Ddecode.c1262 size_t to_write = UnwrittenBytes(s, BROTLI_TRUE); in WriteRingBuffer() local
1264 if (num_written > to_write) { in WriteRingBuffer()
1265 num_written = to_write; in WriteRingBuffer()
1279 BROTLI_LOG_UINT(to_write); in WriteRingBuffer()
1285 if (num_written < to_write) { in WriteRingBuffer()
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py1528 to_write = [
1534 paths = " and ".join([x[0] for x in to_write])
1537 for path, data in to_write:
/external/nanopb-c/generator/
Dnanopb_generator.py1639 to_write = [
1645 paths = " and ".join([x[0] for x in to_write])
1648 for path, data in to_write: