Searched refs:from (Results 1 - 25 of 67) sorted by relevance

123

/ast/src/lib/libast/comp/
H A Dlink.c39 link(const char* from, const char* to)
41 NoP(from);
H A Drename.c38 mvdir(const char* from, const char* to)
49 argv[1] = from;
65 rename(const char* from, const char* to)
71 while (link(from, to))
77 return mvdir(from, to);
87 return mvdir(from, to);
95 return unlink(from);
H A Dmemmove.c33 memmove(void* to, const void* from, register size_t n)
36 register char* in = (char*)from;
41 return(memcpy(to, from, n)); /* hope it's fast*/
H A Diconv.c84 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/lib/libz/
H A Dinffast.c79 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...]
/ast/src/cmd/proto/
H A Dchanges.sh39 [ from-date [ to-date ] ] [ -- ls-option ... ]
87 from=$(date -f %K -m README)
88 else from=$1
91 from="&& mtime >= '$from'"
134 -e "type != DIR$from$to" \
/ast/src/cmd/pax/
H A Dconvert.c35 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);
/ast/src/cmd/3d/
H A Dmap.c480 * 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/std/
H A Diconv.c31 " 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 Ddd.c140 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/libvdelta/vd01/
H A Dvdelhdr01.h108 ** Otherwise, we compute from 0, the current location and
178 #define MEMCPY(to,from,n) \
180 { default: memcpy((Void_t*)to,(Void_t*)from,(size_t)n); \
181 to += n; from += n; break; \
182 case 7 : *to++ = *from++; \
183 case 6 : *to++ = *from++; \
184 case 5 : *to++ = *from++; \
185 case 4 : *to++ = *from++; \
186 case 3 : *to++ = *from++; \
187 case 2 : *to++ = *from
[all...]
/ast/src/cmd/cs/vcs_src/
H A Dvcs_marker.c25 int rs_marker(rp, from, to, st, expire, force)
27 register char* from;
40 if (from && *from && search_tag(rp->fd, rp->ap, from, 0, &tp, G_LINK, &dir))
42 message((0, "Version %s not found", from));
/ast/src/lib/libtk/library/demos/
H A Ddialog2.tcl13 set i [tk_dialog .dialog2 "Dialog with local grab" {This dialog box uses a global grab, so it prevents you from interacting with anything on your display until you invoke one of the buttons below. Global grabs are almost always a bad idea; don't use them unless you're truly desperate.} warning 0 OK Cancel {Show Code}]
H A Ddialog1.tcl8 set i [tk_dialog .dialog1 "Dialog with local grab" {This is a modal dialog box. It uses Tk's "grab" command to create a "local grab" on the dialog box. The grab prevents any pointer-related events from getting to any other windows in the application until you have answered the dialog by invoking one of the buttons below. However, you can still interact with other applications.} \
H A Dhscale.tcl29 scale $w.frame.scale -orient horizontal -length 284 -from 0 -to 250 \
/ast/src/cmd/nmake/
H A Drule.c745 * 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...]
H A DS.mk31 $("/")* definitions translated from $(*) *$("/")
/ast/src/lib/libvdelta/
H A Dvdelhdr.h108 ** Otherwise, we compute from 0, the current location and
178 #define MEMCPY(to,from,n) \
180 { default: memcpy((Void_t*)to,(Void_t*)from,(size_t)n); \
181 to += n; from += n; break; \
182 case 7 : *to++ = *from++; \
183 case 6 : *to++ = *from++; \
184 case 5 : *to++ = *from++; \
185 case 4 : *to++ = *from++; \
186 case 3 : *to++ = *from++; \
187 case 2 : *to++ = *from
[all...]
/ast/src/lib/libpz/
H A Dpzconvert.c44 "[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...]
/ast/src/lib/libast/vmalloc/
H A Dvmtrace.c39 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/cmd/mailx/
H A Dsend.c21 * 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...]
/ast/src/lib/libast/string/
H A Dswapmem.c35 * from==to is ok
39 swapmem(int op, const void* from, void* to, register size_t n) argument
41 register char* f = (char*)from;
/ast/src/lib/libtk/library/
H A Dscale.tcl93 %W set [%W cget -from]
186 # dir - "up" means move value towards -from, "down" means
200 set inc [expr abs([$w cget -to] - [$w cget -from])/10.0]
208 if {([$w cget -from] > [$w cget -to]) ^ ($dir == "up")} {
237 $w set [$w cget -from]
/ast/src/lib/libast/uwin/
H A Drcmd.c22 * 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/cmd/msgcc/
H A Dmsggen.c37 " 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);

Completed in 51 milliseconds

123