Searched refs:mps_malloc (Results 1 – 12 of 12) sorted by relevance
215 void * mps_malloc (size_t size);221 #define mps_new(type) ((type*)mps_malloc (sizeof(type)))222 #define mps_newv(type, n) ((type*)mps_malloc (sizeof(type) * (n)))
140 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_fpolzer()142 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_fpolzer()168 data = (mps_thread_worker_data*)mps_malloc (sizeof(mps_thread_worker_data) in mps_thread_fpolzer()321 data = (mps_thread_worker_data*)mps_malloc (sizeof(mps_thread_worker_data) in mps_thread_dpolzer()325 aberth_mutex = (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_dpolzer()326 roots_mutex = (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_dpolzer()554 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_mpolzer()556 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_thread_mpolzer()568 data = (mps_thread_worker_data*)mps_malloc (sizeof(mps_thread_worker_data) in mps_thread_mpolzer()
30 buf = (mps_input_buffer*)mps_malloc (sizeof(mps_input_buffer)); in mps_input_buffer_new()43 buf->history = (char**)mps_malloc (sizeof(char *) * buf->history_size); in mps_input_buffer_new()189 ret = (char*)mps_malloc (sizeof(char) * (token_size + 1)); in mps_input_buffer_next_token()
63 (*opt_ptr) = (mps_opt*)mps_malloc (sizeof(mps_opt)); in mps_getopts()
27 clock_t *my_clock = (clock_t*)mps_malloc (sizeof(clock_t)); in mps_start_timer()
106 q = (mps_thread_job_queue*)mps_malloc (sizeof(mps_thread_job_queue)); in mps_thread_job_queue_new()
151 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_fiterate()153 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_fiterate()383 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_diterate()385 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_diterate()628 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_miterate()630 (pthread_mutex_t*)mps_malloc (sizeof(pthread_mutex_t) * s->n); in mps_secular_ga_miterate()
114 mps_malloc (size_t size) in mps_malloc() function
44 char * output = (char*)mps_malloc (sizeof(char) * (strlen (token) + 256)); in mps_raise_parsing_error()192 option = (char*)mps_malloc (sizeof(char) * (strlen (option) + 1)); in mps_parse_option_line()
93 s->input_config = (mps_input_configuration*)mps_malloc (sizeof(mps_input_configuration)); in mps_context_init()94 s->output_config = (mps_output_configuration*)mps_malloc (sizeof(mps_output_configuration)); in mps_context_init()143 ctx = (mps_context*)mps_malloc (sizeof(mps_context)); in mps_context_new()
117 if (s == NULL && (s = (char*)mps_malloc (DEF_STR_SIZE)) == NULL) in cplx_get_str()749 if (s == NULL && (s = (char*)mps_malloc (DEF_STR_SIZE)) == NULL) in rdpe_get_str()1832 if (s == NULL && (s = (char*)mps_malloc (DEF_STR_SIZE)) == NULL) in cdpe_get_str()
214 (mps_secular_equation*)mps_malloc (sizeof(mps_secular_equation)); in mps_secular_equation_new_raw()