/external/chromium_org/third_party/ots/test/ |
H A D | perf.cc | 41 uint8_t *data = new uint8_t[st.st_size]; 42 if (::read(fd, data, st.st_size) != st.st_size) { 51 uint8_t *result = new uint8_t[st.st_size + kPadLen]; 54 if (st.st_size < 1024 * 1024) { 57 if (st.st_size < 1024 * 100) { 64 ots::MemoryStream output(result, st.st_size + kPadLen); 65 bool r = ots::Process(&output, data, st.st_size); 77 us, argv[1], static_cast<long long>(st.st_size), 78 (us ? st.st_size / u [all...] |
H A D | ot-sanitise.cc | 52 uint8_t *data = new uint8_t[st.st_size]; 53 if (::read(fd, data, st.st_size) != st.st_size) { 63 const bool result = ots::Process(&output, data, st.st_size);
|
H A D | idempotent.cc | 58 *file_size = st.st_size; 59 *data = new uint8_t[st.st_size]; 60 if (read(fd, *data, st.st_size) != st.st_size) {
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/ |
H A D | basemmap.c | 17 buf = mmap(NULL, statbuf.st_size, PROT_READ, MAP_SHARED|MAP_NORESERVE, 20 uchar *cur, *lim = &buf[statbuf.st_size]; 24 munmap(buf, statbuf.st_size);
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | stat.h | 17 unsigned long st_size; member in struct:stat 56 long long st_size; member in struct:stat64 92 __kernel_long_t st_size; member in struct:stat 125 unsigned long st_size; member in struct:__old_kernel_stat 130 unsigned int st_size; member in struct:__old_kernel_stat
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | stat.h | 12 unsigned long st_size; member in struct:__old_kernel_stat 38 unsigned long st_size; member in struct:stat 71 long long st_size; member in struct:stat64
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | stat.h | 32 long st_size; /* Size of file, in bytes. */ member in struct:stat 57 long long st_size; /* Size of file, in bytes. */ member in struct:stat64
|
/external/elfutils/0.153/lib/ |
H A D | crc32_file.c | 67 size_t mapsize = st.st_size; 82 if (st.st_size <= (off_t) mapsize) 84 *resp = crc32 (crc, mapped, st.st_size); 90 st.st_size -= mapsize;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/ |
H A D | mem_fs_node.cc | 53 size_t size = stat_.st_size; 75 if (new_size > stat_.st_size) { 105 } else if (new_length < stat_.st_size) { 120 if (new_length > stat_.st_size) 121 memset(data_ + stat_.st_size, 0, new_length - stat_.st_size); 122 stat_.st_size = new_length;
|
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_module_addrsym.c | 95 Here we store only symbols with nonzero st_size. */ 99 /* Keep track of an eligible symbol with st_size == 0 as a fallback. */ 125 if (sym.st_value + sym.st_size > min_label) 126 min_label = sym.st_value + sym.st_size; 128 if (sym.st_size == 0 || addr - sym.st_value < sym.st_size) 137 if (sym.st_size != 0) 148 st_size. If no symbol with proper size includes 159 else if (sym.st_size != 0 161 && closest_sym->st_size > sy [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | utils.c | 42 map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 52 pf->len = sb.st_size; 56 munmap(map, sb.st_size); 63 munmap(map, sb.st_size);
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
H A D | stat.h | 28 off_t st_size; member in struct:stat 66 long long st_size; member in struct:stat64 107 off_t st_size; member in struct:stat
|
/external/elfutils/0.153/libelf/ |
H A D | elf_readall.c | 120 if (sizeof (size_t) >= sizeof (st.st_size) 121 || st.st_size <= ~((size_t) 0)) 122 elf->maximum_size = (size_t) st.st_size;
|
H A D | gelf_update_sym.c | 98 || unlikely (src->st_size > 0xffffffffull)) 117 COPY (st_size);
|
H A D | gelf_update_symshndx.c | 124 || unlikely (src->st_size > 0xffffffffull)) 143 COPY (st_size);
|
/external/iproute2/netem/ |
H A D | stats.c | 28 if (info.st_size > 0) { 29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */
|
/external/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 55 if (!SkTFitsIn<size_t>(status.st_size)) { 58 size_t fileSize = static_cast<size_t>(status.st_size);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_zip.cpp | 111 if (stat_buf.st_size > kMaxZipFileLength) { 113 __FUNCTION__, stat_buf.st_size, zip_file); 118 void* mem = fd.Map(NULL, stat_buf.st_size, PROT_READ, MAP_PRIVATE, 0); 124 ScopedMMap scoped_mmap(mem, stat_buf.st_size); 130 for (off = stat_buf.st_size - sizeof(kEndOfCentralDirectoryMarker);
|
H A D | crazy_linker_elf_symbols.cpp | 71 elf_addr < sym->st_value + sym->st_size) { 94 if (elf_addr >= sym->st_value && elf_addr < sym->st_value + sym->st_size) { 105 diff = elf_addr - sym->st_value - sym->st_size; 118 *sym_size = nearest_sym->st_size;
|
/external/libpcap/tests/ |
H A D | filtertest.c | 85 cp = malloc((u_int)buf.st_size + 1); 87 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1, 89 cc = read(fd, cp, (u_int)buf.st_size); 92 if (cc != buf.st_size) 93 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);
|
H A D | valgrindtest.c | 118 cp = malloc((u_int)buf.st_size + 1); 120 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1, 122 cc = read(fd, cp, (u_int)buf.st_size); 125 if (cc != buf.st_size) 126 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 126 numblocks = (fileinfo.st_size + (bs-1)) / bs; 129 (long long) fileinfo.st_size, numblocks); 189 offset = fileinfo.st_size; 194 if (fileinfo.st_size != offset) {
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 67 if (!SkTFitsIn<size_t>(status.st_size)) { 70 size_t fileSize = static_cast<size_t>(status.st_size);
|
/external/chromium_org/ui/surface/ |
H A D | transport_dib_posix.cc | 87 (!shared_memory_.Map(st.st_size))) { 91 size_ = st.st_size;
|
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/ |
H A D | common.py | 102 st_size, 115 st_size: file size in bytes. long compatible. 126 self.st_size = None 133 self.st_size = long(st_size) 144 '(filename: %(filename)s, st_size: %(st_size)s, ' 149 st_size=self.st_size,
|