Searched refs:prec (Results 1 - 25 of 58) sorted by relevance

123

/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/
H A DEbmlFloat.h55 EbmlFloat(const Precision prec = FLOAT_32);
56 EbmlFloat(const double DefaultValue, const Precision prec = FLOAT_32);
68 void SetPrecision(const EbmlFloat::Precision prec = FLOAT_32)
70 if (prec == FLOAT_64)
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Ddwt.h105 @param prec Precint analyzed
107 void dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, int prec);
H A Dimage.c58 comp->prec = cmptparms[compno].prec;
H A Dtcd.c67 opj_tcd_precinct_t *prec = &band->precincts[precno]; local
68 fprintf(fd, " prec {\n");
71 prec->x0, prec->y0, prec->x1, prec->y1, prec->cw, prec->ch);
73 for (cblkno = 0; cblkno < prec->cw * prec
1549 opj_tcd_precinct_t *prec = &band->precincts[precno]; local
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dsafe_sprintf.c80 int prec = -1; local
99 if (prec < 0)
100 prec = 0;
101 prec = (prec * 10) + num;
110 prec = ival;
155 if (prec < 0)
156 prec = strlen(pval);
157 if (prec > (int) length) {
158 length = length + prec;
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
141 if(prec != -1)
144 prec = 1;
146 if(prec == 0 && num == 0)
154 prec -= len;
155 /* pad with prec zeros */
156 while(prec-- > 0){
225 int prec,
228 if(prec != -1)
229 width -= prec;
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
297 int prec = -1; local
[all...]
/haiku-fatelf/src/bin/network/tcpdump/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
141 if(prec != -1)
144 prec = 1;
146 if(prec == 0 && num == 0)
154 prec -= len;
155 /* pad with prec zeros */
156 while(prec-- > 0){
225 int prec,
228 if(prec != -1)
229 width -= prec;
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
297 int prec = -1; local
[all...]
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/
H A DEbmlFloat.cpp43 EbmlFloat::EbmlFloat(const EbmlFloat::Precision prec) argument
46 SetPrecision(prec);
49 EbmlFloat::EbmlFloat(const double aDefaultValue, const EbmlFloat::Precision prec) argument
53 SetPrecision(prec);
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/
H A Dvfprintf.c628 if (prec < 0) \
630 prec = 1; \
639 if (prec == 0 && number.longlong == 0) \
686 if (prec < 0) \
688 prec = 1; \
697 if (prec == 0 && number.word == 0) \
717 if (prec <= workend - string && number.word != 0 && alt && base == 8) \
721 prec = MAX (0, prec - (workend - string)); \
725 width -= workend - string + prec; \
1357 int prec = -1; /* Precision of output; -1 means none specified. */ local
1794 int prec = specs[nspecs_done].info.prec; local
[all...]
H A Dprintf_size.c189 int width = info->prec > width ? info->prec : width;
216 fp_info.prec = info->prec < 0 ? 3 : info->prec;
H A Dprintf.h35 int prec; /* Precision. */ member in struct:printf_info
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dvfprintf.c170 int prec; /* precision from format (%.3d), or -1 */ local
190 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
338 prec = -1;
376 prec = n < 0 ? -1 : n;
393 prec = n < 0 ? -1 : n;
465 if (prec == -1) {
466 prec = DEFPREC;
467 } else if ((ch == 'g' || ch == 'G') && prec == 0) {
468 prec = 1;
492 cp = cvt(_double, prec, flag
[all...]
/haiku-fatelf/src/libs/ncurses/form/
H A Dfty_int.c110 int prec = argi->precision; local
178 sprintf(buf, "%.*ld", (prec > 0 ? prec : 0), val);
H A Dfty_num.c126 int prec = argn->precision; local
214 sprintf(buf, "%.*f", (prec > 0 ? prec : 0), val);
/haiku-fatelf/src/bin/coreutils/src/
H A Dseq.c309 int prec = MAX (first.precision, step.precision); local
311 if (prec != INT_MAX && last.precision != INT_MAX)
316 size_t first_width = first.width + (prec - first.precision);
318 size_t last_width = last.width + (prec - last.precision);
320 if (last.precision && prec == 0)
322 if (last.precision == 0 && prec)
328 sprintf (format_buf, "%%0%d.%dLf", w, prec);
334 sprintf (format_buf, "%%.%dLf", prec);
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Dk_rem_pio2.c18 * __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
19 * double x[],y[]; int e0,nx,prec; int ipio2[];
67 * prec an integer indicating the precision:
168 int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2) argument
170 int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
171 double x[], y[]; int e0,nx,prec; int32_t ipio2[];
178 jk = init_jk[prec];
286 switch(prec) {
H A Dk_rem_pio2f.c61 int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32_t *ipio2) argument
63 int __kernel_rem_pio2f(x,y,e0,nx,prec,ipio2)
64 float x[], y[]; int e0,nx,prec; int32_t ipio2[];
71 jk = init_jk[prec];
179 switch(prec) {
/haiku-fatelf/src/bin/gawk/
H A Dbuiltin.c550 long fw, prec, argnum; local
664 prec = 0;
720 if (prec >= 0)
731 if (prec < 0) /* negative precision is discarded */
733 if (cur == &prec)
778 if (cur == &prec) {
796 if (prec < 0)
798 if (cur == &prec) {
799 prec = -1;
808 cur = &prec;
2332 sgfmt(char *buf, const char *format, int alt, int fwidth, int prec, double g) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dm2-exp.y219 exp : exp '^' %prec UNARY
225 exp %prec UNARY
230 exp : '+' exp %prec UNARY
234 exp : not_exp exp %prec UNARY
292 exp : SIZE exp %prec UNARY
351 non_empty_arglist ']' %prec DOT
361 arglist ')' %prec DOT
374 arglist : arglist ',' exp %prec ABOVE_COMMA
384 : non_empty_arglist ',' exp %prec ABOVE_COMMA
389 exp : '{' type '}' exp %prec UNAR
[all...]
H A Dobjc-exp.y249 exp : '*' exp %prec UNARY
253 exp : '&' exp %prec UNARY
257 exp : '-' exp %prec UNARY
261 exp : '!' exp %prec UNARY
265 exp : '~' exp %prec UNARY
269 exp : INCREMENT exp %prec UNARY
273 exp : DECREMENT exp %prec UNARY
277 exp : exp INCREMENT %prec UNARY
281 exp : exp DECREMENT %prec UNARY
285 exp : SIZEOF exp %prec UNAR
[all...]
H A Df-exp.y244 exp : '*' exp %prec UNARY
248 exp : '&' exp %prec UNARY
252 exp : '-' exp %prec UNARY
256 exp : BOOL_NOT exp %prec UNARY
260 exp : '~' exp %prec UNARY
264 exp : SIZEOF exp %prec UNARY
292 arglist : arglist ',' exp %prec ABOVE_COMMA
296 substring: exp ':' exp %prec ABOVE_COMMA
309 exp : '(' type ')' exp %prec UNARY
433 exp : SIZEOF '(' type ')' %prec UNAR
[all...]
H A Dc-exp.y248 exp : '*' exp %prec UNARY
252 exp : '&' exp %prec UNARY
256 exp : '-' exp %prec UNARY
260 exp : '!' exp %prec UNARY
264 exp : '~' exp %prec UNARY
268 exp : INCREMENT exp %prec UNARY
272 exp : DECREMENT exp %prec UNARY
276 exp : exp INCREMENT %prec UNARY
280 exp : exp DECREMENT %prec UNARY
284 exp : SIZEOF exp %prec UNAR
[all...]
/haiku-fatelf/headers/glibc/
H A Dprintf.h35 int prec; /* Precision. */ member in struct:printf_info
/haiku-fatelf/src/libs/stdc++/legacy/
H A Diostream.cc46 int __cvt_double(double number, register int prec, int flags, int *signp,
699 int prec = precision();
700 if (prec <= 0 && !(flags() & ios::fixed))
701 prec = 6; /* default */
706 struct printf_info info = { /* prec: */ prec,
735 prec, flags(),
741 if (prec > MAXFRACT) {
743 fpprec = prec - MAXFRACT;
744 prec
[all...]
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djas_image.c150 static uint_fast32_t inttobits(jas_seqent_t v, int prec, JPR_BOOL sgnd);
151 static jas_seqent_t bitstoint(uint_fast32_t v, int prec, JPR_BOOL sgnd);
197 (cmptparm->prec + 7) / 8;
208 cmptparm->width, cmptparm->height, cmptparm->prec,
707 cmptparm->width, cmptparm->height, cmptparm->prec,
753 static uint_fast32_t inttobits(jas_seqent_t v, int prec, JPR_BOOL sgnd) argument
756 ret = ((sgnd && v < 0) ? ((1 << prec) + v) : v) & JAS_ONES(prec);
760 static jas_seqent_t bitstoint(uint_fast32_t v, int prec, JPR_BOOL sgnd) argument
763 v &= JAS_ONES(prec);
[all...]

Completed in 142 milliseconds

123