/external/selinux/libselinux/utils/ |
D | sefcontext_compile.c | 115 len = fwrite(&magic, sizeof(uint32_t), 1, bin_file); in write_binary_file() 121 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() 130 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() 133 len = fwrite(reg_version, sizeof(char), section_len, bin_file); in write_binary_file() 142 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() 145 len = fwrite(reg_arch, sizeof(char), section_len, bin_file); in write_binary_file() 151 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() 160 len = fwrite(&stem_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() 166 len = fwrite(stem, sizeof(char), stem_len, bin_file); in write_binary_file() 173 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | fwrite-1.ll | 1 ; 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
|
D | err-rep-cold.ll | 42 …%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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | fwrite-1.ll | 1 ; 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
|
D | err-rep-cold.ll | 42 …%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/swiftshader/third_party/LLVM/runtime/libprofile/ |
D | GCDAProfiling.c | 42 fwrite(&i, 4, 1, output_file); in write_int32() 61 fwrite(s, strlen(s), 1, output_file); in write_string() 62 fwrite("\0\0\0\0", 4 - (strlen(s) % 4), 1, output_file); in write_string() 118 fwrite("adcg*204MVLL", 12, 1, output_file); in llvm_gcda_start_file() 120 fwrite("adcg*404MVLL", 12, 1, output_file); in llvm_gcda_start_file() 160 fwrite("\0\0\0\1", 4, 1, output_file); in llvm_gcda_emit_function() 171 fwrite("\0\0\xa1\1", 4, 1, output_file); in llvm_gcda_emit_arcs() 187 fwrite("\0\0\0\0\0\0\0\0", 8, 1, output_file); in llvm_gcda_end_file()
|
/external/zlib/src/contrib/minizip/ |
D | mztools.c | 67 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/ |
D | RTPFile.cc | 144 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/ |
D | tli-nobuiltin.ll | 4 ; Regular run: expects fprintf to be turned into fwrite 7 ; LTO: fwrite 9 ; Freestanding run: expects fprintf to NOT be turned into fwrite 17 ; Regular run: expects fprintf to be turned into fwrite 20 ; ThinLTO: fwrite 22 ; Freestanding run: expects fprintf to NOT be turned into fwrite 38 ; Check fprintf(fp, "%s", str) -> fwrite(str, fp) only when builtins are enabled
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | rdtsc_buckets_shared.h | 116 fwrite(&data, sizeof(VIZ_START_DATA), 1, f); in Serialize() 127 fwrite(&data, sizeof(VIZ_STOP_DATA), 1, f); in Serialize() 141 fwrite(&length, sizeof(length), 1, f); in Serialize() 142 fwrite(string.c_str(), string.size(), 1, f); in Serialize() 159 fwrite(&desc.enableThreadViz, sizeof(desc.enableThreadViz), 1, f); in Serialize() 160 fwrite(&desc.color, sizeof(desc.color), 1, f); in Serialize()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | PathProfileVerifier.cpp | 188 fwrite(&type,sizeof(unsigned),1,edgeFile); in runOnModule() 189 fwrite(&num,sizeof(unsigned),1,edgeFile); in runOnModule() 190 fwrite(pathProfileInfo.argList.c_str(),1,num,edgeFile); in runOnModule() 192 fwrite(&zeros, 1, 4-(num&3), edgeFile); in runOnModule() 196 fwrite(&type,sizeof(unsigned),1,edgeFile); in runOnModule() 197 fwrite(&num,sizeof(unsigned),1,edgeFile); in runOnModule() 202 fwrite(&*s, sizeof (unsigned), 1, edgeFile); in runOnModule()
|
/external/libopus/src/ |
D | repacketizer_demo.c | 164 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/webrtc/webrtc/test/ |
D | rtp_file_writer.cc | 48 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/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_image.c | 84 fwrite(rgb8, 1, height * width * 3, f); in debug_dump_image() 269 fwrite(&bmfh, 14, 1, stream); in debug_dump_float_rgba_bmp() 270 fwrite(&bmih, 40, 1, stream); in debug_dump_float_rgba_bmp() 281 fwrite(&pixel, 1, 4, stream); in debug_dump_float_rgba_bmp() 327 fwrite(&bmfh, 14, 1, stream); in debug_dump_ubyte_rgba_bmp() 328 fwrite(&bmih, 40, 1, stream); in debug_dump_ubyte_rgba_bmp() 339 fwrite(&pixel, 1, 4, stream); in debug_dump_ubyte_rgba_bmp()
|
/external/autotest/frontend/tko/preconfigs/metrics/ |
D | perf | 42 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/vpx_util/ |
D | vpx_write_yuv_frame.c | 22 fwrite(src, s->y_width, 1, yuv_file); in vpx_write_yuv_frame() 30 fwrite(src, s->uv_width, 1, yuv_file); in vpx_write_yuv_frame() 38 fwrite(src, s->uv_width, 1, yuv_file); in vpx_write_yuv_frame()
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | writeYUV420file.m | 13 fwrite(fid,uint8(Y(:,:,k).'), 'uchar'); 16 fwrite(fid,uint8(U(:,:,k).'), 'uchar'); 19 fwrite(fid,uint8(V(:,:,k).'), 'uchar');
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | NETEQTEST_DummyRTPpacket.cc | 155 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()
|
/external/libaom/libaom/common/ |
D | ivfenc.c | 35 fwrite(header, 1, 32, outfile); in ivf_write_file_header() 44 fwrite(header, 1, 12, outfile); in ivf_write_frame_header() 51 fwrite(header, 1, 4, outfile); in ivf_write_frame_size()
|
/external/libvpx/libvpx/ |
D | ivfenc.c | 34 fwrite(header, 1, 32, outfile); in ivf_write_file_header() 43 fwrite(header, 1, 12, outfile); in ivf_write_frame_header() 50 fwrite(header, 1, 4, outfile); in ivf_write_frame_size()
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/ |
D | PVRShell.cpp | 738 fwrite(&bfType , 1, sizeof(bfType) , fpDumpfile); in PVRShellWriteBMPFile() 739 fwrite(&bfSize , 1, sizeof(bfSize) , fpDumpfile); in PVRShellWriteBMPFile() 740 fwrite(&bfReserved1 , 1, sizeof(bfReserved1), fpDumpfile); in PVRShellWriteBMPFile() 741 fwrite(&bfReserved2 , 1, sizeof(bfReserved2), fpDumpfile); in PVRShellWriteBMPFile() 742 fwrite(&bfOffBits , 1, sizeof(bfOffBits) , fpDumpfile); in PVRShellWriteBMPFile() 745 fwrite(&biSize , 1, sizeof(biSize) , fpDumpfile); in PVRShellWriteBMPFile() 746 fwrite(&biWidth , 1, sizeof(biWidth) , fpDumpfile); in PVRShellWriteBMPFile() 747 fwrite(&biHeight , 1, sizeof(biHeight) , fpDumpfile); in PVRShellWriteBMPFile() 748 fwrite(&biPlanes , 1, sizeof(biPlanes) , fpDumpfile); in PVRShellWriteBMPFile() 749 fwrite(&biBitCount , 1, sizeof(biBitCount) , fpDumpfile); in PVRShellWriteBMPFile() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/logging/ |
D | aec_logging.h | 43 (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/webrtc/webrtc/tools/frame_editing/ |
D | frame_editing_lib.cc | 61 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/ |
D | rand.cc | 80 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) { in Rand() 84 if (fwrite(buf, todo, 1, stdout) != 1) { in Rand() 91 if (hex && fwrite("\n", 1, 1, stdout) != 1) { in Rand()
|
/external/vboot_reference/utility/ |
D | bmpblk_font.c | 162 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()
|