Home
last modified time | relevance | path

Searched refs:fwrite (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/system/embdrv/lc3/tools/
Dlc3bin.c97 fwrite(&hdr, sizeof(hdr), 1, fp); in lc3bin_write_header()
107 fwrite(&nbytes, sizeof(nbytes), 1, fp); in lc3bin_write_data()
109 fwrite(data, 1, nbytes, fp); in lc3bin_write_data()
Dwave.c168 fwrite(&header, sizeof(header), 1, fp); in wave_write_header()
178 fwrite(pcm + nch * off * samplesize, nch * samplesize, count, fp); in wave_write_pcm()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp96 if (fwrite(bufferSize, SIZE_OF_BUFFER_SIZE_FIELD, 1 /* count */, file) < 1) { in writeBufferToFileTail()
132 if (originalBufSize > 0 && fwrite(buffer->getBuffer(false /* usesAdditionalBuffer */), in writeBufferToFile()
137 if (additionalBufSize > 0 && fwrite(buffer->getBuffer(true /* usesAdditionalBuffer */), in writeBufferToFile()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_db_storage.cc180 if (fwrite(&cache_ver, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_store_db()
187 if (fwrite(&num_attr, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_store_db()
194 if (fwrite(attr.data(), sizeof(StoredAttribute), num_attr, fd) != num_attr) { in bta_gattc_store_db()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilewritestream.h60 size_t result = fwrite(buffer_, 1, static_cast<size_t>(current_ - buffer_), fp_); in Flush()
/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp116 size_t bytesWritten = fwrite(cfgProto.data(), 1, cfgProto.size(), writePipeStream); in CollectPerfettoTraceAndUploadToDropbox()
/packages/modules/adb/client/
Dcommandline.h59 bool okay = (fwrite(buffer, 1, length, stream) == length); in OnStream()
Dline_printer.cpp67 fwrite(s.data(), 1, s.size(), stdout); in Out()
Dcommandline.cpp411 fwrite(buf.data(), 1, len, stdout); in copy_to_file()
1125 fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); in adb_root()
1218 fwrite(buf.data(), 1, bytes, stdout); in write_zeros()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_avrcp_audio_track.cc206 fwrite((audioBuffer), 1, (size_t)bufferLength, outputPcmSampleFile); in BtifAvrcpAudioTrackWriteData()
/packages/modules/Bluetooth/system/osi/test/
Dconfig_test.cc79 ASSERT_EQ(fwrite(CONFIG_FILE_CONTENT, 1, sizeof(CONFIG_FILE_CONTENT), fp), in SetUp()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp256 actualWritten = fwrite(routesXml, sizeof(char), strlen(routesXml), fh); in saveToFile()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); in writeBinaryPPM()
/packages/modules/adb/
Dsysdeps.h301 #define fwrite adb_fwrite macro
Dsysdeps_win32.cpp2844 #undef fwrite in adb_fwrite()
2845 return fwrite(ptr, size, nmemb, stream); in adb_fwrite()
Dadb.cpp687 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get()); in _redirect_pipe_thread()