/freebsd-current/contrib/xz/src/liblzma/lz/ |
H A D | lz_decoder.h | 30 /// position. This way dict_repeat(dict, dict->size - 1, &len) 82 /// Function to decode from in[] to *dict 84 lzma_dict *restrict dict, const uint8_t *restrict in, 127 dict_get(const lzma_dict *const dict, const uint32_t distance) argument 129 return dict->buf[dict->pos - distance - 1 130 + (distance < dict->pos 131 ? 0 : dict->size - LZ_DICT_REPEAT_MAX)]; 135 /// Optimized version of dict_get(dict, 137 dict_get0(const lzma_dict *const dict) argument 145 dict_is_empty(const lzma_dict *const dict) argument 153 dict_is_distance_valid(const lzma_dict *const dict, const size_t distance) argument 161 dict_repeat(lzma_dict *dict, uint32_t distance, uint32_t *len) argument 195 dict_put(lzma_dict *dict, uint8_t byte) argument 207 dict_put_safe(lzma_dict *dict, uint8_t byte) argument 219 dict_write(lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, size_t *restrict left) argument 244 dict_reset(lzma_dict *dict) argument [all...] |
H A D | lz_decoder.c | 24 lzma_dict dict; member in struct:__anon84 56 coder->dict.pos = 2 * LZ_DICT_REPEAT_MAX; 57 coder->dict.full = 0; 58 coder->dict.buf[2 * LZ_DICT_REPEAT_MAX - 1] = '\0'; 59 coder->dict.has_wrapped = false; 60 coder->dict.need_reset = false; 73 if (coder->dict.pos == coder->dict.size) { 75 coder->dict.pos = LZ_DICT_REPEAT_MAX; 76 coder->dict [all...] |
H A D | lz_encoder.h | 207 /// Function to encode from *dict to out[] 273 /// bits of dict->read_pos are not modified to keep this macro working 337 extern uint32_t lzma_mf_hc3_find(lzma_mf *dict, lzma_match *matches); 338 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount); 340 extern uint32_t lzma_mf_hc4_find(lzma_mf *dict, lzma_match *matches); 341 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount); 343 extern uint32_t lzma_mf_bt2_find(lzma_mf *dict, lzma_match *matches); 344 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount); 346 extern uint32_t lzma_mf_bt3_find(lzma_mf *dict, lzma_match *matches); 347 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_ [all...] |
/freebsd-current/crypto/heimdal/base/ |
H A D | dict.c | 53 heim_dict_t dict = ptr; local 56 for (h = dict->tab; h < &dict->tab[dict->size]; ++h) { 64 free(dict->tab); 69 "dict-object", 114 heim_dict_t dict; local 116 dict = _heim_alloc_object(&dict_object, sizeof(*dict)); 118 dict 149 _search(heim_dict_t dict, heim_object_t ptr) argument 171 heim_dict_copy_value(heim_dict_t dict, heim_object_t key) argument 192 heim_dict_add_value(heim_dict_t dict, heim_object_t key, heim_object_t value) argument 231 heim_dict_delete_key(heim_dict_t dict, heim_object_t key) argument 256 heim_dict_iterate_f(heim_dict_t dict, heim_dict_iterator_f_t func, void *arg) argument 274 heim_dict_iterate(heim_dict_t dict, void (^func)(heim_object_t, heim_object_t)) argument [all...] |
H A D | test_base.c | 71 heim_dict_t dict; local 77 dict = heim_dict_create(10); 79 heim_dict_add_value(dict, a1, a2); 80 heim_dict_add_value(dict, a3, a4); 82 heim_dict_delete_key(dict, a3); 83 heim_dict_delete_key(dict, a1); 90 heim_release(dict);
|
/freebsd-current/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 268 struct dictionary dict; member in struct:xz_dec_lzma2 290 static void dict_reset(struct dictionary *dict, struct xz_buf *b) argument 292 if (DEC_IS_SINGLE(dict->mode)) { 293 dict->buf = b->out + b->out_pos; 294 dict->end = b->out_size - b->out_pos; 297 dict->start = 0; 298 dict->pos = 0; 299 dict->limit = 0; 300 dict->full = 0; 304 static void dict_limit(struct dictionary *dict, size_ argument 313 dict_has_space(const struct dictionary *dict) argument 324 dict_get(const struct dictionary *dict, uint32_t dist) argument 337 dict_put(struct dictionary *dict, uint8_t byte) argument 350 dict_repeat(struct dictionary *dict, uint32_t *len, uint32_t dist) argument 378 dict_uncompressed(struct dictionary *dict, struct xz_buf *b, uint32_t *left) argument 437 dict_flush(struct dictionary *dict, struct xz_buf *b) argument [all...] |
/freebsd-current/crypto/heimdal/lib/wind/ |
H A D | stringprep.py | 63 d = dict() 64 _merge_table(d, dict(map(lambda x: [x, ['name']], name_error))) 65 _merge_table(d, dict(map(lambda x: [x, ['ldap']], ldap_error))) 66 _merge_table(d, dict(map(lambda x: [x, ['sasl']], sasl_error))) 70 d = dict() 71 _merge_table(d, dict(map(lambda x: [x, ['name']], name_map))) 72 _merge_table(d, dict(map(lambda x: [x, ['ldap']], ldap_map))) 73 _merge_table(d, dict(map(lambda x: [x, ['ldap_case']], ldap_case_map))) 74 _merge_table(d, dict(map(lambda x: [x, ['sasl']], sasl_map)))
|
/freebsd-current/share/dict/ |
H A D | Makefile | 4 FILESDIR= ${BINDIR}/dict
|
/freebsd-current/contrib/netbsd-tests/lib/libprop/ |
H A D | t_basic.c | 49 "<dict>\n" 56 " <dict>\n" 61 " </dict>\n" 62 " <dict>\n" 67 " </dict>\n" 68 " <dict>\n" 73 " </dict>\n" 79 "</dict>\n" 90 prop_dictionary_t dict; local 93 dict [all...] |
/freebsd-current/sys/contrib/zstd/doc/educational_decoder/ |
H A D | zstd_decompress.h | 27 /// If `dict != NULL` and `dict_len >= 8`, does the same thing as 28 /// `ZSTD_decompress` but uses the provided dict 51 * `dict` -- will contain the parsed contents of the dictionary and 54 void parse_dictionary(dictionary_t *const dict, const void *src, 60 void free_dictionary(dictionary_t *const dict);
|
H A D | harness.c | 77 buffer_s dict = { NULL, 0 }; local 79 dict = read_file(argv[3]); 98 if (dict.size) { 100 printf("dict.size = %zu \n", dict.size); 103 parse_dictionary(parsed_dict, dict.address, dict.size); 116 freeBuffer(dict);
|
/freebsd-current/lib/libc/db/test/hash.tests/ |
H A D | makedb.sh | 3 awk '{i++; print $0; print i;}' /usr/share/dict/words > WORDS
|
/freebsd-current/contrib/netbsd-tests/usr.bin/nbperf/ |
H A D | t_nbperf.sh | 37 atf_set "require.files" "/usr/share/dict/web2" 45 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm cat \ 48 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm cat \ 61 atf_set "require.files" "/usr/share/dict/web2" 69 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm3 cat \ 72 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 chm3 cat \ 85 atf_set "require.files" "/usr/share/dict/web2" 93 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 bdz "sort -n" \ 96 $(atf_get_srcdir)/h_nbperf /usr/share/dict/web2 bdz cat \
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ |
H A D | ScriptedProcessPythonInterface.cpp | 49 StructuredData::DictionarySP dict = local 52 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 55 return dict; 90 StructuredData::DictionarySP dict = local 93 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 96 return dict; 193 StructuredData::DictionarySP dict = local 196 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 199 return dict;
|
H A D | ScriptedThreadPythonInterface.cpp | 85 StructuredData::DictionarySP dict = local 88 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 91 return dict; 107 StructuredData::DictionarySP dict = local 110 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 113 return dict;
|
H A D | OperatingSystemPythonInterface.cpp | 44 StructuredData::DictionarySP dict = Dispatch<StructuredData::DictionarySP>( local 47 if (!ScriptedInterface::CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, 51 return dict;
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_ddict.c | 121 const void* dict, size_t dictSize, 125 if ((dictLoadMethod == ZSTD_dlm_byRef) || (!dict) || (!dictSize)) { 127 ddict->dictContent = dict; 128 if (!dict) dictSize = 0; 134 memcpy(internalBuffer, dict, dictSize); 145 ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, argument 156 dict, dictSize, 168 * `dict` content is copied inside DDict. 169 * Consequently, `dict` can be released after `ZSTD_DDict` creation */ 170 ZSTD_DDict* ZSTD_createDDict(const void* dict, size_ argument 120 ZSTD_initDDict_internal(ZSTD_DDict* ddict, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) argument 187 ZSTD_initStaticDDict( void* sBuffer, size_t sBufferSize, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) argument [all...] |
/freebsd-current/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_ddict.c | 121 const void* dict, size_t dictSize, 125 if ((dictLoadMethod == ZSTD_dlm_byRef) || (!dict) || (!dictSize)) { 127 ddict->dictContent = dict; 128 if (!dict) dictSize = 0; 134 ZSTD_memcpy(internalBuffer, dict, dictSize); 145 ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, argument 156 dict, dictSize, 168 * `dict` content is copied inside DDict. 169 * Consequently, `dict` can be released after `ZSTD_DDict` creation */ 170 ZSTD_DDict* ZSTD_createDDict(const void* dict, size_ argument 120 ZSTD_initDDict_internal(ZSTD_DDict* ddict, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) argument 187 ZSTD_initStaticDDict( void* sBuffer, size_t sBufferSize, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) argument [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
H A D | InstrumentationRuntimeTSan.cpp | 229 const StructuredData::DictionarySP &dict)> const 266 const StructuredData::DictionarySP &dict) { 341 auto dict = std::make_shared<StructuredData::Dictionary>(); local 342 dict->AddStringItem("instrumentation_class", "ThreadSanitizer"); 343 dict->AddStringItem("issue_type", 345 dict->AddIntegerItem("report_count", 348 dict->AddItem("sleep_trace", CreateStackTrace( 354 const StructuredData::DictionarySP &dict) { 355 dict->AddIntegerItem( 358 dict [all...] |
/freebsd-current/sys/contrib/xz-embedded/linux/scripts/ |
H A D | xz_wrap.sh | 23 exec xz --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ |
H A D | ReportRetriever.cpp | 127 auto dict = std::make_shared<StructuredData::Dictionary>(); local 128 if (!dict) 131 dict->AddStringItem("instrumentation_class", "AddressSanitizer"); 132 dict->AddStringItem("stop_type", "fatal_error"); 133 dict->AddIntegerItem("pc", pc); 134 dict->AddIntegerItem("bp", bp); 135 dict->AddIntegerItem("sp", sp); 136 dict->AddIntegerItem("address", address); 137 dict->AddIntegerItem("access_type", access_type); 138 dict [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/db/ |
H A D | t_db.sh | 38 dict() function 40 if [ -f /usr/share/dict/words ]; then 41 echo /usr/share/dict/words 42 elif [ -f /usr/dict/words ]; then 43 echo /usr/dict/words 59 atf_set "require.files" /usr/share/dict/words 67 sed 200q $(dict) >exp 69 for i in `sed 200q $(dict)`; do 88 atf_set "require.files" /usr/share/dict/words 96 sed 200q $(dict) >ex [all...] |
/freebsd-current/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v05.h | 76 * Note : dict can be NULL, in which case, it's equivalent to ZSTDv05_decompressDCtx() */ 80 const void* dict,size_t dictSize); 93 size_t ZSTDv05_decompressBegin_usingDict(ZSTDv05_DCtx* dctx, const void* dict, size_t dictSize); 107 size_t ZBUFFv05_decompressInitDictionary(ZBUFFv05_DCtx* dctx, const void* dict, size_t dictSize);
|
H A D | zstd_v07.h | 93 const void* dict,size_t dictSize); 101 * `dict` can be released after creation */ 103 ZSTDLIBv07_API ZSTDv07_DDict* ZSTDv07_createDDict(const void* dict, size_t dictSize); 134 ZSTDLIBv07_API size_t ZBUFFv07_decompressInitDictionary(ZBUFFv07_DCtx* dctx, const void* dict, size_t dictSize);
|
/freebsd-current/contrib/googletest/googletest/test/ |
H A D | gtest_json_test_utils.py | 59 if isinstance(obj, dict):
|