/ast/src/lib/libast/string/ |
H A D | wc2utf8.c | 38 unsigned short prefix; member in struct:Utf8_s 62 *s++ = ops[i].prefix | (w >> ops[i].shift);
|
/ast/src/cmd/dsslib/ip_t/ |
H A D | testptv.c | 32 "[+NAME?testptv - ptv ipv6 longest prefix match test harness]" 34 "and then does a longest prefix match for each ipv6 address in each " 40 "prefix in the first space separated field. Each \aaddress-file\a must " 43 "[d:dump?Dump the prefix table before matching the addresses.]" 60 unsigned char prefix[IP6PREFIX]; local 89 error(ERROR_SYSTEM|3, "%s: cannot read prefix file", file); 93 if (strtoip6(s, 0, prefix, prefix + IP6BITS)) 94 error(1, "%s: invalid prefix", s); 98 sfprintf(sfstderr, "insert %s %s\n", fmtip6(ptvmin(ptv->size, ptv->r[0], prefix, prefi [all...] |
H A D | testiv.c | 32 "[+NAME?testiv - iv ipv6 longest prefix match test harness]" 34 "then does a longest prefix match for each ipv6 address in each " 37 "matching prefix and optional associated string one line per match. " 38 "\b-\b is listed instead of the prefix for unmatched addresses.]" 40 "separated fields, with the \bipv6\b prefix in the first field and an " 44 "[d:dump?Dump the prefix table before matching the addresses.]" 61 unsigned char prefix[IP6PREFIX]; member in struct:Hop_s 75 unsigned char prefix[IP6PREFIX]; local 128 error(ERROR_SYSTEM|3, "%s: cannot read prefix file", file); 132 if (ivstr(iv, s, &v, prefix, prefi [all...] |
/ast/src/lib/libast/disc/ |
H A D | sfdcprefix.c | 25 * a discipline that prepends a prefix string to each output line 36 size_t length; /* prefix length */ 37 size_t empty; /* empty line prefix length */ 39 char prefix[1]; /* prefix string */ member in struct:__anon258 43 * prefix write 80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp); 110 * push the prefix discipline on f 114 int sfdcprefix(Sfio_t* f, const char* prefix) argument 116 int sfdcprefix(f, prefix) [all...] |
/ast/src/cmd/dsslib/bgp/ |
H A D | bgp-ciscov6.c | 34 unsigned char prefix[IP6PREFIX]; member in struct:Ciscov6state_s
|
H A D | bgp-table.c | 48 unsigned char prefix[IP6PREFIX]; local 77 if (isdigit(*f) && !strtoip4(f, NiL, &addr, &bits) || !strtoip6(f, NiL, prefix, prefix + IP6BITS) && (file->caller = file)) 243 "simple table format (2008-06-20) with prefix mask and optional next hop",
|
/ast/src/lib/libast/cdt/ |
H A D | cdtlib.h | 73 char* prefix; /* name prefix */ member in struct:_dtlib_s 95 n = strlen(cdt_lib_##m.prefix); \ 96 if (!strncmp(type, cdt_lib_##m.prefix, n)) \ 112 n = strlen(cdt_lib_/**/m.prefix); \ 113 if (!strncmp(type, cdt_lib_/**/m.prefix, n)) \
|
/ast/src/cmd/mam/ |
H A D | mamold.c | 47 "[x:omit?Omit pathnames with directory \aprefix\a.]#[prefix]" 374 * add prefix to list of dir prefixes to omit 378 omit(char* prefix) argument 383 n = strlen(prefix); 385 strcpy(p->data = (char*)p + sizeof(struct block), prefix);
|
/ast/src/cmd/nmake/ |
H A D | dump.c | 537 * dump regression prefix,name,value 541 dumpregress(register Sfio_t* sp, const char* prefix, const char* name, register char* value) argument 551 sfprintf(sp, "%s%s %s ", state.mam.label, prefix, name ? name : "-"); 561 sfprintf(sp, "\n%s%s %s ", state.mam.label, prefix, name ? name : "-"); 645 * dump an action placing prefix at the beginning of each line 649 dumpaction(Sfio_t* sp, const char* name, register char* action, register const char* prefix) argument 655 if (prefix) 671 prefix = "exec"; 683 prefix = "+"; 692 sfprintf(sp, "%s%s %s%s%s\n", mamlabel, prefix, nam [all...] |
H A D | variable.c | 798 char* prefix; local 802 prefix = (property & V_local_D) ? null : "_"; 806 sfprintf(state.mam.out, "%ssetv %s%s ", state.mam.label, prefix, v->name); 850 sfprintf(state.mam.out, "-U%s%s", prefix, v->name); 854 sfprintf(sp, "\"${%s%s}\"", prefix, v->name);
|
/ast/src/cmd/builtin/ |
H A D | look.c | 23 * look for lines beginning with <prefix> in sorted a sorted file 35 "[+NAME?look - displays lines beginning with a given prefix]" 37 " that begin with the given prefix \aprefix\a onto the standard output." 39 " \amax-prefix\a is specified then then records matching prefixes" 40 " in the inclusive range \aprefix\a..\amax-prefix\a are displayed.]" 48 "\nprefix [- max-prefix] [file ...]\n" 95 look(Sfio_t* fp, char* prefix, char* maxprefix, int flags) argument 111 cp = dp = prefix; 116 len = strlen(prefix); 132 n = len = strlen(prefix); [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclLoad.c | 30 char *packageName; /* Name of package prefix for the package, 524 char *prefix; 531 prefix = "{"; 534 Tcl_AppendResult(interp, prefix, (char *) NULL); 538 prefix = " {"; 556 prefix = "{"; 559 Tcl_AppendResult(interp, prefix, (char *) NULL); 563 prefix = " {"; 521 char *prefix; local
|
/ast/src/lib/libast/astsa/ |
H A D | optlib.h | 60 unsigned char prefix; member in struct:Optpass_s
|
/ast/src/lib/libast/include/ |
H A D | tar.h | 109 char prefix[PFXSIZ]; member in struct:header
|
/ast/src/lib/libast/misc/ |
H A D | findlib.h | 80 int prefix; member in struct:__anon279
|
H A D | optlib.h | 67 unsigned char prefix; member in struct:Optpass_s
|
H A D | error.c | 86 char* prefix; member in struct:State_s 120 "prefix", OPT_PREFIX, 210 error_state.prefix = strdup(v); 211 else if (error_state.prefix) 213 free(error_state.prefix); 214 error_state.prefix = 0; 438 if (error_state.prefix) 439 sfprintf(stkstd, "%s: ", error_state.prefix);
|
/ast/src/lib/libcmd/ |
H A D | fmt.c | 65 int prefix; member in struct:Fmt_s 145 int prefix; local 148 prefix = ep - buf; 157 prefix = strlen(buf); 160 fp->outp = fp->outbuf+prefix; 164 if (fp->prefix < prefix && !isoption(fp, 'c')) 166 if (!fp->outp || prefix < fp->prefix) 167 fp->prefix [all...] |
/ast/src/lib/libpp/ |
H A D | ppsearch.c | 113 register char* prefix; local 124 prefix = 0; 125 else if ((prefix = strrchr(fp->name, '/')) && prefix > fp->name) 127 *prefix = 0; 129 *prefix = '/'; 130 prefix = t; 132 message((-3, "search: %s %s%s%s%s%s%s type=%s prefix=%s flags=|%s%s%s%s%s%s start=%s=\"%s\" pre=%s lcl=%s vnd=%s std=%s cur=%s", 140 type == T_HEADER ? "<*>" : "\"*\"", prefix, 329 if (prefix 607 int prefix; local [all...] |
/ast/src/cmd/html/ |
H A D | html2rtf.h | 107 char* prefix; /* label prefix */ member in struct:State_s
|
/ast/src/cmd/mailx/ |
H A D | collect.c | 258 char* prefix; local 274 prefix = 0; 276 else if (!(prefix = state.var.indentprefix)) 277 prefix = "\t"; 288 if (copy(mp, fp, ignore, prefix, flags) < 0) {
|
H A D | send.c | 88 part(register struct parse* pp, FILE* op, struct part* ap, off_t size, char* prefix, int prefixlen, int emptylen, unsigned long flags) argument 125 if (prefix) { 150 if (fwrite(prefix, 1, i, op) != i || fwrite(pp->buf, 1, n, op) != n) 182 * prefix is a string to prepend to each output line. 185 copy(register struct msg* mp, FILE* op, Dt_t** ignore, char* prefix, unsigned long flags) argument 199 return imap_copy(mp, op, ignore, prefix, flags); 202 * Compute the prefix string, without trailing whitespace 205 if (prefix) { 206 prefixlen = strlen(prefix); 207 s = prefix [all...] |
/ast/src/cmd/std/ |
H A D | mount.c | 66 "[P:prefix?Ignored by this implementation.]:[string]" 99 "[P:prefix?Ignored by this implementation.]:[string]" 187 char* prefix; member in struct:__anon234 390 state.prefix = opt_info.arg;
|
H A D | split.c | 36 "[+?If \aprefix\a is specified it will be used as a prefix for each" 38 " is specified, the prefix \bx\b will be used.]" 108 "[+?The output file names consist of a prefix followed by a suffix. By" 114 " input file, in order. The default output file name prefix is \bxx\b.]" 120 "[f:prefix?Use \aprefix\a to generate the file name prefix.]:[prefix:=\bxx\b]" 225 * set up file name generator whose form is <prefix>... where ... is 232 setfname(const char* prefix, char* format, int suflen, int low, int high) argument 240 flen = strlen(prefix); 489 char* prefix; local [all...] |
/ast/src/lib/libjcl/ |
H A D | path.c | 33 char* prefix; member in struct:Map_s 225 * longest matching prefix match function 243 map.prefix = buf; 259 for (j = i; name[j] == mp->prefix[j]; j++) 265 message((-9, "match[%d] %s %s %d", state.matched, name, mp->prefix, mp->length)); 268 if (!mp->prefix[j] && (!mp->tail || tail(mp->tail, &name[j], 0))) 273 message((-9, "maybe[%d] %s %s %d", state.matched, name, mp->prefix, mp->length)); 442 (*disc->errorf)(NiL, disc, 2, "%s: prefix map [suffix] expected", op); 492 state.mapdisc.key = offsetof(Map_t, prefix); 508 (*disc->errorf)(NiL, disc, 2, "%s: duplicate map prefix", ar [all...] |