/external/clang/test/Sema/ |
arg-scope-c99.c | 3 void bb(int sz, int ar[sz][sz]) { }
|
/external/c-ares/ |
ares_strdup.c | 24 size_t sz; local 28 sz = strlen(s1); 29 if(sz < (size_t)-1) { 30 sz++; 31 if(sz < ((size_t)-1) / sizeof(char)) { 32 s2 = malloc(sz * sizeof(char)); 34 memcpy(s2, s1, sz * sizeof(char));
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
new.cc | 9 operator new (std::size_t sz, const std::nothrow_t&) throw() 14 if (sz == 0) 15 sz = 1; 16 p = (void *) malloc (sz); 21 operator new (std::size_t sz) throw (std::bad_alloc) 26 if (sz == 0) 27 sz = 1; 28 p = (void *) malloc (sz); 38 operator new[] (std::size_t sz) throw (std::bad_alloc) 40 return ::operator new(sz); [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/d/ |
T_new_array_1.java | 21 public int[] run(int sz) { 22 return new int[sz];
|
T_new_array_2.java | 21 public boolean[] run(int sz) { 22 return new boolean[sz];
|
T_new_array_3.java | 21 public Object[] run(int sz) { 22 return new Object[sz];
|
/external/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/ |
streamsize.pass.cpp | 20 std::streamsize sz(o); 21 assert(sz == 5); 22 std::streamoff o2(sz);
|
/external/libevent/ |
mm-internal.h | 39 void *event_mm_malloc_(size_t sz); 42 void *event_mm_realloc_(void *p, size_t sz); 44 #define mm_malloc(sz) event_mm_malloc_(sz) 47 #define mm_realloc(p, sz) event_mm_realloc_((p), (sz)) 50 #define mm_malloc(sz) malloc(sz) 51 #define mm_calloc(n, sz) calloc((n), (sz)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/ |
streamsize.pass.cpp | 20 std::streamsize sz(o); 21 assert(sz == 5); 22 std::streamoff o2(sz);
|
/system/core/libcutils/ |
load_file.c | 25 int sz; local 32 sz = lseek(fd, 0, SEEK_END); 33 if(sz < 0) goto oops; 37 data = (char*) malloc(sz + 1); 40 if(read(fd, data, sz) != sz) goto oops; 42 data[sz] = 0; 44 if(_sz) *_sz = sz;
|
/external/jemalloc/test/integration/ |
thread_tcache_enabled.c | 15 size_t sz; local 18 sz = sizeof(bool); 19 if ((err = mallctl("thread.tcache.enabled", &e0, &sz, NULL, 0))) { 30 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 36 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, 41 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, 46 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0 [all...] |
iterate.c | 26 size_t sz; local 28 for (sz = 1; sz < MAXSZ; sz <<= 1) { 30 ptr = malloc(sz); 31 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); 36 alloc_find_size = sz; 41 assert(je_iterate((uintptr_t)ptr, sz, callback, NULL) == 0); 55 size_t sz; local 57 for (sz = 1; sz < MAXSZ; sz <<= 1) 82 size_t sz; local [all...] |
allocated.c | 18 size_t sz, usize; local 20 sz = sizeof(a0); 21 if ((err = mallctl("thread.allocated", &a0, &sz, NULL, 0))) { 27 sz = sizeof(ap0); 28 if ((err = mallctl("thread.allocatedp", &ap0, &sz, NULL, 0))) { 38 sz = sizeof(d0); 39 if ((err = mallctl("thread.deallocated", &d0, &sz, NULL, 0))) { 45 sz = sizeof(dp0); 46 if ((err = mallctl("thread.deallocatedp", &dp0, &sz, NULL, 0))) { 59 sz = sizeof(a1) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_placement_new.h | 21 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/seq/ |
fold_left.hpp | 34 # define BOOST_PP_SEQ_FOLD_LEFT_I_257(op, st, ss, sz) BOOST_PP_ERROR(0x0005) 38 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_1(op, st, ss, sz) 0 39 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_2(op, st, ss, sz) 0 40 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_3(op, st, ss, sz) 0 41 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_4(op, st, ss, sz) 0 42 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_5(op, st, ss, sz) 0 43 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_6(op, st, ss, sz) 0 44 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_7(op, st, ss, sz) 0 45 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_8(op, st, ss, sz) 0 46 # define BOOST_PP_SEQ_FOLD_LEFT_CHECK_BOOST_PP_SEQ_FOLD_LEFT_I_9(op, st, ss, sz) [all...] |
/external/compiler-rt/test/tsan/ |
java_alloc.cc | 7 for (jptr sz = 8; sz <= 32; sz <<= 1) { 8 for (jptr i = 0; i < kHeapSize / 4 / sz; i++) { 9 __tsan_java_alloc(addr + i * sz, sz);
|
/external/libvpx/libvpx/vpx_ports/ |
mem_ops_aligned.h | 46 #define mem_get_ne_aligned_generic(end,sz) \ 48 mem_get_##end##sz##_aligned(const void *vmem) {\ 49 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 53 #define mem_get_sne_aligned_generic(end,sz) \ 55 mem_get_s##end##sz##_aligned(const void *vmem) {\ 56 const int##sz##_t *mem = (const int##sz##_t *)vmem;\ 60 #define mem_get_se_aligned_generic(end,sz) \ 62 mem_get_##end##sz##_aligned(const void *vmem) { [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
mem_ops_aligned.h | 46 #define mem_get_ne_aligned_generic(end,sz) \ 47 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\ 48 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 52 #define mem_get_sne_aligned_generic(end,sz) \ 53 static signed MEM_VALUE_T mem_get_s##end##sz##_aligned(const void *vmem) {\ 54 const int##sz##_t *mem = (const int##sz##_t *)vmem;\ 58 #define mem_get_se_aligned_generic(end,sz) \ 59 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) { [all...] |
/external/mesa3d/src/mesa/sparc/ |
sparc.c | 46 #define DECLARE_XFORM_GROUP(pfx, sz) \ 47 extern void _mesa_##pfx##_transform_points##sz##_general(XFORM_ARGS); \ 48 extern void _mesa_##pfx##_transform_points##sz##_identity(XFORM_ARGS); \ 49 extern void _mesa_##pfx##_transform_points##sz##_3d_no_rot(XFORM_ARGS); \ 50 extern void _mesa_##pfx##_transform_points##sz##_perspective(XFORM_ARGS); \ 51 extern void _mesa_##pfx##_transform_points##sz##_2d(XFORM_ARGS); \ 52 extern void _mesa_##pfx##_transform_points##sz##_2d_no_rot(XFORM_ARGS); \ 53 extern void _mesa_##pfx##_transform_points##sz##_3d(XFORM_ARGS); 55 #define ASSIGN_XFORM_GROUP(pfx, sz) \ 56 _mesa_transform_tab[sz][MATRIX_GENERAL] = [all...] |
/external/mesa3d/src/mesa/x86/ |
x86_xform.h | 41 #define DECLARE_XFORM_GROUP( pfx, sz ) \ 42 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_general( XFORM_ARGS ); \ 43 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_identity( XFORM_ARGS ); \ 44 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d_no_rot( XFORM_ARGS ); \ 45 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_perspective( XFORM_ARGS ); \ 46 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d( XFORM_ARGS ); \ 47 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d_no_rot( XFORM_ARGS ); \ 48 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d( XFORM_ARGS ); 50 #define ASSIGN_XFORM_GROUP( pfx, sz ) \ 51 _mesa_transform_tab[sz][MATRIX_GENERAL] = [all...] |
/external/compiler-rt/test/msan/Linux/ |
obstack.cc | 8 static void *obstack_chunk_alloc(size_t sz) { 9 return malloc(sz); 19 for (size_t sz = 16; sz < 0xFFFF; sz *= 2) { 20 void *p = obstack_alloc(&obs, sz); 23 obstack_blank(&obs, sz); 28 if (sz == 4096) {
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
delete1.cpp | 8 void *operator new[](size_t sz) throw() { 9 size = sz;
|
placement2.cpp | 6 void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); }
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
delete1.cpp | 8 void *operator new[](size_t sz) throw() { 9 size = sz;
|
placement2.cpp | 6 void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); }
|