Searched refs:copy (Results 1 - 25 of 62) sorted by relevance

123

/ast/src/lib/librecsort/
H A Drs-copy.c9 * A copy of the License is available at *
22 * copy input records in original order
43 reg Copy_t* copy = (Copy_t*)rs->methdata; local
45 if (copy->tail)
46 copy->tail->right = obj;
48 copy->head = obj;
49 copy->tail = obj;
60 reg Copy_t* copy = (Copy_t*)rs->methdata; local
62 if (copy->tail)
64 copy
[all...]
H A DMakefile12 rs-radix.c rs-rasp.c rs-splay.c rs-verify.c rs-copy.c \
/ast/src/lib/libvdelta/
H A Dvdexpand.c9 * A copy of the License is available at *
41 reg int size, copy; local
66 /* copy data from the delta stream to target */
88 { copy = STRGETC(tab);
89 copy = tab->quick[copy + ((k_type-K_QUICK)<<VD_BITS)];
92 { STRGETU(tab,copy);
94 copy += tab->recent[k_type - K_RECENT];
96 copy = c_addr - copy;
[all...]
H A Dvdupdate.c9 * A copy of the License is available at *
60 reg long size, copy; local
95 /* copy data from the delta stream to target */
138 if((copy = VDGETC((Vdio_t*)tab)) < 0)
141 copy = tab->quick[copy + ((k_type-K_QUICK)<<VD_BITS)];
143 { if(copy >= I_MORE &&
144 (copy = (long)(*_Vdgetu)((Vdio_t*)tab,copy)) < 0)
147 copy
[all...]
H A Dvdsqueeze.c9 * A copy of the License is available at *
51 static int vdputinst(Table_t* tab, uchar* begs, uchar* here, reg int copy, int n_copy) argument
53 static int vdputinst(tab, begs, here, copy, n_copy)
57 reg int copy; /* best match if any */
69 if(copy >= 0) /* process the COPY instruction */
72 best = copy;
74 if((d = c_addr - copy) < best)
79 { if((d = copy - tab->recent[n]) < 0 || d >= best)
84 if(best >= I_MORE && tab->quick[n = copy%K_QSIZE] == copy)
[all...]
H A Dvddelta.c9 * A copy of the License is available at *
53 static int vdputinst(Table_t* tab, uchar* begs, uchar* here, reg int copy, int n_copy) argument
55 static int vdputinst(tab, begs, here, copy, n_copy)
59 reg int copy; /* best match if >= 0 */
73 best = copy;
75 if((d = c_addr - copy) < best)
80 { if((d = copy - tab->recent[n]) < 0 || d >= best)
85 if(best >= I_MORE && tab->quick[n = copy%K_QSIZE] == copy)
97 K_UPDATE(tab->quick,tab->recent,tab->rhere,copy);
[all...]
H A Dvdelhdr.h9 * A copy of the License is available at *
116 #define K_MERGE (K_RTYPE+2) /* # of types allowing add+copy */
134 #define K_UPDATE(quick,recent,rhere,copy) \
135 { quick[copy%K_QSIZE] = copy; \
136 if((rhere += 1) >= K_RTYPE) rhere = 0; recent[rhere] = copy; \
/ast/src/lib/libz/
H A Dinflate.c20 * - Unroll direct copy to three copies per loop in inffast.c
37 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used
46 * - Unroll last copy for window match in inflate_fast()
328 unsigned copy, dist; local
347 /* copy state->wsize or less output bytes into the circular window */
348 copy = out - strm->avail_out;
349 if (copy >= state->wsize) {
356 if (dist > copy) dist = copy;
357 zmemcpy(state->window + state->write, strm->next_out - copy, dis
565 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]
H A Dinfback.c254 unsigned copy; /* number of stored or match bytes to copy */ local
255 unsigned char FAR *from; /* where to copy match bytes from */
258 unsigned len; /* length to copy for repeats, bits to drop */
331 /* copy stored block from input to output */
333 copy = state->length;
336 if (copy > have) copy = have;
337 if (copy > left) copy
[all...]
/ast/src/lib/libvdelta/vd01/
H A Dvdupdate01.c9 * A copy of the License is available at *
58 reg long size, copy; local
93 /* copy data from the delta stream to target */
136 if((copy = VDGETC((Vdio_t*)tab)) < 0)
139 copy = tab->quick[copy + ((k_type-K_QUICK)<<VD_BITS)];
141 { if(copy >= I_MORE &&
142 (copy = (long)(*_Vdgetu)((Vdio_t*)tab,copy)) < 0)
145 copy
[all...]
H A Dvdelhdr01.h9 * A copy of the License is available at *
116 #define K_MERGE (K_RTYPE+2) /* # of types allowing add+copy */
134 #define K_UPDATE(quick,recent,rhere,copy) \
135 { quick[copy%K_QSIZE] = copy; \
136 if((rhere += 1) >= K_RTYPE) rhere = 0; recent[rhere] = copy; \
H A Dvddelta01.c9 * A copy of the License is available at *
68 reg int n, c_addr, copy, best, d; local
77 best = copy = match - tab->base;
79 if((d = c_addr - copy) < best)
84 { if((d = copy - tab->recent[n]) < 0 || d >= best)
89 if(best >= I_MORE && tab->quick[n = copy%K_QSIZE] == copy)
101 K_UPDATE(tab->quick,tab->recent,tab->rhere,copy);
/ast/src/lib/libcmd/
H A Dcut.c9 * A copy of the License is available at *
259 register int skip; /* non-zero for don't copy */
371 register unsigned char *copy; local
394 copy = cp;
396 copy = 0;
400 else if (copy)
401 copy = cp;
430 if (copy)
433 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy,
[all...]
/ast/src/cmd/proto/
H A Dproto.c9 * A copy of the License is available at *
142 "[C:copy?Convert each input \afile\a to \adirectory\a/\afile\a,"
291 proto(char* file, char* license, char* options, char* package, char* copy, char* comment, int flags) argument
321 else if (copy)
323 if (((n = strlen(copy)) + strlen(file) + 2) > sizeof(buf))
325 proto_error(b, 2, copy, "copy path too long");
329 strcpy(buf, copy);
344 proto_error(b, 2, buf, "cannot create copy directory");
353 proto_error(b, 2, buf, "cannot create copy fil
481 char* copy = 0; local
[all...]
/ast/src/lib/libast/port/
H A Dastlicense.c9 * A copy of the License is available at *
47 #undef copy macro
223 * copy s of size n to b
228 copy(register Buffer_t* b, register char* s, int n) function
237 * center and copy comment line s to p
381 copy(b, "Copyright (c) ", -1);
399 copy(b, t, 4);
441 copy(buf, file, -1);
442 copy(buf, ": no space", -1);
470 copy(bu
[all...]
H A Dlcgen.c9 * A copy of the License is available at *
175 copy(char** p, register char* f) function
177 copy(p, f)
427 cp->link.code = copy(&b, arg[0]);
428 cp->alternates = copy(&b, arg[1]);
429 cp->ms = copy(&b, arg[2]);
443 tp->link.code = copy(&b, arg[0]);
444 tp->name = copy(&b, arg[1]);
446 if (s = copy(&b, arg[2]))
497 lp->link.code = copy(
[all...]
/ast/src/cmd/INIT/
H A Dratz.c31 "[c:cat|uncompress?Uncompress the standard input and copy it to the standard"
1596 COPY, /* i/o: waiting for input or output to copy stored block */
1604 MATCH, /* o: waiting for output space to copy string */
1645 unsigned long check; /* protected copy of check value */
1646 unsigned long total; /* protected copy of output count */
1658 unsigned length; /* literal or length of data to copy */
1659 unsigned offset; /* distance back to copy string from */
2089 /* window position, window bytes to copy */
2092 unsigned char FAR *from; /* where to copy match from */
2094 /* copy stat
2547 unsigned copy, dist; local
2784 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]
H A DCONVERT.mk48 * the action may contain :MOVE: exceptions to the copy
84 * copy from the original source directory; a file may be subject to
109 edit : .VIRTUAL copy
110 copy : .VIRTUAL init
167 A := $(.cvt.atom copy)
168 copy : $(A)
H A Dproto.c9 * A copy of the License is available at *
1596 copy __PARAM__((register Buffer_t* b, register char* s, int n), (b, s, n)) __OTORP__(register Buffer_t* b; register char* s; int n;){
1737 copy(b, "Copyright (c) ", -1);
1755 copy(b, t, 4);
1796 copy(buf, file, -1);
1797 copy(buf, ": no space", -1);
1825 copy(buf, file, -1);
1826 copy(buf, ": cannot open", -1);
1835 copy(buf, file, -1);
1836 copy(bu
5044 char* copy = 0; local
[all...]
/ast/src/cmd/vczip/tests/
H A Dtio.c9 * A copy of the License is available at *
33 Vcint_t v, g, list[N_LIST], copy[N_LIST]; local
91 memcpy(copy,list,N_LIST*sizeof(Vcint_t));
131 if(list[v] != copy[v])
/ast/src/lib/libvcodex/Vcdelta/
H A Dvcdhdr.h9 * A copy of the License is available at *
29 implementation only allows add+copy and copy+add instructions.
47 ssize_t copy[VCD_ADDR]; /* max single COPY size */ member in struct:_vcdsize_s
55 Vcchar_t copy[VCD_ADDR][VCD_COPYMAX]; member in struct:_vcdindex_s
H A Dvcdtblinit.c9 * A copy of the License is available at *
34 { 18, 18, 18, 18, 18, 18, 18, 18, 18 }, /* copy */
85 for(s = 0, maxs = siz->copy[m]; s <= maxs; s = s == 0 ? COPYMIN : s+1)
93 idx->copy[m][s] = i;
/ast/src/cmd/mailx/
H A Dimap.c212 } copy; /* imap_copy() state for FETCH */ member in struct:__anon128
682 if (imap->copy.prefix)
683 sfwrite(imap->copy.fp, imap->copy.prefix, n > 1 ? imap->copy.prefixlen : imap->copy.emptylen);
684 sfwrite(imap->copy.fp, s, n);
690 if (imap->copy.prefix)
691 sfwrite(imap->copy.fp, imap->copy
[all...]
H A Dquit.c173 if (copy(mp, obuf, NiL, NiL, 0) < 0) {
230 if (copy(mp, obuf, NiL, NiL, 0) < 0) {
282 if (copy(mp, obuf, NiL, NiL, 0) < 0) {
450 if (copy(mp, xbuf, &state.saveignore, NiL, 0) < 0) {
478 * Create another temporary file and copy user's mbox file
479 * darin. If there is no mbox, copy nothing.
480 * If he has specified "append" don't copy his mailbox,
481 * just copy saveable entries at the end.
537 if (copy(mp, obuf, &state.saveignore, NiL, 0) < 0) {
547 if (copy(m
[all...]
/ast/src/lib/libtk/library/demos/
H A Dtext.tcl51 6. Copy the selection. To copy the selection into this window, select
52 what you want to copy (either here or in another application), then
53 click button 2 to copy the selection to the point of the mouse cursor.

Completed in 78 milliseconds

123