/ast/src/lib/libtk/generic/ |
H A D | tkArgv.c | 353 int width, i, numSpaces; 359 * First, compute the width of the widest option key, so that we 363 width = 4; 372 if (length > width) { 373 width = length; 387 numSpaces = width + 1 - strlen(infoPtr->key); 351 int width, i, numSpaces; local
|
H A D | tkCanvImg.c | 60 int x, int y, int width, int height, int imgWidth, 81 int x, int y, int width, int height)); 359 int width, height; 375 Tk_SizeOfImage(imgPtr->image, &width, &height); 378 x -= width/2; 381 x -= width; 384 x -= width; 388 x -= width; 392 x -= width/2; 404 x -= width/ 354 int width, height; local [all...] |
H A D | tkCanvWind.c | 29 int width; /* Width to use for window (<= 0 means use member in struct:WindowItem 30 * window's requested width). */ 32 * window's requested width). */ 53 {TK_CONFIG_PIXELS, "-width", (char *) NULL, (char *) NULL, 54 "0", Tk_Offset(WindowItem, width), TK_CONFIG_DONT_SET_DEFAULT}, 77 int x, int y, int width, int height)); 183 winItemPtr->width = 0; 420 int width, height, x, y; 435 width = winItemPtr->width; 415 int width, height, x, y; local 529 int width, height; local [all...] |
H A D | tkCursor.c | 47 int width, height; /* Dimensions of cursor (and data member in struct:__anon394 179 Tk_GetCursorFromData(interp, tkwin, source, mask, width, height, 185 int width, height; /* Dimensions of cursor. */ 203 dataKey.width = width; 233 cursorPtr = TkCreateCursorFromData(tkwin, source, mask, width, height,
|
H A D | tkGeometry.c | 31 int width, height; /* Desired dimensions of slave. */ member in struct:MaintainSlave 158 * X gets very upset if a window requests a width or height of 186 * border of a given width and that child windows should not be 193 * The border width is recorded for the window, and all geometry 201 Tk_SetInternalBorder(tkwin, width) 203 int width; /* Width of internal border, in pixels. */ 207 if (width == winPtr->internalBorderWidth) { 210 if (width < 0) { 211 width = 0; 213 winPtr->internalBorderWidth = width; [all...] |
H A D | tkBitmap.c | 43 int width, height; /* Dimensions of bitmap. */ member in struct:__anon385 80 int width, height; /* Dimensions of bitmap. */ member in struct:__anon388 101 int width, height; /* Dimensions of bitmap. */ member in struct:__anon389 153 int width, height; 187 (unsigned int *) &width, (unsigned int *) &height, 211 width = predefPtr->width; 215 (unsigned) width, (unsigned) height); 224 bitmapPtr->width = width; 152 int width, height; local [all...] |
H A D | tkCanvBmap.c | 84 int x, int y, int width, int height)); 372 int width, height; 389 &width, &height); 392 x -= width/2; 395 x -= width; 398 x -= width; 402 x -= width; 406 x -= width/2; 418 x -= width/2; 429 bmapPtr->header.x2 = x + width; 367 int width, height; local 384 &width, &height); local 714 int width, height, rowsAtOnce, rowsThisTime; local 730 &width, &height); local [all...] |
H A D | tkCanvPoly.c | 32 int width; /* Width of outline. */ member in struct:PolygonItem 64 {TK_CONFIG_PIXELS, "-width", (char *) NULL, (char *) NULL, 65 "1", Tk_Offset(PolygonItem, width), TK_CONFIG_DONT_SET_DEFAULT}, 86 int x, int y, int width, int height)); 188 polyPtr->width = 1; 357 if (polyPtr->width < 1) { 358 polyPtr->width = 1; 364 gcValues.line_width = polyPtr->width; 496 i = (polyPtr->width+1)/2 + 1; 598 DisplayPolygon(canvas, itemPtr, display, drawable, x, y, width, heigh [all...] |
H A D | tkFont.c | 24 * a width. The type is one of the following: 30 * on this line (character has infinite width). 41 * The width gives the total width of the displayed character or 42 * sequence: for replacement sequences, it gives the width of the 382 * not control characters, fill in the type and width 393 fontPtr->widths[i] = fontStructPtr->min_bounds.width; 396 - fontStructPtr->min_char_or_byte2].width; 444 fontPtr->tabWidth = 8*fontStructPtr->max_bounds.width; 448 * Make sure the tab width is 801 int xUnder, yUnder, width, height; local [all...] |
H A D | tkFrame.c | 66 int width; /* Width to request for window. <= 0 means member in struct:__anon399 143 {TK_CONFIG_PIXELS, "-width", "width", "Width", 144 DEF_FRAME_WIDTH, Tk_Offset(Frame, width), BOTH}, 376 framePtr->width = 0; 574 if ((framePtr->width > 0) || (framePtr->height > 0)) { 575 Tk_GeometryRequest(framePtr->tkwin, framePtr->width,
|
H A D | tkImage.c | 62 int width, height; /* Last known dimensions for image. */ member in struct:ImageMaster 214 masterPtr->width = masterPtr->height = 1; 232 masterPtr->width, masterPtr->height, masterPtr->width, 321 } else if ((c == 'w') && (strncmp(argv[1], "width", length) == 0)) { 324 " width name\"", (char *) NULL); 334 sprintf(interp->result, "%d", masterPtr->width); 338 " or width", (char *) NULL); 365 Tk_ImageChanged(imageMaster, x, y, width, height, imageWidth, 371 int width, heigh [all...] |
H A D | tkMessage.c | 58 int inset; /* Total width of all borders, including 70 int width; /* User-requested width, in pixels. 0 means member in struct:__anon411 71 * compute width using aspect ratio below. */ 73 * (100*width/height). */ 75 * from width and/or aspect. */ 158 {TK_CONFIG_PIXELS, "-width", "width", "Width", 159 DEF_MESSAGE_WIDTH, Tk_Offset(Message, width), 0}, 248 msgPtr->width 522 int width, inc, height, numLines; local [all...] |
H A D | tkPlace.c | 55 int width, height; /* Absolute dimensions for tkwin. */ member in struct:Slave 68 * CHILD_WIDTH - 1 means -width was specified; 267 sprintf(buffer, " -width %d", slavePtr->width); 270 Tcl_AppendResult(interp, " -width {}", (char *) NULL); 361 slavePtr->width = slavePtr->height = 0; 638 } else if ((c == 'w') && (strncmp(argv[0], "-width", length) == 0)) { 643 &slavePtr->width) != TCL_OK) { 664 "-in, -relheight, -relwidth, -relx, -rely, -width, ", 715 int x, y, width, heigh 709 int x, y, width, height, tmp; local [all...] |
H A D | tkRectOval.c | 28 int width; /* Width of outline. */ member in struct:RectOvalItem 53 {TK_CONFIG_PIXELS, "-width", (char *) NULL, (char *) NULL, 54 "1", Tk_Offset(RectOvalItem, width), TK_CONFIG_DONT_SET_DEFAULT}, 75 int x, int y, int width, int height)); 191 rectOvalPtr->width = 1; 330 if (rectOvalPtr->width < 1) { 331 rectOvalPtr->width = 1; 338 gcValues.line_width = rectOvalPtr->width; 463 bloat = (rectOvalPtr->width+1)/2; 512 DisplayRectOval(canvas, itemPtr, display, drawable, x, y, width, heigh 705 double width; local 833 double centerX, centerY, width, height; local [all...] |
/ast/src/cmd/std/ |
H A D | banner.c | 25 * banner [-d delim] [-w width] arg ... 35 "[w:width?The banner print width is \awidth\a.]#[width:=80]" 180 static void banner(const char *string,const char *delim,int width) argument 188 if(j > width/8) 189 error(ERROR_exit(1),"up to %d char%s per arg",width/8,(width/8)==1?"":"s"); 227 int width = 80; local 238 width [all...] |
/ast/src/lib/libcmd/ |
H A D | fold.c | 37 "each output line is the maximum width possible that does not " 42 "[+carriage-return?The current count of line width will be set " 45 "[+backspace?If positive, the current count of line width will be " 64 "[w:width]#[width:=80?Use a maximum line length of \awidth\a columns " 89 static void fold(Sfio_t *in, Sfio_t *out, register int width, const char *cont, size_t contsize, char *cols) argument 105 if(cols['\b']==0 && (n=sfvalue(in))<=width) 116 while((cp-first) > (width-col)) 121 col = width-col; 145 if((cp-first) > (width 172 register int n, width=WIDTH; local [all...] |
H A D | uniq.c | 85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument 130 else if (width >= 0 && width < reclen) 136 while (reclen < width && mp < ep) 144 reclen = width; 250 int fields=0, chars=0, width=-1; local 299 width = opt_info.num; 335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare);
|
/ast/src/lib/libcs/ |
H A D | cspoll.c | 51 register int width; local 73 events = width = 0; 77 if (pp->fd > width) 78 width = pp->fd; 105 num = select(width + 1, rp, wp, ep, tp); 110 num = select(width + 1, rp, wp, ms);
|
/ast/src/lib/libdss/ |
H A D | cxattr.c | 39 short width; member in struct:Attribute_s 158 else if (!strncasecmp(s, "width=", 6)) 160 f->width = (int)strtol(s + 6, &e, 10); 174 if (a->width) 175 f->width = a->width;
|
/ast/src/lib/libast/sfio/ |
H A D | sftable.c | 55 int base, fmt, flags, dot, width, precis; local 106 size = width = precis = base = -1; 208 width = v; 322 fp[argp].ft.width = width; 346 fp[n].ft.width = 0; 362 fp[n].ft.width = fp[v].argv.i;
|
/ast/src/lib/libast/tm/ |
H A D | tmxfmt.c | 110 int width; local 156 width = 0; 195 width = width * 10 + (c - '0'); 263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); 266 cp = number(cp, ep, (long)tm->tm_mday, 2, width, pad); 272 cp = number(cp, ep, (long)tm->tm_mday, -2, width, pad); 300 cp = number(cp, ep, (long)n, c, width, pad); 303 cp = number(cp, ep, (long)tm->tm_hour, 2, width, pad); 311 cp = number(cp, ep, (long)n, 2, width, pa [all...] |
/ast/src/cmd/builtin/ |
H A D | strings.c | 128 strings(Sfio_t* in, Sfio_t* out, register int width, char* format, register int flags) argument 161 if (n >= width && !state) 205 register int width = WIDTH; local 228 if ((width = opt_info.num) <= 0) 229 error(2, "%d: width must be positive", opt_info.num); 265 if (!strings(fp, sfstdout, width, format, flags))
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixCursor.c | 229 int width, height, maskWidth, maskHeight; 244 (unsigned int *) &width, (unsigned int *) &height, 250 if ((xHot < 0) || (yHot < 0) || (xHot >= width) || (yHot >= height)) { 273 if ((maskWidth != width) && (maskHeight != height)) { 338 TkCreateCursorFromData(tkwin, source, mask, width, height, xHot, yHot, 343 int width, height; /* Dimensions of cursor. */ 354 RootWindowOfScreen(Tk_Screen(tkwin)), source, (unsigned) width, 357 RootWindowOfScreen(Tk_Screen(tkwin)), mask, (unsigned) width, 228 int width, height, maskWidth, maskHeight; local
|
/ast/src/lib/libast/astsa/ |
H A D | optlib.h | 91 int width; /* format line width */ member in struct:Optstate_s
|
/ast/src/lib/libast/misc/ |
H A D | optlib.h | 97 int width; /* format line width */ member in struct:Optstate_s
|