Searched refs:dictionary (Results 1 - 9 of 9) sorted by relevance

/ast/src/lib/libast/misc/
H A Derrormsg.c27 * error function with specific dictionary
33 errormsg(const char* dictionary, int level, ...) argument
38 errorv(dictionary, level, ap);
/ast/src/lib/libtksh/lib/tksh7.6/
H A DldAout.tcl184 append C \} {dictionary [] = } \{ \n
194 for (i = 0; dictionary [i] . name != 0; ++i) {
195 if (!strcmp (symbol, dictionary [i] . name)) {
196 return dictionary [i].value;
/ast/src/cmd/3d/
H A Derror.c223 errormsg(const char* dictionary, int level, ...) argument
228 errorv(dictionary, level, ap);
/ast/src/lib/libz/
H A Dexample.c34 const char dictionary[] = "hello"; variable
35 uLong dictId; /* Adler32 value of the dictionary */
424 * Test deflate() with preset dictionary
441 (const Bytef*)dictionary, sizeof(dictionary));
461 * Test inflate() with a preset dictionary
490 fprintf(stderr, "unexpected dictionary");
493 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
494 sizeof(dictionary));
506 printf("inflate with dictionary
[all...]
H A Dzlib.h430 If a preset dictionary is needed after this call (see inflateSetDictionary
431 below), inflate sets strm->adler to the adler32 checksum of the dictionary
449 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
539 const Bytef *dictionary,
542 Initializes the compression dictionary from the given byte sequence
546 dictionary (see inflateSetDictionary).
548 The dictionary should consist of strings (byte sequences) that are likely
550 used strings preferably put towards the end of the dictionary. Using a
551 dictionary is most useful when the data to be compressed is short and can be
553 with the default empty dictionary
[all...]
H A Dinflate.c314 It is also called to create a window for dictionary data when a dictionary
1169 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
1171 const Bytef *dictionary;
1183 /* check for correct dictionary id */
1186 id = adler32(id, dictionary, dictLength);
1191 /* copy dictionary to window */
1197 zmemcpy(state->window, dictionary + dictLength - state->wsize,
1202 zmemcpy(state->window + state->wsize - dictLength, dictionary,
1207 Tracev((stderr, "inflate: dictionary se
[all...]
H A Ddeflate.c16 * dictionary are very simple and thus fast, and deletions are avoided
174 * Insert string str in the dictionary and set match_head to the previous head
315 int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
317 const Bytef *dictionary;
325 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL ||
332 strm->adler = adler32(strm->adler, dictionary, dictLength);
337 dictionary += dictLength - length; /* use the tail of the dictionary */
339 zmemcpy(s->window, dictionary, length);
643 /* Save the adler32 of the preset dictionary
[all...]
/ast/src/cmd/INIT/
H A Dratz.c625 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
1325 * and move to the first half later to keep a dictionary of at least wSize
1591 DICTID, /* i: waiting for dictionary check value */
1642 int havedict; /* true if dictionary provided */
2533 It is also called to create a window for dictionary data when a dictionary
3388 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
3390 const Bytef *dictionary;
3402 /* check for correct dictionary id */
3405 id = adler32(id, dictionary, dictLengt
[all...]
H A Dmamake.c163 typedef struct Dict_item_s /* dictionary item */
171 typedef struct Dict_s /* dictionary handle */
214 Dict_t* leaf; /* recursion leaf dictionary */
215 Dict_t* libs; /* library dictionary */
216 Dict_t* rules; /* rule dictionary */
217 Dict_t* vars; /* variable dictionary */
459 * open a new dictionary
463 dictionary(void) function
468 report(3, "out of space [dictionary]", NiL, (unsigned long)0);
473 * return the value for item name in dictionary dic
[all...]

Completed in 37 milliseconds