Home
last modified time | relevance | path

Searched refs:mps_malloc (Results 1 – 12 of 12) sorted by relevance

/dports/math/mpsolve/mpsolve-3.2.1/include/mps/
H A Dinterface.h215 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)))
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/monomial/
H A Dmonomial-threading.c140 (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()
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/system/
H A Dinput-buffer.c30 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()
H A Dgetopts.c63 (*opt_ptr) = (mps_opt*)mps_malloc (sizeof(mps_opt)); in mps_getopts()
H A Ddebug.c27 clock_t *my_clock = (clock_t*)mps_malloc (sizeof(clock_t)); in mps_start_timer()
H A Dthreading.c106 q = (mps_thread_job_queue*)mps_malloc (sizeof(mps_thread_job_queue)); in mps_thread_job_queue_new()
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/secsolve/
H A Dsecular-iteration.c151 (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()
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/common/
H A Dinterface.c114 mps_malloc (size_t size) in mps_malloc() function
H A Dparser.c44 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()
H A Dcontext.c93 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()
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/floating-point/
H A Dmt.c117 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()
/dports/math/mpsolve/mpsolve-3.2.1/src/libmps/secular/
H A Dsecular-equation.c214 (mps_secular_equation*)mps_malloc (sizeof(mps_secular_equation)); in mps_secular_equation_new_raw()