Home
last modified time | relevance | path

Searched refs:fwrite (Results 1 - 25 of 702) sorted by relevance

12345678910>>...29

/third_party/ffmpeg/tools/
H A Dsofa2wavs.c70 fwrite("RIFF", 4, 1, file); in main()
71 fwrite("\xFF\xFF\xFF\xFF", 4, 1, file); in main()
72 fwrite("WAVE", 4, 1, file); in main()
73 fwrite("fmt ", 4, 1, file); in main()
74 fwrite("\x10\x00\00\00", 4, 1, file); in main()
75 fwrite("\x03\x00", 2, 1, file); in main()
76 fwrite("\x02\x00", 2, 1, file); in main()
77 fwrite(&sample_rate, 4, 1, file); in main()
78 fwrite(&bytespersec, 4, 1, file); in main()
79 fwrite( in main()
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Dmake-preload.php31 fwrite($f, "#include \"bundled_php.h\"\n");
32 fwrite($f, "#include \"stdlib.h\"\n");
39 fwrite($f, "static const char {$c_symbol_name}[] = {");
42 fwrite($f, "\n");
46 fwrite($f, "0};\n");
49 fwrite($f, "static BundledPhp_File php[] = {\n");
53 fwrite($f, " {\"$class_name\", $c_symbol_name},\n");
56 fwrite($f, " {NULL, NULL}\n");
57 fwrite($f, "};\n");
58 fwrite(
[all...]
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A 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(commen
[all...]
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A 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(commen
[all...]
/third_party/zlib/contrib/minizip/
H A Dmztools.c66 if (fwrite(header, 1, 30, fpOut) == 30) { in unzRepair()
77 if (fwrite(filename, 1, fnsize, fpOut) == fnsize) { in unzRepair()
100 if (fwrite(extra, 1, extsize, fpOut) == extsize) { in unzRepair()
126 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { in unzRepair()
169 if (fwrite(header, 1, 46, fpOutCD) == 46) { in unzRepair()
174 if (fwrite(filename, 1, fnsize, fpOutCD) == fnsize) { in unzRepair()
187 if (fwrite(extra, 1, extsize, fpOutCD) == extsize) { in unzRepair()
197 if ((int)fwrite(comment, 1, comsize, fpOutCD) == comsize) { in unzRepair()
239 if (fwrite(header, 1, 22, fpOutCD) == 22) { in unzRepair()
243 if ((int)fwrite(commen in unzRepair()
[all...]
/third_party/selinux/libselinux/utils/
H A Dsefcontext_compile.c115 len = fwrite(&magic, sizeof(uint32_t), 1, bin_file); in write_binary_file()
121 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
130 len = fwrite(&section_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(&section_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(&section_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( in write_binary_file()
[all...]
/third_party/mesa3d/src/amd/compiler/tests/
H A Dmain.cpp87 fwrite("test", 1, 4, checker_stdin); in write_test()
88 fwrite(current_test.name, 1, strlen(current_test.name)+1, checker_stdin); in write_test()
89 fwrite(current_variant, 1, strlen(current_variant)+1, checker_stdin); in write_test()
90 fwrite(current_test.source_file, 1, strlen(current_test.source_file)+1, checker_stdin); in write_test()
93 fwrite("\x01", 1, 1, checker_stdin); in write_test()
94 fwrite(res, 1, strlen(res)+1, checker_stdin); in write_test()
95 fwrite(fail_message, 1, strlen(fail_message)+1, checker_stdin); in write_test()
97 fwrite("\x00", 1, 1, checker_stdin); in write_test()
99 fwrite(&size, 4, 1, checker_stdin); in write_test()
100 fwrite(dat in write_test()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfopen.c28 * @tc.desc : Verify fopen("r") and fclose fread and fwrite, fopen success, fread success, fwrite failed
44 size_t wrsize = fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fopen_0100()
62 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0100()
87 * @tc.desc : Verify fopen("w") and fclose and fread and fwrite and fopen success, fread failed, fwrite success
100 size_t wrsize = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fopen_0300()
117 * @tc.desc : Verify fopen("w") and fclose and fread and fwrite and fopen success, fread failed, fwrite success
131 size_t wrsize = fwrite(wrstrin in fopen_0400()
[all...]
H A Dfgets.c31 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0100()
58 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0200()
84 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0300()
110 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0400()
136 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0500()
162 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fgets_0600()
H A Dfseeko.c35 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0100()
37 t_error("%s fwrite failed\n", __func__); in fseeko_0100()
65 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0200()
67 t_error("%s fwrite failed\n", __func__); in fseeko_0200()
95 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0300()
97 t_error("%s fwrite failed\n", __func__); in fseeko_0300()
131 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0400()
133 t_error("%s fwrite failed\n", __func__); in fseeko_0400()
161 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0500()
163 t_error("%s fwrite faile in fseeko_0500()
[all...]
H A Dfsetpos.c39 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0100()
64 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0200()
90 fwrite(wstring, sizeof(char), strlen(wstring), fptr); in fsetpos_0300()
116 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fsetpos_0400()
H A Dftell.c36 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0100()
38 t_error("%s fwrite failed\n", __func__); in ftell_0100()
67 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0200()
69 t_error("%s fwrite failed\n", __func__); in ftell_0200()
98 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0300()
100 t_error("%s fwrite failed\n", __func__); in ftell_0300()
H A Dfwrite.c34 int result = fwrite(buf, sizeof(char), strlen(buf), fptr); in fwrite_0100()
52 int result = fwrite(buf, 0, strlen(buf), fptr); in fwrite_0200()
70 int result = fwrite(buf, sizeof(char), 0, fptr); in fwrite_0300()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/
H A Dmain.cpp244 fwrite(&obj, sizeof(obj), 1, d);
246 fwrite(&stringTableSize, 1, sizeof(stringTableSize), d);
247 fwrite(stringtable, 1, stringTableSize - 4, d);
252 fwrite(&pad, padcount, 1, d);
253 fwrite(data, size_of_section, 1, d);
328 fwrite(&o, sizeof(o), 1, e);
329 fwrite(data, size_of_section, 1, e);
330 fwrite(stringtable, (size_t)o.sections[1].sh_size, 1, e);
477 fwrite(&fathdr, sizeof(fathdr), 1, e);
478 fwrite(
[all...]
/third_party/ninja/src/
H A Ddeps_log.cc117 if (fwrite(&size, 4, 1, file_) < 1) in RecordDeps()
120 if (fwrite(&id, 4, 1, file_) < 1) in RecordDeps()
123 if (fwrite(&mtime_part, 4, 1, file_) < 1) in RecordDeps()
126 if (fwrite(&mtime_part, 4, 1, file_) < 1) in RecordDeps()
130 if (fwrite(&id, 4, 1, file_) < 1) in RecordDeps()
398 if (fwrite(&size, 4, 1, file_) < 1)
400 if (fwrite(node->path().data(), path_size, 1, file_) < 1) {
404 if (padding && fwrite("\0\0", padding, 1, file_) < 1)
408 if (fwrite(&checksum, 4, 1, file_) < 1)
439 if (fwrite(kFileSignatur
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dimage_enc.c241 if (fwrite(row, width, bytes_per_px, fout) != bytes_per_px) { in WritePPMPAM()
274 if (fwrite(rgba, width, bytes_per_px, fout) != bytes_per_px) { in WebPWrite16bAsPGM()
332 if (fwrite(bmp_header, sizeof(bmp_header), 1, fout) != 1) { in WebPWriteBMP()
338 if (fwrite(rgba, line_size, 1, fout) != 1) { in WebPWriteBMP()
344 if (fwrite(zeroes, bmp_stride - line_size, 1, fout) != 1) { in WebPWriteBMP()
418 if (fwrite(tiff_header, sizeof(tiff_header), 1, fout) != 1) { in WebPWriteTIFF()
423 if (fwrite(rgba, bytes_per_px, width, fout) != width) { in WebPWriteTIFF()
454 if (fwrite(a, width, 1, fout) != 1) return 0; in WebPWriteAlphaPlane()
486 ok &= (fwrite(src_y, width, 1, fout) == 1); in WebPWritePGM()
491 ok &= (fwrite(src_ in WebPWritePGM()
[all...]
/third_party/ffmpeg/tests/
H A Dutils.c127 err_if(fwrite(lum_tab, 1, w * h, f) != w * h); in pgmyuv_save()
135 err_if(fwrite(cb, 1, w2, f) != w2); in pgmyuv_save()
136 err_if(fwrite(cr, 1, w2, f) != w2); in pgmyuv_save()
143 err_if(fwrite(cb, 1, w2, f) != w2); in pgmyuv_save()
147 err_if(fwrite(cr, 1, w2, f) != w2); in pgmyuv_save()
/third_party/skia/tools/
H A Dconvert-to-nia.cpp64 fwrite(data, 1, 16, stdout); in write_nix_header()
78 fwrite(data, 1, 8, stdout); in write_nia_duration()
94 fwrite(buf, 1, n, stdout); in write_nie_pixels()
100 fwrite(buf, 1, n, stdout); in write_nie_pixels()
109 fwrite(data, 1, 4, stdout); in write_nia_padding()
123 fwrite(data, 1, 8, stdout); in write_nia_footer()
/third_party/libexif/test/
H A Dtest-extract.c76 if (fwrite(header, 1, sizeof(header), f) != sizeof(header)) { in main()
86 if (fwrite(lenbuf, 1, 2, f) != 2) { in main()
90 if (fwrite(buf, 1, len, f) != len) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmmap.c44 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0100()
82 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0200()
136 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0400()
173 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0500()
211 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0600()
246 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0700()
280 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0800()
311 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0900()
345 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_1000()
381 fwrite(st in mmap_1100()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_image.c84 fwrite(rgb8, 1, height * width * 3, f); in debug_dump_image()
270 fwrite(&bmfh, 14, 1, stream); in debug_dump_float_rgba_bmp()
271 fwrite(&bmih, 40, 1, stream); in debug_dump_float_rgba_bmp()
282 fwrite(&pixel, 1, 4, stream); in debug_dump_float_rgba_bmp()
328 fwrite(&bmfh, 14, 1, stream); in debug_dump_ubyte_rgba_bmp()
329 fwrite(&bmih, 40, 1, stream); in debug_dump_ubyte_rgba_bmp()
340 fwrite(&pixel, 1, 4, stream); in debug_dump_ubyte_rgba_bmp()
/third_party/mesa3d/src/amd/common/
H A Dac_rgp.c959 fwrite(&timestamp, sizeof(timestamp), 1, output); in ac_sqtt_dump_spm()
976 fwrite(&cntr_info, sizeof(cntr_info), 1, output); in ac_sqtt_dump_spm()
993 fwrite(&value, sizeof(value), 1, output); in ac_sqtt_dump_spm()
1001 fwrite(&spm_db, sizeof(struct sqtt_file_chunk_spm_db), 1, output); in ac_sqtt_dump_spm()
1030 fwrite(&header, sizeof(header), 1, output); in ac_sqtt_dump_data()
1035 fwrite(&cpu_info, sizeof(cpu_info), 1, output); in ac_sqtt_dump_data()
1040 fwrite(&asic_info, sizeof(asic_info), 1, output); in ac_sqtt_dump_data()
1045 fwrite(&api_info, sizeof(api_info), 1, output); in ac_sqtt_dump_data()
1066 fwrite(&code_object_record, sizeof(struct sqtt_code_object_database_record), in ac_sqtt_dump_data()
1076 fwrite( in ac_sqtt_dump_data()
[all...]
/third_party/protobuf/conformance/
H A Dconformance_php.php89 fwrite(STDERR, "I/O error\n");
105 fwrite(STDOUT, pack("V", strlen($serialized_response)));
106 fwrite(STDOUT, $serialized_response);
/third_party/curl/src/
H A Dtool_cb_hdr.c101 size_t rc = fwrite(ptr, size, nmemb, heads->stream); in tool_header_cb()
124 fwrite(etag_h, size, etag_length, etag_save->stream); in tool_header_cb()
233 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
240 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
245 fwrite(ptr, cb, 1, outs->stream); in tool_header_cb()
432 fwrite(location, loclen, 1, stream); in write_linked_location()
/third_party/nghttp2/examples/
H A Ddeflate.c112 fwrite(nva[i].name, 1, nva[i].namelen, stdout); in deflate()
114 fwrite(nva[i].value, 1, nva[i].valuelen, stdout); in deflate()
189 fwrite(nv.name, 1, nv.namelen, stderr); in inflate_header_block()
191 fwrite(nv.value, 1, nv.valuelen, stderr); in inflate_header_block()

Completed in 12 milliseconds

12345678910>>...29