Searched refs:st_size (Results 1 - 25 of 239) sorted by relevance

12345678910

/external/chromium_org/third_party/ots/test/
H A Dperf.cc41 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 Dot-sanitise.cc52 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 Didempotent.cc58 *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/kernel-headers/original/asm-x86/
H A Dstat.h15 unsigned long st_size; member in struct:stat
48 long long st_size; member in struct:stat64
78 long st_size; member in struct:stat
102 unsigned long st_size; member in struct:__old_kernel_stat
107 unsigned int st_size; member in struct:__old_kernel_stat
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/
H A Dbasemmap.c17 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/asm-arm/
H A Dstat.h12 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/elfutils/libdwfl/
H A Ddwfl_module_addrsym.c95 Here we store only symbols with nonzero st_size. */
99 /* Keep track of an eligible symbol with st_size == 0 as a fallback. */
123 if (sym.st_value + sym.st_size > min_label)
124 min_label = sym.st_value + sym.st_size;
126 if (sym.st_size == 0 || addr - sym.st_value < sym.st_size)
135 if (sym.st_size != 0)
144 st_size. If no symbol with proper size includes
155 else if (sym.st_size != 0
157 && closest_sym->st_size > sy
[all...]
/external/elfutils/lib/
H A Dcrc32_file.c67 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/
H A Dmount_node_mem.cc43 size_t size = stat_.st_size;
64 if (count + attr.offs > static_cast<size_t>(stat_.st_size)) {
66 count = stat_.st_size - attr.offs;
86 } else if (new_size < stat_.st_size) {
92 stat_.st_size = new_size;
/external/kernel-headers/original/asm-mips/
H A Dstat.h28 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/linux-tools-perf/util/
H A Dutil.c67 if (st.st_size == 0) /* /proc? do it slowly... */
78 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0);
82 if (write(tofd, addr, st.st_size) == st.st_size)
85 munmap(addr, st.st_size);
/external/chromium_org/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp55 if (!SkTFitsIn<size_t>(status.st_size)) {
58 size_t fileSize = static_cast<size_t>(status.st_size);
/external/elfutils/libelf/
H A Dgelf_update_sym.c98 || unlikely (src->st_size > 0xffffffffull))
117 COPY (st_size);
H A Dgelf_update_symshndx.c124 || unlikely (src->st_size > 0xffffffffull))
143 COPY (st_size);
/external/iproute2/netem/
H A Dstats.c28 if (info.st_size > 0) {
29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */
/external/skia/src/ports/
H A DSkOSFile_posix.cpp55 if (!SkTFitsIn<size_t>(status.st_size)) {
58 size_t fileSize = static_cast<size_t>(status.st_size);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc96 EXPECT_EQ(fsize, (uptr)st3.st_size);
104 EXPECT_NE(0xAB, sam.st.st_size);
105 EXPECT_NE(0, sam.st.st_size);
/external/dropbear/
H A Dcompat.c252 if ((strings = malloc((u_int)statb.st_size + 1)) == NULL) {
256 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
265 flen = statb.st_size;
/external/chromium_org/base/files/
H A Dmemory_mapped_file_posix.cc30 length_ = file_stat.st_size;
/external/e2fsprogs/util/
H A Dcopy_sparse.c126 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/ui/surface/
H A Dtransport_dib_posix.cc90 (!shared_memory_.Map(st.st_size))) {
94 size_ = st.st_size;
/external/chromium_org/third_party/libxml/src/
H A DtestRelax.c96 base = mmap(NULL, info.st_size, PROT_READ,
101 ctxt = xmlRelaxNGNewMemParserCtxt((char *)base,info.st_size);
109 munmap((char *) base, info.st_size);
H A DtestSchemas.c92 base = mmap(NULL, info.st_size, PROT_READ,
97 ctxt = xmlSchemaNewMemParserCtxt((char *)base,info.st_size);
105 munmap((char *) base, info.st_size);
/external/qemu/android/utils/
H A Dtimezone.c187 if ( st.st_size != scan->localtime_st.st_size ) {
188 D( " size mistmatch (%zd != %zd)\n", (size_t)st.st_size, (size_t)scan->localtime_st.st_size );
206 for (nn = 0; nn < st.st_size; nn++) {
220 result = (nn == st.st_size);
/external/elfutils/backends/
H A Dppc_symbol.c114 /* Check whether given symbol's st_value and st_size are OK despite failing
141 && sym->st_size == 0);
146 && sym->st_size == 0);

Completed in 667 milliseconds

12345678910