Searched refs:dict (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-10-stable/contrib/xz/src/liblzma/lz/
H A Dlz_decoder.h58 /// Function to decode from in[] to *dict
60 lzma_dict *restrict dict, const uint8_t *restrict in,
103 dict_get(const lzma_dict *const dict, const uint32_t distance) argument
105 return dict->buf[dict->pos - distance - 1
106 + (distance < dict->pos ? 0 : dict->size)];
112 dict_is_empty(const lzma_dict *const dict) argument
114 return dict->full == 0;
120 dict_is_distance_valid(const lzma_dict *const dict, cons argument
128 dict_repeat(lzma_dict *dict, uint32_t distance, uint32_t *len) argument
187 dict_put(lzma_dict *dict, uint8_t byte) argument
203 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
228 dict_reset(lzma_dict *dict) argument
[all...]
H A Dlz_decoder.c25 lzma_dict dict; member in struct:__anon461
57 coder->dict.pos = 0;
58 coder->dict.full = 0;
59 coder->dict.buf[coder->dict.size - 1] = '\0';
60 coder->dict.need_reset = false;
73 if (coder->dict.pos == coder->dict.size)
74 coder->dict.pos = 0;
78 const size_t dict_start = coder->dict
[all...]
H A Dlz_encoder.h196 /// Function to encode from *dict to out[]
249 /// bits of dict->read_pos are not modified to keep this macro working
312 extern uint32_t lzma_mf_hc3_find(lzma_mf *dict, lzma_match *matches);
313 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount);
315 extern uint32_t lzma_mf_hc4_find(lzma_mf *dict, lzma_match *matches);
316 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount);
318 extern uint32_t lzma_mf_bt2_find(lzma_mf *dict, lzma_match *matches);
319 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount);
321 extern uint32_t lzma_mf_bt3_find(lzma_mf *dict, lzma_match *matches);
322 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_
[all...]
/freebsd-10-stable/crypto/heimdal/base/
H A Ddict.c53 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 Dtest_base.c71 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);
H A DNTMakefile41 $(OBJ)\dict.obj \
/freebsd-10-stable/contrib/gdb/gdb/
H A Ddictionary.h82 extern void dict_free (struct dictionary *dict);
86 extern void dict_add_symbol (struct dictionary *dict, struct symbol *sym);
90 extern int dict_empty (struct dictionary *dict);
100 const struct dictionary *dict; member in struct:dict_iterator
110 extern struct symbol *dict_iterator_first (const struct dictionary *dict,
124 extern struct symbol *dict_iter_name_first (const struct dictionary *dict,
142 extern int dict_size (const struct dictionary *dict);
151 #define ALL_DICT_SYMBOLS(dict, iter, sym) \
152 for ((sym) = dict_iterator_first ((dict), &(iter)); \
H A Ddictionary.c113 void (*free) (struct dictionary *dict);
115 void (*add_symbol) (struct dictionary *dict, struct symbol *sym);
117 struct symbol *(*iterator_first) (const struct dictionary *dict,
121 struct symbol *(*iter_name_first) (const struct dictionary *dict,
127 int (*size) (const struct dictionary *dict);
216 #define DICT_ITERATOR_DICT(iter) (iter)->dict
228 static void add_symbol_nonexpandable (struct dictionary *dict,
231 static void free_obstack (struct dictionary *dict);
236 static struct symbol *iterator_first_hashed (const struct dictionary *dict,
241 static struct symbol *iter_name_first_hashed (const struct dictionary *dict,
483 dict_free(struct dictionary *dict) argument
491 dict_add_symbol(struct dictionary *dict, struct symbol *sym) argument
500 dict_iterator_first(const struct dictionary *dict, struct dict_iterator *iterator) argument
517 dict_iter_name_first(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument
532 dict_size(const struct dictionary *dict) argument
544 dict_empty(struct dictionary *dict) argument
557 free_obstack(struct dictionary *dict) argument
563 add_symbol_nonexpandable(struct dictionary *dict, struct symbol *sym) argument
572 iterator_first_hashed(const struct dictionary *dict, struct dict_iterator *iterator) argument
583 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local
600 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local
620 iter_name_first_hashed(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument
671 insert_symbol_hashed(struct dictionary *dict, struct symbol *sym) argument
684 size_hashed(const struct dictionary *dict) argument
692 free_hashed_expandable(struct dictionary *dict) argument
699 add_symbol_hashed_expandable(struct dictionary *dict, struct symbol *sym) argument
712 size_hashed_expandable(const struct dictionary *dict) argument
718 expand_hashtable(struct dictionary *dict) argument
752 iterator_first_linear(const struct dictionary *dict, struct dict_iterator *iterator) argument
763 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local
772 iter_name_first_linear(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument
785 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local
805 size_linear(const struct dictionary *dict) argument
813 free_linear_expandable(struct dictionary *dict) argument
821 add_symbol_linear_expandable(struct dictionary *dict, struct symbol *sym) argument
[all...]
/freebsd-10-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c264 struct dictionary dict; member in struct:xz_dec_lzma2
286 static void dict_reset(struct dictionary *dict, struct xz_buf *b) argument
288 if (DEC_IS_SINGLE(dict->mode)) {
289 dict->buf = b->out + b->out_pos;
290 dict->end = b->out_size - b->out_pos;
293 dict->start = 0;
294 dict->pos = 0;
295 dict->limit = 0;
296 dict->full = 0;
300 static void dict_limit(struct dictionary *dict, size_ argument
309 dict_has_space(const struct dictionary *dict) argument
320 dict_get(const struct dictionary *dict, uint32_t dist) argument
333 dict_put(struct dictionary *dict, uint8_t byte) argument
346 dict_repeat(struct dictionary *dict, uint32_t *len, uint32_t dist) argument
374 dict_uncompressed(struct dictionary *dict, struct xz_buf *b, uint32_t *left) argument
416 dict_flush(struct dictionary *dict, struct xz_buf *b) argument
[all...]
/freebsd-10-stable/crypto/heimdal/lib/wind/
H A Dstringprep.py63 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-10-stable/share/dict/
H A DMakefile8 FILESDIR= ${BINDIR}/dict
/freebsd-10-stable/contrib/netbsd-tests/lib/libprop/
H A Dt_basic.c49 "<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-10-stable/lib/libc/db/test/hash.tests/
H A Dmakedb.sh5 awk '{i++; print $0; print i;}' /usr/share/dict/words > WORDS
/freebsd-10-stable/contrib/netbsd-tests/usr.bin/nbperf/
H A Dt_nbperf.sh37 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-10-stable/contrib/amd/fsinfo/
H A Dfsi_dict.c62 dict *
65 dict *dp = CALLOC(struct dict);
94 dict_locate(dict *dp, char *k)
105 dict_add(dict *dp, char *k, char *v)
120 dict_iter(dict *dp, int (*fn) (qelem *))
H A Dfsinfo.h60 extern dict *dict_of_hosts;
61 extern dict *dict_of_volnames;
62 extern dict *new_dict(void);
63 extern dict_ent *dict_locate(dict *, char *);
68 extern int dict_iter(dict *, int (*)(qelem *));
80 extern void dict_add(dict *, char *, char *);
/freebsd-10-stable/gnu/usr.bin/groff/src/utils/indxbib/
H A DMakefile9 FILESDIR= ${SHAREDIR}/dict/
/freebsd-10-stable/sys/contrib/xz-embedded/linux/scripts/
H A Dxz_wrap.sh23 exec xz --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp71 OS << "<dict>\n";
89 OS << " <dict>\n";
114 OS << " </dict>\n";
117 OS << "</dict>\n";
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/db/
H A Dt_db.sh38 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-10-stable/kerberos5/lib/libheimbase/
H A DMakefile13 dict.c \
/freebsd-10-stable/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dtable.py35 self.maxfieldlen = dict.fromkeys(fields, 0)
42 """values is a dict from field name to value"""
53 d = dict([(f, f.upper()) for f in self.fields])
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DDynamicRegisterInfo.h28 DynamicRegisterInfo (const lldb_private::PythonDictionary &dict,
35 SetRegisterInfo (const lldb_private::PythonDictionary &dict,
/freebsd-10-stable/contrib/groff/src/roff/troff/
H A Ddictionary.cpp124 dictionary_iterator::dictionary_iterator(dictionary &d) : dict(&d), i(0)
130 for (; i < dict->size; i++)
131 if (dict->table[i].v) {
132 *sp = dict->table[i].s;
133 *vp = dict->table[i].v;
/freebsd-10-stable/usr.sbin/ppp/
H A Dpred.c63 u_char dict[GUESS_TABLE_SIZE]; member in struct:pred1_state
77 if (state->dict[state->hash] == *source) {
80 state->dict[state->hash] = *source;
95 *dest++ = state->dict[state->hash] = *source;
112 *dest = state->dict[state->hash]; /* Guess correct */
116 state->dict[state->hash] = *source; /* Guess wrong */
138 memset(state->dict, '\0', sizeof state->dict);
147 memset(state->dict, '\0', sizeof state->dict);
[all...]

Completed in 113 milliseconds

123