/Zephyr-latest/tests/lib/mem_alloc/src/ |
D | main.c | 65 iptr = malloc(BUF_LEN); in _test_no_mem_malloc() 135 ptr[i] = malloc(sizeof *(ptr[i])); in ZTEST() 136 aptr = malloc(sizeof(*aptr)); in ZTEST() 151 ptr[i] = malloc(sizeof *(ptr[i])); in ZTEST() 153 aptr = malloc(sizeof(*aptr)); in ZTEST() 167 ptr[n] = malloc(n); in ZTEST() 168 aptr = malloc(sizeof(*aptr)); in ZTEST() 188 iptr = malloc(BUF_LEN * sizeof(int)); in ZTEST() 223 ptr = malloc(orig_size); in ZTEST() 301 ptr = malloc(orig_size); in ZTEST() [all …]
|
/Zephyr-latest/lib/cpp/minimal/ |
D | cpp_new.cpp | 24 return malloc(size); in operator new() 29 return malloc(size); in operator new[]() 34 return malloc(size); in operator new() 39 return malloc(size); in operator new[]()
|
/Zephyr-latest/tests/benchmarks/cmsis_dsp/basicmath/src/ |
D | q15.c | 92 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 117 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 142 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 167 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 192 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 217 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST() 242 output = malloc(PATTERN_LENGTH * sizeof(q15_t)); in ZTEST()
|
D | q31.c | 156 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 181 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 206 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 231 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 256 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 281 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST() 306 output = malloc(PATTERN_LENGTH * sizeof(q31_t)); in ZTEST()
|
D | q7.c | 92 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 117 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 142 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 167 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 192 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 217 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST() 242 output = malloc(PATTERN_LENGTH * sizeof(q7_t)); in ZTEST()
|
D | f32.c | 156 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 183 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 210 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 237 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 262 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 287 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST() 312 output = malloc(PATTERN_LENGTH * sizeof(float32_t)); in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/ |
D | binary_q15.c | 42 output = malloc(length * sizeof(q15_t)); in test_op2() 45 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2() 48 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2() 51 scratch = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2() 137 output = malloc(2 * length * sizeof(q15_t)); in test_op2c() 140 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c() 143 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c() 146 scratch = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c()
|
D | unary_q15.c | 43 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2() 46 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2() 49 output = malloc(length * sizeof(q15_t)); in test_op2() 126 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op1() 129 output = malloc(length * sizeof(q15_t)); in test_op1() 202 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2v() 205 vec = malloc(2 * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2v() 208 output_buf = malloc(length * sizeof(q15_t)); in test_op2v() 273 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op1c() 276 output = malloc(2 * length * sizeof(q15_t)); in test_op1c()
|
D | unary_q31.c | 43 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2() 46 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2() 49 output = malloc(length * sizeof(q31_t)); in test_op2() 126 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op1() 129 output = malloc(length * sizeof(q31_t)); in test_op1() 202 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2v() 205 vec = malloc(2 * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2v() 208 output_buf = malloc(length * sizeof(q31_t)); in test_op2v() 273 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op1c() 276 output = malloc(2 * length * sizeof(q31_t)); in test_op1c()
|
D | binary_q7.c | 38 output = malloc(length * sizeof(q7_t)); in test_op2() 41 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2() 44 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2() 47 scratch = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2()
|
D | binary_f32.c | 40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2() 43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2() 46 output = malloc(length * sizeof(float32_t)); in test_op2() 131 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2c() 134 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2c() 137 output = malloc(2 * length * sizeof(float32_t)); in test_op2c()
|
D | binary_f64.c | 40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2() 43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2() 46 output = malloc(length * sizeof(float64_t)); in test_op2() 136 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); 139 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); 142 output = malloc(2 * length * sizeof(float64_t));
|
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/ |
D | f16.c | 36 output = malloc(length * sizeof(float16_t)); in test_arm_copy_f16() 62 output = malloc(length * sizeof(float16_t)); in test_arm_fill_f16() 88 output = malloc(length * sizeof(q15_t)); in test_arm_f16_to_q15() 113 output = malloc(length * sizeof(float32_t)); in test_arm_f16_to_float() 139 output = malloc(length * sizeof(float16_t)); in test_arm_q15_to_f16() 165 output = malloc(length * sizeof(float16_t)); in test_arm_float_to_f16() 194 output = malloc(1 * sizeof(float16_t)); in test_arm_weighted_average_f16()
|
D | f32.c | 27 output = malloc(length * sizeof(float32_t)); in test_arm_copy_f32() 53 output = malloc(length * sizeof(float32_t)); in test_arm_fill_f32() 79 output = malloc(length * sizeof(q31_t)); in test_arm_float_to_q31() 104 output = malloc(length * sizeof(q15_t)); in test_arm_float_to_q15() 129 output = malloc(length * sizeof(q7_t)); in test_arm_float_to_q7() 157 output = malloc(1 * sizeof(float32_t)); in test_arm_weighted_average_f32() 185 output = malloc(length * sizeof(float32_t)); in test_arm_sort_out() 240 output = malloc(length * sizeof(float32_t)); in test_arm_merge_sort_out() 244 scratch = malloc(length * sizeof(float32_t)); in test_arm_merge_sort_out() 274 output = malloc(length * sizeof(float32_t)); in test_arm_sort_in() [all …]
|
D | q15.c | 26 output = malloc(length * sizeof(q15_t)); in test_arm_copy_q15() 52 output = malloc(length * sizeof(q15_t)); in test_arm_fill_q15() 78 output = malloc(length * sizeof(float32_t)); in test_arm_q15_to_float() 104 output = malloc(length * sizeof(q31_t)); in test_arm_q15_to_q31() 130 output = malloc(length * sizeof(q7_t)); in test_arm_q15_to_q7()
|
D | q31.c | 26 output = malloc(length * sizeof(q31_t)); in test_arm_copy_q31() 52 output = malloc(length * sizeof(q31_t)); in test_arm_fill_q31() 78 output = malloc(length * sizeof(float32_t)); in test_arm_q31_to_float() 104 output = malloc(length * sizeof(q15_t)); in test_arm_q31_to_q15() 129 output = malloc(length * sizeof(q7_t)); in test_arm_q31_to_q7()
|
D | q7.c | 26 output = malloc(length * sizeof(q7_t)); in test_arm_copy_q7() 52 output = malloc(length * sizeof(q7_t)); in test_arm_fill_q7() 78 output = malloc(length * sizeof(float32_t)); in test_arm_q7_to_float() 104 output = malloc(length * sizeof(q31_t)); in test_arm_q7_to_q31() 129 output = malloc(length * sizeof(q15_t)); in test_arm_q7_to_q15()
|
/Zephyr-latest/scripts/ |
D | valgrind.supp | 5 fun:malloc 39 fun:malloc 46 fun:malloc
|
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/ |
D | q15.c | 28 output = malloc(length * sizeof(q15_t)); in ZTEST() 56 output = malloc(length * sizeof(q15_t)); in ZTEST() 85 output = malloc(length * sizeof(q15_t)); in ZTEST() 126 output = malloc(length * sizeof(q15_t)); in ZTEST() 129 shift = malloc(length * sizeof(uint16_t)); in ZTEST()
|
D | f16.c | 44 output = malloc(length * sizeof(float16_t)); 74 output = malloc(length * sizeof(float16_t)); 108 output = malloc(length * sizeof(float16_t)); in ZTEST() 148 output = malloc(length * sizeof(float16_t)); in test_arm_vlog_f16() 180 output = malloc(length * sizeof(float16_t)); in test_arm_vexp_f16() 212 output = malloc(length * sizeof(float16_t)); in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/ |
D | f32.c | 28 output = malloc(length * sizeof(float32_t)); in ZTEST() 56 output = malloc(length * sizeof(float32_t)); in ZTEST() 84 output = malloc(length * sizeof(float32_t)); in ZTEST() 112 output = malloc(length * sizeof(float32_t)); in ZTEST() 142 output_buf = malloc(length * sizeof(float32_t)); in ZTEST() 179 output = malloc(length * sizeof(float32_t)); in ZTEST() 207 output = malloc(length * sizeof(float32_t)); in ZTEST() 235 output = malloc(length * sizeof(float32_t)); in ZTEST()
|
/Zephyr-latest/lib/libc/common/ |
D | Kconfig | 51 bool "Common C library malloc implementation" 54 Common implementation of malloc family that uses the kernel heap 58 int "Size of the common C library malloc arena" 67 common C library malloc() implementation. 69 If set to zero, then no malloc() heap will be available. 80 malloc heap. Otherwise, on systems with an MMU the default is 82 ram for the malloc heap. 91 which forwards to malloc and memset.
|
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/ |
D | biquad_f64.c | 31 state = malloc(128 * sizeof(float64_t)); in ZTEST() 34 output_buf = malloc(length * sizeof(float64_t)); in ZTEST() 82 state = malloc(128 * sizeof(float64_t)); in ZTEST() 85 output_buf = malloc(length * sizeof(float64_t)); in ZTEST()
|
D | biquad_q31.c | 34 state = malloc(32 * sizeof(q31_t)); in ZTEST() 37 output_buf = malloc(length * sizeof(q31_t)); in ZTEST() 83 state = malloc(32 * sizeof(q63_t)); in ZTEST() 86 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/ |
D | f32.c | 34 output = malloc(length * sizeof(float32_t)); in test_arm_linear_interp_f32() 72 output = malloc(length * sizeof(float32_t)); in test_arm_bilinear_interp_f32() 110 output = malloc(length * sizeof(float32_t)); in test_arm_spline() 114 scratch = malloc(((n * 2) - 1) * sizeof(float32_t)); in test_arm_spline() 118 coeff = malloc(((n - 1) * 3) * sizeof(float32_t)); in test_arm_spline()
|