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

12

/freebsd-12-stable/contrib/gdb/gdb/
H A Ddictionary.h28 /* An opaque type for dictionaries; only dictionary.c should know
31 struct dictionary;
43 /* Create a dictionary implemented via a fixed-size hashtable. All
47 extern struct dictionary *dict_create_hashed (struct obstack *obstack,
51 /* Create a dictionary implemented via a hashtable that grows as
52 necessary. The dictionary is initially empty; to add symbols to
56 extern struct dictionary *dict_create_hashed_expandable (void);
58 /* Create a dictionary implemented via a fixed-size array. All memory
63 extern struct dictionary *dict_create_linear (struct obstack *obstack,
67 /* Create a dictionary implemente
[all...]
H A Ddictionary.c30 #include "dictionary.h"
34 dictionary'. That type has various internal implementations, which
38 Each dictionary starts with a 'virtual function table' that
44 To add a new dictionary implementation <impl>, what you should do
66 gizmos. Add its declaration to dictionary.h.
86 dict_<op> to dictionary.h.
109 /* The type of the dictionary. This is only here to make debugging
112 /* The function to free a dictionary. */
113 void (*free) (struct dictionary *dict);
114 /* Add a symbol to a dictionary, i
168 struct dictionary struct
[all...]
H A Dblock.h32 struct dictionary;
83 struct dictionary *dict;
/freebsd-12-stable/sys/contrib/zstd/doc/educational_decoder/
H A DMakefile30 @zstd -D dictionary README.md -o tmp.zst
31 @./harness tmp.zst tmp dictionary
33 @$(RM) -f tmp* dictionary
/freebsd-12-stable/sys/contrib/zstd/tests/
H A DinvalidDictionaries.c34 } dictionary; typedef in typeref:struct:dictionary_s
36 static const dictionary dictionaries[] = {
42 const dictionary *dict;
H A Dtest-zstd-speed.py161 if args.dictionary:
162 result = execute('%s programs/%s -rqi5b1e%s -D %s %s' % (cpuSelector, executableName, args.lastCLevel, args.dictionary, testFilePath), print_output=True)
228 if args.dictionary:
229 dictName = args.dictionary.rpartition('/')[2]
261 parser.add_argument('--dictionary', '-D', help='path to the dictionary')
286 # check if dictionary is accessible
287 if args.dictionary:
288 args.dictionary = os.path.abspath(os.path.expanduser(args.dictionary))
[all...]
H A Dzstreamtest.c229 buffer_t dictionary = g_nullBuffer; local
240 /* Create dictionary */
241 DISPLAYLEVEL(3, "creating dictionary for unit tests \n");
242 dictionary = FUZ_createDictionary(CNBuffer, CNBufferSize / 3, 16 KB, 48 KB);
243 if (!dictionary.start) {
244 DISPLAY("Error creating dictionary, aborting \n");
247 dictID = ZDICT_getDictID(dictionary.start, dictionary.filled);
505 DISPLAYLEVEL(3, "test%3i : digested dictionary : ", testNb++);
506 { ZSTD_CDict* const cdict = ZSTD_createCDict(dictionary
[all...]
H A DMakefile249 @$(RM) -f core *.o tmp* result* *.gcda dictionary *.zst \
413 @echo "\n ---- decodecorpus dictionary cli tests ----"
416 $(ZSTD) -d z000000.zst -D dictionary -o tmp0 && \
417 $(ZSTD) -d z000001.zst -D dictionary -o tmp1 && \
418 $(ZSTD) -d z000002.zst -D dictionary -o tmp2 && \
419 $(ZSTD) -d z000003.zst -D dictionary -o tmp3 && \
420 $(ZSTD) -d z000004.zst -D dictionary -o tmp4 && \
/freebsd-12-stable/contrib/file/tests/
H A DMakefile.am49 zstd-dictionary-0.result \
50 zstd-dictionary-1.result \
51 zstd-dictionary-2.result \
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/lz4/
H A Dlz4internal.h247 * Use this function to load a static dictionary into LZ4_stream.
248 * Any previous data will be forgotten, only 'dictionary' will remain in memory.
250 * Return : dictionary size, in bytes (necessarily <= 64 KB)
252 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
255 * Compress buffer content 'src', using data from previously compressed blocks as dictionary to improve compression ratio.
267 * dictionary is immediately usable, you can therefore call LZ4_compress_fast_continue().
268 * Return : saved dictionary size in bytes (necessarily <= dictSize), or 0 if error.
284 * Use this function to instruct where to find the dictionary.
288 LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
341 const uint8_t* dictionary; member in struct:__anon7070
359 const unsigned char* dictionary; member in struct:__anon7072
[all...]
H A Dlz4.c485 const BYTE* const dictionary = cctx->dictionary; local
486 const BYTE* const dictEnd = dictionary + cctx->dictSize;
545 lowLimit = dictionary;
587 if ((dict==usingExtDict) && (lowLimit==dictionary)) {
631 lowLimit = dictionary;
946 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) argument
949 const BYTE* p = (const BYTE*)dictionary;
957 dict->dictionary = NULL;
965 dict->dictionary
1303 LZ4_setStreamDecode(LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp397 auto dictionary = std::make_shared<StructuredData::Dictionary>(); local
399 dictionary->AddIntegerItem("signo", signo);
400 dictionary->AddStringItem("name", signals->GetSignalAsCString(signo));
404 dictionary->AddBooleanItem("suppress", suppress);
405 dictionary->AddBooleanItem("stop", stop);
406 dictionary->AddBooleanItem("notify", notify);
408 signal_array.Push(dictionary);
/freebsd-12-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c41 * in which the dictionary variables address the actual output
44 struct dictionary { struct
55 * How full dictionary is. This is used to detect corrupt input that
64 * End of the dictionary buffer. In multi-call mode, this is
65 * the same as the dictionary size. In single-call mode, this
71 * Size of the dictionary as specified in Block Header. This is used
78 * Maximum allowed dictionary size in multi-call mode.
84 * Amount of memory currently allocated for the dictionary.
241 * True if dictionary reset is needed. This is false before
264 struct dictionary dic
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp129 StructuredData::DictionarySP dictionary = local
131 if (!dictionary)
135 *dictionary, m_process->GetTarget().GetArchitecture()));
367 // We should have gotten the thread stop info from the dictionary of data for
/freebsd-12-stable/sys/sys/
H A Dzlib.h445 special marker is output and the compression dictionary is discarded; this
565 produced, Z_NEED_DICT if a preset dictionary is needed at this point (see
573 dictionary chosen by the compressor.
654 const Bytef *dictionary,
657 Initializes the compression dictionary (history buffer) from the given
661 dictionary (see inflateSetDictionary).
662 The dictionary should consist of strings (byte sequences) that are likely
664 used strings preferably put towards the end of the dictionary. Using a
665 dictionary is most useful when the data to be compressed is short and
667 than with the default empty dictionary
[all...]
/freebsd-12-stable/sys/contrib/zlib/test/
H A Dexample.c34 static const char dictionary[] = "hello"; variable
35 static uLong dictId; /* Adler32 value of the dictionary */
455 * Test deflate() with preset dictionary
472 (const Bytef*)dictionary, (int)sizeof(dictionary));
492 * Test inflate() with a preset dictionary
521 fprintf(stderr, "unexpected dictionary");
524 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
525 (int)sizeof(dictionary));
537 printf("inflate with dictionary
[all...]
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c56 const char dictionary[] = "hello, hello!"; variable
57 uLong dictId; /* Adler32 value of the dictionary */
480 * Test deflate() with preset dictionary
497 (const Bytef*)dictionary, (int)sizeof(dictionary));
517 * Test inflate() with a preset dictionary
546 fprintf(stderr, "unexpected dictionary");
549 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
550 (int)sizeof(dictionary));
562 printf("inflate with dictionary
[all...]
H A Dexample_original.c51 const char dictionary[] = "hello"; variable
52 uLong dictId; /* Adler32 value of the dictionary */
472 * Test deflate() with preset dictionary
489 (const Bytef*)dictionary, (int)sizeof(dictionary));
509 * Test inflate() with a preset dictionary
538 fprintf(stderr, "unexpected dictionary");
541 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
542 (int)sizeof(dictionary));
554 printf("inflate with dictionary
[all...]
/freebsd-12-stable/sys/contrib/zlib/
H A Dzlib.h485 If a preset dictionary is needed after this call (see inflateSetDictionary
486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
505 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
612 const Bytef *dictionary,
615 Initializes the compression dictionary from the given byte sequence
623 compressor and decompressor must use exactly the same dictionary (see
626 The dictionary should consist of strings (byte sequences) that are likely
628 used strings preferably put towards the end of the dictionary. Using a
629 dictionary is most useful when the data to be compressed is short and can be
631 with the default empty dictionary
[all...]
H A Dinflate.c387 It is also called to create a window for dictionary data when a dictionary
1291 int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
1293 Bytef *dictionary;
1302 /* copy dictionary */
1303 if (state->whave && dictionary != Z_NULL) {
1304 zmemcpy(dictionary, state->window + state->wnext,
1306 zmemcpy(dictionary + state->whave - state->wnext,
1314 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
1316 const Bytef *dictionary;
[all...]
H A Ddeflate.c16 * dictionary are very simple and thus fast, and deletions are avoided
167 * Insert string str in the dictionary and set match_head to the previous head
379 int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
381 const Bytef *dictionary;
390 if (deflateStateCheck(strm) || dictionary == Z_NULL)
397 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
399 strm->adler = adler32(strm->adler, dictionary, dictLength);
402 /* if dictionary would fill window, just replace the history */
410 dictionary += dictLength - s->w_size; /* use the tail */
414 /* insert dictionary int
[all...]
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c258 const Bytef *dictionary,
263 return deflateSetDictionary(strm, dictionary, dictLength);
273 { int res = ZWRAP_initializeCStream(zwc, dictionary, dictLength, ZSTD_CONTENTSIZE_UNKNOWN);
614 const Bytef *dictionary,
619 return inflateSetDictionary(strm, dictionary, dictLength);
623 { size_t const initErr = ZSTD_initDStream_usingDict(zwd->zbd, dictionary, dictLength);
929 Bytef *dictionary,
933 return inflateGetDictionary(strm, dictionary, dictLength);
257 z_deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) argument
613 z_inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) argument
928 z_inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength) argument
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzlib.h432 If a preset dictionary is needed after this call (see inflateSetDictionary
433 below), inflate sets strm->adler to the adler32 checksum of the dictionary
451 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
541 const Bytef *dictionary,
544 Initializes the compression dictionary from the given byte sequence
548 dictionary (see inflateSetDictionary).
550 The dictionary should consist of strings (byte sequences) that are likely
552 used strings preferably put towards the end of the dictionary. Using a
553 dictionary is most useful when the data to be compressed is short and can be
555 with the default empty dictionary
[all...]
H A Dinflate.c321 It is also called to create a window for dictionary data when a dictionary
1196 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
1198 const Bytef *dictionary;
1210 /* check for correct dictionary id */
1213 id = adler32(id, dictionary, dictLength);
1218 /* copy dictionary to window */
1224 zmemcpy(state->window, dictionary + dictLength - state->wsize,
1229 zmemcpy(state->window + state->wsize - dictLength, dictionary,
1234 Tracev((stderr, "inflate: dictionary se
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueDictionary.cpp128 error.SetErrorString("empty dictionary key");
252 "dictionary does not contain a value for the key name '%s'",

Completed in 241 milliseconds

12