/frameworks/av/media/img_utils/src/ |
FileOutput.cpp | 53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
filewritestream.h | 60 size_t result = fwrite(buffer_, 1, static_cast<size_t>(current_ - buffer_), fp_);
|
/system/core/adb/ |
commandline.h | 47 fwrite(buffer, 1, length, stream);
|
/system/extras/ioshark/ |
compile_ioshark_subr.c | 205 if (fwrite(filename_cache, 223 return fwrite(header, sizeof(struct ioshark_header), 1, fp); 232 return fwrite(state, sizeof(struct ioshark_file_state), 1, fp); 279 return fwrite(file_op, sizeof(struct ioshark_file_operation), 1, fp);
|
/system/libufdt/tests/src/ |
util.c | 71 if (fwrite(buf, 1, buf_size, fout) < 1) {
|
/external/libdrm/radeon/ |
bof.c | 404 r = fwrite(&bof->type, 4, 1, file); 407 r = fwrite(&bof->size, 4, 1, file); 410 r = fwrite(&bof->array_size, 4, 1, file); 421 r = fwrite(bof->value, bof->size - 12, 1, file); 459 r = fwrite(&bof->type, 4, 1, bof->file); 462 r = fwrite(&bof->size, 4, 1, bof->file); 465 r = fwrite(&bof->array_size, 4, 1, bof->file);
|
/toolchain/binutils/binutils-2.27/gprof/ |
gmon_io.c | 175 if (fwrite (buf, 1, 4, ofp) != 4) 187 if (fwrite (buf, 1, 8, ofp) != 8) 220 if (fwrite (buf, 1, 1, ofp) != 1) 228 if (fwrite (buf, 1, n, ofp) != n) 615 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1) 709 && fwrite (pad, 1, padsize, ofp) != padsize) 720 if (fwrite (&raw_bin_count[0], sizeof (raw_bin_count), 1, ofp) != 1)
|
/external/curl/docs/examples/ |
fopen.c | 487 fwrite(buffer, 1, strlen(buffer), outf); 511 fwrite(buffer, 1, nread, outf); 534 fwrite(buffer, 1, nread, outf); 538 fwrite(buffer, 1, 1, outf); 541 fwrite(buffer, 1, nread, outf);
|
/external/zlib/src/examples/ |
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); 320 fwrite(start, 1, strm.next_in - start, out); 361 fwrite(start, 1, strm.next_in - start, out); 379 fwrite(start, 1, in->next - start - 1, out); 392 fwrite("\0\0\xff\xff", 1, 4, out);
|
/frameworks/rs/ |
rsFileA3D.cpp | 336 fwrite(A3D_MAGIC_KEY, sizeof(char), strlen(A3D_MAGIC_KEY), writeHandle); 340 fwrite(&headerSize, sizeof(headerSize), 1, writeHandle); 343 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); 347 fwrite(&fileDataSize, sizeof(fileDataSize), 1, writeHandle); 349 fwrite(mWriteStream->getPtr(), sizeof(uint8_t), mWriteStream->getPos(), writeHandle);
|
/toolchain/binutils/binutils-2.27/zlib/examples/ |
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); 320 fwrite(start, 1, strm.next_in - start, out); 361 fwrite(start, 1, strm.next_in - start, out); 379 fwrite(start, 1, in->next - start - 1, out); 392 fwrite("\0\0\xff\xff", 1, 4, out);
|
/system/media/audio_utils/ |
tinysndfile.c | 366 (void) fwrite(wav, 44 + extra, 1, stream); 413 (void) fwrite(wav, 44 + extra, 1, handle->stream); 580 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); 585 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); 590 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); 597 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); 615 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream); 621 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream); 640 actualBytes = fwrite(ptr, sizeof(char), desiredBytes, handle->stream);
|
/external/elfutils/src/ |
ldlex.l | 45 #undef fwrite 46 #define fwrite(b, m, n, s) fwrite_unlocked (b, m, n, s) 51 = fwrite (yytext, yyleng, 1, yyout); } while (0)
|
/external/selinux/libselinux/src/ |
regex.c | 181 len = fwrite(&to_write, sizeof(uint32_t), 1, fp); 189 len = fwrite(bytes, 1, to_write, fp); 405 len = fwrite(&to_write, sizeof(uint32_t), 1, fp); 410 len = fwrite(regex->regex, 1, to_write, fp); 425 len = fwrite(&to_write, sizeof(uint32_t), 1, fp); 431 len = fwrite(sd->study_data, 1, to_write, fp);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
RTPencode.cc | 585 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { 588 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { 591 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { 594 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { 597 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { 648 if (fwrite(&length, 2, 1, out_file) != 1) { 651 if (fwrite(&plen, 2, 1, out_file) != 1) { 654 if (fwrite(&offset, 4, 1, out_file) != 1) { 657 if (fwrite(rtp_data, 12 + enc_len, 1, out_file) != 1) { 738 if (fwrite(&length, 2, 1, out_file) != 1) [all...] |
/bionic/tests/ |
fortify_filecheck_diagnostics_test.cpp | 304 // GCC: error: call to '__fwrite_overflow' declared with attribute error: fwrite called with overflowing size * count 305 // CLANG: error: in call to 'fwrite', size * count overflows 306 fwrite(buf, 2, (size_t)-1, stdout); 312 // GCC: error: call to '__fwrite_too_big_error' declared with attribute error: fwrite called with size * count bigger than buffer 314 // CLANG: error: in call to 'fwrite', size * count is too large for the given buffer 315 fwrite(buf, 1, 5, stdout);
|
/external/ImageMagick/coders/ |
url.c | 124 length=fwrite(data,size,1,file); 230 count=(ssize_t) fwrite(buffer,bytes,1,file);
|
/external/iproute2/ip/ |
rtmon.c | 44 fwrite((void *)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp); 54 fwrite((void *)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp);
|
/external/libmojo/mojo/edk/system/ |
platform_handle_dispatcher_unittest.cc | 34 fwrite(kHelloWorld, 1, sizeof(kHelloWorld), fp.get())); 74 EXPECT_EQ(sizeof(kFooBar), fwrite(kFooBar, 1, sizeof(kFooBar), fp.get()));
|
/external/lz4/examples/ |
HCStreaming_ringBuffer.c | 38 return fwrite(&i, sizeof(i), 1, fp); 42 return fwrite(array, 1, arrayBytes, fp);
|
blockStreaming_doubleBuffer.c | 23 return fwrite(&i, sizeof(i), 1, fp); 27 return fwrite(array, 1, arrayBytes, fp);
|
blockStreaming_lineByLine.c | 18 return fwrite(&i, sizeof(i), 1, fp); 23 return fwrite(array, 1, arrayBytes, fp);
|
blockStreaming_ringBuffer.c | 35 return fwrite(&i, sizeof(i), 1, fp); 39 return fwrite(array, 1, arrayBytes, fp);
|
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 92 if (fwrite(contents.data(), 1, contents.size(), file) != contents.size()) { 93 GOOGLE_LOG(ERROR) << "fwrite(" << name << "): " << strerror(errno); 107 GOOGLE_CHECK_EQ(fwrite(contents.data(), 1, contents.size(), file), 109 << "fwrite(" << name << "): " << strerror(errno);
|
/external/toybox/toys/pending/ |
wget.c | 172 if (fwrite(body, 1, body_len, fp) != body_len) 173 error_exit("fwrite error"); 175 if (fwrite(toybuf, 1, len, fp) != len) 176 error_exit("fwrite error");
|