Searched refs:ptr (Results 1 – 8 of 8) sorted by relevance
/SCP-firmware-master/framework/src/ |
A D | fwk_mm.c | 18 void *ptr = malloc(num * size); in fwk_mm_alloc() local 20 if (ptr == NULL) { in fwk_mm_alloc() 24 return ptr; in fwk_mm_alloc() 36 if (ptr == NULL) { in fwk_mm_alloc_aligned() 40 return ptr; in fwk_mm_alloc_aligned() 46 if (ptr == NULL) { in fwk_mm_calloc() 50 return ptr; in fwk_mm_calloc() 57 if (ptr != NULL) { in fwk_mm_calloc_aligned() 60 return ptr; in fwk_mm_calloc_aligned() 71 void fwk_mm_free(void *ptr) in fwk_mm_free() argument [all …]
|
/SCP-firmware-master/unit_test/unity_mocks/mocks/ |
A D | Mockfwk_mm.h | 117 …efine fwk_mm_realloc_ExpectAndReturn(ptr, num, size, cmock_retval) fwk_mm_realloc_CMockExpectAndRe… argument 125 #define fwk_mm_realloc_ReturnThruPtr_ptr(ptr) fwk_mm_realloc_CMockReturnMemThruPtr_ptr(__LINE__, pt… argument 126 …alloc_ReturnArrayThruPtr_ptr(ptr, cmock_len) fwk_mm_realloc_CMockReturnMemThruPtr_ptr(__LINE__, pt… argument 127 …fine fwk_mm_realloc_ReturnMemThruPtr_ptr(ptr, cmock_size) fwk_mm_realloc_CMockReturnMemThruPtr_ptr… argument 141 #define fwk_mm_free_Expect(ptr) fwk_mm_free_CMockExpect(__LINE__, ptr) argument 142 void fwk_mm_free_CMockExpect(UNITY_LINE_TYPE cmock_line, void* ptr); 143 typedef void (* CMOCK_fwk_mm_free_CALLBACK)(void* ptr, int cmock_num_calls); 147 #define fwk_mm_free_ExpectWithArray(ptr, ptr_Depth) fwk_mm_free_CMockExpectWithArray(__LINE__, ptr,… argument 149 #define fwk_mm_free_ReturnThruPtr_ptr(ptr) fwk_mm_free_CMockReturnMemThruPtr_ptr(__LINE__, ptr, siz… argument 150 …m_free_ReturnArrayThruPtr_ptr(ptr, cmock_len) fwk_mm_free_CMockReturnMemThruPtr_ptr(__LINE__, ptr,… argument [all …]
|
A D | Mockfwk_mm.c | 965 void* fwk_mm_realloc(void* ptr, size_t num, size_t size) in fwk_mm_realloc() argument 995 { UNITY_TEST_ASSERT_NULL(ptr, cmock_line, CMockStringExpNULL); } in fwk_mm_realloc() 1016 UNITY_TEST_ASSERT_NOT_NULL(ptr, cmock_line, CMockStringPtrIsNULL); in fwk_mm_realloc() 1027 cmock_call_instance->Expected_ptr = ptr; in CMockExpectParameters_fwk_mm_realloc() 1121 cmock_call_instance->ReturnThruPtr_ptr_Val = ptr; in fwk_mm_realloc_CMockReturnMemThruPtr_ptr() 1146 void fwk_mm_free(void* ptr) in fwk_mm_free() argument 1173 { UNITY_TEST_ASSERT_NULL(ptr, cmock_line, CMockStringExpNULL); } in fwk_mm_free() 1194 cmock_call_instance->Expected_ptr = ptr; in CMockExpectParameters_fwk_mm_free() 1223 void fwk_mm_free_CMockExpect(UNITY_LINE_TYPE cmock_line, void* ptr) in fwk_mm_free_CMockExpect() argument 1233 CMockExpectParameters_fwk_mm_free(cmock_call_instance, ptr, 1); in fwk_mm_free_CMockExpect() [all …]
|
/SCP-firmware-master/framework/include/ |
A D | fwk_mm.h | 251 void *fwk_mm_realloc(void *ptr, size_t num, size_t size); 276 FWK_LEAF FWK_NOTHROW void fwk_mm_free(void *ptr);
|
/SCP-firmware-master/product/n1sdp/module/n1sdp_scp2pcc/src/ |
A D | mod_n1sdp_scp2pcc.c | 35 static void wrdmemset(void *ptr, unsigned int value) in wrdmemset() argument 37 ((unsigned int *)ptr)[0] = value; in wrdmemset()
|
/SCP-firmware-master/doc/ |
A D | code_rules.md | 222 - `const xyz_t *ptr` or `xyz_t const *ptr`, `ptr` is a pointer to a constant 225 - `xyz_t * const ptr`, `ptr` is a constant pointer to an object of type xyz_t. 228 - `const xyz_t * const ptr` or `xyz_t const * const ptr`, `ptr` is a constant
|
/SCP-firmware-master/product/morello/module/morello_pcie/src/ |
A D | morello_pcie.c | 358 volatile uint32_t *ptr; in axi_outbound_region_setup() local 387 ptr = (volatile uint32_t *)&ob_config; in axi_outbound_region_setup() 390 region_address[count] = ptr[count]; in axi_outbound_region_setup()
|
/SCP-firmware-master/product/n1sdp/module/n1sdp_pcie/src/ |
A D | n1sdp_pcie.c | 405 volatile uint32_t *ptr; in axi_outbound_region_setup() local 435 ptr = (volatile uint32_t *)&ob_config; in axi_outbound_region_setup() 438 region_address[count] = ptr[count]; in axi_outbound_region_setup()
|
Completed in 19 milliseconds