/ast/src/lib/libtksh/lib/tksh7.6/ |
H A D | parray.tcl | 20 if {[string length $name] > $maxl} { 21 set maxl [string length $name] 24 set maxl [expr {$maxl + [string length $a] + 2}]
|
/ast/src/lib/libtk/generic/ |
H A D | tkClipboard.c | 66 size_t length, freeCount; 76 if (scanned + cbPtr->length > offset) { 79 scanned += cbPtr->length; 89 length = cbPtr->length - (offset - scanned); 91 if (length > freeCount) { 95 strncpy(destPtr, srcPtr, length); 96 destPtr += length; 97 count += length; 98 freeCount -= length; 65 size_t length, freeCount; local 140 size_t length; local 433 size_t length; local [all...] |
H A D | tkCmds.c | 60 size_t length; 69 length = strlen(argv[1]); 70 if ((length < 2) || (strncmp(argv[1], "-displayof", length) != 0)) { 566 size_t length; 576 length = strlen(argv[1]); 577 if ((c == 'a') && (strncmp(argv[1], "appname", length) == 0)) { 625 size_t length; 633 length = strlen(argv[1]); 634 if ((c == 'v') && (strncmp(argv[1], "variable", length) 59 size_t length; local 557 size_t length; local 615 size_t length; local 841 size_t length; local 1377 size_t length; local [all...] |
H A D | tkUtil.c | 106 size_t length; 108 length = strlen(argv[2]); 110 if ((c == 'm') && (strncmp(argv[2], "moveto", length) == 0)) { 122 && (strncmp(argv[2], "scroll", length) == 0)) { 132 length = strlen(argv[4]); 134 if ((c == 'p') && (strncmp(argv[4], "pages", length) == 0)) { 137 && (strncmp(argv[4], "units", length) == 0)) { 104 size_t length; local
|
H A D | tkGet.c | 176 size_t length; 179 length = strlen(string); 181 if ((c == 'b') && (strncmp(string, "bevel", length) == 0)) { 185 if ((c == 'm') && (strncmp(string, "miter", length) == 0)) { 189 if ((c == 'r') && (strncmp(string, "round", length) == 0)) { 260 size_t length; 263 length = strlen(string); 265 if ((c == 'b') && (strncmp(string, "butt", length) == 0)) { 269 if ((c == 'p') && (strncmp(string, "projecting", length) == 0)) { 273 if ((c == 'r') && (strncmp(string, "round", length) 173 size_t length; local 255 size_t length; local 337 size_t length; local [all...] |
H A D | tkSelect.c | 460 * the length of the portion, not including the terminating 607 size_t length; 617 length = strlen(argv[1]); 618 if ((c == 'c') && (strncmp(argv[1], "clear", length) == 0)) { 629 length = strlen(args[0]); 630 if ((c == 'd') && (strncmp(args[0], "-displayof", length) == 0)) { 633 && (strncmp(args[0], "-selection", length) == 0)) { 662 } else if ((c == 'g') && (strncmp(argv[1], "get", length) == 0)) { 678 length = strlen(args[0]); 679 if ((c == 'd') && (strncmp(args[0], "-displayof", length) 601 size_t length; local 1120 int spaceNeeded, length; local 1227 int length, atomLength; local 1254 int length; local 1267 int length; local [all...] |
H A D | tkArgv.c | 91 size_t length; /* Number of characters in current argument. */ 106 length = strlen(curArg); 107 if (length > 0) { 132 || (strncmp(infoPtr->key, curArg, length) != 0)) { 141 if (infoPtr->key[length] == 0) { 367 int length; 371 length = strlen(infoPtr->key); 372 if (length > width) { 373 width = length; 90 size_t length; /* Number of characters in current argument. */ local 365 int length; local
|
H A D | tkScrollbar.c | 169 * Minimum slider length, in pixels (designed to make sure that the slider 397 size_t length; 407 length = strlen(argv[1]); 408 if ((c == 'a') && (strncmp(argv[1], "activate", length) == 0)) { 423 length = strlen(argv[2]); 428 } else if ((c == 's') && (strncmp(argv[2], "slider", length) == 0)) { 434 } else if ((c == 'c') && (strncmp(argv[1], "cget", length) == 0) 435 && (length >= 2)) { 444 } else if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0) 445 && (length > 395 size_t length; local 455 int xDelta, yDelta, pixels, length; local 483 int x, y, pos, length; local 714 size_t length; local 1157 int length, width, tmp; local [all...] |
H A D | tkTextIndex.c | 521 size_t length; 550 length = p - units; 551 if ((*units == 'c') && (strncmp(units, "chars", length) == 0)) { 557 } else if ((*units == 'l') && (strncmp(units, "lines", length) == 0)) { 625 * Compute the length of the current line. 708 * Compute the length of the line and add that to dstPtr->charIndex. 749 size_t length; 759 length = p-string; 760 if ((*string == 'l') && (strncmp(string, "lineend", length) == 0) 761 && (length > 514 size_t length; local 739 size_t length; local [all...] |
H A D | tkConsole.c | 409 int length; 420 length = strlen(argv[1]); 424 if ((c == 't') && (strncmp(argv[1], "title", length)) == 0) { 434 } else if ((c == 'h') && (strncmp(argv[1], "hide", length)) == 0) { 436 } else if ((c == 's') && (strncmp(argv[1], "show", length)) == 0) { 438 } else if ((c == 'e') && (strncmp(argv[1], "eval", length)) == 0) { 477 int length; 488 length = strlen(argv[1]); 492 if ((c == 'e') && (strncmp(argv[1], "eval", length)) == 0) { 495 } else if ((c == 'r') && (strncmp(argv[1], "record", length)) 400 int length; local 467 int length; local [all...] |
H A D | tkPlace.c | 169 size_t length; 188 length = strlen(argv[1]); 212 if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0)) { 222 } else if ((c == 'f') && (strncmp(argv[1], "forget", length) == 0)) { 245 } else if ((c == 'i') && (strncmp(argv[1], "info", length) == 0)) { 303 } else if ((c == 's') && (strncmp(argv[1], "slaves", length) == 0)) { 493 size_t length; 510 length = strlen(argv[0]); 512 if ((c == 'a') && (strncmp(argv[0], "-anchor", length) == 0)) { 518 && (strncmp(argv[0], "-bordermode", length) 168 size_t length; local 488 size_t length; local [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclGet.c | 186 size_t length; 204 length = strlen(lowerCase); 210 } else if ((c == 'y') && (strncmp(lowerCase, "yes", length) == 0)) { 212 } else if ((c == 'n') && (strncmp(lowerCase, "no", length) == 0)) { 214 } else if ((c == 't') && (strncmp(lowerCase, "true", length) == 0)) { 216 } else if ((c == 'f') && (strncmp(lowerCase, "false", length) == 0)) { 218 } else if ((c == 'o') && (length >= 2)) { 219 if (strncmp(lowerCase, "on", length) == 0) { 221 } else if (strncmp(lowerCase, "off", length) == 0) { 183 size_t length; local
|
H A D | tclUtil.c | 781 int length; 793 for (length = strlen(element); 794 (length > 0) && (isspace(UCHAR(element[length-1]))); 795 length--) { 798 if (length == 0) { 801 (void) strncpy(p, element, (size_t) length); 802 p += length; 981 int length; 990 length 774 int length; local 972 int length; local 1378 int i, length; local [all...] |
H A D | tclCmdMZ.c | 30 int length; /* Number of non-NULL chars. in command. */ member in struct:__anon433 736 int i, widthSpecified, length, code; 765 length = strlen(argv[2]) * 2 + 1; 766 if (length < STATIC_SIZE) { 769 fmtCopy = (char *) ckalloc((unsigned) length); 1122 size_t length; 1133 length = strlen(argv[1]); 1134 if ((c == 'c') && (strncmp(argv[1], "compare", length) == 0)) { 1149 } else if ((c == 'f') && (strncmp(argv[1], "first", length) == 0)) { 1160 length 730 int i, widthSpecified, length, code; local 1113 size_t length; local 1349 int length, index, cur; local 1383 int length, index, cur; local 1455 size_t length; local 1807 size_t length; local 1819 int flags, length; local 1860 int flags, length; local [all...] |
H A D | tclCmdAH.c | 587 size_t length; 599 length = strlen(argv[1]); 607 if ((c == 'd') && (strncmp(argv[1], "dirname", length) == 0)) { 658 } else if ((c == 't') && (strncmp(argv[1], "tail", length) == 0) 659 && (length >= 2)) { 701 } else if ((c == 'r') && (strncmp(argv[1], "rootname", length) == 0) 702 && (length >= 2)) { 718 } else if ((c == 'e') && (strncmp(argv[1], "extension", length) == 0) 719 && (length >= 3)) { 730 } else if ((c == 'p') && (strncmp(argv[1], "pathtype", length) 576 size_t length; local [all...] |
H A D | tclPkg.c | 302 size_t length; 317 length = strlen(argv[1]); 318 if ((c == 'f') && (strncmp(argv[1], "forget", length) == 0)) { 338 } else if ((c == 'i') && (strncmp(argv[1], "ifneeded", length) == 0)) { 385 } else if ((c == 'n') && (strncmp(argv[1], "names", length) == 0)) { 399 } else if ((c == 'p') && (strncmp(argv[1], "provide", length) == 0)) { 419 } else if ((c == 'r') && (strncmp(argv[1], "require", length) == 0)) { 445 } else if ((c == 'u') && (strncmp(argv[1], "unknown", length) == 0)) { 466 } else if ((c == 'v') && (strncmp(argv[1], "vcompare", length) == 0) 467 && (length > 299 size_t length; local [all...] |
/ast/src/lib/libtksh/src/ |
H A D | filecmd.c | 44 size_t length; local 56 length = strlen(argv[1]); 68 if ((c == 'd') && (strncmp(argv[1], "dirname", length) == 0)) { 88 } else if ((c == 'r') && (strncmp(argv[1], "rootname", length) == 0) 89 && (length >= 2)) { 106 } else if ((c == 'e') && (strncmp(argv[1], "extension", length) == 0) 107 && (length >= 3)) { 120 } else if ((c == 't') && (strncmp(argv[1], "tail", length) == 0) 121 && (length >= 2)) { 144 if ((c == 'r') && (strncmp(argv[1], "readable", length) 595 int length; local 894 int oldLength, length, i; local [all...] |
H A D | commands.c | 174 int length; local 183 length = strlen(argv[1]); 184 if ((c == 'm') && (strncmp(argv[1], "mode", length)) == 0) 197 else if ((c == 's') && (strncmp(argv[1], "sideeffects", length)) == 0) 209 else if ((c == 'l') && (strncmp(argv[1], "listmode", length)) == 0) 301 size_t length; local 319 length = strlen(argv[1]); 320 if ((c == 'a') && (strncmp(argv[1], "args", length)) == 0) { 338 } else if ((c == 'b') && (strncmp(argv[1], "body", length)) == 0) { 350 } else if ((c == 'c') && (strncmp(argv[1], "cmdcount", length) [all...] |
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_tag.c | 40 if (!sfread(f, (char *)&(tp->length), sizeof(int)) || (len = tp->length - sizeof(int)) && sfread(f, (char *)s, len) != len) 69 tp->length = sizeof(tag_t) - MAXVID + strlen(v) + 1; 70 return (tp->length);
|
H A D | vcs_dir.c | 71 ntp = (tag_t *)malloc(tp->length); 72 memcpy((char *)ntp, (char *)tp, tp->length); 83 ntp = (tag_t *)malloc(tp->length); 84 memcpy((char *)ntp, (char *)tp, tp->length); 96 ntp = (tag_t *)malloc(tp->length); 97 memcpy((char *)ntp, (char *)tp, tp->length);
|
/ast/src/cmd/pack/ |
H A D | huffgethdr.c | 69 hp->length[i] = 0; 80 hp->length[c] = i; 85 hp->length[c] = i-1;
|
/ast/src/lib/libjcl/ |
H A D | path.c | 37 int length; member in struct:Map_s 46 int length; member in struct:Match_s 52 int length; member in struct:Suf_s 161 * string length returned in *z 173 *z = state.match[n].length; 198 return (s - b) + (state.match[state.matched].length = strlen(state.match[state.matched].string = s)); 210 state.match[state.matched].length = u - s; 264 mp->length = j + n; 265 message((-9, "match[%d] %s %s %d", state.matched, name, mp->prefix, mp->length)); 272 lp->length [all...] |
/ast/src/cmd/pax/ |
H A D | pax-mime.c | 33 size_t length; /* separator magic length */ member in struct:Mime_s 61 mime->length = n; 62 memcpy(mime->magic, s, mime->length); 91 if (paxread(pax, ap, s = state.tmp.buffer, mime->length + 2, mime->length + 2, 1) <= 0 || memcmp(s, mime->magic, mime->length)) 93 else if (*(s += mime->length) == '-' && *(s + 1) == '-') 162 if (m < mime->length) 171 for (t = s + m - mime->length; [all...] |
/ast/src/cmd/sort/ |
H A D | rec.c | 39 "[l:length?List the length of each record.]" 75 int length = 0; local 88 length = !!opt_info.num; 142 if (sp && (count || length)) 166 if (length) 185 if (length && (z = sfvalue(sp)))
|
/ast/src/lib/libast/disc/ |
H A D | sfdcprefix.c | 36 size_t length; /* prefix length */ member in struct:__anon258 37 size_t empty; /* empty line prefix length */ 80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp); 137 pfx->length = n;
|