HomeSort by relevance Sort by last modified time
    Searched defs:file_size (Results 1 - 20 of 20) sorted by null

  /system/core/fastboot/
util_windows.c 55 DWORD file_size; local
68 file_size = GetFileSize( file, NULL );
71 if (file_size > 0) {
72 data = (char*) malloc( file_size );
74 fprintf(stderr, "load_file: could not allocate %ld bytes\n", file_size );
75 file_size = 0;
79 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
80 out_bytes != file_size )
82 fprintf(stderr, "load_file: could not read %ld bytes from '%s'\n", file_size, fn);
85 file_size = 0
    [all...]
  /external/oprofile/libdb/
db_manage.c 206 size_t file_size; local
215 file_size = tables_size(data, nr_node);
216 if (ftruncate(data->fd, file_size)) {
  /external/chromium/net/base/
file_stream_unittest.cc 102 int64 file_size; local
103 bool ok = file_util::GetFileSize(temp_file_path(), &file_size);
113 EXPECT_EQ(file_size, total_bytes_avail);
127 EXPECT_EQ(file_size, total_bytes_read);
132 int64 file_size; local
133 bool ok = file_util::GetFileSize(temp_file_path(), &file_size);
144 EXPECT_EQ(file_size, total_bytes_avail);
162 EXPECT_EQ(file_size, total_bytes_read);
167 int64 file_size; local
168 bool ok = file_util::GetFileSize(temp_file_path(), &file_size);
197 int64 file_size; local
232 int64 file_size; local
300 int64 file_size; local
322 int64 file_size; local
354 int64 file_size; local
385 int64 file_size; local
404 int64 file_size; local
439 int64 file_size; local
478 int64 file_size; local
526 int64 file_size; local
581 int64 file_size; local
731 int64 file_size; local
833 int64 file_size; local
    [all...]
  /external/chromium/net/disk_cache/
block_files.cc 466 int file_size = static_cast<int>(file->GetLength()); local
467 if (file_size < static_cast<int>(sizeof(*header)))
468 return false; // file_size > 2GB is also an error.
471 if (file_size != expected) {
473 if (file_size < expected || header->empty[3] || file_size > max_expected) {
479 int num_entries = (file_size - sizeof(*header)) / header->entry_size;
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest-port.cc 142 const size_t file_size = GetFileSize(file); local
143 char* const buffer = new char[file_size];
153 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
155 } while (bytes_last_read > 0 && bytes_read < file_size);
  /external/chromium/sdch/open-vcdiff/src/
vcdiff_main.cc 91 // returns true and populates file_size if successful; otherwise, it returns
93 static bool FileSize(FILE* file, size_t* file_size);
209 bool VCDiffFileBasedCoder::FileSize(FILE* file, size_t* file_size) {
214 *file_size = static_cast<size_t>(ftell(file));
272 size_t file_size = 0U; local
273 if (!FileSize(*file, &file_size)) {
279 if (file_size < buffer_size) {
281 buffer_size = file_size;
  /external/freetype/include/freetype/
ftwinfnt.h 186 FT_ULong file_size; member in struct:FT_WinFNT_HeaderRec_
  /external/netperf/
netcpu_looper.c 279 unsigned int i, file_size;
287 file_size = ((netlib_get_page_size() * PAGES_PER_CHILD) *
317 if (truncate("/tmp/netperf_cpu",file_size) == -1) {
334 file_size,
346 fprintf(where,"num CPUs %d, file_size %d, lib_base_pointer %p\n",
348 file_size,
385 if ((lib_base_pointer = malloc(file_size)) == NULL) {
388 file_size);
278 unsigned int i, file_size; local
  /external/gtest/src/
gtest-port.cc 482 const size_t file_size = GetFileSize(file); local
483 char* const buffer = new char[file_size];
493 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
495 } while (bytes_last_read > 0 && bytes_read < file_size);
  /external/protobuf/src/google/protobuf/compiler/
plugin.pb.h 351 inline int file_size() const;
685 inline int CodeGeneratorResponse::file_size() const { function in class:google::protobuf::compiler::CodeGeneratorResponse
  /external/qemu/telephony/
sim_card.c 205 int file_size, perm; local
212 file_size = file->dedicated.length;
214 file_size = file->linear.rec_count * file->linear.rec_len;
216 gsm_hex_from_short( dst, file_size );
  /device/samsung/crespo/libs3cjpeg/
JpegEncoder.h 150 uint32_t file_size; member in struct:android::__anon1400
161 uint32_t file_size; member in struct:android::__anon1401
  /external/chromium/net/url_request/
url_request_unittest.cc 666 int64 file_size = -1; local
667 EXPECT_TRUE(file_util::GetFileSize(app_path, &file_size));
672 EXPECT_EQ(d.bytes_received(), static_cast<int>(file_size));
686 int64 file_size; local
687 EXPECT_TRUE(file_util::GetFileSize(temp_path, &file_size));
727 int64 file_size; local
728 EXPECT_TRUE(file_util::GetFileSize(temp_path, &file_size));
767 int64 file_size; local
768 EXPECT_TRUE(file_util::GetFileSize(temp_path, &file_size));
2089 int64 file_size = 0; local
2114 int64 file_size = 0; local
2138 int64 file_size = 0; local
2167 int64 file_size = 0; local
2191 int64 file_size = 0; local
2220 int64 file_size = 0; local
2248 int64 file_size = 0; local
2266 int64 file_size = 0; local
2297 int64 file_size = 0; local
2318 int64 file_size = 0; local
    [all...]
  /external/wpa_supplicant/
pcsc_funcs.c 279 wpa_printf(MSG_DEBUG, "SCARD: file_size=%d",
981 int file_size; local
982 if (scard_parse_fsp_templ(buf, blen, NULL, &file_size))
984 blen = file_size;
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
pcsc_funcs.c 279 wpa_printf(MSG_DEBUG, "SCARD: file_size=%d",
981 int file_size; local
982 if (scard_parse_fsp_templ(buf, blen, NULL, &file_size))
984 blen = file_size;
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/dhd/exe/
dhdu.c 87 static int file_size(char *fname);
275 file_size(char *fname) function
1202 if ((ret = file_size(fname)) < 0)
    [all...]
  /system/core/adb/
sysdeps_win32.c 25 DWORD file_size; local
38 file_size = GetFileSize( file, NULL );
41 if (file_size > 0) {
42 data = (char*) malloc( file_size + 1 );
44 D("load_file: could not allocate %ld bytes\n", file_size );
45 file_size = 0;
49 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
50 out_bytes != file_size )
52 D("load_file: could not read %ld bytes from '%s'\n", file_size, fn);
55 file_size = 0
    [all...]
  /hardware/msm7k/libcamera/
camera_ifc.h 306 int32_t file_size; member in struct:__anon9539
  /external/protobuf/src/google/protobuf/
descriptor.pb.h 207 inline int file_size() const;
2470 inline int FileDescriptorSet::file_size() const { function in class:google::protobuf::FileDescriptorSet
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
reiserfs_fs.h 1844 #define file_size macro
    [all...]

Completed in 585 milliseconds