Searched defs:encode (Results 1 - 8 of 8) sorted by relevance
/ast/src/lib/libcs/ |
H A D | csnote.c | 34 * encode 4 byte int into 2 bytes 38 encode(register unsigned long n) function 72 a = (encode(up) << 16) | encode(idle); 77 return touch(name, (encode(up) << 16) | encode(idle), (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377), -1);
|
/ast/src/cmd/msgcc/ |
H A D | msgcvt.c | 411 encode(Sfio_t* op, register int c) function 455 encode(op, c); 532 encode(op, c); 575 encode(op, c); 608 encode(op, c);
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchcode.c | 28 static ssize_t rlcode(ssize_t nsym, ssize_t* clen, ssize_t cmax, Vcchar_t* rle, ssize_t rlsz, int encode) argument 30 static ssize_t rlcode(nsym, clen, cmax, rle, rlsz, encode) 36 int encode; 44 if(encode) 107 /* run-length-encode the code table in the alphabet [0...maxs+2] */
|
/ast/src/lib/libast/misc/ |
H A D | findlib.h | 119 #define encode code.code_encode macro
|
/ast/src/cmd/sortlib/vcodex/ |
H A D | vcodex.c | 128 encode(State_t* state, Sfio_t* sp, const char* path) function 139 error(2, "%s: cannot push vcodex encode discipline (%s)", path, state->output.trans); 151 error(0, "sort vcodex encode %s (%s)", path, state->output.trans); 177 return encode(state, (Sfio_t*)data, (char*)arg); 204 i = encode(state, delay->sp, delay->name); 222 error(2, "temporary-%d: cannot push vcodex encode discipline (%s)", tempid(state, data), state->temporary.trans); 226 error(0, "sort vcodex encode temporary-%d (%s)", tempid(state, data), state->temporary.trans);
|
/ast/src/lib/libcodex/ |
H A D | codex.c | 25 * sfio decode/encode discipline wrapper 770 Codexnum_t encode; local 813 encode = CODEX_DECODE; 821 encode = CODEX_ENCODE; 834 p->flags = encode; 859 f = encode; 930 (*disc->errorf)(NiL, disc, 2, "%s: %s: cannot %s", name, p->name, p->flags == CODEX_DECODE ? ERROR_translate(NiL, NiL, id, "decode") : ERROR_translate(NiL, NiL, id, "encode")); 932 (*disc->errorf)(NiL, disc, 2, "%s: cannot %s", p->name, p->flags == CODEX_DECODE ? ERROR_translate(NiL, NiL, id, "decode") : ERROR_translate(NiL, NiL, id, "encode")); 973 * output encode method sfio disciplines pushed from right to left
|
/ast/src/lib/librecsort/ |
H A D | rskey.c | 85 #define encode(x) (neg?(10-(x)):((x)+2)) macro 86 #define putdig(x) (nib?(*dig=encode(x)<<4,nib=0):(*dig++|=encode(x),nib=1))
|
/ast/src/lib/libvcodex/ |
H A D | vcsfio.c | 523 static ssize_t encode(Sfdc_t* sfdc, Vcchar_t* data, size_t dtsz) function 525 static ssize_t encode(sfdc, data, dtsz) 767 return VCSFERROR(sfdc, "Handle was not created to encode data"); 775 if((w = encode(sfdc, sfdc->data, w)) < 0 ) 796 if((w = encode(sfdc, sfdc->data, sfdc->dtsz)) < 0) 810 { if((w = encode(sfdc, dt, n-sz)) < 0) 876 #else /* Stdio: must call vcsfdcwrite() directly to encode */
|
Completed in 21 milliseconds