Searched defs:fraction (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libast/sfio/
H A Dsfstrtof.h210 int fraction; local
246 fraction = -1;
270 fraction = digits;
309 if (fraction >= 0)
310 m -= 4 * (digits - fraction);
334 fraction = 0;
415 fraction = digits;
454 if (fraction >= 0)
455 digits = fraction;
/ast/src/lib/libtk/generic/
H A DtkScrollbar.c120 * specified as a fraction between 0 and
123 * specified as a fraction between 0 and
458 double fraction;
479 fraction = 0.0;
481 fraction = ((double) pixels / (double) length);
483 sprintf(interp->result, "%g", fraction);
484 } else if ((c == 'f') && (strncmp(argv[1], "fraction", length) == 0)) { local
486 double fraction;
490 argv[0], " fraction x y\"", (char *) NULL);
507 fraction
456 double fraction; local
[all...]
H A DtkCanvas.c1284 double fraction;
1292 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
1298 + (int) (fraction * (canvasPtr->scrollX2
1322 double fraction;
1330 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
1336 + (int) (fraction*(canvasPtr->scrollY2
1282 double fraction; local
1320 double fraction; local
H A DtkEntry.c731 double fraction, first, last;
742 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
748 index = (fraction * entryPtr->numChars) + 0.5;
729 double fraction, first, last; local
H A DtkListbox.c767 double fraction, fraction2;
775 fraction = listPtr->xOffset/((double) listPtr->maxWidth);
781 sprintf(interp->result, "%g %g", fraction, fraction2);
789 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
794 offset = fraction*listPtr->maxWidth + 0.5;
813 double fraction, fraction2;
819 fraction = listPtr->topIndex/((double) listPtr->numElements);
825 sprintf(interp->result, "%g %g", fraction, fraction2);
834 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
839 index = listPtr->numElements*fraction
765 double fraction, fraction2; local
811 double fraction, fraction2; local
[all...]
H A DtkTextDisp.c3254 double fraction;
3266 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
3271 if (fraction > 1.0) {
3272 fraction = 1.0;
3274 if (fraction < 0) {
3275 fraction = 0;
3277 newOffset = ((fraction * dInfoPtr->maxLength) / textPtr->charWidth)
3445 double fraction;
3501 type = Tk_GetScrollInfo(interp, argc, argv, &fraction, &count);
3506 if (fraction > 1.
3234 double fraction; local
3423 double fraction; local
[all...]
/ast/src/cmd/std/
H A Ddf.c122 int fraction; member in struct:__anon226
467 s = (df->total || df->ttotal) ? scale(df->fraction, df->avail, df->tavail) : "-";
470 s = (df->total || df->ttotal) ? scale(df->fraction, df->total, df->ttotal) : "-";
524 s = (df->total || df->ttotal) ? scale(df->fraction, df->used, df->tused) : "-";
614 df->fraction = 0;
631 if (df->fraction = s / 10)
633 df->ttotal = (df->total / df->fraction) % 10;
634 df->tavail = (df->avail / df->fraction) % 10;
635 df->tused = (df->used / df->fraction) % 10;
/ast/src/cmd/pax/
H A Dpaxlib.h95 int32_t fraction; /* fractional part */ member in struct:Paxvalue_s

Completed in 51 milliseconds