/system/libziparchive/ |
D | zip_writer.cc | 275 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime() 279 if (fwrite(path.data(), 1, path.size(), file_) != path.size()) { in StartAlignedEntryWithTime() 283 if (file_entry.padding_length != 0 && fwrite(zero_padding, 1, file_entry.padding_length, in StartAlignedEntryWithTime() 377 if (fwrite(data, 1, len, file_) != len) { in StoreBytes() 405 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes() 432 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 448 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 483 if (fwrite(dataDescriptor.data(), dataDescriptor.size() * sizeof(uint32_t), 1, file_) != 1) { in FinishEntry() 497 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in FinishEntry() 535 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish() [all …]
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 205 if (fwrite(filename_cache, in store_filename_cache() 223 return fwrite(header, sizeof(struct ioshark_header), 1, fp); in ioshark_write_header() 232 return fwrite(state, sizeof(struct ioshark_file_state), 1, fp); in ioshark_write_file_state() 279 return fwrite(file_op, sizeof(struct ioshark_file_operation), 1, fp); in ioshark_write_file_op()
|
D | convert_format.c | 147 if (fwrite(&new_header, sizeof(struct ioshark_header), in main() 173 if (fwrite(&new_file_state, in main() 274 if (fwrite(&new_disk_file_op, in main()
|
/system/media/audio_utils/ |
D | tinysndfile.c | 366 (void) fwrite(wav, 44 + extra, 1, stream); in sf_open_write() 413 (void) fwrite(wav, 44 + extra, 1, handle->stream); in sf_close() 574 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 579 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 584 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 591 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 609 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_float() 615 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_float() 634 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_int()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 32 ASSERT_EQ((size_t)1, fwrite(message, sizeof(message), 1, fp)); in TEST()
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 116 size_t bytes = fwrite(&sp_start, 1, sizeof(sp_start), fp.get()); in SaveStack() 123 bytes = fwrite(buffer.data(), 1, buffer.size(), fp.get()); in SaveStack() 156 size_t bytes_written = fwrite(buffer.data(), 1, bytes, output.get()); in CreateElfFromMemory() 189 size_t bytes_written = fwrite(buffer.data(), 1, bytes, output.get()); in CopyElfFromFile()
|
/system/libufdt/tests/src/ |
D | util.c | 71 if (fwrite(buf, 1, buf_size, fout) < 1) { in write_buf_to_file()
|
/system/security/keystore/ |
D | keystore_cli.cpp | 130 fwrite(&data[0], data.size(), 1, stdout); \ 172 fwrite(&data[0], data.size(), 1, stdout); \
|
/system/libufdt/utils/src/ |
D | mkdtimg_core.c | 190 fwrite(&header, sizeof(header), 1, img_fp); in output_img_header() 226 fwrite(&entry, sizeof(entry), 1, img_fp); in output_img_entry() 230 fwrite(fdt, fdt_file_size, 1, img_fp); in output_img_entry()
|
D | mkdtimg_dump.c | 68 if (fwrite(fdt, fdt_size, 1, out_fp) < 1) { in write_fdt_to_file()
|
/system/core/adb/client/ |
D | commandline.h | 51 fwrite(buffer, 1, length, stream); in OnStream()
|
D | line_printer.cpp | 67 fwrite(s.data(), 1, s.size(), stdout); in Out()
|
D | commandline.cpp | 402 fwrite(buf.data(), 1, len, stdout); in copy_to_file() 1133 fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); in adb_root() 1226 fwrite(buf.data(), 1, bytes, stdout); in write_zeros()
|
/system/nfc/utils/test/ |
D | config_test.cc | 60 fwrite(SIMPLE_CONFIG, 1, sizeof(SIMPLE_CONFIG), fp); in SetUp()
|
/system/media/audio_utils/tests/ |
D | biquad_filter.cpp | 137 fwrite(out.data(), ioFrameSize, frameLength, fout.get()); in main()
|
/system/bt/bta/gatt/ |
D | bta_gattc_cache.cc | 783 if (fwrite(&cache_ver, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_cache_write() 790 if (fwrite(&num_attr, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_cache_write() 797 if (fwrite(attr.data(), sizeof(StoredAttribute), num_attr, fd) != num_attr) { in bta_gattc_cache_write()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 206 fwrite((audioBuffer), 1, (size_t)bufferLength, outputPcmSampleFile); in BtifAvrcpAudioTrackWriteData()
|
/system/bt/osi/test/ |
D | config_test.cc | 79 ASSERT_EQ(fwrite(CONFIG_FILE_CONTENT, 1, sizeof(CONFIG_FILE_CONTENT), fp), in SetUp()
|
/system/core/cpio/ |
D | mkbootfs.c | 137 fwrite(data, datasize, 1, stdout); in _eject()
|
/system/extras/simpleperf/ |
D | cmd_report_sample.cpp | 49 return fwrite(buffer, size, 1, out_fp_) == 1; in Write() 190 fwrite(&PROT_FILE_VERSION, sizeof(uint16_t), 1, report_fp_) != 1u) { in Run()
|
D | CallChainJoiner.cpp | 199 if (fwrite(data.data(), size, 1, fp) != 1) { in WriteCallChain()
|
D | record_file_writer.cpp | 176 if (len != 0u && fwrite(buf, len, 1, record_fp_) != 1) { in Write()
|
/system/nvram/client/ |
D | nvram_client.c | 325 fwrite(buffer, sizeof(uint8_t), size, stdout); in HandleReadSpace()
|
/system/core/adb/ |
D | sysdeps.h | 269 #define fwrite adb_fwrite macro
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 62 TEST_AND_RETURN_FALSE(fwrite(data.data() + offset, 1, to_write, fp.get()) == in WriteExtents()
|