Searched refs:ctmp (Results 1 - 3 of 3) sorted by relevance

/haiku/src/libs/mapm/
H A Dmapmutil.c404 void M_apm_scale(M_APM ctmp, int count) argument
412 ii = (ctmp->m_apm_datalength + ct + 1) >> 1;
413 if (ii > ctmp->m_apm_malloclength)
415 if ((vp = MAPM_REALLOC(ctmp->m_apm_data, (ii + 32))) == NULL)
422 ctmp->m_apm_malloclength = ii + 28;
423 ctmp->m_apm_data = (UCHAR *)vp;
429 chp = ctmp->m_apm_data;
430 ii = ((ctmp->m_apm_datalength + 1) >> 1) - 1;
432 if ((ctmp->m_apm_datalength & 1) == 0)
488 ctmp
507 M_apm_pad(M_APM ctmp, int new_length) argument
[all...]
H A Dmapm_set.c158 void m_apm_set_string(M_APM ctmp, char *s_in) argument
193 M_set_to_zero(ctmp);
246 ctmp->m_apm_datalength = i;
255 if (j > ctmp->m_apm_malloclength)
257 if ((vp = MAPM_REALLOC(ctmp->m_apm_data, (j + 32))) == NULL)
264 ctmp->m_apm_malloclength = j + 28;
265 ctmp->m_apm_data = (UCHAR *)vp;
284 M_set_to_zero(ctmp);
288 ctmp->m_apm_data[i] = ch;
289 ctmp
324 M_APM ctmp; local
[all...]
H A Dmapm_fpf.c249 M_APM ctmp; local
255 ctmp = M_get_stack_var();
265 m_apm_add(ctmp, mtmp, MM_0_5);
267 m_apm_subtract(ctmp, mtmp, MM_0_5);
269 m_apm_to_integer_string(cpd, ctmp);
276 M_apm_round_fixpt(ctmp, places, mtmp);
278 m_apm_copy(ctmp, mtmp); /* show ALL digits */
280 if (ctmp->m_apm_sign == 0) /* result is 0 */
300 xp = ctmp->m_apm_exponent;
301 dl = ctmp
[all...]

Completed in 79 milliseconds