Searched defs:size (Results 126 - 150 of 7454) sorted by relevance

1234567891011>>

/external/libselinux/src/
H A Dfgetfilecon.c13 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...]
H A Dgetfilecon.c13 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...]
H A Dlgetfilecon.c13 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/lzma/C/
H A D7zBuf.c11 p->size = 0;
14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) argument
16 p->size = 0;
17 if (size == 0)
22 p->data = (Byte *)alloc->Alloc(alloc, size);
25 p->size = size;
35 p->size = 0;
H A D7zBuf.h16 size_t size; member in struct:__anon26690
20 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
26 size_t size; member in struct:__anon26691
32 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
/external/lzma/CPP/7zip/Archive/Common/
H A DDummyOutStream.cpp7 STDMETHODIMP CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) argument
13 realProcessedSize = size;
17 result = _stream->Write(data, size, &realProcessedSize);
/external/lzma/CPP/7zip/Common/
H A DLockedStream.cpp7 HRESULT CLockedInStream::Read(UInt64 startPos, void *data, UInt32 size, argument
12 return _stream->Read(data, size, processedSize);
15 STDMETHODIMP CLockedSequentialInStreamImp::Read(void *data, UInt32 size, UInt32 *processedSize) argument
18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_hash.c112 util_hash_crc32(const void *data, size_t size) argument
117 while (size--)
/external/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl134 sub size {
236 sub size {}
310 sub size {
497 } elsif (!$elf && $dir =~ /\.size/) {
586 /\.size/ && do { if (defined($current_function)) {
814 if ($arg=register->re(\$line)) { opcode->size($arg->size()); }
829 my $sz=opcode->size();
832 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz);
964 # .size functio
133 sub size { subroutine
235 sub size {} subroutine
309 sub size { subroutine
[all...]
/external/oprofile/libutil/
H A Dop_deviceio.c28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) argument
34 count = read(devfd, buf, size);
/external/qemu/distrib/ext4_utils/src/
H A Dcrc16.c49 u16 ext4_crc16(u16 crc_in, const void *buf, int size) argument
54 while (size--)
/external/qemu/distrib/libselinux/src/
H A Dfgetfilecon.c13 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...]
H A Dgetfilecon.c13 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...]
H A Dlgetfilecon.c13 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/qemu/distrib/libsparse/src/
H A Dsparse_crc32.c101 uint32_t sparse_crc32(uint32_t crc_in, const void *buf, int size) argument
107 while (size--)
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_mixer_MMX.c29 Assumes buffer size in bytes is a multiple of 16
40 void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume) argument
46 " movl %2,%%edx\n" /* edx = size */
130 : "r" (dst), "r"(src),"m"(size),
142 void SDL_MixAudio_MMX_S8(char* dst,char* src,unsigned int size,int volume) argument
157 " movl %2,%%edx\n" /* edx = size */
201 : "r" (dst), "r"(src),"m"(size),
/external/qemu/
H A Dmemory-android.c5 uint64_t io_mem_read(int io_index, hwaddr addr, unsigned size) argument
7 return _io_mem_read[io_index][ctzl(size)](io_mem_opaque[io_index],
12 uint64_t val, unsigned size)
14 _io_mem_write[io_index][ctzl(size)](io_mem_opaque[io_index],
11 io_mem_write(int io_index, hwaddr addr, uint64_t val, unsigned size) argument
/external/qemu/util/
H A Dhexdump.c18 void qemu_hexdump(const char *buf, FILE *fp, const char *prefix, size_t size) argument
22 for (b = 0; b < size; b++) {
/external/replicaisland/src/com/replica/replicaisland/
H A DTObjectPool.java31 public TObjectPool(int size) { argument
32 super(size);
/external/skia/include/utils/
H A DSkDebugUtils.h25 inline void SkDebugDumpMathematica(const char *name, const T *array, int size) { argument
28 for (int i=0 ; i < size ; i++) {
30 if (i != size-1) SkDebugf(", ");
/external/skia/src/core/
H A DSkFlattenableSerialization.cpp17 size_t size = writer.bytesWritten(); local
18 void* data = sk_malloc_throw(size);
20 return SkData::NewFromMalloc(data, size);
23 SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size, argument
25 SkValidatingReadBuffer buffer(data, size);
/external/skia/src/svg/
H A DSkSVG.cpp21 size_t size = stream->read(nil, 0); variable
22 SkAutoMalloc storage(size);
24 size_t actual = stream->read(data, size);
25 SkASSERT(size == actual);
/external/srec/shared/include/
H A DLStringImpl.h43 * Underlying string size.
45 size_t size; member in struct:LStringImpl_t
/external/srec/srec/clib/
H A Dmemmove.h29 size_t size);
32 size_t size)
42 memcpy(dest, src, size);
43 dest = (void *)(((char *)dest) + size);
44 src = (void *)(((char *)src) + size);
31 memmove_inline(void *dest, const void *src, size_t count, size_t size) argument
/external/stlport/test/unit/
H A Dlexcmp_test.cpp33 const unsigned size = 6; local
34 char n1[size] = "shoe";
35 char n2[size] = "shine";
37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size);
42 const unsigned size = 6; local
43 char n1[size] = "shoe";
44 char n2[size] = "shine";
46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greate
[all...]

Completed in 9430 milliseconds

1234567891011>>