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

12

/freebsd-9.3-release/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:lzma_coder_s
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[]
250 /// bits of dict->read_pos are not modified to keep this macro working
313 extern uint32_t lzma_mf_hc3_find(lzma_mf *dict, lzma_match *matches);
314 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount);
316 extern uint32_t lzma_mf_hc4_find(lzma_mf *dict, lzma_match *matches);
317 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount);
319 extern uint32_t lzma_mf_bt2_find(lzma_mf *dict, lzma_match *matches);
320 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount);
322 extern uint32_t lzma_mf_bt3_find(lzma_mf *dict, lzma_match *matches);
323 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_
[all...]
/freebsd-9.3-release/release/scripts/
H A Ddict-install.sh10 cat dict.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
H A Ddict-make.sh6 # Move the dict stuff out to its own dist
7 if [ -d ${RD}/trees/base/usr/share/dict ]; then
8 tar -cf - -C ${RD}/trees/base/usr/share/dict . |
9 tar -xpf - -C ${RD}/trees/dict/usr/share/dict &&
10 rm -rf ${RD}/trees/base/usr/share/dict;
16 ${RD}/trees/dict/usr/share/misc;
/freebsd-9.3-release/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...]
H A Dblock.h83 struct dictionary *dict; member in struct:block
119 #define BLOCK_DICT(bl) (bl)->dict
H A Dcp-support.c594 const struct dictionary *dict; local
606 dict = BLOCK_DICT (b);
608 for (sym = dict_iter_name_first (dict, func_name, &iter);
625 dict = BLOCK_DICT (b);
627 for (sym = dict_iter_name_first (dict, func_name, &iter);
642 dict = BLOCK_DICT (b);
644 for (sym = dict_iter_name_first (dict, func_name, &iter);
/freebsd-9.3-release/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-9.3-release/share/dict/
H A DMakefile8 FILESDIR= ${BINDIR}/dict
/freebsd-9.3-release/lib/libc/db/test/hash.tests/
H A Dmakedb.sh5 awk '{i++; print $0; print i;}' /usr/share/dict/words > WORDS
/freebsd-9.3-release/contrib/amd/fsinfo/
H A Dfsi_dict.c66 dict *
69 dict *dp = CALLOC(struct dict);
98 dict_locate(dict *dp, char *k)
109 dict_add(dict *dp, char *k, char *v)
124 dict_iter(dict *dp, int (*fn) (qelem *))
H A Dfsinfo.h64 extern dict *dict_of_hosts;
65 extern dict *dict_of_volnames;
66 extern dict *new_dict(void);
67 extern dict_ent *dict_locate(dict *, char *);
72 extern int dict_iter(dict *, int (*)(qelem *));
84 extern void dict_add(dict *, char *, char *);
H A Dfsi_data.h49 typedef struct dict dict; typedef in typeref:struct:dict
227 struct dict { struct
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/scripts/
H A Dxz_wrap.sh23 exec xz --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
/freebsd-9.3-release/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-9.3-release/gnu/usr.bin/groff/src/utils/indxbib/
H A DMakefile11 ${DIST_DIR}/eign ${DESTDIR}${SHAREDIR}/dict/
/freebsd-9.3-release/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])
H A Dallow.py47 """Create a FSPerms based on the dict of raw permissions
56 self.sets = dict()
57 self.local = dict()
58 self.descend = dict()
59 self.ld = dict()
135 """Return a dict of raw perms {"whostr" -> {"perm" -> None}}
141 setperms = dict(((p, None) for p in perms if p[0] == "@"))
142 baseperms = dict(((canonicalized_perm(p), None)
148 d = dict()
204 perms_subcmd = dict(
[all...]
/freebsd-9.3-release/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-9.3-release/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...]
/freebsd-9.3-release/tools/regression/usr.bin/lastcomm/
H A Dvalues.sh32 run egrep '(.)(.)(.)(.)(.)(.)(.)(.)(.)\9\8\7\6\5\4\3\2\1' /usr/share/dict/words
44 run diff /usr/share/dict/words /dev/null >/dev/null
/freebsd-9.3-release/contrib/xz/src/liblzma/lzma/
H A Dlzma_decoder.c302 lzma_dict dict = *dictptr;
304 const size_t dict_start = dict.pos;
330 uint32_t pos_state = dict.pos & pos_mask;
338 if (no_eopm && coder->uncompressed_size < dict.limit - dict.pos)
339 dict.limit = dict.pos + (size_t)(coder->uncompressed_size);
348 pos_state = dict.pos & pos_mask;
352 if (unlikely(no_eopm && dict.pos == dict
[all...]
/freebsd-9.3-release/sys/boot/ficl/
H A Ddict.c6 ** $Id: dict.c,v 1.14 2001/12/05 07:21:34 jsadler Exp $
139 return 1; /* dict is full */
170 return 1; /* dict is full */
297 return pDict->here - pDict->dict;
397 pDict->dict = ficlMalloc(nAlloc);
398 assert(pDict->dict);
446 pDict->here = pDict->dict;
548 return ((p >= (void *) &pDict->dict)
549 && (p < (void *)(&pDict->dict + pDict->size))
600 ** check the locals dict firs
[all...]

Completed in 415 milliseconds

12