Searched defs:codes (Results 1 - 9 of 9) sorted by relevance

/ast/src/cmd/msgcc/
H A Dmsgcvt.c62 static const Code_t codes[] = variable
168 for (i = 0; i < elementsof(codes); i++)
169 if (streq(codes[i].name, name))
171 c = codes[i].code;
174 if (i >= elementsof(codes))
/ast/src/lib/libz/
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
34 int inflate_table(codetype type, unsigned short FAR *lens, unsigned codes, argument
37 int inflate_table(type, lens, codes, table, bits, work)
40 unsigned codes;
52 int left; /* number of prefix codes available */
64 unsigned short count[MAXBITS+1]; /* number of codes of each length */
66 static const unsigned short lbase[31] = { /* Length codes 257..285 base */
69 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
72 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
76 static const unsigned short dext[32] = { /* Distance codes
[all...]
H A Dinflate.h68 Read deflate codes:
102 code const FAR *lencode; /* starting table for length/literal codes */
103 code const FAR *distcode; /* starting table for distance codes */
111 code FAR *next; /* next available space in codes[] */
114 code codes[ENOUGH]; /* space for code tables */ member in struct:inflate_state
/ast/src/cmd/tw/
H A Dtw.c98 "\acmd\a exit codes are ignored (mostly because of \bgrep\b(1).)]#[code]"
131 "[F:codes?Set the \blocate\b(1) fast find codes database "
325 "[+lib/find/find.codes?Default \blocate\b(1) database.]"
676 char* codes; local
695 codes = 0;
816 codes = opt_info.arg;
832 error(3, "%s: invalid find codes format -- { default|dir type old gnu|locate } expected", opt_info.arg);
936 if (codes && (disc.flags & FIND_GENERATE))
949 if (!(state.find = findopen(codes, Ni
[all...]
H A Dfind.c81 " [+lib/find/codes?Default \blocate\b(1) database.]"
225 char* codes; member in struct:State_s
273 "codes", CODES, Str, 0, "path", 0,
1029 state->codes = b;
1821 if (fp = findopen(state.codes, state.fast, NiL, &disc))
/ast/src/lib/libast/comp/
H A Diconv.c94 static const _ast_iconv_list_t codes[] = variable
471 cp = codes;
1597 return (cp = ccmaplist(cp)) ? cp : (_ast_iconv_list_t*)codes;
/ast/src/cmd/re/
H A Dtestglob.c147 H(" return codes otherwise, with the GLOB_ prefix omitted\n");
249 static const struct { int code; char* name; char* desc;} codes[] = { variable in typeref:struct:__anon210
988 for (i = 1; i < elementsof(codes); i++) {
989 if (streq(err, codes[i].name))
991 if (ret == codes[i].code)
1001 printf("%s expected, %s returned", codes[expected].name, codes[got].name);
H A Dtestregex.c273 T(" codes (with REG_ omitted) or the match array, a list of (m,n)\n");
524 static const struct { int code; char* name; } codes[] = variable in typeref:struct:__anon215
2064 for (i = 1; i < elementsof(codes); i++)
2065 if (cret==codes[i].code)
2068 skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2072 printf("%s returned: ", codes[got].name);
2079 for (i = 1; i < elementsof(codes); i++)
2081 if (streq(ans, codes[i].name))
2083 if (cret==codes[i].code)
2089 skip = extract(tabs, line, re, s, ans, msg, codes[go
[all...]
/ast/src/cmd/INIT/
H A Dratz.c547 /* Return codes for the compression/decompression functions. Negative
1241 /* number of length codes, not counting the special END_BLOCK code */
1247 /* number of Literal or Length codes, including the END_BLOCK code */
1250 /* number of distance codes */
1253 /* number of codes used to transfer the bit lengths */
1259 /* All codes must not exceed MAX_BITS bits */
1411 /* number of codes at each bit length for an optimal tree */
1629 Read deflate codes:
1663 code const FAR *lencode; /* starting table for length/literal codes */
1664 code const FAR *distcode; /* starting table for distance codes */
1675 code codes[ENOUGH]; /* space for code tables */ member in struct:inflate_state
[all...]

Completed in 51 milliseconds