/external/elfutils/libelf/ |
elf32_getphdr.c | 85 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr)); local 89 || elf->maximum_size - ehdr->e_phoff < size) 100 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) 124 (ElfW2(LIBELFBITS,Phdr) *) malloc (size); 139 memcpy (phdr, file_phdr, size); 151 notcvt = (ElfW2(LIBELFBITS,Phdr) *) malloc (size); 157 memcpy (notcvt, file_phdr, size); 182 (ElfW2(LIBELFBITS,Phdr) *) malloc (size); 192 elf->state.ELFW(elf,LIBELFBITS).phdr, size, 194 if (unlikely ((size_t) n != size)) [all...] |
elf_update.c | 44 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) 56 /* Adjust the size in any case. We do this even if we use `write'. 63 || (size_t) size > elf->maximum_size) 64 && unlikely (ftruncate (elf->fildes, size) != 0)) 73 elf->map_address = mmap (NULL, size, PROT_READ | PROT_WRITE, 94 || (size_t) size > elf->maximum_size) 95 && unlikely (posix_fallocate (elf->fildes, 0, size) != 0)) 107 size = -1; 116 size = -1; 119 /* Reduce the file size if necessary. * 153 off_t size; local [all...] |
/external/google-breakpad/src/common/linux/ |
memory_mapped_file.h | 57 // success. Mapping an empty file will succeed but with data() and size() 74 // Returns the size in bytes of the mapped file, or zero if no file 76 size_t size() const { return content_.length(); } function in class:google_breakpad::MemoryMappedFile
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularImmutableSet.java | 34 checkArgument(delegate.size() >= 2);
|
/external/libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/ |
generate.pass.cpp | 799 const int size = sizeof(v)/sizeof(v[0]); local 800 std::seed_seq s(v, v + size);
|
/external/libexif/libexif/ |
exif-format.c | 35 unsigned char size; member in struct:__anon14762 77 for (i = 0; ExifFormatTable[i].size; i++) 79 return ExifFormatTable[i].size;
|
/external/libexif/test/ |
test-mem.c | 35 unsigned char *eb, size[2]; local 55 size[0] = (unsigned char) ebs; 56 size[1] = (unsigned char) (ebs >> 8); 57 exif_loader_write (loader, size, 2);
|
/external/libselinux/src/ |
canonicalize_context.c | 17 size_t size; local 30 size = selinux_page_size; 31 buf = malloc(size); 36 strncpy(buf, con, size); 42 memset(buf, 0, size); 43 ret = read(fd, buf, size - 1); 47 strncpy(buf, con, size);
|
compute_create.c | 20 size_t size; local 33 size = selinux_page_size; 34 buf = malloc(size); 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 45 memset(buf, 0, size); 46 ret = read(fd, buf, size - 1);
|
get_initial_context.c | 18 size_t size; local 32 size = selinux_page_size; 33 buf = malloc(size); 38 memset(buf, 0, size); 39 ret = read(fd, buf, size - 1);
|
getpeercon.c | 17 socklen_t size; local 20 size = INITCONTEXTLEN + 1; 21 buf = malloc(size); 24 memset(buf, 0, size); 26 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size); 30 newbuf = realloc(buf, size); 35 memset(buf, 0, size); 36 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size);
|
/external/libvncserver/libvncserver/ |
zrlepalettehelper.h | 37 int size; member in struct:__anon16337
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfStringPool.cpp | 27 Entry.Index = Pool.size() - 1; 31 NumBytes += Str.size() + 1; 47 SmallVector<const StringMapEntry<EntryTy> *, 64> Entries(Pool.size()); 70 unsigned size = 4; // FIXME: DWARF64 is 8. local 72 Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size);
|
/external/lzma/C/ |
7zBuf.h | 14 size_t size;
member in struct:__anon18518 18 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
24 size_t size;
member in struct:__anon18519 30 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
|
/external/opencv3/modules/core/perf/ |
perf_cvround.cpp | 26 Size size = get<0>(GetParam()); local 29 cv::Mat src(size, type), dst(size, CV_32SC1);
|
perf_dot.cpp | 19 int size = get<1>(GetParam()); local 20 Mat a(size, size, type); 21 Mat b(size, size, type);
|
/external/opencv3/modules/cudaimgproc/perf/ |
perf_blend.cpp | 57 const cv::Size size = GET_PARAM(0); local 63 cv::Mat img1(size, type); 64 cv::Mat img2(size, type); 67 const cv::Mat weights1(size, CV_32FC1, cv::Scalar::all(0.5)); 68 const cv::Mat weights2(size, CV_32FC1, cv::Scalar::all(0.5));
|
perf_match_template.cpp | 54 DEF_PARAM_TEST(Sz_TemplateSz_Cn_Method, cv::Size, cv::Size, MatCn, TemplateMethod); 58 Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)), 64 const cv::Size size = GET_PARAM(0); local 65 const cv::Size templ_size = GET_PARAM(1); 69 cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn)); 100 Values(cv::Size(5, 5), cv::Size(16, 16), cv::Size(30, 30)) 106 const cv::Size size = GET_PARAM(0); local [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream_inl.h | 49 int size) { 50 if (size < 0) return false; // security: size is often user-supplied 52 if (BufferSize() >= size) { 53 STLStringResizeUninitialized(buffer, size); 55 // requires non-NULL pointers even when size is 0. Hench this check. 56 if (size > 0) { 57 memcpy(mutable_string_data(buffer), buffer_, size); local 58 Advance(size); 63 return ReadStringFallback(buffer, size); [all...] |
/external/selinux/libselinux/src/ |
fgetfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); 26 size = fgetxattr(fd, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
getfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
lgetfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
/external/skia/src/svg/parser/ |
SkSVG.cpp | 22 size_t size = stream->read(nil, 0); variable 23 SkAutoTMalloc<char> storage(size); 25 size_t actual = stream->read(data, size); 26 SkASSERT(size == actual);
|
/external/skia/tools/VisualBench/ |
VisualDebugModule.cpp | 30 SkIPoint size = benchmark->getSize(); local 31 fDebugCanvas.reset(new SkDebugCanvas(size.fX, size.fY));
|
/external/strace/ |
affinity.c | 35 const unsigned int size = len * sizeof(w); local 36 const unsigned long end = addr + size; 40 !addr || !len || size / sizeof(w) != len || end < addr) {
|