Searched refs:size (Results 1 - 25 of 15723) sorted by relevance

1234567891011>>

/external/clang/test/Sema/
H A Dfreemain.c5 void* allocate(long size);
7 void* main(void* context, long size) { argument
8 if (context) return allocate(size);
H A Darm-darwin-aapcs.cpp10 void* operator new(size_t size) argument
12 return (malloc(size));
/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_ThreeWays.cpp1 const int size = 6; variable
2 MatrixXd mat1(size, size);
3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
4 mat1.topRightCorner(size/2, size/2) = MatrixXd::Identity(size/
[all...]
/external/clang/test/SemaTemplate/
H A Doverloaded-functions.cpp7 template <int size>
9 int arr[size];
10 // expected-error@-1 {{'arr' declared as an array with a negative size}}
22 template <int size>
24 int arr[size];
25 // expected-error@-1 {{'arr' declared as an array with a negative size}}
/external/elfutils/libasm/
H A Dasm_adduint8.c40 #define UFCT(size) _UFCT(size)
41 #define _UFCT(size) asm_adduint##size
42 #define FCT(size) _FCT(size)
43 #define _FCT(size) asm_addint##size
44 #define UTYPE(size) _UTYPE(size)
[all...]
/external/llvm/test/MC/ELF/
H A Dbracket.s5 .size x, [.-x)
8 .size y, (.-y]
H A Dsize.s5 .size foo, . - bar + 42
/external/toybox/toys/other/
H A Dtruncate.c16 -s New size (with optional prefix and suffix)
29 long size;
35 long long size; local
39 if (TT.type == -1) size = TT.size;
41 size = fdlength(fd);
42 if (TT.type<2) size += TT.size*(1-(2*TT.type));
44 if ((TT.type==2) ? (size <= TT.size)
[all...]
/external/elfutils/tests/
H A Drun-aggregate-size.sh68 c size 1
69 i size 4
70 l size 8
71 v size 8
72 s size 16
73 ca size 16
74 ia size 128
75 va size 512
76 sa size 128
80 c size
[all...]
/external/jemalloc/test/src/
H A Dbtalloc.c4 btalloc(size_t size, unsigned bits) argument
7 return (btalloc_0(size, bits));
/external/libpng/tests/
H A Dpngvalid-progressive-size2 exec ./pngvalid --strict --size --progressive-read
/external/skia/src/ports/
H A DSkMemory_malloc.cpp15 static inline void sk_out_of_memory(size_t size) { argument
17 size);
21 static inline void* throw_on_failure(size_t size, void* p) { argument
22 if (size > 0 && p == nullptr) {
24 sk_out_of_memory(size);
42 void* sk_malloc_throw(size_t size) { argument
43 return sk_malloc_flags(size, SK_MALLOC_THROW);
46 void* sk_realloc_throw(void* addr, size_t size) { argument
47 return throw_on_failure(size, realloc(addr, size));
56 sk_malloc_flags(size_t size, unsigned flags) argument
65 sk_calloc(size_t size) argument
69 sk_calloc_throw(size_t size) argument
[all...]
H A DSkMemory_mozalloc.cpp24 void* sk_malloc_throw(size_t size) { argument
25 return sk_malloc_flags(size, SK_MALLOC_THROW);
28 void* sk_realloc_throw(void* addr, size_t size) { argument
29 return moz_xrealloc(addr, size);
36 void* sk_malloc_flags(size_t size, unsigned flags) { argument
37 return (flags & SK_MALLOC_THROW) ? moz_xmalloc(size) : malloc(size);
40 void* sk_calloc(size_t size) { argument
41 return calloc(size, 1);
44 void* sk_calloc_throw(size_t size) { argument
[all...]
/external/clang/test/Analysis/
H A Dpr_4164.c11 // The basic issue is that the VarRegion for 'size' is casted to (char*),
21 int size; local
22 socklen_t size_len = sizeof(size);
23 if (getsockopt(s, 0xffff, 0x1001, (char *)&size, &size_len) < 0)
26 return size; // no-warning
36 int size; local
37 if (takes_charptr((char*)&size))
39 return size; // no-warning
/external/clang/test/CodeGen/
H A Dvla-3.c6 void vlaalign(int size) argument
8 char __attribute__((aligned(16))) tmp[size+32];
9 char tmp2[size+16];
/external/parameter-framework/upstream/utility/
H A DIterator.hpp39 * and the size of the underline buffer.
42 #define MAKE_ARRAY_ITERATOR(begin, size) stdext::make_checked_array_iterator(begin, size)
45 #define MAKE_ARRAY_ITERATOR(begin, size) begin
/external/mesa3d/src/mapi/mapi/
H A Du_execmem.h5 u_execmem_alloc(unsigned int size);
/external/opencv3/3rdparty/libwebp/utils/
H A Dutils.c24 // Returns 0 in case of overflow of nmemb * size.
25 static int CheckSizeArgumentsOverflow(uint64_t nmemb, size_t size) { argument
26 const uint64_t total_size = nmemb * size;
28 if ((uint64_t)size > WEBP_MAX_ALLOCABLE_MEMORY / nmemb) return 0;
33 void* WebPSafeMalloc(uint64_t nmemb, size_t size) { argument
34 if (!CheckSizeArgumentsOverflow(nmemb, size)) return NULL;
35 assert(nmemb * size > 0);
36 return malloc((size_t)(nmemb * size));
39 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { argument
40 if (!CheckSizeArgumentsOverflow(nmemb, size)) retur
[all...]
/external/llvm/test/MC/AsmParser/
H A Drename.s3 .size bar, . - bar
5 .size foo, .Ltmp01 - foo
7 .size qux, .Ltmp0 - qux
10 // CHECK: .size bar, .Ltmp0-bar
12 // CHECK: .size foo, .Ltmp01-foo
14 // CHECK: .size qux, .Ltmp00-qux
/external/lzma/CPP/7zip/Archive/Common/
H A DOutStreamWithCRC.cpp7 STDMETHODIMP COutStreamWithCRC::Write(const void *data, UInt32 size, UInt32 *processedSize) argument
11 result = _stream->Write(data, size, &size);
13 _crc = CrcUpdate(_crc, data, size);
14 _size += size;
16 *processedSize = size;
/external/valgrind/memcheck/tests/solaris/
H A Dldynsym.c6 static void function3(size_t size) argument
8 malloc(size);
12 static void function2(size_t size) argument
14 function3(size);
18 static void function(size_t size) argument
20 function2(size);
/external/autotest/frontend/client/src/autotest/common/
H A DUnmodifiableSublistView.java8 protected int start, size; field in class:UnmodifiableSublistView
10 public UnmodifiableSublistView(List<T> list, int start, int size) { argument
12 assert size >= 0;
13 assert start + size <= list.size();
17 this.size = size;
22 if (arg0 >= size())
28 public int size() { method in class:UnmodifiableSublistView
29 return this.size;
[all...]
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_internal.h40 int rbug_connection_write(struct rbug_connection *con, void *data, uint32_t size);
51 #define LEN(size) \
53 PAD(__len, size); \
54 __len += size; \
57 #define LEN_ARRAY(size, name) \
60 PAD(__len, size); \
61 __len += size * name##_len; \
64 #define WRITE(size, type, name) \
66 PAD(__pos, size); \
68 __pos += size; \
[all...]
/external/zopfli/src/zopfli/
H A Dutil.h36 The window size for deflate. Must be a power of two. This should be 32768, the
44 window size must be a power of two.
53 Dividing into huge blocks hurts compression, but not much relative to the size.
84 consumes a lot of memory but speeds it up. No effect on compression size.
141 Appends value to dynamically allocated memory, doubling its allocation size
146 size: pointer to the size of the array to append to, type size_t*. This is the
147 size that you consider the array to be, not the internal allocation size.
148 Precondition: allocated size o
[all...]
/external/compiler-rt/test/asan/TestCases/
H A Dstrcmp_strict.c11 size_t size = 100; local
13 char *s1 = (char*)malloc(size);
14 memset(s1, fill, size);
15 char *s2 = (char*)malloc(size);
16 memset(s2, fill, size);
17 s1[size - 1] = 'z';
18 s2[size - 1] = 'x';
21 // CHECK: READ of size 101

Completed in 1813 milliseconds

1234567891011>>