Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 44) sorted by relevance

12

/plan9/sys/src/cmd/gs/src/
H A Dsbhc.c36 ss->encode.count = ss->definition.num_values; in s_BHCE_reinit()
44 hce_code *encode = ss->encode.codes = in s_BHCE_init() local
49 if (encode == 0) in s_BHCE_init()
52 hc_make_encoding(encode, &ss->definition); in s_BHCE_init()
62 gs_free_object(st->memory, ss->encode.codes, "BHCE encode"); in s_BHCE_release()
75 const hce_code *encode = ss->encode.codes; in s_BHCE_process() local
99 cp = &encode[zeros - 2 + zero_runs]; in s_BHCE_process()
107 cp = (zeros == 1 ? &encode[0] : in s_BHCE_process()
108 &encode[zeros - 2 + zero_runs]); in s_BHCE_process()
113 cp = &encode[value]; in s_BHCE_process()
[all …]
H A Dslzwe.c50 lzw_encode encode[encode_max]; member
83 lzw_encode_table *table = ss->table.encode; in lzw_reset_encode()
90 { lzw_encode *ec = &table->encode[c]; in lzw_reset_encode()
98 table->encode[code_eod].prefix = code_reset; /* guarantee no match */ in lzw_reset_encode()
107 ss->table.encode = gs_alloc_struct(st->memory, in s_LZWE_init()
109 if ( ss->table.encode == 0 ) in s_LZWE_init()
125 lzw_encode_table *table = ss->table.encode; in s_LZWE_process()
144 { lzw_encode *ep = &table->encode[*tp]; in s_LZWE_process()
176 ep = &table->encode[*tp]; in s_LZWE_process()
H A Dsbhc.h49 hce_table encode; member
55 definition.counts, definition.values, encode.codes)
H A Dshcgen.h44 void hc_make_encoding(hce_code * encode, const hc_definition * def);
H A Dslzwx.h46 lzw_encode_table *encode; member
H A Dgdevps.c501 psw_put_image(gx_device_pswrite *pdev, const char *op, int encode, in psw_put_image() argument
505 int code = psw_image_stream_setup(pdev, !(encode & 1)); in psw_put_image()
509 if (encode & 2) { in psw_put_image()
527 int code, encode; in psw_image_write() local
539 encode = !pdev->binary_ok; in psw_image_write()
545 encode += 2; in psw_image_write()
552 stream_puts(s, uncached[encode]); in psw_image_write()
565 op = cached[encode]; in psw_image_write()
579 if (encode & 1) { in psw_image_write()
582 code = psw_put_image(pdev, op, encode, data, data_x, raster, in psw_image_write()
[all …]
/plan9/sys/src/cmd/spell/
H A Dpcode.c17 int encode; member
99 words[nwords].encode = typecode(code); in readinput()
303 int encode, j, c; in pdict() local
325 encode = words[i].encode; in pdict()
326 c = (1<<15) | (j<<11) | encode; in pdict()
/plan9/sys/src/cmd/unix/drawterm/libsec/
H A Dmd5.c30 static void encode(uchar*, u32int*, ulong);
117 encode(p+len, x, 8); in md5()
124 encode(digest, s->state, MD5dlen); in md5()
135 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dsha1.c4 static void encode(uchar*, u32int*, ulong);
97 encode(p+len, x, 8); in sha1()
104 encode(digest, s->state, SHA1dlen); in sha1()
115 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dmd4.c94 static void encode(uchar*, u32int*, ulong);
228 encode(p+len, x, 8); in md4()
234 encode(digest, s->state, MD4dlen); in md4()
245 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dx509.c139 static int encode(Elem e, Bytes** pbytes);
757 encode(Elem e, Bytes** pbytes) in encode() function
2284 if(encode(pubkey, &pkbytes) != ASN_OK) in X509gen()
2304 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509gen()
2312 if(encode(sig, &sigbytes) != ASN_OK) in X509gen()
2325 if(encode(e, &certbytes) != ASN_OK) in X509gen()
2351 if(encode(pubkey, &pkbytes) != ASN_OK) in X509req()
2364 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509req()
2372 if(encode(sig, &sigbytes) != ASN_OK) in X509req()
2385 if(encode(e, &certbytes) != ASN_OK) in X509req()
/plan9/sys/src/libsec/port/
H A Dsha1.c4 static void encode(uchar*, u32int*, ulong);
97 encode(p+len, x, 8); in sha1()
104 encode(digest, s->state, SHA1dlen); in sha1()
115 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dmd5.c30 static void encode(uchar*, u32int*, ulong);
117 encode(p+len, x, 8); in md5()
124 encode(digest, s->state, MD5dlen); in md5()
135 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dmd4.c94 static void encode(uchar*, u32int*, ulong);
228 encode(p+len, x, 8); in md4()
234 encode(digest, s->state, MD4dlen); in md4()
245 encode(uchar *output, u32int *input, ulong len) in encode() function
H A Dx509.c140 static int encode(Elem e, Bytes** pbytes);
762 encode(Elem e, Bytes** pbytes) in encode() function
2486 if(encode(pubkey, &pkbytes) != ASN_OK) in RSApubtoasn1()
2494 if(encode(pubkey, &pkbytes) != ASN_OK) in RSApubtoasn1()
2522 if(encode(pubkey, &pkbytes) != ASN_OK) in X509gen()
2542 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509gen()
2550 if(encode(sig, &sigbytes) != ASN_OK) in X509gen()
2563 if(encode(e, &certbytes) != ASN_OK) in X509gen()
2589 if(encode(pubkey, &pkbytes) != ASN_OK) in X509req()
2602 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509req()
[all …]
/plan9/sys/src/cmd/ip/ppp/
H A Dcompress.c103 encode(void *p, ulong n) in encode() function
201 cp += encode(cp, nhgets(tcp->urg)); in tcpcompress()
206 cp += encode(cp, deltaS); in tcpcompress()
212 cp += encode(cp, deltaA); in tcpcompress()
218 cp += encode(cp, deltaS); in tcpcompress()
264 cp += encode(cp, deltaS); in tcpcompress()
H A Dthwack.c36 ulong encode; /* the code */ member
329 twbits = (twbits << bits) | lentab[len].encode; in thwack()
/plan9/sys/src/libflate/
H A Ddeflate.c136 ushort encode; /* the code */ member
503 lzput(lz, dlitlentab[DeflateEob].encode, dlitlentab[DeflateEob].bits); in deflateb()
515 lzput(lz, hlitlentab[DeflateEob].encode, hlitlentab[DeflateEob].bits); in deflateb()
520 lzput(lz, litlentab[DeflateEob].encode, litlentab[DeflateEob].bits); in deflateb()
616 lzput(out, litlentab[lit].encode, litlentab[lit].bits); in wrblock()
631 lzput(out, litlentab[c].encode, litlentab[c].bits); in wrblock()
640 lzput(out, offtab[c].encode, offtab[c].bits); in wrblock()
1021 lzput(out, codetab[v].encode, codetab[v].bits); in wrdyncode()
1087 tab[i].encode = revtab[code >> 8] | (revtab[code & 0xff] << 8); in hufftabinit()
1141 tab[i].encode = 0; in mkprecode()
/plan9/sys/src/cmd/postscript/postdmd/
H A DREADME5 By default 6 byte patterns are used to encode the output bitmap. Use
/plan9/sys/src/liboventi/
H A Dplan9-sha1.c6 static void encode(uchar*, u32int*, ulong);
/plan9/sys/src/cmd/venti/srv/
H A Dwhack.c36 ulong encode; /* the code */ member
237 wbits = (wbits << bits) | lentab[len].encode; in whack()
/plan9/sys/src/cmd/jpg/
H A Dwritegif.c48 static void encode(Biobuf*, Rectangle, int, uchar*, uint);
370 encode(fd, r, depth, data, ndata); in writedata()
436 encode(Biobuf *fd, Rectangle r, int depth, uchar *data, uint ndata) in encode() function
/plan9/sys/src/9/port/
H A Dthwack.c37 ulong encode; /* the code */ member
300 twbits = (twbits << bits) | lentab[len].encode; in thwack()
/plan9/sys/man/2/
H A DINDEX408 dec16 encode
409 dec32 encode
410 dec64 encode
411 enc16 encode
412 enc32 encode
413 enc64 encode
414 encode encode
415 encodefmt encode
/plan9/sys/src/ape/lib/sec/port/
H A Dx509-ape.c140 static int encode(Elem e, Bytes** pbytes);
762 encode(Elem e, Bytes** pbytes) in encode() function
2486 if(encode(pubkey, &pkbytes) != ASN_OK) in RSApubtoasn1()
2494 if(encode(pubkey, &pkbytes) != ASN_OK) in RSApubtoasn1()
2522 if(encode(pubkey, &pkbytes) != ASN_OK) in X509gen()
2542 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509gen()
2550 if(encode(sig, &sigbytes) != ASN_OK) in X509gen()
2563 if(encode(e, &certbytes) != ASN_OK) in X509gen()
2589 if(encode(pubkey, &pkbytes) != ASN_OK) in X509req()
2602 if(encode(certinfo, &certinfobytes) != ASN_OK) in X509req()
[all …]

12