/external/mesa3d/test/ |
D | image_file.h | 33 fwrite("BM", 2, 1, file); in SaveBMP() 37 fwrite((const char *)&fileSize, 4, 1, file); in SaveBMP() 38 fwrite("\0\0\0\0", 4, 1, file); // unused in SaveBMP() 39 fwrite((const char *)&dataOffset, 4, 1, file); in SaveBMP() 40 fwrite("\x28\0\0\0", 4, 1, file); // header size from this point in SaveBMP() 41 fwrite((const char *)&width, 4, 1, file); in SaveBMP() 42 fwrite((const char *)&height, 4, 1, file); in SaveBMP() 43 fwrite("\x01\0", 2, 1, file); // 1 color plane in SaveBMP() 44 fwrite("\x20\0", 2, 1, file); // 32bpp in SaveBMP() 45 fwrite("\0\0\0\0", 4, 1, file); // BI_RGB no compression in SaveBMP() [all …]
|
/external/zlib/contrib/minizip/ |
D | mztools.c | 67 if (fwrite(header, 1, 30, fpOut) == 30) { 77 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { 95 if (fwrite(extra, 1, extsize, fpOut) == extsize) { 117 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 160 if (fwrite(header, 1, 46, fpOutCD) == 46) { 165 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { 178 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { 188 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { 230 if (fwrite(header, 1, 22, fpOutCD) == 22) { 234 if ((int)fwrite(comment, 1, comsize, fpOutCD) != comsize) { [all …]
|
/external/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() 117 fwrite("adcg*404MVLL", 12, 1, output_file); in llvm_gcda_start_file() 156 fwrite("\0\0\0\1", 4, 1, output_file); in llvm_gcda_emit_function() 167 fwrite("\0\0\xa1\1", 4, 1, output_file); in llvm_gcda_emit_arcs() 183 fwrite("\0\0\0\0\0\0\0\0", 8, 1, output_file); in llvm_gcda_end_file()
|
/external/dropbear/libtommath/etc/ |
D | pprime.c | 42 r = 3; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 43 r = 5; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 44 r = 7; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 45 r = 11; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 46 r = 13; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 47 r = 17; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 48 r = 19; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 49 r = 23; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 50 r = 29; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() 51 r = 31; fwrite(&r, 1, sizeof(mp_digit), out); in gen_prime() [all …]
|
/external/quake/quake/src/QW/client/ |
D | cl_demo.c | 80 fwrite (&fl, sizeof(fl), 1, cls.demofile); in CL_WriteDemoCmd() 83 fwrite (&c, sizeof(c), 1, cls.demofile); in CL_WriteDemoCmd() 94 fwrite(&cmd, sizeof(cmd), 1, cls.demofile); in CL_WriteDemoCmd() 99 fwrite (&fl, 4, 1, cls.demofile); in CL_WriteDemoCmd() 124 fwrite (&fl, sizeof(fl), 1, cls.demofile); in CL_WriteDemoMessage() 127 fwrite (&c, sizeof(c), 1, cls.demofile); in CL_WriteDemoMessage() 130 fwrite (&len, 4, 1, cls.demofile); in CL_WriteDemoMessage() 131 fwrite (msg->data, msg->cursize, 1, cls.demofile); in CL_WriteDemoMessage() 323 fwrite (&fl, sizeof(fl), 1, cls.demofile); in CL_WriteRecordDemoMessage() 326 fwrite (&c, sizeof(c), 1, cls.demofile); in CL_WriteRecordDemoMessage() [all …]
|
D | gl_mesh.c | 336 fwrite (&numcommands, 4, 1, f); in GL_MakeAliasModelDisplayLists() 337 fwrite (&numorder, 4, 1, f); in GL_MakeAliasModelDisplayLists() 338 fwrite (&commands, numcommands * sizeof(commands[0]), 1, f); in GL_MakeAliasModelDisplayLists() 339 fwrite (&vertexorder, numorder * sizeof(vertexorder[0]), 1, f); in GL_MakeAliasModelDisplayLists()
|
/external/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/qemu/ |
D | trace.c | 335 fwrite(&swappedHeader, sizeof(TraceHeader), 1, trace_static.fstream); in write_trace_header() 415 fwrite(&zero, sizeof(uint64_t), 1, trace_static.fstream); // bb_num in create_trace_static() 416 fwrite(&zero, sizeof(uint32_t), 1, trace_static.fstream); // bb_addr in create_trace_static() 417 fwrite(&zero, sizeof(uint32_t), 1, trace_static.fstream); // num_insns in create_trace_static() 609 fwrite(&bb_num, sizeof(bb_num), 1, trace_static.fstream); in trace_bb_end() 610 fwrite(&bb_addr, sizeof(bb_addr), 1, trace_static.fstream); in trace_bb_end() 611 fwrite(&num_insns, sizeof(num_insns), 1, trace_static.fstream); in trace_bb_end() 614 fwrite(&insn, sizeof(insn), 1, trace_static.fstream); in trace_bb_end() 651 fwrite(trace_bb.compressed, sizeof(char), size, in trace_cleanup() 678 fwrite(trace_bb.compressed, sizeof(char), size, trace_bb.fstream); in trace_cleanup() [all …]
|
D | tcpdump.c | 66 if (fwrite(&h, sizeof(h), 1, out) != 1) { in pcap_write_header() 134 fwrite( &h, sizeof(h), 1, capture_file ); in qemu_tcpdump_packet() 135 fwrite( base, 1, len2, capture_file ); in qemu_tcpdump_packet()
|
/external/webp/examples/ |
D | dwebp.c | 107 ok &= (fwrite(out, width * height, 3, fout) == 3); in main() 119 ok &= (fwrite(out + y * stride, width, 1, fout) == 1); in main() 123 ok &= (fwrite(u + y * uv_stride, uv_width, 1, fout) == 1); in main() 124 ok &= (fwrite(v + y * uv_stride, uv_width, 1, fout) == 1); in main()
|
/external/oprofile/libopagent/ |
D | opagent.c | 177 if (!fwrite(&header, sizeof(header), 1, dumpfile)) { in op_open_agent() 181 if (!fwrite(_bfd_target_name, strlen(_bfd_target_name) + 1, 1, in op_open_agent() 187 if (pad_cnt && !fwrite(pad_bytes, pad_cnt, 1, dumpfile)) { in op_open_agent() 213 if (!fwrite(&rec, sizeof(rec), 1, dumpfile)) in op_close_agent() 337 if (padding_count && !fwrite(padd_bytes, padding_count, 1, dumpfile)) in op_write_debug_line_info() 375 if (!fwrite(&rec, sizeof(rec), 1, dumpfile)) in op_unload_native_code()
|
/external/llvm/test/FrontendC/ |
D | 2006-09-18-fwrite-cast-crash.c | 7 unsigned fwrite(signed char *, unsigned , unsigned , signed char *); 13 struct l_struct_2E_FILE *))(void*)fwrite)((&(str301[0u])), 38u, 1u, ltmp_6202_16); in Usage()
|
/external/webkit/Tools/DumpRenderTree/ |
D | PixelDumpSupport.cpp | 122 fwrite(data, 1, insertOffset, stdout); in printPNG() 123 fwrite(bytesToAdd.data(), 1, bytesToAdd.size(), stdout); in printPNG() 130 size_t bytesWritten = fwrite(data, 1, bytesToWriteInThisChunk, stdout); in printPNG()
|
/external/bison/lib/ |
D | unlocked-io.h | 94 # undef fwrite 95 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) macro 97 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)
|
/external/webkit/Source/WebCore/platform/network/win/ |
D | DownloadBundleWin.cpp | 81 if (fwrite(resumeBytes, 1, resumeLength, bundle) != resumeLength) { in appendResumeData() 86 if (fwrite(&resumeLength, 4, 1, bundle) != 1) { in appendResumeData() 92 if (fwrite(&magic, 4, 1, bundle) != 1) { in appendResumeData()
|
/external/zlib/examples/ |
D | gzjoin.c | 266 fwrite("\x1f\x8b\x08\0\0\0\0\0\0\xff", 1, 10, out); in gzinit() 319 fwrite(start, 1, strm.next_in - start, out); in gzcopy() 360 fwrite(start, 1, strm.next_in - start, out); in gzcopy() 378 fwrite(start, 1, in->next - start - 1, out); in gzcopy() 391 fwrite("\0\0\xff\xff", 1, 4, out); in gzcopy()
|
/external/libpng/ |
D | pngwio.c | 60 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data() 92 check = fwrite(near_data, 1, length, io_ptr); in png_default_write_data() 109 err = fwrite(buf, 1, written, io_ptr); in png_default_write_data()
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngwio.c | 53 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data() 84 check = fwrite(near_data, 1, length, io_ptr); in png_default_write_data() 101 err = fwrite(buf, 1, written, io_ptr); in png_default_write_data()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_creator.cc | 210 if (fwrite(&header, sizeof(SandboxedExtensionUnpacker::ExtensionHeader), 1, in WriteCRX() 214 if (fwrite(&public_key.front(), sizeof(uint8), public_key.size(), in WriteCRX() 218 if (fwrite(&signature.front(), sizeof(uint8), signature.size(), in WriteCRX() 229 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) != in WriteCRX()
|
/external/dropbear/libtomcrypt/demos/ |
D | encrypt.c | 187 if (fwrite(plaintext,1,y,fdout) != y) { in main() 210 if (fwrite(IV,1,ivsize,fdout) != ivsize) { in main() 228 if (fwrite(ciphertext,1,y,fdout) != y) { in main()
|
/external/quake/quake/src/WinQuake/ |
D | gl_mesh.cpp | 343 fwrite (&numcommands, 4, 1, f); in GL_MakeAliasModelDisplayLists() 344 fwrite (&numorder, 4, 1, f); in GL_MakeAliasModelDisplayLists() 345 fwrite (&commands, numcommands * sizeof(commands[0]), 1, f); in GL_MakeAliasModelDisplayLists() 346 fwrite (&vertexorder, numorder * sizeof(vertexorder[0]), 1, f); in GL_MakeAliasModelDisplayLists()
|
D | cl_demo.cpp | 73 fwrite (&len, 4, 1, cls.demofile); in CL_WriteDemoMessage() 77 fwrite (&f, 4, 1, cls.demofile); in CL_WriteDemoMessage() 79 fwrite (net_message.data, net_message.cursize, 1, cls.demofile); in CL_WriteDemoMessage()
|
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/matlab/ |
D | mainProgram.m | 271 fid=fopen('aecOutMatlabC.pcm','w');fwrite(fid,int16(emicrophone),'short');fclose(fid); 272 %fid=fopen('farendFFT.txt','w');fwrite(fid,int16(afTheFarEnd(:)),'short');fclose(fid); 273 %fid=fopen('farendFFTreal.txt','w');fwrite(fid,int16(imag(fFar(:))),'short');fclose(fid); 274 %fid=fopen('farendFFTimag.txt','w');fwrite(fid,int16(real(fFar(:))),'short');fclose(fid); 275 %fid=fopen('nearendFFT.txt','w');fwrite(fid,int16(afmicrophone(:)),'short');fclose(fid); 276 %fid=fopen('nearendFFTreal.txt','w');fwrite(fid,int16(real(fNear(:))),'short');fclose(fid); 277 %fid=fopen('nearendFFTimag.txt','w');fwrite(fid,int16(imag(fNear(:))),'short');fclose(fid);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | TestEventPrinter.cpp | 104 if (fwrite(imageData, 1, imageSize, stdout) != imageSize) { in handleImage() 150 if (fwrite(imageData, 1, imageSize, fp) != imageSize) { in handleImage()
|
/external/openssl/crypto/des/ |
D | des.c | 548 j=fwrite(obuf,1,(unsigned int)l-i, in doencryption() 639 j=fwrite(obuf,1,(unsigned int)l-i,DES_OUT); in doencryption() 710 fwrite(b,1,(unsigned int)j,fp); in uufwrite() 720 fwrite(b,1,(unsigned int)j,fp); in uufwrite() 727 fwrite(b,1,(unsigned int)j,fp); in uufwrite() 749 fwrite(b,1,(unsigned int)j,fp); in uufwriteEnd() 751 fwrite(end,1,strlen(end),fp); in uufwriteEnd()
|