Searched defs:method (Results 1 - 25 of 32) sorted by relevance

12

/ast/src/cmd/codexlib/zip/
H A Dzip.c5 * this is a wrapper method for the PKZIP { shrink reduce implode deflate }
16 const char* method; local
19 if (!(method = args[2]))
22 (*p->disc->errorf)(NiL, p->disc, 2, "%s: method parameter expected", name);
25 switch (ID(method[0], method[1]))
57 (*p->disc->errorf)(NiL, p->disc, 2, "%s: %s: unknown method", name, method); local
67 " method.",
H A Ddeflate.c17 Inflate deflated (PKZIP's method 8 compressed) data. The compression
18 method searches for as much of the current string of bytes (up to a
35 which method to use on a chunk-by-chunk basis. A chunk might typically
37 "stored" method is used. In this case, the bytes are simply stored as
42 are used. In the dynamic method, the compressed data are preceded by
47 a predefined set of codes, called the fixed codes. The fixed method is
49 chunks); otherwise the dynamic method is used. In the latter case, the
141 int method; member in struct:State_s
315 state->method = -1;
354 state->method
[all...]
H A Dimplode.c57 Explode imploded (PKZIP method 6 compressed) data. This compression
58 method searches for as much of the current string of bytes (up to a length
104 int method; member in struct:State_s
793 state->method |= EXPLODE_LIT;
796 state->method |= EXPLODE_BIG;
799 switch (state->method)
852 if(state->method & EXPLODE_LIT)
872 if(state->method & EXPLODE_BIG)
897 if(state->method & EXPLODE_BIG)
982 "zip implode compression (PKZIP method
[all...]
/ast/src/cmd/pzip/
H A Dpzip.c203 Method_f method = 0; local
227 method = sfdcbzip;
270 method = sfdclzw;
338 if (method)
341 if ((*method)((flags & PZ_WRITE) ? sfstdout : sfstdin, 0) < 0)
342 error(3, "compression method discipline push error");
/ast/src/lib/libdss/
H A Dcxeval.c36 cxbeg(Cx_t* cx, register Cxexpr_t* expr, const char* method) argument
52 if (expr->pass && cxbeg(cx, expr->pass, method))
54 if (expr->fail && cxbeg(cx, expr->fail, method))
58 if (cxbeg(cx, expr->group, method))
61 else if (method && expr->query->method && !strmatch(expr->query->method, method))
64 (*cx->disc->errorf)(cx, cx->disc, 2, "%s: %s: method %s expected", expr->query->name, method, exp local
[all...]
/ast/src/lib/libsum/
H A Dsum-prng.c54 prng_open(const Method_t* method, const char* name) argument
64 sum->method = (Method_t*)method;
H A Dsum-ast4.c68 ast4_open(const Method_t* method, const char* name) argument
74 p->method = (Method_t*)method;
H A Dsum-crc.c60 crc_open(const Method_t* method, const char* name) argument
73 sum->method = (Method_t*)method;
H A Dsum-sha1.c250 sha1_open(const Method_t* method, const char* name) argument
256 sha->method = (Method_t*)method;
H A Dsumlib.c31 struct Method_s* method; \
80 long_open(const Method_t* method, const char* name) argument
86 p->method = (Method_t*)method;
130 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale)))
209 " default \bcksum\b(1) method.",
270 * open sum method name
300 return (*p->method->init)(p);
311 return (*p->method->block)(p, buf, siz);
323 return (*p->method
[all...]
H A Dsum-md5.c113 md5_open(const Method_t* method, const char* name) argument
119 p->method = (Method_t*)method;
H A Dsum-lmd.c124 md4_open(const Method_t* method, const char* name) argument
130 lmd->method = (Method_t*)method;
164 md5_open(const Method_t* method, const char* name) argument
170 lmd->method = (Method_t*)method;
205 sha1_open(const Method_t* method, const char* name) argument
211 lmd->method = (Method_t*)method;
245 sha256_open(const Method_t* method, cons argument
279 sha384_open(const Method_t* method, const char* name) argument
313 sha512_open(const Method_t* method, const char* name) argument
[all...]
/ast/src/lib/libtaso/
H A Dtaso.c112 static Asometh_t* method[] = variable
127 * if type!=0 return lock method for type with name details
128 * else if name!=0 return lock method matching <name>[,<details>]
129 * else return the current lock method
146 return method[0];
147 for (i = 0; i < elementsof(method) - 1; i++)
148 if (meth == method[i])
149 return method[i+1];
150 if (meth == method[i])
155 for (i = 0; i < elementsof(method);
[all...]
/ast/src/cmd/dsslib/opaque/
H A Dopaque.c22 * opaque method
29 "[+DESCRIPTION?The \bdss\b opaque method handles anonymous fixed record "
218 static Dssmeth_t method = variable
229 "opaque method"
230 "[-1ls5Pp0?\n@(#)$Id: dss opaque method (AT&T Research) 2002-11-22 $\n]"
234 &method
/ast/src/cmd/dsslib/netflow/
H A Dnetflow.c22 * netflow method
810 static Dssmeth_t method = variable
825 "netflow method"
826 "[-1ls5Pp0?\n@(#)$Id: dss netflow method (AT&T Research) 2010-02-02 $\n]"
830 &method,
/ast/src/cmd/paxlib/arj/
H A Darj.c41 char method[64]; member in struct:Ar_s
139 sfsprintf(ar->method, sizeof(ar->method), "copy|%s", SUM);
144 sfsprintf(ar->method, sizeof(ar->method), "lzh-26624-s1+SIZE=%I*u|%s", sizeof(f->uncompressed), f->uncompressed, SUM);
147 *ar->method = 0;
212 if (!*ar->method || (pop = codex(sp, NiL, ar->method, 0, &ar->codexdisc, NiL)) < 0)
213 (*pax->errorf)(NiL, pax, 2, "%s: %s: cannot decode method %d", ap->name, f->name, ar->index);
/ast/src/cmd/paxlib/lha/
H A Dlha.c39 char method[64]; member in struct:Ar_s
88 ar->method[0] = 'l';
89 ar->method[1] = 'z';
90 ar->method[2] = 'h';
91 ar->method[3] = '-';
118 ar->method[4] = hdr[1];
119 ar->method[5] = hdr[2];
120 ar->method[6] = hdr[3];
152 n += sfsprintf(ar->method + n, sizeof(ar->method)
[all...]
/ast/src/cmd/paxlib/rar/
H A Drar.c39 char method[128]; member in struct:Ar_s
147 i += sfsprintf(ar->method, sizeof(ar->method), "crypt-rar-%u%s+SIZE=%I*u|", buf[17], ar->solid ? "-RETAIN" : "", sizeof(f->st->st_size), f->st->st_size);
149 i += sfsprintf(ar->method + i, sizeof(ar->method) - i, "copy");
151 i += sfsprintf(ar->method + i, sizeof(ar->method) - i, "rar-%u%s+SIZE=%I*u", buf[17], ar->solid ? "-RETAIN" : "", sizeof(f->uncompressed), f->uncompressed);
152 sfsprintf(ar->method + i, sizeof(ar->method) - i, "|%s", SUM);
225 if ((pop = codex(sp, NiL, ar->method,
[all...]
/ast/src/lib/libcmd/
H A Dcksum.c36 " \bsum\b method: \batt\b for the \batt\b universe, \bbsd\b otherwise."
38 " \batt\b method is a true sum, all others are order dependent.]"
54 " include size in the output. The default is method specific.]#[scale]"
57 " \bsum\b then the checksum method is automatically determined,"
58 " otherwise \b--method\b must be specified. The listed checksum is"
65 " [+method=name?Checksum method to apply to subsequent lines.]"
69 "[h:header?Print the checksum method as the first output line. Used with"
90 "[x:method|algorithm?Specifies the checksum \amethod\a to"
91 " apply. Parenthesized method option
446 char* method; local
[all...]
/ast/src/cmd/dsslib/text/
H A Dtext.c22 * text method
29 "[+DESCRIPTION?The \bdss\b text method describes newline-terminated"
30 " field-delimited text file data. The method schema is a \bscanf\b(3)"
33 "[+?Use the \bdss\b \bflat\b method for generic record-oriented flat "
41 "\n--method=text[,option...]\n"
656 static Dssmeth_t method = variable
659 "Newline-terminated field-delimited text file; the method schema is"
672 "text method"
673 "[-1ls5Pp0?\n@(#)$Id: dss text method (AT&T Research) 2002-12-17 $\n]"
677 &method,
[all...]
/ast/src/cmd/paxlib/zoo/
H A Dzoo.c42 char method[64]; member in struct:Ar_s
132 sfsprintf(ar->method, sizeof(ar->method), "copy|%s", SUM);
135 sfsprintf(ar->method, sizeof(ar->method), "lzd+SIZE=%I*u|%s", sizeof(f->uncompressed), f->uncompressed, SUM);
139 sfsprintf(ar->method, sizeof(ar->method), "lzh-8k-s1+SIZE=%I*u|%s", sizeof(f->uncompressed), f->uncompressed, SUM);
142 *ar->method = 0;
269 if (!*ar->method || ar->majver > 2 || ar->majver == 2 && ar->minver > 1)
271 (*pax->errorf)(NiL, pax, 2, "%s: %s: cannot extract %s method
[all...]
/ast/src/cmd/dsslib/bgp/
H A Dbgp.c22 * bgp method
665 static Dssmeth_t method = variable
679 "bgp method"
680 "[-1ls5Pp0?\n@(#)$Id: dss bgp method (AT&T Research) 2012-06-14 $\n]"
684 &method,
/ast/src/cmd/paxlib/zip/
H A Dzip.c43 #define ZIP_CEN_METHOD 10 /* compression method */
61 #define ZIP_LOC_METHOD 8 /* compression method */
91 char method[128]; member in struct:Ar_s
277 i += sfsprintf(ar->method, sizeof(ar->method), "crypt-zip+SIZE=%I*u|", sizeof(f->st->st_size), f->st->st_size);
279 i += sfsprintf(ar->method + i, sizeof(ar->method) - i, "copy");
281 i += sfsprintf(ar->method + i, sizeof(ar->method) - i, "zip-%u+SIZE=%I*u", m, sizeof(f->uncompressed), f->uncompressed);
282 sfsprintf(ar->method
[all...]
/ast/src/lib/libz/
H A Ddeflate.h104 Byte method; /* STORED (for zip only) or DEFLATED */ member in struct:internal_state
H A Dgzio.c360 int method; /* method byte */ local
408 method = get_byte(s);
410 if (method != Z_DEFLATED || (flags & RESERVED) != 0) {

Completed in 72 milliseconds

12