Home
last modified time | relevance | path

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

12345678910>>...19

/external/libselinux/utils/
Dsefcontext_compile.c94 len = fwrite(&magic, sizeof(uint32_t), 1, bin_file); in write_binary_file()
100 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
106 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
109 len = fwrite(pcre_version(), sizeof(char), section_len, bin_file); in write_binary_file()
115 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
124 len = fwrite(&stem_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
130 len = fwrite(stem, sizeof(char), stem_len, bin_file); in write_binary_file()
137 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
154 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
159 len = fwrite(context, sizeof(char), to_write, bin_file); in write_binary_file()
[all …]
/external/selinux/libselinux/utils/
Dsefcontext_compile.c112 len = fwrite(&magic, sizeof(uint32_t), 1, bin_file); in write_binary_file()
118 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
124 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
127 len = fwrite(pcre_version(), sizeof(char), section_len, bin_file); in write_binary_file()
133 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
142 len = fwrite(&stem_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
148 len = fwrite(stem, sizeof(char), stem_len, bin_file); in write_binary_file()
155 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
172 len = fwrite(&to_write, sizeof(uint32_t), 1, bin_file); in write_binary_file()
177 len = fwrite(context, sizeof(char), to_write, bin_file); in write_binary_file()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dfwrite-1.ll1 ; Test that the fwrite library call simplifier works correctly.
12 declare i64 @fwrite(i8*, i64, i64, %FILE *)
14 ; Check fwrite(S, 1, 1, fp) -> fputc(S[0], fp).
19 call i64 @fwrite(i8* %str, i64 1, i64 1, %FILE* %fp)
28 call i64 @fwrite(i8* %str, i64 1, i64 0, %FILE* %fp)
36 call i64 @fwrite(i8* %str, i64 0, i64 1, %FILE* %fp)
44 %ret = call i64 @fwrite(i8* %str, i64 1, i64 1, %FILE* %fp)
45 ; CHECK-NEXT: call i64 @fwrite
53 call i64 @fwrite(i8* %str, i64 %size, i64 1, %FILE* %fp)
54 ; CHECK-NEXT: call i64 @fwrite
Derr-rep-cold.ll42 …%1 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str1, i64 0, i64 0), …
45 ; CHECK: tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str1, i64 0, i64 0…
52 declare i64 @fwrite(i8* nocapture, i64, i64, %struct._IO_FILE* nocapture) #1
62 …%1 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str1, i64 0, i64 0), …
65 ; CHECK-NOT: tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str1, i64 0, i…
/external/zlib/src/contrib/minizip/
Dmztools.c67 if (fwrite(header, 1, 30, fpOut) == 30) {
78 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) {
101 if (fwrite(extra, 1, extsize, fpOut) == extsize) {
127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) {
170 if (fwrite(header, 1, 46, fpOutCD) == 46) {
175 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) {
188 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) {
198 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) {
240 if (fwrite(header, 1, 22, fpOutCD) == 22) {
244 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) {
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
DRTPFile.cc144 EXPECT_EQ(1u, fwrite(&dummy_variable, 4, 1, _rtpFile)); in WriteHeader()
145 EXPECT_EQ(1u, fwrite(&dummy_variable, 4, 1, _rtpFile)); in WriteHeader()
146 EXPECT_EQ(1u, fwrite(&dummy_variable, 4, 1, _rtpFile)); in WriteHeader()
147 EXPECT_EQ(1u, fwrite(&dummy_variable, 2, 1, _rtpFile)); in WriteHeader()
148 EXPECT_EQ(1u, fwrite(&dummy_variable, 2, 1, _rtpFile)); in WriteHeader()
182 EXPECT_EQ(1u, fwrite(&lengthBytes, 2, 1, _rtpFile)); in Write()
183 EXPECT_EQ(1u, fwrite(&plen, 2, 1, _rtpFile)); in Write()
184 EXPECT_EQ(1u, fwrite(&offsetMs, 4, 1, _rtpFile)); in Write()
185 EXPECT_EQ(1u, fwrite(&rtpHeader, 12, 1, _rtpFile)); in Write()
186 EXPECT_EQ(payloadSize, fwrite(payloadData, 1, payloadSize, _rtpFile)); in Write()
DPCMFile.cc149 if (fwrite(audio_frame.data_, sizeof(uint16_t), in Write10MsData()
160 if (fwrite(stereo_audio, sizeof(int16_t), in Write10MsData()
168 if (fwrite(audio_frame.data_, sizeof(int16_t), in Write10MsData()
179 if (fwrite(playout_buffer, sizeof(uint16_t), length_smpls, pcm_file_) != in Write10MsData()
/external/fio/
Dlog.c22 len = fwrite(buffer, len, 1, f_out); in log_valist()
32 len = fwrite(buf, len, 1, f_out); in log_local_buf()
54 return fwrite(buffer, len, 1, f_out); in log_info()
85 ret = fwrite(buffer, len, 1, stderr); in log_err()
88 return fwrite(buffer, len, 1, f_err); in log_err()
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/
DbtBulletFile.cpp274 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); in writeDNA()
275 fwrite(sBulletDNAstr64, sBulletDNAlen64,1,fp); in writeDNA()
285 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); in writeDNA()
286 fwrite(sBulletDNAstr, sBulletDNAlen,1,fp); in writeDNA()
296 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); in writeDNA()
297 fwrite(sBulletDNAstr64, sBulletDNAlen64,1,fp); in writeDNA()
303 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); in writeDNA()
304 fwrite(sBulletDNAstr, sBulletDNAlen,1,fp); in writeDNA()
398 fwrite(header,SIZEOFBLENDERHEADER,1,fp); in write()
/external/libopus/src/
Drepacketizer_demo.c164 if(fwrite(int_field, 1, 4, fout)!=4){ in main()
169 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
173 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main()
189 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
197 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
201 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main()
/external/opencv3/modules/flann/include/opencv2/flann/
Dsaving.h98 std::fwrite(&header, sizeof(header),1,stream);
128 fwrite(&value, sizeof(value),count, stream);
134 fwrite(&value, sizeof(value),1, stream);
135 fwrite(value.data, sizeof(T),value.rows*value.cols, stream);
142 fwrite(&size, sizeof(size_t), 1, stream);
143 fwrite(&value[0], sizeof(T), size, stream);
/external/webrtc/webrtc/test/
Drtp_file_writer.cc48 return fwrite(packet->data, sizeof(uint8_t), packet->length, file_) == in WritePacket()
69 if (fwrite(&tmp, sizeof(uint8_t), 1, file_) != 1) in WriteUint32()
78 if (fwrite(&tmp, sizeof(uint8_t), 1, file_) != 1) in WriteUint16()
82 if (fwrite(&tmp, sizeof(uint8_t), 1, file_) != 1) in WriteUint16()
/external/webrtc/webrtc/modules/video_processing/test/
DwriteYUV420file.m13 fwrite(fid,uint8(Y(:,:,k).'), 'uchar');
16 fwrite(fid,uint8(U(:,:,k).'), 'uchar');
19 fwrite(fid,uint8(V(:,:,k).'), 'uchar');
/external/autotest/frontend/tko/preconfigs/metrics/
Dperf42 name[4]: iozone (32768-4096-fwrite)
47 seriesFilters[4][0][condition]: = '32768-4096-fwrite'
93 name[4]: iozone (32768-4096-fwrite)
98 seriesFilters[4][0][condition]: = '32768-4096-fwrite'
144 name[4]: iozone (32768-4096-fwrite)
149 seriesFilters[4][0][condition]: = '32768-4096-fwrite'
/external/libvpx/libvpx/
Divfenc.c36 fwrite(header, 1, 32, outfile); in ivf_write_file_header()
45 fwrite(header, 1, 12, outfile); in ivf_write_frame_header()
52 fwrite(header, 1, 4, outfile); in ivf_write_frame_size()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_DummyRTPpacket.cc155 if (fwrite(&length, 2, 1, fp) != 1) in writeToFile()
162 if (fwrite(&plen, 2, 1, fp) != 1) in writeToFile()
169 if (fwrite(&offset, 4, 1, fp) != 1) in writeToFile()
189 if (fwrite((unsigned short *) _datagram, 1, headerLen, fp) != in writeToFile()
DRTPencode.cc585 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
588 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
591 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
594 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { in main()
597 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { in main()
648 if (fwrite(&length, 2, 1, out_file) != 1) { in main()
651 if (fwrite(&plen, 2, 1, out_file) != 1) { in main()
654 if (fwrite(&offset, 4, 1, out_file) != 1) { in main()
657 if (fwrite(rtp_data, 12 + enc_len, 1, out_file) != 1) { in main()
738 if (fwrite(&length, 2, 1, out_file) != 1) { in main()
[all …]
/external/webrtc/webrtc/modules/audio_processing/logging/
Daec_logging.h43 (void) fwrite(data, data_size, 1, file); \
50 (void) fwrite(&value_to_store, sizeof(value_to_store), 1, file); \
57 (void) fwrite(&value_to_store, sizeof(value_to_store), 1, file); \
/external/libvorbis/examples/
Dencoder_example.c174 fwrite(og.header,1,og.header_len,stdout); in main()
175 fwrite(og.body,1,og.body_len,stdout); in main()
227 fwrite(og.header,1,og.header_len,stdout); in main()
228 fwrite(og.body,1,og.body_len,stdout); in main()
/external/webrtc/webrtc/tools/frame_editing/
Dframe_editing_lib.cc61 fwrite(temp_buffer.get(), 1, frame_length, out_fid); in EditFrames()
70 fwrite(temp_buffer.get(), 1, frame_length, out_fid); in EditFrames()
75 fwrite(temp_buffer.get(), 1, frame_length, out_fid); in EditFrames()
/external/boringssl/src/tool/
Drand.cc79 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) { in Rand()
83 if (fwrite(buf, todo, 1, stdout) != 1) { in Rand()
90 if (hex && fwrite("\n", 1, 1, stdout) != 1) { in Rand()
/external/vboot_reference/utility/
Dbmpblk_font.c162 if (1 != fwrite(&header, sizeof(header), 1, ofp)) { in main()
204 if (1 != fwrite(&entry, sizeof(entry), 1, ofp)) { in main()
208 if (1 != fwrite(imgdata, imgsize, 1, ofp)) { in main()
212 if (diff && 1 != fwrite("\0\0\0\0\0\0\0\0", diff, 1, ofp)) { in main()
/external/clang/test/CodeGen/
D2006-09-18-fwrite-cast-crash.c5 unsigned fwrite(signed char *, unsigned , unsigned , signed char *);
11 struct l_struct_2E_FILE *))(void*)fwrite)((&(str301[0u])), 38u, 1u, ltmp_6202_16); in Usage()
/external/libdrm/radeon/
Dbof.c404 r = fwrite(&bof->type, 4, 1, file); in bof_file_write()
407 r = fwrite(&bof->size, 4, 1, file); in bof_file_write()
410 r = fwrite(&bof->array_size, 4, 1, file); in bof_file_write()
421 r = fwrite(bof->value, bof->size - 12, 1, file); in bof_file_write()
459 r = fwrite(&bof->type, 4, 1, bof->file); in bof_dump_file()
462 r = fwrite(&bof->size, 4, 1, bof->file); in bof_dump_file()
465 r = fwrite(&bof->array_size, 4, 1, bof->file); in bof_dump_file()
/external/bison/lib/
Dunlocked-io.h93 # undef fwrite
94 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) macro
96 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)

12345678910>>...19