Searched refs:m_apm_data (Results 1 - 10 of 10) sorted by relevance
/haiku/src/libs/mapm/ |
H A D | mapmutil.c | 150 if ((atmp->m_apm_data = (UCHAR *)MAPM_MALLOC(84)) == NULL) 157 atmp->m_apm_data[0] = 0; 166 MAPM_FREE(atmp->m_apm_data); 319 M_get_div_rem_10((int)atmp->m_apm_data[0], &numdiv, &numrem); 329 ucp = atmp->m_apm_data; 340 memmove(atmp->m_apm_data, ucp, (index + 1 - i)); 348 M_get_div_rem_10((int)atmp->m_apm_data[i+1], &numdiv, &numrem2); 349 atmp->m_apm_data[i] = 10 * numrem + numdiv; 364 ucp = atmp->m_apm_data + index; 379 M_get_div_rem_10((int)atmp->m_apm_data[inde [all...] |
H A D | mapm_div.c | 158 if (b->m_apm_data[0] >= 50) 165 k = 100 / (b->m_apm_data[0] + 1); 177 b0 = 100 * (int)M_div_workb->m_apm_data[0]; 180 b0 += M_div_workb->m_apm_data[1]; 193 if ((vp = MAPM_REALLOC(r->m_apm_data, (k + 32))) == NULL) 201 r->m_apm_data = (UCHAR *)vp; 214 r->m_apm_data[0] = 10; 239 trial_numer = 10000L * (long)M_div_worka->m_apm_data[0]; 243 trial_numer += 100 * M_div_worka->m_apm_data[1] 244 + M_div_worka->m_apm_data[ [all...] |
H A D | mapm_add.c | 142 r->m_apm_data[j] += carry + M_work2->m_apm_data[j]; 144 if (r->m_apm_data[j] >= 100) 146 r->m_apm_data[j] -= 100; 165 r->m_apm_data[j] += carry + M_work1->m_apm_data[j]; 167 if (r->m_apm_data[j] >= 100) 169 r->m_apm_data[j] -= 100; 278 itmp = (int)r->m_apm_data[j] - ((int)M_work2->m_apm_data[ [all...] |
H A D | mapmutl2.c | 101 ii = (int)aa->m_apm_data[ii]; 125 z->m_apm_data[0] = 0; 150 if ((vp = MAPM_REALLOC(dest->m_apm_data, (j + 32))) == NULL) 158 dest->m_apm_data = (UCHAR *)vp; 165 memcpy(dest->m_apm_data, src->m_apm_data, j); 207 if (ltmp->m_apm_data[i] > rtmp->m_apm_data[i]) 210 if (ltmp->m_apm_data[i] < rtmp->m_apm_data[ [all...] |
H A D | mapm_mul.c | 122 if ((vp = MAPM_REALLOC(r->m_apm_data, (ii + 32))) == NULL) 130 r->m_apm_data = (UCHAR *)vp; 136 cp = r->m_apm_data; 145 ai = (int)a->m_apm_data[--ii]; 149 itmp = ai * b->m_apm_data[--jj];
|
H A D | mapmfmul.c | 360 if ((vp = MAPM_REALLOC(rr->m_apm_data, (k + 32))) == NULL) 368 rr->m_apm_data = (UCHAR *)vp; 373 M_fmul_div_conq(rr->m_apm_data, M_ain->m_apm_data, 374 M_bin->m_apm_data, ii); 388 M_fast_mul_fft(rr->m_apm_data, M_ain->m_apm_data, 389 M_bin->m_apm_data, ii); 395 M_fmul_div_conq(rr->m_apm_data, M_ain->m_apm_data, [all...] |
H A D | mapm_set.c | 154 atmp->m_apm_data[ii] = 10 * ch + *p++ - '0'; 257 if ((vp = MAPM_REALLOC(ctmp->m_apm_data, (j + 32))) == NULL) 265 ctmp->m_apm_data = (UCHAR *)vp; 288 ctmp->m_apm_data[i] = ch; 289 ctmp->m_apm_data[i+1] = 0; 383 M_get_div_rem_10((int)ctmp->m_apm_data[index],&numdiv,&numrem);
|
H A D | mapmistr.c | 116 ucp = mtmp->m_apm_data;
|
H A D | mapm_fpf.c | 346 ucp = ctmp->m_apm_data; 432 if (atmp->m_apm_data[0] >= 50) /* digit >= 5, round up */ 435 btmp->m_apm_data[0] = 10;
|
/haiku/headers/libs/mapm/ |
H A D | m_apm.h | 174 UCHAR *m_apm_data; member in struct:__anon102
|
Completed in 99 milliseconds