| /src/external/bsd/zstd/dist/tests/ |
| invalidDictionaries.c | 34 } dictionary; typedef in typeref:struct:dictionary_s 36 static const dictionary dictionaries[] = { 42 const dictionary *dict;
|
| zstreamtest.c | 282 buffer_t dictionary = kBuffNull; local 295 /* Create dictionary */ 296 DISPLAYLEVEL(3, "creating dictionary for unit tests \n"); 297 dictionary = FUZ_createDictionary(CNBuffer, CNBufferSize / 3, 16 KB, 48 KB); 298 if (!dictionary.start) { 299 DISPLAY("Error creating dictionary, aborting \n"); 302 dictID = ZDICT_getDictID(dictionary.start, dictionary.filled); 1084 DISPLAYLEVEL(3, "test%3i : digested dictionary : ", testNb++); 1085 { ZSTD_CDict* const cdict = ZSTD_createCDict(dictionary.start, dictionary.filled, 1 /*byRef*/ ) [all...] |
| /src/external/gpl2/groff/dist/src/roff/troff/ |
| dictionary.h | 1 /* $NetBSD: dictionary.h,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 34 class dictionary; 37 dictionary *dict; 40 dictionary_iterator(dictionary &); 44 class dictionary { class 52 dictionary(int); 79 dictionary d;
|
| dictionary.cpp | 1 /* $NetBSD: dictionary.cpp,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 26 #include "dictionary.h" 43 dictionary::dictionary(int n) : size(n), used(0), threshold(0.5), factor(1.5) function in class:dictionary 51 void *dictionary::lookup(symbol s, void *v) 87 void *dictionary::lookup(const char *p) 98 void *dictionary::remove(symbol s) 126 dictionary_iterator::dictionary_iterator(dictionary &d) : dict(&d), i(0)
|
| /src/external/gpl3/binutils/dist/zlib/ |
| example.c | 34 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: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/binutils.old/dist/zlib/ |
| example.c | 34 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: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/gdb/dist/zlib/ |
| example.c | 34 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: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/gdb.old/dist/zlib/ |
| example.c | 34 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: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/binutils/dist/zlib/test/ |
| example.c | 34 static const char dictionary[] = "hello"; variable 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: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/binutils.old/dist/zlib/test/ |
| example.c | 34 static const char dictionary[] = "hello"; variable 35 static uLong dictId; /* Adler32 value of the dictionary */ 454 * Test deflate() with preset dictionary 471 (const Bytef*)dictionary, (int)sizeof(dictionary)); 491 * Test inflate() with a preset dictionary 520 fprintf(stderr, "unexpected dictionary"); 523 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 524 (int)sizeof(dictionary)); 536 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/gdb.old/dist/zlib/test/ |
| example.c | 34 static const char dictionary[] = "hello"; variable 35 static uLong dictId; /* Adler32 value of the dictionary */ 454 * Test deflate() with preset dictionary 471 (const Bytef*)dictionary, (int)sizeof(dictionary)); 491 * Test inflate() with a preset dictionary 520 fprintf(stderr, "unexpected dictionary"); 523 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 524 (int)sizeof(dictionary)); 536 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
| /src/external/gpl3/gdb/dist/zlib/test/ |
| example.c | 34 static const char dictionary[] = "hello"; variable 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: %s\n", (char *)uncompr) [all...] |
| /src/external/bsd/zstd/dist/zlibWrapper/examples/ |
| example.c | 56 const char dictionary[] = "hello, hello!"; variable 57 uLong dictId; /* Adler32 value of the dictionary */ 457 * Test deflate() with preset dictionary 471 (const Bytef*)dictionary, (int)sizeof(dictionary)); 491 * Test inflate() with a preset dictionary 518 fprintf(stderr, "unexpected dictionary"); 521 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 522 (int)sizeof(dictionary)); 534 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
| example_original.c | 51 const char dictionary[] = "hello"; variable 52 uLong dictId; /* Adler32 value of the dictionary */ 458 * Test deflate() with preset dictionary 473 (const Bytef*)dictionary, (int)sizeof(dictionary)); 493 * 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: %s\n", (char *)uncompr) [all...] |
| /src/common/dist/zlib/test/ |
| example.c | 40 static const char dictionary[] = "hello"; variable 41 static uLong dictId; /* Adler32 value of the dictionary */ 412 * Test deflate() with preset dictionary 426 (const Bytef*)dictionary, (int)sizeof(dictionary)); 446 * Test inflate() with a preset dictionary 473 fprintf(stderr, "unexpected dictionary"); 476 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 477 (int)sizeof(dictionary)); 489 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
| /src/external/bsd/zstd/dist/tests/regression/ |
| method.c | 41 data_buffer_t dictionary; /**< The dictionary. */ member in struct:__anon8923 61 state->dictionary = data_buffer_get_dict(data); 87 if (config->use_dictionary && state->dictionary.data == NULL) { 88 fprintf(stderr, "dictionary loading failed\n"); 175 config_get_zstd_params(config, input.size, state->dictionary.size); 184 config->use_dictionary ? state->dictionary.data : NULL, 185 config->use_dictionary ? state->dictionary.size : 0, 194 state->dictionary.data, 195 state->dictionary.size [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| dictionary.c | 27 #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. */ 107 /* The type of the dictionary. This is only here to make debugging 110 /* The function to free a dictionary. */ 111 void (*free) (struct dictionary *dict); 112 /* Add a symbol to a dictionary, if possible. * 166 struct dictionary struct [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| dictionary.c | 27 #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. */ 107 /* The type of the dictionary. This is only here to make debugging 110 /* The function to free a dictionary. */ 111 void (*free) (struct dictionary *dict); 112 /* Add a symbol to a dictionary, if possible. * 166 struct dictionary struct [all...] |
| /src/external/bsd/zstd/dist/contrib/largeNbDicts/ |
| largeNbDicts.c | 13 * dedicated to the specific case of dictionary decompression 136 DISPLAYLEVEL(3, "loading dictionary %s \n", dictionaryName); 141 DISPLAYLEVEL(3, "creating dictionary, of target size %u bytes \n", 790 * dictionary : optional (can be NULL), file to load as dictionary, 793 int bench(const char **fileNameTable, unsigned nbFiles, const char *dictionary, 845 /* dictionary determination */ 846 buffer_t const dictBuffer = createDictionaryBuffer(dictionary, 857 DISPLAYLEVEL(3, "compressing at level %u without dictionary : Ratio=%.2f (%u bytes) \n", 866 DISPLAYLEVEL(3, "compressed using a %u bytes dictionary : Ratio=%.2f (%u bytes) \n" 1021 const char* dictionary = NULL; local [all...] |