/external/elfutils/src/ |
xelf.h | 131 ? ({ size_t fsize; \ 134 case ELF_T_BYTE: fsize = 1; break; \ 135 case ELF_T_ADDR: fsize = sizeof (Elf32_Addr); break; \ 136 case ELF_T_DYN: fsize = sizeof (Elf32_Dyn); break; \ 137 case ELF_T_EHDR: fsize = sizeof (Elf32_Ehdr); break; \ 138 case ELF_T_HALF: fsize = sizeof (Elf32_Half); break; \ 139 case ELF_T_OFF: fsize = sizeof (Elf32_Off); break; \ 140 case ELF_T_PHDR: fsize = sizeof (Elf32_Phdr); break; \ 141 case ELF_T_RELA: fsize = sizeof (Elf32_Rela); break; \ 142 case ELF_T_REL: fsize = sizeof (Elf32_Rel); break; [all...] |
/external/elfutils/libelf/ |
elf32_fsize.c | 43 elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version) 68 local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
|
/external/ltp/testcases/kernel/mem/mtest06/ |
mmap2.c | 157 unsigned long fsize = 128; local 198 fsize = atoi(optarg); 199 if (fsize == 0) 201 "fsize %lu MB\n", fsize = 128); 218 "\tSize of temp file in MB: %lu\n", exec_time, fsize); 222 if (fsize > avail_memory_mb) { 245 fd = mkfile(fsize); 255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE, 264 memset(memptr, 'A', ((fsize * MB) / sizeof(char))) [all...] |
mmap3.c | 87 int fsize; local 99 if ((fd = mkfile(&fsize)) == -1) 102 addr = SAFE_MMAP(NULL, fsize, PROT_WRITE | PROT_READ, 105 memset(addr, 'A', fsize); 108 tid, addr, fsize/1024, i); 112 SAFE_MUNMAP(addr, fsize);
|
/system/media/audio_utils/spdif/ |
DTSFrameScanner.cpp | 88 uint32_t fsize = parser.readBits(14); local 104 if (fsize < DTS_MINIMUM_FSIZE) { 105 ALOGE("DTSFrameScanner: ERROR - fsize = %u", fsize); 128 mFrameSizeBytes = fsize + 1;
|
/system/core/trusty/storage/tests/ |
main.cpp | 1149 storage_off_t fsize = (storage_off_t)(-1); local 1195 storage_off_t fsize = (storage_off_t)(-1); local 1240 storage_off_t fsize = (storage_off_t)(-1); local 1284 storage_off_t fsize = (storage_off_t)(-1); local 1329 storage_off_t fsize = (storage_off_t)(-1); local 1381 storage_off_t fsize = (storage_off_t)(-1); local 1448 storage_off_t fsize = (storage_off_t)(-1); local 1497 storage_off_t fsize = (storage_off_t)(-1); local 1552 storage_off_t fsize = (storage_off_t)(-1); local 1599 storage_off_t fsize = (storage_off_t)(-1); local 1670 storage_off_t fsize = (storage_off_t)(-1); local 1748 storage_off_t fsize = (storage_off_t)(-1); local 1856 storage_off_t fsize = (storage_off_t)(-1); local 2005 storage_off_t fsize = (storage_off_t)(-1); local 2083 storage_off_t fsize = (storage_off_t)(-1); local 2139 storage_off_t fsize = (storage_off_t)(-1); local 2220 storage_off_t fsize = (storage_off_t)(-1); local 2334 storage_off_t fsize = (storage_off_t)(-1); local 2532 storage_off_t fsize = (storage_off_t)(-1); local 2701 storage_off_t fsize = (storage_off_t)(-1); local 2773 storage_off_t fsize = (storage_off_t)(-1); local 2853 storage_off_t fsize = (storage_off_t)(-1); local 2931 storage_off_t fsize = (storage_off_t)(-1); local 2989 storage_off_t fsize = (storage_off_t)(-1); local [all...] |
/external/curl/docs/examples/ |
ftpupload.c | 72 curl_off_t fsize; local 83 fsize = (curl_off_t)file_info.st_size; 85 printf("Local file size: %" CURL_FORMAT_CURL_OFF_T " bytes.\n", fsize); 120 (curl_off_t)fsize);
|
/external/ltp/testcases/misc/math/float/ |
thread_code.c | 45 size_t fsize; local 66 fsize = bufstat.st_size; 67 if (!fsize) { 72 while ((buffer = malloc(fsize)) == NULL) { 95 while (read(fd, buffer, fsize) != fsize) { 112 return fsize; 280 size_t fsize, fsize2, fsize3; local 284 fsize = read_file(th_data->th_func.din_fname, (void **)&din); 285 if (fsize == (size_t) 0) [all...] |
/external/python/cpython2/Demo/tkinter/ttk/ |
widget_state.py | 23 fsize = str(self.tk.eval("font configure %s -size" % btn_font)) 27 self.fsize_prefix = fsize[0] if fsize[0] == '-' else '' 28 self.base_fsize = int(fsize[1 if fsize[0] == '-' else 0:])
|
/device/linaro/hikey/l-loader/ |
gen_loader_hikey.py | 61 fsize = os.path.getsize(fname) 66 blocks = (fsize + self.block_size - 1) / self.block_size 82 if fsize > 2048: 83 print 'loader size exceeds 2KB. file size: ', fsize 86 left_bytes = 2048 - fsize 88 left_bytes = fsize % self.block_size 105 print 'p_file: ', self.p_file, 'last block is ', fsize % self.block_size, 'bytes', ' tell: ', self.fp.tell(), 'left_bytes: ', left_bytes
|
gen_loader.py | 103 fsize = os.path.getsize(fname) 108 blocks = (fsize + self.block_size - 1) / self.block_size 132 if fsize > 2048: 133 print 'loader size exceeds 2KB. file size: ', fsize 136 left_bytes = 2048 - fsize 138 left_bytes = fsize % self.block_size 154 print 'p_file: ', self.p_file, 'last block is ', fsize % self.block_size, 'bytes', ' tell: ', self.fp.tell(), 'left_bytes: ', left_bytes
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 48 size_t fsize; local 58 fsize = ftell (fp); 61 *calData = (unsigned char *)inv_malloc(fsize); 64 "aborting\n", fsize); 69 *bytesRead = fread(*calData, 1, fsize, fp); 70 if (*bytesRead != fsize) { 72 *bytesRead, fsize);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 48 size_t fsize; local 58 fsize = ftell (fp); 61 *calData = (unsigned char *)inv_malloc(fsize); 64 "aborting\n", fsize); 69 *bytesRead = fread(*calData, 1, fsize, fp); 70 if (*bytesRead != fsize) { 72 *bytesRead, fsize);
|
/hardware/nxp/secure_element/ls_client/src/ |
LsClient.cpp | 118 long fsize = ftell(fIn); local 121 char* lsUpdateBuf = (char*)phNxpEse_memalloc(fsize + 1); 122 fread(lsUpdateBuf, fsize, 1, fIn); 133 long size = fwrite(lsUpdateBuf, 1, fsize, fOut); 134 if (size != fsize) { 135 ALOGE("%s ERROR - Failed to write %ld bytes to file\n", __func__, fsize);
|
/system/extras/mmap-perf/ |
mmapPerf.cpp | 18 static size_t fsize = 1024 * (1ull << 20); variable 19 static size_t pagesTotal = fsize / pageSize; 115 FileMap file{"/data/local/tmp/mmap_test", fsize}; 125 FileMap file{"/data/local/tmp/mmap_test", fsize}; 135 FileMap file{"/data/local/tmp/mmap_test", fsize}; 146 FileMap file{"/data/local/tmp/mmap_test", fsize};
|
/external/puffin/src/ |
file_stream.cc | 40 auto fsize = lseek(fd_, 0, SEEK_END); local 41 TEST_AND_RETURN_FALSE(fsize >= 0); 44 *size = fsize;
|
/bionic/libc/private/ |
bionic_asm_mips.h | 162 * LEAF(x, fsize) 166 #define LEAF(x, fsize) \ 172 .frame $sp, fsize, $ra; \ 180 #define NON_LEAF(x, fsize, retpc) \ 186 .frame $sp, fsize, retpc; \
|
/external/curl/tests/ |
directories.pm | 206 my $fsize = ""; 208 $fsize = $file{'size'} ? sprintf("%7s", $file{'size'}) : sprintf("%7d", 4096); 211 $fsize = sprintf("%7d", length $file{'content'}); 215 push(@contentlist, "$ftype$fperm $fhlink $fuser $fgroup $fsize $ftime $file{'name'}$eol");
|
/external/syslinux/dos/ |
malloc.c | 42 size_t fsize; local 45 fsize = fp->a.size; 48 if (fsize >= size + 2 * sizeof(struct arena_header)) { 54 nfp->a.size = fsize - size;
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
jpeg_mem_unittest.cc | 61 const int fsize = jpeg.size(); local 73 imgdata.reset(Uncompress(temp, fsize / 2, flags, &w, &h, &c, nullptr)); 76 // Now, use a value that makes fsize/2 be enough for a black-filling 78 imgdata.reset(Uncompress(temp, fsize / 2, flags, &w, &h, &c, nullptr)); 83 imgdata.reset(Uncompress(temp, fsize, flags, &w, &h, &c, nullptr)); 103 const int fsize = jpeg.size(); local 112 imgdata1.reset(Uncompress(temp, fsize, flags, &w1, &h1, &c1, nullptr)); 118 imgdata1.reset(Uncompress(temp, fsize, flags, nullptr, 141 imgdata2.reset(Uncompress(temp, fsize, flags, &w, &h, &c, nullptr)); 144 imgdata2.reset(Uncompress(temp, fsize, flags, nullptr 226 const int fsize = jpeg.size(); local 264 const int fsize = jpeg.size(); local [all...] |
/external/autotest/client/site_tests/platform_FileSize/ |
platform_FileSize.py | 45 fsize = os.path.getsize(fname) 47 return fsize
|
/external/syslinux/gpxe/src/include/gpxe/ |
posix_io.h | 28 extern ssize_t fsize ( int fd );
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
readahead02.c | 196 * @fsize: how many bytes to read/mmap 198 * @usec: returns how many microsecond it took to go over fsize bytes 201 static void read_testfile(int do_readahead, const char *fname, size_t fsize, 219 TEST(readahead(fd, offset, fsize - offset)); 240 } while ((size_t)offset < fsize); 259 p = mmap(NULL, fsize, PROT_READ, MAP_SHARED | MAP_POPULATE, fd, 0); 265 for (i = 0; i < fsize; i += pagesize) 274 SAFE_MUNMAP(cleanup, p, fsize);
|
/external/ltp/testcases/kernel/fs/doio/ |
growfiles.c | 1943 off_t fsize; \/* current size of file *\/ local 2480 int fsize; local 2683 int fsize; local [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/ |
space.pass.cpp | 94 std::uintmax_t fsize = expect.f_frsize; 95 std::uintmax_t new_val = val * fsize; 96 TEST_CHECK(new_val / fsize == val); // Test for overflow
|