Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 6 of 6) sorted by relevance

/babblesim_base-3.7.0/libUtilv1/src/
Dbs_symbols.h25 int bs_could_be_symbol(uint32_t ptr);
26 void bs_snprint_symbol_name_from_Tsymbols(void *fptr, char* ptr, size_t n);
Dbs_symbols.c95 int bs_could_be_symbol(uint32_t ptr){ in bs_could_be_symbol() argument
99 if ( ( ((intptr_t) ptr) < ((intptr_t)functions_table[0].Offset) ) in bs_could_be_symbol()
100 …|| ( ((intptr_t) ptr) > ((intptr_t)functions_table[Number_Symbols-1].Offset) ) ) { //if it is smal… in bs_could_be_symbol()
156 void bs_snprint_symbol_name_from_Tsymbols(void *fptr, char* ptr, size_t n){ in bs_snprint_symbol_name_from_Tsymbols() argument
158 snprintf(ptr,n, "%p",fptr); in bs_snprint_symbol_name_from_Tsymbols()
164 snprintf(ptr,n, "(%s) [%p]",functions_table[EntryNbr].FName, fptr); in bs_snprint_symbol_name_from_Tsymbols()
166 snprintf(ptr,n, "(%s + %p) [%p]",functions_table[EntryNbr].FName, (void*)Offset, fptr); in bs_snprint_symbol_name_from_Tsymbols()
Dbs_oswrap.c129 void* bs_realloc(void *ptr, size_t size) { in bs_realloc() argument
130 ptr = realloc(ptr, size); in bs_realloc()
131 if (ptr == NULL) { in bs_realloc()
134 return ptr; in bs_realloc()
Dbs_oswrap.h27 void* bs_realloc(void *ptr, size_t size);
/babblesim_base-3.7.0/libPhyComv1/src/
Dbs_pc_backchannel.h18 void bs_bc_send_msg(uint channel_id, uint8_t *ptr, size_t size);
20 void bs_bc_receive_msg(int channel_id , uint8_t *ptr, size_t size);
Dbs_pc_backchannel.c178 void bs_bc_send_msg(uint channel_id, uint8_t *ptr, size_t size){ in bs_bc_send_msg() argument
184 memcpy(&message[4], ptr, size); in bs_bc_send_msg()
236 void bs_bc_receive_msg(int channel_id , uint8_t *ptr, size_t size){ in bs_bc_receive_msg() argument
247 int read_size = read(channels_status[channel_id].ff[In],ptr,size); //Non-blocking read in bs_bc_receive_msg()