Searched defs:length (Results 1 - 25 of 90) sorted by relevance

1234

/ast/src/lib/libtk/generic/
H A DtkUtil.c106 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 DtkArgv.c91 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 DtkGet.c176 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 DtkMain.c100 size_t length;
118 length = strlen(argv[1]);
119 if ((length >= 2) && (strncmp(argv[1], "-file", length) == 0)) {
99 size_t length; local
H A DtkClipboard.c66 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 DtkConfig.c242 size_t length;
245 length = strlen(argvName);
252 || (strncmp(specPtr->argvName, argvName, length) != 0)) {
259 if (specPtr->argvName[length] == 0) {
240 size_t length; local
H A DtkConsole.c409 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 DtkFocus.c87 size_t length;
122 length = strlen(argv[1]);
124 if ((c == 'd') && (strncmp(argv[1], "-displayof", length) == 0)) {
138 } else if ((c == 'f') && (strncmp(argv[1], "-force", length) == 0)) {
152 } else if ((c == 'l') && (strncmp(argv[1], "-lastfor", length) == 0)) {
86 size_t length; local
H A DtkSelect.h115 long length; /* Length of string in buffer. */ member in struct:TkClipboardBuffer
H A DtkSquare.c206 size_t length;
216 length = strlen(argv[1]);
217 if ((c == 'c') && (strncmp(argv[1], "cget", length) == 0)
218 && (length >= 2)) {
227 } else if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0)
228 && (length >= 2)) {
239 } else if ((c == 'p') && (strncmp(argv[1], "position", length) == 0)) {
254 } else if ((c == 's') && (strncmp(argv[1], "size", length) == 0)) {
204 size_t length; local
H A DtkTextIndex.c521 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 DtkTextMark.c107 size_t length;
120 length = strlen(argv[2]);
121 if ((c == 'g') && (strncmp(argv[2], "gravity", length) == 0)) {
143 length = strlen(argv[4]);
145 if ((c == 'l') && (strncmp(argv[4], "left", length) == 0)) {
147 } else if ((c == 'r') && (strncmp(argv[4], "right", length) == 0)) {
159 } else if ((c == 'n') && (strncmp(argv[2], "names", length) == 0)) {
170 } else if ((c == 'n') && (strncmp(argv[2], "next", length) == 0)) {
177 } else if ((c == 'p') && (strncmp(argv[2], "previous", length) == 0)) {
184 } else if ((c == 's') && (strncmp(argv[2], "set", length)
106 size_t length; local
[all...]
H A DtkVisual.c108 int length, c, numVisuals, prio, bestPrio, i;
200 length = p - string;
203 if ((dictPtr->name[0] == c) && (length >= dictPtr->minLength)
205 (size_t) length) == 0)) {
107 int length, c, numVisuals, prio, bestPrio, i; local
H A DtkFrame.c246 int i, c, length, depth;
267 length = strlen(arg);
268 if (length < 2) {
273 && (length >= 3)) {
427 size_t length;
437 length = strlen(argv[1]);
438 if ((c == 'c') && (strncmp(argv[1], "cget", length) == 0)
439 && (length >= 2)) {
449 } else if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0)
450 && (length >
244 int i, c, length, depth; local
424 size_t length; local
[all...]
/ast/src/lib/libtksh/tcl/
H A DtclGet.c186 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 DtclClock.c57 size_t length;
68 length = strlen(argv[1]);
69 if ((c == 'c') && (strncmp(argv[1], "clicks", length) == 0)) {
77 } else if ((c == 'f') && (strncmp(argv[1], "format", length) == 0)) {
114 } else if ((c == 's') && (strncmp(argv[1], "scan", length) == 0)) {
169 } else if ((c == 's') && (strncmp(argv[1], "seconds", length) == 0)) {
56 size_t length; local
H A DtclUnixFile.c442 size_t length = (contents == NULL) ? 0 : strlen(contents);
448 if ((file != NULL) && (length > 0)) {
451 if (write(fd, contents, length) != -1) {
495 int length;
580 length = strlen(cwd);
582 (length + strlen(name) + 2));
584 tclExecutableName[length] = '/';
585 strcpy(tclExecutableName + length + 1, name);
431 size_t length = (contents == NULL) ? 0 : strlen(contents); variable
483 int length; local
H A DtclPkg.c302 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/cmd/pack/
H A Dhuffman.h40 char length[(1<<CHAR_BIT)+1]; member in struct:__anon178
/ast/src/cmd/sort/
H A Drec.c39 "[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 Dsfdcprefix.c36 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;
/ast/src/cmd/pax/
H A Dpax-mime.c33 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/lib/libbz/
H A Dhuffman.c177 UChar *length,
187 if (length[i] == n) { code[i] = vec; vec++; };
197 UChar *length,
207 if (length[j] == i) { perm[pp] = j; pp++; };
210 for (i = 0; i < alphaSize; i++) base[length[i]+1]++;
176 hbAssignCodes( Int32 *code, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
194 hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
/ast/src/lib/libtksh/src/
H A Dcommands.c174 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/lib/libcodex/
H A Dcode-uu.c43 int length; member in struct:__anon332
214 n = data->length ? 0 : UU_IGN;
238 n = UUOUT * UUCHUNK + state->data->length + 1;
240 if (state->data->length)
252 if (state->data->length)
276 if (state->data->length)

Completed in 80 milliseconds

1234