/system/core/libziparchive/ |
D | zip_writer.cc | 219 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime() 223 if (fwrite(path, sizeof(*path), fileInfo.path.size(), file_) != fileInfo.path.size()) { in StartAlignedEntryWithTime() 228 fwrite(zero_padding.data(), 1, header.extra_field_length, file_) in StartAlignedEntryWithTime() 288 if (fwrite(data, 1, len, file_) != len) { in StoreBytes() 316 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes() 342 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 357 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes() 381 if (fwrite(&sig, sizeof(sig), 1, file_) != 1) { in FinishEntry() 390 if (fwrite(&dd, sizeof(dd), 1, file_) != 1) { in FinishEntry() 417 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish() [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/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/security/keystore/ |
D | keystore_cli.cpp | 142 fwrite(data, dataSize, 1, stdout); \ 188 fwrite(data, dataSize, 1, stdout); \
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.h | 49 CHECK_EQ(fwrite(contents.data(), in BufferToFile()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 142 ASSERT_EQ((size_t)1, fwrite(message, sizeof(message), 1, fp)); in TEST()
|
/system/core/adb/ |
D | line_printer.cpp | 65 fwrite(s.data(), 1, s.size(), stdout); in Out()
|
D | adb_auth_host.cpp | 195 if (fwrite(encoded, encoded_length, 1, outfile) != 1 || in write_public_keyfile() 196 fwrite(info, strlen(info), 1, outfile) != 1) { in write_public_keyfile()
|
D | sysdeps.h | 388 #define fwrite adb_fwrite macro
|
D | commandline.cpp | 348 fwrite(buffer_ptr, 1, length, outfile); in read_and_dump() 420 fwrite(buf, 1, len, stdout); in copy_to_file()
|
D | sysdeps_win32.cpp | 2678 #undef fwrite in adb_fwrite() 2679 return fwrite(ptr, size, nmemb, stream); in adb_fwrite()
|
D | adb.cpp | 586 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get()); in _redirect_pipe_thread()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cpp | 145 fwrite ((audioBuffer), 1, (size_t)bufferlen, outputPcmSampleFile); in BtifAvrcpAudioTrackWriteData()
|
D | btif_dm.c | 2885 fwrite (c , 1 , BT_OCTET16_LEN , fp ); in btif_dm_proc_loc_oob() 2886 fwrite (r , 1 , BT_OCTET16_LEN , fp ); in btif_dm_proc_loc_oob()
|
/system/bt/osi/test/ |
D | config_test.cpp | 56 fwrite(CONFIG_FILE_CONTENT, 1, sizeof(CONFIG_FILE_CONTENT), fp); in SetUp()
|
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 129 if (fwrite(buf, len, 1, record_fp_) != 1) { in Write()
|
/system/core/cpio/ |
D | mkbootfs.c | 134 fwrite(data, datasize, 1, stdout); in _eject()
|
/system/bt/bta/gatt/ |
D | bta_gattc_cache.c | 1594 if (fwrite(&cache_ver, sizeof(UINT16), 1, fd) != 1) { in bta_gattc_cache_write() 1600 if (fwrite(&num_attr, sizeof(UINT16), 1, fd) != 1) { in bta_gattc_cache_write() 1606 if (fwrite(attr, sizeof(tBTA_GATTC_NV_ATTR), num_attr, fd) != num_attr) { in bta_gattc_cache_write()
|
/system/extras/perfprofd/ |
D | perfprofdcore.cc | 512 if (fwrite(dtarget, fsiz, 1, fp) != 1) { in encode_to_proto()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 486 fwrite(&magic, sizeof(magic), 1, fp) != 1) { in metadata_find()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 62 fwrite(data.data() + offset, 1, to_write, fp.get()) == to_write); in WriteExtents()
|
/system/update_engine/common/ |
D | utils.cc | 1137 if (fwrite(contents.data(), 1, contents.size(), file) != contents.size()) { in DecodeAndStoreBase64String()
|