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

/src/games/boggle/
H A DMakefile13 DICTFILES=dictionary dictindex
28 dictionary: ${WORDS} ${MKDICT} target
33 dictindex: dictionary ${MKINDEX}
36 ${MKINDEX} < dictionary > ${.TARGET}
/src/common/dist/zlib/contrib/pascal/
H A Dexample.pas33 const dictionary: PChar = 'hello';
35 var dictId: LongInt; (* Adler32 value of the dictionary *)
447 * Test deflate with preset dictionary
461 err := deflateSetDictionary(c_stream, dictionary, StrLen(dictionary));
481 * Test inflate with a preset dictionary
512 EXIT_ERR('unexpected dictionary');
513 err := inflateSetDictionary(d_stream, dictionary, StrLen(dictionary));
524 WriteLn('inflate with dictionary
[all...]
H A Dzlibpas.pas116 function deflateSetDictionary(var strm: z_stream; const dictionary: PChar;
127 function inflateSetDictionary(var strm: z_stream; const dictionary: PChar;
/src/common/dist/zlib/test/
H A Dexample.c34 static const char dictionary[] = "hello"; variable in typeref:typename:const char[]
35 static uLong dictId; /* Adler32 value of the dictionary */
406 * Test deflate() with preset dictionary
420 (const Bytef*)dictionary, (int)sizeof(dictionary));
440 * Test inflate() with a preset dictionary
467 fprintf(stderr, "unexpected dictionary");
470 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
471 (int)sizeof(dictionary));
483 printf("inflate with dictionary
[all...]
/src/usr.bin/fgen/
H A Dfgen.l78 static struct fcode *dictionary = NULL;
810 * Insert fcode into dictionary.
852 * Look for a code in the dictionary.
933 * Bootstrap the dictionary and then install
942 ASSERT(dictionary == NULL);
944 dictionary = code;
948 if(!fadd(dictionary, code)) {
949 warnx("%s: duplicate dictionary entry `%s'", __func__,
1236 /* Add new code to dictionary */
1240 if (!fadd(dictionary, fcod
[all...]
/src/common/dist/zlib/os400/
H A Dzlib.inc341 D PR 10I 0 extproc('deflateSetDictionary') Init. dictionary
343 D dictionary 65535 const options(*varsize) Dictionary bytes
386 D PR 10I 0 extproc('inflateSetDictionary') Init. dictionary
388 D dictionary 65535 const options(*varsize) Dictionary bytes
392 D PR 10I 0 extproc('inflateGetDictionary') Get dictionary
394 D dictionary 65535 options(*varsize) Dictionary bytes
398 D PR 10I 0 extproc('deflateGetDictionary') Get dictionary
400 D dictionary 65535 options(*varsize) Dictionary bytes
/src/common/dist/zlib/
H A Dzlib.h488 If a preset dictionary is needed after this call (see inflateSetDictionary
489 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
508 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
614 const Bytef *dictionary,
617 Initializes the compression dictionary from the given byte sequence
625 compressor and decompressor must use exactly the same dictionary (see
628 The dictionary should consist of strings (byte sequences) that are likely
630 used strings preferably put towards the end of the dictionary. Using a
631 dictionary is most useful when the data to be compressed is short and can be
633 with the default empty dictionary
[all...]
H A Dinflate.c361 It is also called to create a window for dictionary data when a dictionary
1287 int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary, argument
1295 /* copy dictionary */
1296 if (state->whave && dictionary != Z_NULL) {
1297 zmemcpy(dictionary, state->window + state->wnext,
1299 zmemcpy(dictionary + state->whave - state->wnext,
1307 int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, argument
1319 /* check for correct dictionary identifier */
1322 dictid = adler32(dictid, dictionary, dictLengt
[all...]
H A Ddeflate.c18 * dictionary are very simple and thus fast, and deletions are avoided
147 * Insert string str in the dictionary and set match_head to the previous head
552 int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, argument
560 if (deflateStateCheck(strm) || dictionary == Z_NULL)
567 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
569 strm->adler = adler32(strm->adler, dictionary, dictLength);
572 /* if dictionary would fill window, just replace the history */
580 dictionary += dictLength - s->w_size; /* use the tail */
584 /* insert dictionary into window and hash */
588 strm->next_in = __UNCONST(dictionary);
618 deflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) argument
[all...]
/src/common/dist/zlib/contrib/ada/
H A Dzlib-thin.ads135 dictionary : Byte_Access;
152 dictionary : Byte_Access;
/src/sys/net/
H A Dzlib.c134 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
388 * and move to the first half later to keep a dictionary of at least wSize
625 * dictionary are very simple and thus fast, and deletions are avoided
771 * Insert string str in the dictionary and set match_head to the previous head
899 const Bytef *dictionary,
907 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL)
913 strm->adler = adler32(strm->adler, dictionary, dictLength);
919 dictionary += dictLength - length; /* use the tail of the dictionary */
922 zmemcpy(s->window, dictionary, lengt
[all...]
/src/sys/external/isc/libsodium/dist/m4/
H A Dlibtool.m4465 # Extract the dictionary values for VARNAME (optionally with TAG) and

Completed in 26 milliseconds