/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/grub/util/ |
mkbimage | 285 file_size=`$decompress $tarfile | wc -c | tr -d ' '` 286 file_size=$(($file_size / $block_size + 1)) 290 file_size=$(($file_size + $file_size / 10)) 299 cylinders=$(($file_size / $cyl_size + 2));; 300 1.20) [ $file_size -ge $bk_120 ] && error wont_fit; 305 1.44) [ $file_size -ge $bk_144 ] && error wont_fit; 310 1.60) [ $file_size -ge $bk_160 ] && error wont_fit; [all...] |
/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/bluetooth/glib/gio/ |
giotypes.h | 144 * @file_size: the size of the data currently read. 155 goffset file_size,
|
/external/freetype/include/freetype/ |
ftwinfnt.h | 186 FT_ULong file_size; member in struct:FT_WinFNT_HeaderRec_
|
freetype.h | [all...] |
/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 );
|
/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/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/sonivox/jet_tools/JetCreator/ |
JetFile.py | 470 file_size = end_pos - start_pos
471 if file_size & 1:
472 file_size += 1
475 smf_header = struct.pack(JET_HEADER_STRUCT, JET_SMF_CHUNK, file_size)
487 file_size = lib_file.tell()
491 dls_header = struct.pack(JET_HEADER_STRUCT, JET_DLS_CHUNK, file_size)
499 file_size = output_file.tell()
501 jet_header = struct.pack(JET_HEADER_STRUCT, JET_HEADER_TAG, file_size - struct.calcsize(JET_HEADER_STRUCT))
[all...] |
midifile.py | 978 def ReadFromStream (self, stream, offset, file_size):
995 if (self.start + track_len) > file_size:
[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:__anon7629
|
QualcommCameraHardware.cpp | [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...] |
/external/freetype/src/base/ |
ftobjs.c | [all...] |