Home
last modified time | relevance | path

Searched refs:file_length (Results 1 - 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ftruncate/
H A Dftruncate01.c33 int i, file_length; in check_and_report() local
40 file_length = stat_buf.st_size; in check_and_report()
42 if (file_length != trunc_len) { in check_and_report()
44 file_length); in check_and_report()
/third_party/libwebsockets/plugins/
H A Dprotocol_post_demo.c45 long file_length; member
94 pss->file_length += len; in file_upload_cb()
97 if (pss->file_length > 100000) in file_upload_cb()
167 pss->filename, pss->file_length); in format_result()
195 pss->file_length = 0; in callback_post_demo()
/third_party/libsnd/tests/
H A Dstdio_test.c65 static size_t file_length (const char *filename) ;
101 if ((file_size = file_length (buffer)) < PIPE_TEST_LEN) in stdio_test()
129 file_length (const char *filename) in file_length() function
138 } /* file_length */ in file_length()
H A Dcompression_size_test.c163 q3_size = (int) file_length (q3_fname) ; in compression_size_test()
164 q6_size = (int) file_length (q6_fname) ; in compression_size_test()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
H A Dminimal-http-server-form-post-file.c33 unsigned long long file_length; /* the amount of bytes uploaded */ member
74 pss->file_length += (unsigned int)len; in file_upload_cb()
88 pss->file_length, pss->filename); in file_upload_cb()
/third_party/node/deps/v8/src/d8/
H A Dd8-posix.cc705 int32_t file_length = bit_cast<int32_t>(htonl(big_endian_file_length)); in ReadCharsFromTcpPort() local
707 if (file_length < 0) { in ReadCharsFromTcpPort()
709 file_length, name, Shell::options.read_from_tcp_port.get()); in ReadCharsFromTcpPort()
715 char* chars = new char[file_length]; in ReadCharsFromTcpPort()
719 while (total_received < file_length) { in ReadCharsFromTcpPort()
721 recv(sockfd, chars + total_received, file_length - total_received, 0); in ReadCharsFromTcpPort()
733 *size_out = file_length; in ReadCharsFromTcpPort()
/third_party/libfuse/example/
H A Dinvalidate_path.c140 int file_length = strlen(time_file_contents); in xmp_read() local
141 int to_copy = offset + size <= file_length in xmp_read()
143 : file_length - offset; in xmp_read()
/third_party/ltp/testcases/kernel/fs/inode/
H A Dinode02.c85 int max_depth, max_breadth, file_length; variable
140 file_length = 8; in main()
145 ("\tinode02 max_depth max_breadth file_length #children\n\tdefault: inode02 6 5 8 5\n"); in main()
153 if (sscanf(argv[i++], "%d", &file_length) != 1) in main()
220 "Bad argument - %s - could not parse as number.\n\tinode02 [max_depth] [max_breadth] [file_length] [#children]\n\tdefault: inode02 6 5 8 5\n", in bd_arg()
468 for (j = 1; j <= file_length; j++) { in generate()
620 for (j = 1; j <= file_length; j++) { in check()
/third_party/libwebsockets/plugins/deaddrop/
H A Dprotocol_lws_deaddrop.c82 unsigned long long file_length; member
309 pss->file_length += (unsigned int)len; in file_upload_cb()
312 if (pss->file_length > pss->vhd->max_size) { in file_upload_cb()
579 pss->file_length = 0; in callback_deaddrop()
/third_party/skia/third_party/externals/zlib/google/
H A Dzip_reader.h259 int64_t file_length() { return file_length_; } in file_length() function in zip::FileWriterDelegate
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_reader_unittest.cc915 EXPECT_EQ(0, writer.file_length()); in TEST_F()
918 EXPECT_EQ(payload.size(), writer.file_length()); in TEST_F()
929 EXPECT_EQ(0, writer.file_length()); in TEST_F()
932 EXPECT_EQ(payload.size(), writer.file_length()); in TEST_F()
935 EXPECT_EQ(0, writer.file_length()); in TEST_F()
H A Dzip_reader.h324 int64_t file_length() { return file_length_; } in file_length() function in zip::FileWriterDelegate
/third_party/node/deps/zlib/google/
H A Dzip_reader_unittest.cc901 EXPECT_EQ(0, writer.file_length()); in TEST_F()
904 EXPECT_EQ(payload.size(), writer.file_length()); in TEST_F()
915 EXPECT_EQ(0, writer.file_length()); in TEST_F()
918 EXPECT_EQ(payload.size(), writer.file_length()); in TEST_F()
921 EXPECT_EQ(0, writer.file_length()); in TEST_F()
H A Dzip_reader.h366 int64_t file_length() { return file_length_; } in file_length() function in zip::FileWriterDelegate
/third_party/nghttp2/src/
H A DHttpServer.h173 time_t last_modified, off_t file_length,
H A DHttpServer.cc933 time_t last_modified, off_t file_length, in submit_file_response()
947 util::make_string_ref_uint(stream->balloc, file_length)); in submit_file_response()
932 submit_file_response(const StringRef &status, Stream *stream, time_t last_modified, off_t file_length, const std::string *content_type, nghttp2_data_provider *data_prd) submit_file_response() argument
/third_party/ffmpeg/libavformat/
H A Dwtvdec.c262 uint64_t file_length; in wtvfile_open2() local
270 file_length = AV_RL64(buf + 24); in wtvfile_open2()
294 return wtvfile_open_sector(first_sector, file_length, depth, s); in wtvfile_open2()
H A Dnsvdec.c89 uint32_t file_length; //unknown1; /* what about MSB of file_size ? */

Completed in 17 milliseconds