/system/core/libziparchive/ |
D | zip_writer.cc | 247 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime() 251 if (fwrite(path, sizeof(*path), file_entry.path.size(), file_) != file_entry.path.size()) { in StartAlignedEntryWithTime() 256 fwrite(zero_padding.data(), 1, file_entry.padding_length, file_) in StartAlignedEntryWithTime() 343 if (fwrite(data, 1, len, file_) != len) { in StoreBytes() 371 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes() 397 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 412 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 438 if (fwrite(&sig, sizeof(sig), 1, file_) != 1) { in FinishEntry() 446 if (fwrite(&dd, sizeof(dd), 1, file_) != 1) { in FinishEntry() 459 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in FinishEntry() [all …]
|
/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() 580 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 585 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 590 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 597 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_short() 615 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_float() 621 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); in sf_writef_float() 640 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); in sf_writef_int()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 27 ASSERT_EQ((size_t)1, fwrite(message, sizeof(message), 1, fp)); in TEST()
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | util.c | 476 fwrite(line->dat + a, matches[i].rm_so - a, 1, in printline() 481 fwrite(line->dat + matches[i].rm_so, in printline() 492 fwrite(line->dat + a, line->len - a, 1, stdout); in printline() 496 fwrite(line->dat, line->len, 1, stdout); in printline()
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 51 if (fwrite(&st, sizeof(st), 1, fp) != 1) { in files_db_write_objects() 204 if (fwrite(filename_cache, in store_filename_cache()
|
D | compile_ioshark.c | 666 if (fwrite(&header, sizeof(struct ioshark_header), 1, fp) != 1) { in main() 676 if (fwrite(disk_file_op, in main()
|
/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 | 142 fwrite(&data[0], data.size(), 1, stdout); \ 186 fwrite(&data[0], data.size(), 1, stdout); \
|
/system/core/adb/ |
D | commandline.h | 47 fwrite(buffer, 1, length, stream); in OnStream()
|
D | line_printer.cpp | 65 fwrite(s.data(), 1, s.size(), stdout); in Out()
|
D | sysdeps.h | 354 #define fwrite adb_fwrite macro
|
D | commandline.cpp | 404 fwrite(buf, 1, len, stdout); in copy_to_file() 1173 fwrite(buf, 1, bytes, stdout); in write_zeros()
|
/system/libufdt/utils/src/ |
D | mkdtimg_core.c | 178 fwrite(&header, sizeof(header), 1, img_fp); in output_img_header() 218 fwrite(&entry, sizeof(entry), 1, img_fp); in output_img_entry() 223 fwrite(fdt, fdt_file_size, 1, img_fp); in output_img_entry()
|
D | mkdtimg_dump.c | 69 if (fwrite(fdt, fdt_size, 1, out_fp) < 1) { in write_fdt_to_file()
|
/system/nfc/halimpl/pn54x/utils/ |
D | phNxpConfig.cpp | 639 fwrite(&m_timeStamp, sizeof(unsigned long), 1, fd); 658 fwrite(&m_timeStamp, sizeof(unsigned long), 1, fd); 717 fwrite(&m_timeStamp, sizeof(unsigned long), 1, fd); in updateTimestamp() 732 fwrite(&m_timeStamp, sizeof(unsigned long), 1, fd); in updateTimestamp()
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.h | 49 CHECK_EQ(fwrite(contents.data(), in BufferToFile()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 139 fwrite((audioBuffer), 1, (size_t)bufferlen, outputPcmSampleFile); in BtifAvrcpAudioTrackWriteData()
|
/system/bt/osi/test/ |
D | config_test.cc | 54 fwrite(CONFIG_FILE_CONTENT, 1, sizeof(CONFIG_FILE_CONTENT), fp); in SetUp()
|
/system/core/cpio/ |
D | mkbootfs.c | 136 fwrite(data, datasize, 1, stdout); in _eject()
|
/system/bt/bta/gatt/ |
D | bta_gattc_cache.cc | 1504 if (fwrite(&cache_ver, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_cache_write() 1510 if (fwrite(&num_attr, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_cache_write() 1517 if (fwrite(attr, sizeof(tBTA_GATTC_NV_ATTR), num_attr, fd) != num_attr) { in bta_gattc_cache_write()
|
/system/nvram/client/ |
D | nvram_client.c | 325 fwrite(buffer, sizeof(uint8_t), size, stdout); in HandleReadSpace()
|
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 169 if (fwrite(buf, len, 1, record_fp_) != 1) { in Write()
|
D | cmd_report_sample.cpp | 40 return fwrite(buffer, size, 1, out_fp_) == 1; in Write()
|
/system/extras/perfprofd/ |
D | perfprofdcore.cc | 527 if (fwrite(dtarget, fsiz, 1, fp) != 1) { in encode_to_proto()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 418 fwrite(&magic, sizeof(magic), 1, fp) != 1) { in metadata_find()
|