Searched refs:chars (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libcmd/
H A Dwc.c50 "[c:bytes|chars:chars?List the byte counts.]"
51 "[m|C:multibyte-chars?List the character counts.]"
81 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->chars);
83 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->longest);
168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1);
175 tchars += wp->chars;
183 wp->chars = tchars;
H A Dwc.h47 Sfoff_t chars; member in struct:__anon331
H A Duniq.c55 "[s:skip-chars]#[chars?\achars\a is the number of characters to skip over "
60 "equivalent to \b--skip-chars\b=\anumber\a.]"
62 "[w:check-chars]#[chars?\achars\a is the number of characters to compare "
85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
117 if (chars)
120 for (f = chars; f; f--)
123 cp += chars;
250 int fields=0, chars local
[all...]
H A Dwclib.c500 wp->chars = nchars;
/ast/src/lib/libtk/generic/
H A DtkTextBTree.c106 #define CSEG_SIZE(chars) ((unsigned) (Tk_Offset(TkTextSegment, body) \
107 + 1 + (chars)))
244 segPtr->body.chars[0] = '\n';
245 segPtr->body.chars[1] = 0;
254 segPtr->body.chars[0] = '\n';
255 segPtr->body.chars[1] = 0;
449 strncpy(segPtr->body.chars, string, (size_t) chunkSize);
450 segPtr->body.chars[chunkSize] = 0;
2658 if ((segPtr->body.chars[0] != '\n') || (segPtr->body.chars[
[all...]
H A DtkText.c549 savedChar = segPtr->body.chars[last];
550 segPtr->body.chars[last] = 0;
551 Tcl_AppendResult(interp, segPtr->body.chars + offset,
553 segPtr->body.chars[last] = savedChar;
580 " insert index chars ?tagList chars tagList ...?\"",
1374 memcpy((VOID *) buffer, (VOID *) (segPtr->body.chars
1661 Tcl_DStringAppend(&line, segPtr->body.chars, segPtr->size);
2128 savedChar = segPtr->body.chars[last];
2129 segPtr->body.chars[las
[all...]
H A DtkTextIndex.c382 * is "chars" or "lines".
551 if ((*units == 'c') && (strncmp(units, "chars", length) == 0)) {
784 c = segPtr->body.chars[offset];
813 c = segPtr->body.chars[offset];
H A DtkTextDisp.c257 char chars[4]; /* Characters to display. Actual size member in struct:CharInfo
858 for (p = segPtr->body.chars + offset; *p != 0; p++) {
860 maxChars = (p + 1 - segPtr->body.chars) - offset;
3091 charsToCount = INT_MAX; /* Consider all chars. in next line. */
4252 p = segPtr->body.chars + offset;
4308 strncpy(ciPtr->chars, p, (size_t) charsThatFit);
4407 offsetChars = TkMeasureChars(sValuePtr->fontPtr, ciPtr->chars,
4417 ciPtr->chars + offsetChars, ciPtr->numChars - offsetChars,
4422 sValuePtr->fontPtr, ciPtr->chars + offsetChars, offsetX,
4428 sValuePtr->fontPtr, ciPtr->chars
[all...]
H A DtkText.h125 char chars[4]; /* Characters that make up character member in union:TkTextSegment::__anon420
/ast/src/cmd/mailx/
H A Dcmd2.c600 getatt(register struct part* ap, register char* name, unsigned long flags, off_t* lines, off_t* chars) argument
679 if (!chars)
680 chars = &cc;
681 filecopy(NiL, ip, name, op, NiL, ap->size, lines, chars, 0);
684 note(0, "\"%s\" %ld/%ld", name, (long)*lines, (long)*chars);
H A Dproc.c312 * Copy n chars from from file ip to file op.
316 * If chars!=0 then it will point to the copied char count.
317 * If n==0 then all chars copied.
318 * If n>0 then exactly that many chars are copied.
324 filecopy(const char* in, FILE* ip, const char* on, FILE* op, FILE* ap, register off_t n, register off_t* lines, off_t* chars, unsigned long flags) argument
381 if (chars)
382 *chars = cc;
H A Dmisc.c675 * Return lines/chars for display.
678 counts(int wide, off_t lines, off_t chars) argument
680 sfsprintf(state.counts, sizeof(state.counts), wide ? "%5ld/%-7ld" : "%3ld/%-5ld", (long)lines, (long)chars);
H A Dimap.c2157 imap_getatt(Msg_t* mp, register Imappart_t* pp, register char* name, unsigned long flags, off_t* lines, off_t* chars) argument
2223 if (chars)
2224 *chars = pp->size;
/ast/src/lib/libtk/library/
H A Dtext.tcl591 set pos {end - 1 chars}
757 set pos [$w index "$pos + [lindex $index 0] chars"]
792 return [$w index "$pos + [lindex $index 0] chars"]
/ast/src/cmd/nmake/
H A DMakerules.mk14 * use $(tmp) (10 chars max) to generate shell tmp file names

Completed in 252 milliseconds