/third_party/mesa3d/src/util/ |
H A D | fossilize_db.c | 237 if (fwrite(stream_reference_magic_and_version, 1, in load_foz_dbs() 242 if (fwrite(stream_reference_magic_and_version, 1, in load_foz_dbs() 479 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->file[0]) != in foz_write_entry() 486 if (fwrite(&header, 1, sizeof(header), foz_db->file[0]) != sizeof(header)) in foz_write_entry() 490 if (fwrite(blob, 1, blob_size, foz_db->file[0]) != blob_size) in foz_write_entry() 497 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->db_idx) != in foz_write_entry() 506 if (fwrite(&header, 1, sizeof(header), foz_db->db_idx) != in foz_write_entry() 510 if (fwrite(&offset, 1, sizeof(uint64_t), foz_db->db_idx) != in foz_write_entry()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
H A D | fwrite.c | 28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() function 38 weak_alias(fwrite, fwrite_unlocked);
|
/third_party/musl/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
H A D | fwrite.c | 31 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() function 44 weak_alias(fwrite, fwrite_unlocked);
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
H A D | fwrite.c | 28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() function 38 weak_alias(fwrite, fwrite_unlocked);
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
H A D | fwrite.c | 28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() function 38 weak_alias(fwrite, fwrite_unlocked);
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | fakepng.c | 29 fwrite(chunk, length, 1, stdout); in put_chunk() 60 fwrite(signature, sizeof signature, 1, stdout); in main()
|
/third_party/libdrm/radeon/ |
H A D | bof.c | 404 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()
|
/third_party/zlib/examples/ |
H A D | gzjoin.c | 56 #include <stdio.h> /* fputs(), fprintf(), fwrite(), putc() */ 267 fwrite("\x1f\x8b\x08\0\0\0\0\0\0\xff", 1, 10, out); in gzinit() 320 fwrite(start, 1, strm.next_in - start, out); in gzcopy() 361 fwrite(start, 1, strm.next_in - start, out); in gzcopy() 379 fwrite(start, 1, in->next - start - 1, out); in gzcopy() 392 fwrite("\0\0\xff\xff", 1, 4, out); in gzcopy()
|
/third_party/backends/backend/ |
H A D | gt68xx_high.c | 2569 fwrite (&(scanner->afe_params), sizeof (GT68xx_AFE_Parameters), 1, fcal); in gt68xx_write_calibration() 2570 fwrite (&(scanner->exposure_params), sizeof (GT68xx_Exposure_Parameters), 1, in gt68xx_write_calibration() 2576 fwrite (&(scanner->calibrations[i].dpi), sizeof (SANE_Int), 1, fcal); in gt68xx_write_calibration() 2577 fwrite (&(scanner->calibrations[i].pixel_x0), sizeof (SANE_Int), 1, in gt68xx_write_calibration() 2580 fwrite (&(scanner->calibrations[i].red->width), sizeof (SANE_Int), 1, in gt68xx_write_calibration() 2582 fwrite (&(scanner->calibrations[i].red->white_level), sizeof (SANE_Int), in gt68xx_write_calibration() 2584 fwrite (scanner->calibrations[i].red->k_white, sizeof (unsigned int), in gt68xx_write_calibration() 2586 fwrite (scanner->calibrations[i].red->k_black, sizeof (unsigned int), in gt68xx_write_calibration() 2588 fwrite (scanner->calibrations[i].red->white_line, sizeof (double), in gt68xx_write_calibration() 2590 fwrite (scanne in gt68xx_write_calibration() [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | cwebp.c | 302 return data_size ? (fwrite(data, data_size, 1, out) == 1) : 1; in MyWriter() 322 if (fwrite(src_y, picture->width, 1, f) != 1) return 0; in DumpPicture() 327 if (fwrite(src_u, uv_width, 1, f) != 1) return 0; in DumpPicture() 328 if (fwrite(src_v, uv_width, 1, f) != 1) return 0; in DumpPicture() 333 if (fwrite(src_a, picture->width, 1, f) != 1) return 0; in DumpPicture() 378 return (fwrite(buf, num, 1, out) == 1); in WriteLE() 393 int ok = (fwrite(fourcc, kTagSize, 1, out) == 1); in WriteMetadataChunk() 395 ok = ok && (fwrite(payload->bytes, payload->size, 1, out) == 1); in WriteMetadataChunk() 396 return ok && (fwrite(&zero, need_padding, need_padding, out) == need_padding); in WriteMetadataChunk() 460 int ok = (fwrite(web in WriteWebPWithMetadata() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | forkpty.c | 41 fwrite(sign_r, sizeof(char), strlen(sign_r), fp); in forkpty_0100() 47 fwrite(sign_r, sizeof(char), strlen(sign_r), fp); in forkpty_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | fgetws.c | 33 size_t fw = fwrite(str, sizeof(char), sizeof(str), fp); in fgetws_0100() 60 fwrite(line, sizeof(line) / sizeof(wchar_t), sizeof(*line), fptr); in fgetws_0200()
|
H A D | __fwriting.c | 53 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in __fwriting_0200() 72 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in __fwriting_0300()
|
/third_party/pulseaudio/speex/doc/ |
H A D | sampleenc.c | 52 fwrite(&nbBytes, sizeof(int), 1, stdout); in main() 54 fwrite(cbits, 1, nbBytes, stdout); in main()
|
/third_party/libcoap/src/ |
H A D | coap_subscribe.c | 375 if (fwrite(&observe_key, sizeof(observe_key), 1, fp) != 1) in coap_op_observe_write() 377 if (fwrite(&e_proto, sizeof(e_proto), 1, fp) != 1) in coap_op_observe_write() 379 if (fwrite(&e_listen_addr, sizeof(e_listen_addr), in coap_op_observe_write() 382 if (fwrite(&s_addr_info, sizeof(s_addr_info), 1, fp) != 1) in coap_op_observe_write() 384 if (fwrite(&raw_packet->length, sizeof(raw_packet->length), 1, fp) != 1) in coap_op_observe_write() 386 if (fwrite(raw_packet->s, raw_packet->length, 1, fp) != 1) in coap_op_observe_write() 389 if (fwrite(&oscore_info->length, sizeof(oscore_info->length), 1, fp) != 1) in coap_op_observe_write() 391 if (fwrite(oscore_info->s, oscore_info->length, 1, fp) != 1) in coap_op_observe_write() 396 if (fwrite(¬_defined, sizeof(not_defined), 1, fp) != 1) in coap_op_observe_write() 867 if (fwrite( in coap_op_dyn_resource_write() [all...] |
/third_party/ltp/testcases/kernel/fs/fs_di/ |
H A D | frag.c | 74 perror("fwrite"); in main() 84 bytes_written = fwrite(buff, 1, bytes_read, fp_frag1); in main() 86 perror("fwrite"); in main() 90 bytes_written = fwrite(buff, 1, bytes_read, fp_frag2); in main() 92 perror("fwrite"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/process/ |
H A D | fork.c | 45 fwrite(sign_r, sizeof(char), strlen(sign_r), fp); in fork_0100() 53 fwrite(sign_r, sizeof(char), strlen(sign_r), fp); in fork_0100()
|
/third_party/pulseaudio/src/tests/ |
H A D | stripnul.c | 55 pa_assert_se(fwrite(buffer, granularity, k, o) == k); in main() 62 pa_assert_se(fwrite(p, granularity, left, o) == left); in main()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/turbo-cov/ |
H A D | main.cpp | 34 fwrite(&v, sizeof(v), 1, stdout); in emit() 41 fwrite(str.data(), len, 1, stdout); in emit()
|
/third_party/skia/tools/ |
H A D | skp_parser.cpp | 73 fwrite(skdata->data(), skdata->size(), 1, stdout); in main() 80 fwrite(data->data(), data->size(), 1, stdout); in main()
|
/third_party/mbedtls/programs/aes/ |
H A D | crypt_and_hash.c | 270 if (fwrite(IV, 1, 16, fout) != 16) { in main() 271 mbedtls_fprintf(stderr, "fwrite(%d bytes) failed\n", 16); in main() 349 if (fwrite(output, 1, olen, fout) != olen) { in main() 350 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen); in main() 364 if (fwrite(output, 1, olen, fout) != olen) { in main() 365 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen); in main() 377 if (fwrite(digest, 1, md_size, fout) != md_size) { in main() 378 mbedtls_fprintf(stderr, "fwrite(%d bytes) failed\n", md_size); in main() 504 if (fwrite(output, 1, olen, fout) != olen) { in main() 505 mbedtls_fprintf(stderr, "fwrite( in main() [all...] |