Searched refs:to (Results 1 - 25 of 97) sorted by relevance

1234

/ast/src/lib/libast/comp/
H A Dmemmove.c33 memmove(void* to, const void* from, register size_t n)
35 register char* out = (char*)to;
41 return(memcpy(to, from, n)); /* hope it's fast*/
50 return(to);
H A Dlink.c39 link(const char* from, const char* to)
42 NoP(to);
H A Drename.c38 mvdir(const char* from, const char* to)
50 argv[2] = to;
65 rename(const char* from, const char* to)
71 while (link(from, to))
77 return mvdir(from, to);
81 if (unlink(to))
87 return mvdir(from, to);
/ast/src/cmd/tests/sfio/
H A Dtpipe.c41 int i, j, n, to; local
44 to = argc > 1 ? 0 : 4;
54 if(to)
64 if(to)
79 if(to)
88 if(to)
91 if(to)
97 if(to)
100 if(to)
107 if(to)
[all...]
/ast/src/cmd/ksh93/
H A DMakefile14 * set these variables to 1 to enable, 0 to disable, null to probe
28 SHOPT_COSHELL == 1 /* build with connection to coshell */
31 SHOPT_ECHOPRINT == /* make echo equivalent to print */
100 SHOPT_CRNL == 1 /* <cr><nl> is eqivalent to <nl> */
235 echo "make install to run the tests on the latest $(SH)" >&2
241 echo "make install to run the tests on the latest $(SH)" >&2
/ast/src/lib/libtk/library/demos/
H A Dtext.tcl28 and allows you to edit the text. Here is a summary of the things you
29 can do to a text widget:
31 1. Scrolling. Use the scrollbar to adjust the view in the text window.
34 This will drag the text at high speed to allow you to scan its contents.
36 3. Insert text. Press mouse button 1 to set the insertion cursor, then
37 type text. What you type will be added to the widget.
39 4. Select. Press mouse button 1 and drag to select a range of characters.
44 You can double-click to select whole words or triple-click to selec
[all...]
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 Dsearch.tcl4 # allow you to load a file into a text widget, then perform searches
15 # w - The window into which to load the file. Must be a
17 # file - The name of the file to load. Must be readable.
30 # apply a given tag to each instance found.
33 # w - The window in which to search. Must be a text widget.
34 # string - The string to search for. The search is done using
36 # tag - Tag to apply to each instance of a matching string.
55 # This procedure is invoked repeatedly to invoke two commands at
61 # cmd1 - Command to execut
[all...]
/ast/src/cmd/3d/
H A Dmap.c480 * from="-" maps to from=""
481 * to="-" maps to to=""
485 mapset(Table_t* tab, const char* from, int fromsize, register const char* to, int tosize) argument
502 if (!tosize && (!to || !to[0] || to[0] == '-' && !to[1]) || tosize == 1 && to[
615 register char* to; local
[all...]
/ast/src/cmd/cs/
H A Dmbb.c31 " instance is a session. Each session supports up to 64 message"
32 " channels, labeled from 0 to 63. A client connects to \bmbb\b and"
34 " messages in the mask are sent to the client. Channel 0 is reserved"
38 " be prefixed by its channel number. The server changes this to"
46 "[d:debug?Set the debug trace level to \alevel\a. Higher levels produce more"
49 " inactivity. The default is to run until the system crashes.]:[time]"
57 " messages on channel 0 are not sent to the other clients. The control"
118 data(register State_t* state, register Connection_t* to, char* s, size_t n, int force) argument
122 message((-1, "[%d] %d backlog", __LINE__, to
130 note(Css_t* css, register Connection_t* to, int log, char* s, size_t n, int force, Cssdisc_t* disc) argument
203 post(Css_t* css, Cssdisc_t* disc, Connection_t* from, register Connection_t* to, int channel, const char* format, ...) argument
[all...]
/ast/src/cmd/mam/
H A Dmamsh.sh20 : mam to sh script filter
30 [+NAME?mamsh - make abstract machine to shell script conversion filter]
32 instructions on the standard input to a \bsh\b(1) script
/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);
41 ap->convert[section].t2a = ccmap(to, CC_ASCII);
46 * convert string to lower case in place
62 * convert string to upper case in place
/ast/src/cmd/proto/
H A Dchanges.sh39 [ from-date [ to-date ] ] [ -- ls-option ... ]
93 then to=" && mtime <= '$1'"
95 else to=
134 -e "type != DIR$from$to" \
/ast/src/lib/librecsort/
H A Drshdr.h43 Vmalloc_t* vm; /* region to allocate temp data */ \
148 #define MEMCPY(to,fr,n) \
150 { default: memcpy(to,fr,n); to += n; fr += n; break; \
151 case 8 : *to++ = *fr++; \
152 case 7 : *to++ = *fr++; \
153 case 6 : *to++ = *fr++; \
154 case 5 : *to++ = *fr++; \
155 case 4 : *to++ = *fr++; \
156 case 3 : *to
[all...]
/ast/src/cmd/std/
H A Diconv.c31 " operands from one codeset to another and writes the results to"
54 "[f:from?The input codeset is set to \acodeset\a.]:[codeset:=native]"
60 "[t:to?The output codeset is set to \acodeset\a.]:[codeset:=native]"
138 char* to; local
150 from = to = "native";
194 to = opt_info.arg;
210 if ((cvt = iconv_open(to, from)) == (iconv_t)(-1))
212 if ((cvt = iconv_open(to, "ut
[all...]
/ast/src/lib/libvdelta/vd01/
H A Dvdelhdr01.h54 /* default window size - Chosen to suit malloc() even on 16-bit machines. */
61 #define M_MIN 4 /* min number of bytes to match */
106 ** First, we look in the quick cache to see if the address is there.
109 ** the "recent" cache an address that is closest to the being coded address,
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
[all...]
/ast/src/lib/libjcl/
H A DMakefile3 CCFLAGS = $(CC.OPTIMIZE) $(CC.PIC) /* pic allows archive to be pulled into other dlls */
/ast/src/cmd/nmake/
H A Drule.c175 * map name s to rule r
215 * return a pointer to a rule given its name,
306 * add a single non-duplicated prerequisite x to rule r
1027 * merge <from> into <to> according to op
1031 merge(register Rule_t* from, register Rule_t* to, int op) argument
1037 if (from == to || to->status != NOTYET && (to->status != UPDATE || !(from->property & P_use)))
1040 * this is a workaround to separat
1121 mergestate(Rule_t* from, Rule_t* to) argument
1195 negate(register Rule_t* from, register Rule_t* to) argument
[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)
42 char* to;
49 memcpy(to,from,n);
50 to += n;
51 if((*to = endc) )
52 to += 1;
53 return to;
56 /* convert a long value to an ascii representation */
61 Vmulong_t v; /* value to conver
[all...]
/ast/src/lib/libcs/
H A Dcsserve.c41 int (*to)(void*); member in struct:Server_s
90 return !server->to ? 0 : (*server->to)(server->handle) < 0 ? -1 : 1;
141 csserve(Cs_t* state, void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument
160 server->to = to;
204 _cs_serve(void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument
206 csserve(&cs, handle, path, init, done, con, rd, wr, to);
/ast/src/cmd/cs/vcs_src/
H A Dvcs_marker.c25 int rs_marker(rp, from, to, st, expire, force)
28 register char* to;
46 if (!gettagbyspec(dir, to, 0, &dump))
48 message((0, "Version %s existed", to));
52 sfsprintf(buf, sizeof(buf), "%s%c%s", to, CHRMARKER, (tp ? tp->version : NULL));
H A Dvcs_search.c113 time_t to; local
141 if (pattern2time(elist[i], &to) < 0)
148 if ((index = lookup_tag_time(tbl, total, to, domain, 0)) < 0)
169 int lookup_tag_time(tbl, total, to, domain, first)
172 time_t to;
183 if (tbl[i]->tag->stat.st_mtime > to)
378 int pattern2time(pattern, to)
380 time_t* to;
448 *to = tmdate(tbuf, (char **) 0, (time_t *) 0);
/ast/src/lib/libpz/
H A Dpzconvert.c35 " that provides a conversion table and functions to \bpzconvert\b(3).]"
37 " to the compressed data as a \bpzip\b trailer. This checksum is"
50 "[t:to?Specifies the decompression output format. This option is not needed"
88 char* to; member in struct:__anon364
162 * apply the conversion and/or checksum to a row that was just inflated
163 * and write it to sp
182 else if (!(b = (unsigned char*)sfreserve(sp, cvt->last->convert->to->row, 1)))
210 * add the next links to the stack that get from stk[i..j] => to
212 * 0 returned if there is no path => to
216 closure(Pz_t* pz, Chain_t* cp, int n, Pzconvert_t* tab, unsigned char* hit, Pzconvert_t** stk, int i, int j, const char* to) argument
242 (*pz->disc->errorf)(pz, pz->disc, 2, "internal closure error -- %s not found on unwind stack", to); local
[all...]
/ast/src/lib/libvdelta/
H A Dvdelhdr.h55 /* default window size - Chosen to suit malloc() even on 16-bit machines. */
61 #define M_MIN 4 /* min number of bytes to match */
106 ** First, we look in the quick cache to see if the address is there.
109 ** the "recent" cache an address that is closest to the being coded address,
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
[all...]
/ast/src/lib/libast/string/
H A Dswapmem.c34 * swap n bytes according to op
35 * from==to is ok
39 swapmem(int op, const void* from, void* to, register size_t n) argument
42 register char* t = (char*)to;
108 return to;

Completed in 43 milliseconds

1234