/frameworks/av/drm/mediadrm/plugins/clearkey/ |
Utils.cpp | 22 if (lhs.size() < rhs.size()) { 24 } else if (lhs.size() > rhs.size()) { 27 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/external/vboot_reference/firmware/2lib/ |
2common.c | 14 int vb2_safe_memcmp(const void *s1, const void *s2, size_t size) 20 if (0 == size) 27 while (size--) 33 int vb2_align(uint8_t **ptr, uint32_t *size, uint32_t align, uint32_t want_size) 41 if (*size < offs) 45 *size -= offs; 48 if (*size < want_size) 54 void vb2_workbuf_init(struct vb2_workbuf *wb, uint8_t *buf, uint32_t size) 57 wb->size = size; [all...] |
/external/lzma/C/ |
Sort.c | 8 #define HeapSortDown(p, k, size, temp) \
11 if (s > size) break; \
12 if (s < size && p[s + 1] > p[s]) s++; \
17 void HeapSort(UInt32 *p, size_t size)
19 if (size <= 1)
23 size_t i = size / 2;
28 HeapSortDown(p, k, size, temp)
36 UInt32 temp = p[size];
37 p[size--] = p[1];
38 HeapSortDown(p, k, size, temp) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_malloc_mac.cc | 27 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ 29 user_alloc(cur_thread(), StackTrace::GetCurrentPc(), size, alignment) 30 #define COMMON_MALLOC_MALLOC(size) \ 31 if (cur_thread()->in_symbolizer) return InternalAlloc(size); \ 32 SCOPED_INTERCEPTOR_RAW(malloc, size); \ 33 void *p = user_alloc(thr, pc, size) 34 #define COMMON_MALLOC_REALLOC(ptr, size) \ 35 if (cur_thread()->in_symbolizer) return InternalRealloc(ptr, size); \ 36 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \ 37 void *p = user_realloc(thr, pc, ptr, size) [all...] |
/external/speex/libspeex/ |
stack_alloc.h | 51 * @def ALIGN(stack, size) 53 * Aligns the stack to a 'size' boundary 56 * @param size New size boundary 60 * @def PUSH(stack, size, type) 62 * Allocates 'size' elements of type 'type' on the stack 65 * @param size Number of elements 78 * @def ALLOC(var, size, type) 80 * Allocate 'size' elements of 'type' on stack 83 * @param size Number of element [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
bundle-lock.s | 10 .macro offset_sequence which, size, offset 12 \which\()_sequence_\size\()_offset_\offset\(): 16 test_sequence \size 19 .macro test_offsets_arm size 21 offset_sequence arm, \size, 0 22 offset_sequence arm, \size, 4 23 offset_sequence arm, \size, 8 24 offset_sequence arm, \size, 12 27 .macro test_offsets_thumb size 29 offset_sequence thumb, \size, [all...] |
/external/compiler-rt/lib/scudo/ |
scudo_new_delete.cpp | 30 void *operator new(size_t size) { 31 return scudoMalloc(size, FromNew); 34 void *operator new[](size_t size) { 35 return scudoMalloc(size, FromNewArray); 38 void *operator new(size_t size, std::nothrow_t const&) { 39 return scudoMalloc(size, FromNew); 42 void *operator new[](size_t size, std::nothrow_t const&) { 43 return scudoMalloc(size, FromNewArray); 63 void operator delete(void *ptr, size_t size) NOEXCEPT { 64 scudoSizedFree(ptr, size, FromNew) [all...] |
/external/compiler-rt/test/scudo/ |
sizes.cpp | 8 // Tests for various edge cases related to sizes, notably the maximum size the 23 // Currently the maximum size the allocator can allocate is 1ULL<<40 bytes. 24 size_t size = std::numeric_limits<size_t>::max(); local 25 void *p = malloc(size); 28 size = (1ULL << 40) - 16; 29 p = malloc(size); 35 size_t size = std::numeric_limits<size_t>::max(); local 36 void *p = calloc((size / 0x1000) + 1, 0x1000); 41 // Playing with the actual usable size of a chunk. 45 size_t size = malloc_usable_size(p) [all...] |
/external/libchrome/base/allocator/ |
allocator_shim_default_dispatch_to_glibc.cc | 12 void* __libc_malloc(size_t size); 13 void* __libc_calloc(size_t n, size_t size); 14 void* __libc_realloc(void* address, size_t size); 15 void* __libc_memalign(size_t alignment, size_t size); 23 void* GlibcMalloc(const AllocatorDispatch*, size_t size) { 24 return __libc_malloc(size); 27 void* GlibcCalloc(const AllocatorDispatch*, size_t n, size_t size) { 28 return __libc_calloc(n, size); 31 void* GlibcRealloc(const AllocatorDispatch*, void* address, size_t size) { 32 return __libc_realloc(address, size); [all...] |
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/ |
size.pass.cpp | 14 // size_type size() const; 22 assert(q.size() == 0); 24 assert(q.size() == 1); 26 assert(q.size() == 0);
|
/external/libcxx/test/std/numerics/numarray/class.gslice/gslice.cons/ |
default.pass.cpp | 23 assert(gs.size().size() == 0); 24 assert(gs.stride().size() == 0);
|
/external/llvm/lib/Support/ |
StringSaver.cpp | 15 char *P = Alloc.Allocate<char>(S.size() + 1); 16 memcpy(P, S.data(), S.size()); 17 P[S.size()] = '\0';
|
/external/ltp/tools/top-LTP/proc/ |
alloc.h | 8 extern void *xrealloc(void *oldp, unsigned int size) MALLOC; 9 extern void *xmalloc(unsigned int size) MALLOC; 10 extern void *xcalloc(void *pointer, int size) MALLOC;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/ |
Util.java | 20 int size = 0; local 22 ++size; 26 return size;
|
/external/strace/tests/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/strace/tests-m32/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/strace/tests-mx32/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/syslinux/com32/lib/ |
fread2.c | 10 size_t fread(void *ptr, size_t size, size_t nmemb, FILE * f) 12 return _fread(ptr, size * nmemb, f) / size;
|
fwrite2.c | 10 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE * f) 12 return _fwrite(ptr, size * nmemb, f) / size;
|
/external/tpm2/ |
CpriMisc.c | 15 // This function is used to convert a BigNum() to a byte array of the specified size. If the number is too large 28 UINT16 size // IN: size of the output. 32 outVal->size = size; 33 size = size - (((UINT16) BN_num_bits(inVal) + 7) / 8); 34 if(size < 0) 36 for(;size > 0; size-- [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusimagecodec.h | 29 static __inline__ GpStatus GetImageDecoders(UINT numDecoders, UINT size, 33 return DllExports::GdipGetImageDecoders(numDecoders, size, decoders); 35 return GdipGetImageDecoders(numDecoders, size, decoders); 39 static __inline__ GpStatus GetImageDecodersSize(UINT *numDecoders, UINT *size) 42 return DllExports::GdipGetImageDecodersSize(numDecoders, size); 44 return GdipGetImageDecodersSize(numDecoders, size); 48 static __inline__ GpStatus GetImageEncoders(UINT numEncoders, UINT size, 52 return DllExports::GdipGetImageEncoders(numEncoders, size, encoders); 54 return GdipGetImageEncoders(numEncoders, size, encoders); 58 static __inline__ GpStatus GetImageEncodersSize(UINT *numEncoders, UINT *size) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.members/ |
size.pass.cpp | 14 // size_type size() const; 22 assert(q.size() == 0); 24 assert(q.size() == 1); 26 assert(q.size() == 0);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/class.gslice/gslice.cons/ |
default.pass.cpp | 23 assert(gs.size().size() == 0); 24 assert(gs.stride().size() == 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/container.adaptors/priority.queue/priqueue.members/ |
size.pass.cpp | 14 // size_type size() const; 22 assert(q.size() == 0); 24 assert(q.size() == 1); 26 assert(q.size() == 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/class.gslice/gslice.cons/ |
default.pass.cpp | 23 assert(gs.size().size() == 0); 24 assert(gs.stride().size() == 0);
|