/ast/src/lib/libast/string/ |
H A D | swapmem.c | 35 * from==to is ok 39 swapmem(int op, const void* from, void* to, register size_t n) argument 41 register char* f = (char*)from;
|
H A D | ccmap.c | 623 * generate and return ccode map from i to o 715 dump(int from, int to) argument 721 m = ccmap(from, to); 722 sfprintf(sfstdout, "\n /* %s => %s */\n\n", ccmapname(from), ccmapname(to));
|
/ast/src/cmd/pax/ |
H A D | convert.c | 35 convert(Archive_t* ap, int section, int from, int to) argument 37 if (ap->convert[section].on = (ap->convert[section].f2t = ccmap(from, to)) != 0) 39 ap->convert[section].t2f = ccmap(to, from); 40 ap->convert[section].f2a = ccmap(from, CC_ASCII);
|
H A D | misc.c | 402 char* from; local 412 from = to = name; 414 if (!(n = regexec(&mp->re, from, elementsof(match), match, 0))) 416 if (n = regsubexec(&mp->re, from, elementsof(match), match)) 425 sfprintf(sfstderr, "%s >> %s\n", from, to); 428 from = to;
|
H A D | pax.c | 99 /* state.usage is generated at runtime from usage+options+usage2 */ 244 * construct an action from command 358 * set options from line if != 0 or argv according to usage 372 int from; local 878 from = to = CC_NATIVE; 886 from = y; 1305 convert(ap, SECTION_DATA, from, to);
|
/ast/src/cmd/std/ |
H A D | iconv.c | 31 " operands from one codeset to another and writes the results to" 51 "[c:omit?Omit invalid input characters from the output. Invalid input " 54 "[f:from?The input codeset is set to \acodeset\a.]:[codeset:=native]" 137 char* from; local 150 from = to = "native"; 182 from = opt_info.arg; 210 if ((cvt = iconv_open(to, from)) == (iconv_t)(-1)) 215 if ((cvt = iconv_open("utf-8", from)) == (iconv_t)(-1)) 216 error(3, "%s: unknown source codeset", from); 218 error(3, "cannot convert from [all...] |
H A D | dd.c | 140 Operand_t from; member in struct:__anon225 207 "from", 209 "Convert from \acodeset\a to the \bto\b=\acodeset\a" 227 "Seek \anumber\a blocks from the beginning of the input" 244 "Seek \anumber\a blocks from the beginning of the output" 268 "Convert to \acodeset\a from the \bfrom\b=\acodeset\a" 472 state.from.value.string = state.to.value.string = ""; 600 state.from.value.string = "ascii"; 604 state.from.value.string = "ascii"; 608 state.from [all...] |
/ast/src/lib/libz/ |
H A D | inffast.c | 79 unsigned dmax; /* maximum distance from zlib header */ 96 unsigned char FAR *from; /* where to copy match from */ local 188 if (dist > op) { /* see if copy from window */ 195 from = window - OFF; 197 from += wsize - op; 198 if (op < len) { /* some from window */ 201 PUP(out) = PUP(from); 203 from = out - dist; /* rest from outpu [all...] |
H A D | infback.c | 7 This code is largely copied from inflate.c. Normally either infback.o or 65 fixed code decoding. Normally this returns fixed tables from inffixed.h. 118 /* Load returned state from inflate_fast() */ 129 /* Set state from registers for inflate_fast() */ 148 then return a Z_BUF_ERROR from inflateBack(). */ 161 /* Get a byte of input into the bit accumulator, or return from inflateBack() 172 not enough available input to do that, then return from inflateBack() with 184 /* Remove n bits from the bit accumulator */ 199 if it's full. If the write fails, return from inflateBack() with a 255 unsigned char FAR *from; /* wher local [all...] |
H A D | inflate.c | 18 * - Change inffast.c entry and loop from avail_in >= 7 to >= 6 19 * - Remove unnecessary second byte pull from length extra in inffast.c 43 * - Move a comment on output buffer sizes from inffast.c to inflate.c 65 * - Changed loops from while (1) or do {} while (1) to for (;;), again to 197 fixed code decoding. Normally this returns fixed tables from inffixed.h. 319 upon return from inflate(), and since all distances after the first 32K of 413 /* Restore state from registers in inflate() */ 431 /* Get a byte of input into the bit accumulator, or return from inflate() 442 not enough available input to do that, then return from inflate(). */ 453 /* Remove n bits from th 566 unsigned char FAR *from; /* where to copy match bytes from */ local [all...] |
/ast/src/cmd/msgcc/ |
H A D | msggen.c | 37 " UTF-8 encoded. \biconv\b(1) can be used to convert to/from UTF-8.]" 67 " \an\a from an existing message catalog. \an\a" 102 " message with that number (if any) is deleted from the" 180 * sfprintf() with ccmaps(from,to) 184 ccsfprintf(int from, int to, Sfio_t* sp, const char* format, ...) argument 192 if (from == to) 198 ccmaps(s, n, from, to); 520 error(ERROR_SYSTEM|3, "%s: cannot rename from temporary catalog file %s", catfile, s);
|
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 22 * may be used to endorse or promote products derived from this software 107 struct sockaddr_in sin, from; local 235 int len = sizeof (from); 252 s3 = accept(s2, (struct sockaddr *)&from, &len); 266 from.sin_port = ntohs((u_short)from.sin_port); 267 if (from.sin_family != AF_INET || 268 from.sin_port >= IPPORT_RESERVED) { 428 /* disable host from -hostname entry */ 432 /* disable host from [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmtrace.c | 39 static char* trstrcpy(char* to, const char* from, int endc) argument 41 static char* trstrcpy(to, from, endc) 43 const char* from; 48 n = strlen(from); 49 memcpy(to,from,n); 104 Vmalloc_t* vm; /* region call was made from */
|
/ast/src/lib/libexpr/ |
H A D | exeval.c | 135 int from; local 153 from = node->type; 165 switch (from) 169 to = from; 177 if (to == from)
|
/ast/src/lib/libpz/ |
H A D | pzconvert.c | 44 "[f:from?Specifies the input format for data that does not self-identify.]:" 87 char* from; member in struct:__anon364 113 * read a row from sp and apply the conversion and/or checksum 139 else if (!(s = (unsigned char*)sfreserve(sp, cp->convert->from->row, 0))) 210 * add the next links to the stack that get from stk[i..j] => to 224 if (!hit[m] && streq(tab[m].from->name, stk[i]->to->name)) 237 to = cp->convert->from->name; 253 * determine a shortest path of conversions from f => t in tab of n elements 279 if (streq(tab[i].from->name, f)) 293 (*pz->disc->errorf)(pz, pz->disc, 2, "conversion from [all...] |
H A D | pzip.h | 134 Pzformat_t* from; /* from format */ member in struct:Pzconvert_s
|
/ast/src/cmd/mailx/ |
H A D | send.c | 21 * promote products derived from this software without * 49 * from this software without specific prior written permission. * 191 char* from; local 215 from = 0; 220 else if (!strcasecmp(pp.name, "from")) 221 from = savestr(pp.data); 223 if (from) { 224 if (s = strchr(from, '<')) { 225 while (s > from && isspace(*(s - 1))) 229 if (*from [all...] |
H A D | cmd1.c | 21 * promote products derived from this software without * 49 * from this software without specific prior written permission. * 258 * from or From 277 from(struct msg* msgvec) function 406 * The number of lines is taken from the variable "toplines" 605 printf("from='");
|
/ast/src/cmd/3d/ |
H A D | map.c | 480 * from="-" maps to from="" 485 mapset(Table_t* tab, const char* from, int fromsize, register const char* to, int tosize) argument 497 if (!fromsize && (!from || !from[0] || from[0] == '-' && !from[1]) || fromsize == 1 && from[0] == '-') 499 from = state.null; 507 message((-2, "mount: %-*s %-*s", from 614 register char* from; local [all...] |
/ast/src/cmd/cs/ |
H A D | mbb.c | 32 " channels, labeled from 0 to 63. A client connects to \bmbb\b and" 66 " number \aid\a has dropped from the session.]" 203 post(Css_t* css, Cssdisc_t* disc, Connection_t* from, register Connection_t* to, int channel, const char* format, ...) argument 212 if (from) 213 sfprintf(state->tmp, ".%d", from->fp->fd); 227 if ((to->mask & m) && to != from)
|
/ast/src/cmd/re/ |
H A D | sed2.c | 128 tcopy(Text *from, Text *to) argument 130 word n = from->w - from->s; 132 memmove(to->w, from->s, n);
|
/ast/src/lib/libast/comp/ |
H A D | iconv.c | 84 Map_t from; member in struct:Conv_s 244 if ((cc->from.index = _win_codeset(f)) < 0) 249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.index); 272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.index); 274 if (cc->from.index == cc->to.index || cc->from.index != CP_UCS2 && cc->to.index == 0) 289 * from => ucs-2 294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn) 311 while (!(tz = MultiByteToWideChar(cc->from [all...] |
/ast/src/cmd/nmake/ |
H A D | rule.c | 745 * remove duplicate prerequisites from prerequisite list p 1027 * merge <from> into <to> according to op 1031 merge(register Rule_t* from, register Rule_t* to, int op) argument 1035 if (from->name) 1037 if (from == to || to->status != NOTYET && (to->status != UPDATE || !(from->property & P_use))) 1041 * from sub/foo == foo 1046 if (!state.exec && state.mam.statix && (from->dynamic & D_alias) && (to->property & P_terminal) && from->uname && to->uname && *from 1121 mergestate(Rule_t* from, Rule_t* to) argument 1195 negate(register Rule_t* from, register Rule_t* to) argument [all...] |
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 231 * return next nbits nibble from the input line 382 char from[CALIB_LINE + 1]; local 405 comment[0] = from[0] = to[0] = 0; 643 from[0] = to[0] = 0; 657 memcpy(from, outbuf + 8, c); 658 from[c] = 0; 672 if (from[0]) 673 c = sfsprintf((char*)outbuf, sizeof(outbuf), " COPY %-.*s REPLACING ==%s== BY ==%s==.\n", m - b, b, from, to);
|
/ast/src/lib/libast/misc/ |
H A D | magic.c | 62 regex_t* from; /* from pattern */ member in struct:Edit
|