/external/guava/guava-tests/test/com/google/common/io/ |
H A D | IoTestCase.java | 36 /** Returns a byte array of length size that has values 0 .. size - 1. */ 37 protected static byte[] newPreFilledByteArray(int size) { argument 38 return newPreFilledByteArray(0, size); 42 * Returns a byte array of length size that has values 43 * offset .. offset + size - 1. 45 protected static byte[] newPreFilledByteArray(int offset, int size) { argument 46 byte[] array = new byte[size]; 47 for (int i = 0; i < size; i++) {
|
/external/speex/libspeex/ |
H A D | 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 Numbe [all...] |
/external/chromium/base/ |
H A D | process_util_unittest_mac.h | 16 // Allocates memory via system allocators. Alas, they take a _signed_ size for 18 void* AllocateViaCFAllocatorSystemDefault(ssize_t size); 19 void* AllocateViaCFAllocatorMalloc(ssize_t size); 20 void* AllocateViaCFAllocatorMallocZone(ssize_t size);
|
H A D | platform_file.cc | 10 : size(0),
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | ByteArray.cpp | 32 PassRefPtr<ByteArray> ByteArray::create(size_t size) argument 34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; 36 return adoptRef(new (buffer) ByteArray(size));
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | IntSizeHaiku.cpp | 36 IntSize::IntSize(const BSize& size) argument 37 : m_width(size.IntegerWidth()) 38 , m_height(size.IntegerHeight())
|
/external/dropbear/libtommath/ |
H A D | bn_mp_init_size.c | 18 /* init an mp_init for a given size */ 19 int mp_init_size (mp_int * a, int size) argument 23 /* pad size so there are always extra digits */ 24 size += (MP_PREC * 2) - (size % MP_PREC); 27 a->dp = OPT_CAST(mp_digit) XMALLOC (sizeof (mp_digit) * size); 34 a->alloc = size; 38 for (x = 0; x < size; x++) {
|
/external/hyphenation/ |
H A D | hnjalloc.c | 42 hnj_malloc (int size) argument 46 p = malloc (size); 49 fprintf (stderr, "can't allocate %d bytes\n", size); 56 hnj_realloc (void *p, int size) argument 58 p = realloc (p, size); 61 fprintf (stderr, "can't allocate %d bytes\n", size);
|
/external/webkit/Source/WebCore/css/ |
H A D | themeChromiumLinux.css | 37 select:not([size]):not([multiple]) option, 38 select[size="0"] option, 39 select[size="1"] option {
|
/external/ceres-solver/internal/ceres/ |
H A D | array_utils.h | 53 void InvalidateArray(int size, double* x); 58 bool IsArrayValid(int size, const double* x);
|
H A D | block_jacobi_preconditioner.cc | 49 for (int c = 0; c < block_structure_.cols.size(); ++c) { 50 int size = block_structure_.cols[c].size; local 51 storage_needed += size * size; 55 blocks_.resize(block_structure_.cols.size()); 60 for (int c = 0; c < block_structure_.cols.size(); ++c) { 61 int size = block_structure_.cols[c].size; local 63 block_cursor += size * siz 105 const int size = block_structure_.cols[c].size; local 121 const int size = block_structure_.cols[c].size; local [all...] |
/external/chromium/base/allocator/ |
H A D | win_allocator.cc | 28 void* win_heap_malloc(size_t size) { argument 29 return HeapAlloc(win_heap, 0, size); 32 void win_heap_free(void* size) { argument 33 HeapFree(win_heap, 0, size); 36 void* win_heap_realloc(void* ptr, size_t size) { argument 38 return win_heap_malloc(size); 39 if (!size) { 43 return HeapReAlloc(win_heap, 0, ptr, size);
|
H A D | generic_allocators.cc | 13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { argument 16 ptr = malloc(size); 27 void* __cdecl operator new(size_t size) { argument 28 return generic_cpp_alloc(size, false); 35 void* operator new[](size_t size) { argument 36 return generic_cpp_alloc(size, false); 43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW { 44 return generic_cpp_alloc(size, true); 47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW { 48 return generic_cpp_alloc(size, tru 68 const size_t size = n * elem_size; variable 95 const size_t size = n * elem_size; local 100 _calloc_impl(size_t n, size_t size) argument 121 _malloc_dbg(size_t size, int , const char*, int) argument 129 _calloc_dbg(size_t n, size_t size, int, const char*, int) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | merge-attrs.c | 3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__)); 9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
|
/external/oprofile/module/ |
H A D | op_util.h | 16 void * rvmalloc(signed long size); 17 void rvfree(void * mem, signed long size);
|
/external/qemu/ |
H A D | qemu-malloc.c | 42 void *qemu_malloc(size_t size) argument 45 if (!size && !allow_zero_malloc()) { 48 ptr = qemu_oom_check(malloc(size ? size : 1)); 49 //trace_qemu_malloc(size, ptr); 53 void *qemu_realloc(void *ptr, size_t size) argument 56 if (!size && !allow_zero_malloc()) { 59 newptr = qemu_oom_check(realloc(ptr, size ? size : 1)); 60 //trace_qemu_realloc(ptr, size, newpt 64 qemu_mallocz(size_t size) argument 84 qemu_strndup(const char *str, size_t size) argument [all...] |
/external/quake/quake/src/QW/client/ |
H A D | zone.h | 43 can usefully stay persistant between levels. The size of the cache 49 Temp_??? Temp memory is used for file loading and surface caching. The size 86 void Memory_Init (void *buf, int size); 89 void *Z_Malloc (int size); // returns 0 filled memory 90 void *Z_TagMalloc (int size, int tag); 96 void *Hunk_Alloc (int size); // returns 0 filled memory 97 void *Hunk_AllocName (int size, char *name); 99 void *Hunk_HighAllocName (int size, char *name); 107 void *Hunk_TempAlloc (int size); 124 void *Cache_Alloc (cache_user_t *c, int size, cha [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | zone.h | 43 can usefully stay persistant between levels. The size of the cache 49 Temp_??? Temp memory is used for file loading and surface caching. The size 86 void Memory_Init (void *buf, int size); 89 void *Z_Malloc (int size); // returns 0 filled memory 90 void *Z_TagMalloc (int size, int tag); 96 void *Hunk_Alloc (int size); // returns 0 filled memory 97 void *Hunk_AllocName (int size, const char *name); 99 void *Hunk_HighAllocName (int size, const char *name); 107 void *Hunk_TempAlloc (int size); 124 void *Cache_Alloc (cache_user_t *c, int size, cons [all...] |
/external/libselinux/src/ |
H A D | 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...] |
H A D | 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...] |
H A D | 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/aac/libFDK/include/ |
H A D | dct.h | 105 * \param size size of pDat. 109 void dct_II(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 117 * \param size size of pDat. 121 void dct_III(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 128 * \param size size of pDat. 132 void dct_IV(FIXP_DBL *pDat,int size, int *pDat_e); 139 * \param size siz [all...] |
/external/dropbear/ |
H A D | gendss.h | 32 dss_key * gen_dss_priv_key(unsigned int size);
|
H A D | genrsa.h | 32 rsa_key * gen_rsa_priv_key(unsigned int size);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
H A D | SDL_mixer_MMX.c | 29 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),
|