Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 12 of 12) sorted by relevance

/external/grub/util/
Dmkbimage285 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;
316 1.68) [ $file_size -ge $bk_168 ] && error wont_fit;
321 1.74) [ $file_size -ge $bk_174 ] && error wont_fit;
326 2.88) [ $file_size -ge $bk_288 ] && error wont_fit;
/external/netperf/
Dnetcpu_looper.c278 unsigned int i, file_size; in start_looper_processes() local
286 file_size = ((netlib_get_page_size() * PAGES_PER_CHILD) * in start_looper_processes()
316 if (truncate("/tmp/netperf_cpu",file_size) == -1) { in start_looper_processes()
333 file_size, in start_looper_processes()
347 file_size, in start_looper_processes()
384 if ((lib_base_pointer = malloc(file_size)) == NULL) { in start_looper_processes()
387 file_size); in start_looper_processes()
/external/qemu/telephony/
Dsim_card.c205 int file_size, perm; in sim_file_to_hex() local
212 file_size = file->dedicated.length; in sim_file_to_hex()
214 file_size = file->linear.rec_count * file->linear.rec_len; in sim_file_to_hex()
216 gsm_hex_from_short( dst, file_size ); in sim_file_to_hex()
/external/gtest/src/
Dgtest-port.cc478 const size_t file_size = GetFileSize(file); in ReadEntireFile() local
479 char* const buffer = new char[file_size]; in ReadEntireFile()
489 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); in ReadEntireFile()
491 } while (bytes_last_read > 0 && bytes_read < file_size); in ReadEntireFile()
/external/oprofile/libdb/
Ddb_manage.c206 size_t file_size; in odb_open() local
215 file_size = tables_size(data, nr_node); in odb_open()
216 if (ftruncate(data->fd, file_size)) { in odb_open()
/external/sonivox/jet_tools/JetCreator/
DJetFile.py470 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…
Dmidifile.py978 def ReadFromStream (self, stream, offset, file_size): argument
995 if (self.start + track_len) > file_size:
1261 def ReadFromStream (self, start_offset=0, file_size=None): argument
1268 if file_size == None:
1271 file_size = self.tell() - self.start_offset
1274 file_size = file_size
1303 length = track.ReadFromStream(self, offset, file_size)
1315 if (offset - start_offset) != file_size:
1316 self.Warning('SMF file size is incorrect - should be %d, was %d' % (file_size, offset))
/external/freetype/include/freetype/
Dftwinfnt.h186 FT_ULong file_size; member
Dfreetype.h1888 FT_Long file_size,
/external/bluetooth/glib/gio/
Dgiotypes.h155 goffset file_size,
/external/wpa_supplicant/
Dpcsc_funcs.c981 int file_size; in scard_get_imsi() local
982 if (scard_parse_fsp_templ(buf, blen, NULL, &file_size)) in scard_get_imsi()
984 blen = file_size; in scard_get_imsi()
/external/freetype/src/base/
Dftobjs.c1156 FT_Long file_size, in FT_New_Memory_Face() argument
1169 args.memory_size = file_size; in FT_New_Memory_Face()