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

12

/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_lzma2.c270 struct dictionary dict; member in struct:xz_dec_lzma2
283 static void dict_reset(struct dictionary *dict, struct xz_buf *b) argument
285 if (dict->allocated == 0) {
286 dict->buf = b->out + b->out_pos;
287 dict->end = b->out_size - b->out_pos;
289 dict->start = 0;
290 dict->pos = 0;
291 dict->limit = 0;
292 dict->full = 0;
296 static void dict_limit(struct dictionary *dict, size_ argument
305 dict_has_space(const struct dictionary *dict) argument
316 dict_get( const struct dictionary *dict, uint32_t dist) argument
330 dict_put(struct dictionary *dict, uint8_t byte) argument
343 dict_repeat( struct dictionary *dict, uint32_t *len, uint32_t dist) argument
372 dict_uncompressed( struct dictionary *dict, struct xz_buf *b, uint32_t *left) argument
415 dict_flush(struct dictionary *dict, struct xz_buf *b) argument
[all...]
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtfs.c66 static Dt_t* dict; local
69 if (!dict)
73 dict = dtopen(&disc, Dthash);
75 else if (ip = (Id_t*)dtmatch(dict, &st->st_dev))
84 if (!dict || !(ip = newof(0, Id_t, 1, strlen(s))))
96 dtinsert(dict, ip);
H A Dfmtgid.c67 static Dt_t* dict; local
70 if (!dict)
74 dict = dtopen(&disc, Dthash);
76 else if (ip = (Id_t*)dtmatch(dict, &gid))
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
97 dtinsert(dict, ip);
H A Dfmtuid.c67 static Dt_t* dict; local
70 if (!dict)
74 dict = dtopen(&disc, Dthash);
76 else if (ip = (Id_t*)dtmatch(dict, &uid))
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
97 dtinsert(dict, ip);
H A Dstruid.c72 static Dt_t* dict; local
75 if (!dict)
78 dict = dtopen(&disc, Dthash);
80 else if (ip = (Id_t*)dtmatch(dict, name))
102 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
106 dtinsert(dict, ip);
H A Dstrgid.c78 static Dt_t* dict; local
81 if (!dict)
84 dict = dtopen(&disc, Dthash);
86 else if (ip = (Id_t*)dtmatch(dict, name))
114 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
118 dtinsert(dict, ip);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Search/
H A DDict.pm18 look *FILEHANDLE, $key, $dict, $fold;
31 If I<$dict> is true, search by dictionary order (ignore anything but word
37 reference, the keys of that hash can have values C<dict>, C<fold>, and
51 my($fh,$key,$dict,$fold) = @_;
53 if (@_ == 3 && ref $dict eq 'HASH') {
54 my $params = $dict;
55 $dict = 0;
56 $dict = $params->{dict} if exists $params->{dict};
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dlook.pl1 ;# Usage: &look(*FILEHANDLE,$key,$dict,$fold)
13 local(*FH,$key,$dict,$fold) = @_;
18 $key =~ s/[^\w\s]//g if $dict;
27 s/[^\w\s]//g if $dict;
41 s/[^\w\s]//g if $dict;
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A DMakefile.com33 dict.o fascist.o packer.o packlib.o rules.o stringlib.o
H A Ddict.c127 PWDICT *dict; local
142 if ((dict = PWOpen(path, "r")) == NULL) {
147 (void) PWClose(dict);
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmimelib.h42 Dtdisc_t dict; /* cdt discipline */ \
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_dictionary_c.x126 % STRUCTRWLOCK(dict);
256 % return(WLOCK(dict));
260 % return (WULOCK(dict));
264 % return (RLOCK(dict));
268 % return (RULOCK(dict));
H A Ddb_dictlog.cc146 char* dict, bool_t clean)
161 if ((*func)(j, dict, &count) == FALSE) done = TRUE;
144 execute_on_log(bool_t (func) db_dictlog_entry *, char *, int *), char* dict, bool_t clean) argument
H A Ddb_dictionary.cc199 delete_dictionary(db_dict_desc *dict) argument
203 if (dict) {
204 if (dict->tables.tables_val) {
206 for (i = 0; i < dict->tables.tables_len; i++)
207 bucket = dict->tables.tables_val[i];
211 delete dict->tables.tables_val;
214 delete dict;
618 INITRW(dict);
619 READLOCKOK(dict);
700 * names in the data.dict (se
1192 db_dictionary *dict = (db_dictionary*) dictchar; local
[all...]
/osnet-11/usr/src/lib/libpool/
H A DMakefile.com35 dict.o
/osnet-11/usr/src/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.py45 """Create a FSPerms based on the dict of raw permissions
54 self.sets = dict()
55 self.local = dict()
56 self.descend = dict()
57 self.ld = dict()
133 """Return a dict of raw perms {"whostr" -> {"perm" -> None}}
139 setperms = dict(((p, None) for p in perms if p[0] == "@"))
140 baseperms = dict(((canonicalized_perm(p), None)
146 d = dict()
202 perms_subcmd = dict(
[all...]
H A Dioctl.c316 PyObject *dict, *file; local
321 &PyDict_Type, &dict))
324 nvl = dict2nvl(dict);
376 PyObject *dict, *file; local
390 dict = PyDict_New();
413 PyDict_SetItem(dict, pykey, pyval);
425 Py_DECREF(dict);
430 return (dict);
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c123 } dict[1]; member in struct:bsd_db
329 newlen = sizeof(*db) + (hsize-1) * (sizeof(db->dict[0]));
333 memset(db, 0, sizeof(*db) - sizeof(db->dict));
398 db->dict[--i].codem1 = BADCODEM1;
399 db->dict[i].cptr = 0;
466 dictp = &db->dict[hval];
482 dictp = &db->dict[hval];
502 dictp2 = &db->dict[max_ent+1];
503 if (db->dict[dictp2->cptr].codem1 == max_ent)
504 db->dict[dictp
[all...]
/osnet-11/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c47 * fmd_msg_gettext_key - format the entire message for the given dict for the
993 nvlist_t *nvl, const char *dict, const char *code, fmd_msg_item_t item)
1024 * If <dict>.mo defines an item with the key <FMD_MSG_URLKEY> then it
1028 if ((url = dgettext(dict, FMD_MSG_URLKEY)) == FMD_MSG_URLKEY)
1036 * derived by looking up the key <code>.<istr> in the dict object.
1050 txt = dgettext(dict, key);
1301 nvlist_t *nvl, const char *dict, const char *code)
1324 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i);
1330 * If <dict>.mo defines an item with the key <FMD_MSG_TEMPLATE> then it
1333 if ((format = dgettext(dict, FMD_MSG_TEMPLAT
992 fmd_msg_getitem_locked(fmd_msg_hdl_t *h, nvlist_t *nvl, const char *dict, const char *code, fmd_msg_item_t item) argument
1300 fmd_msg_gettext_locked(fmd_msg_hdl_t *h, nvlist_t *nvl, const char *dict, const char *code) argument
1409 char *dict, *key, *p, *s, *altcode; local
1541 fmd_msg_gettext_key(fmd_msg_hdl_t *h, const char *locale, const char *dict, const char *key) argument
1609 char *dict, *key, *p, *s, *altcode; local
[all...]
/osnet-11/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c289 PyObject *dict = NULL; local
311 if ((dict = PyDict_New()) == NULL) {
316 if (!convertBEInfoToDictionary(be, &dict)) {
318 Py_DECREF(dict);
323 if (PyList_Append(listOfDicts, dict) != 0) {
325 Py_DECREF(dict);
331 Py_DECREF(dict);
334 if ((dict = PyDict_New()) == NULL) {
339 if (!convertDatasetInfoToDictionary(ds, &dict)) {
341 Py_DECREF(dict);
[all...]
/osnet-11/usr/src/lib/rad/pykstat/common/
H A Drad.py41 return dict([(x.name, x.value) for x in ss])
/osnet-11/usr/src/lib/libdll/common/
H A Ddllscan.c36 Dt_t* dict; \
365 if (scan->dict)
366 dtclose(scan->dict);
500 if (!scan->dict)
505 if (!(scan->dict = dtopen(&scan->disc, Dthash)))
507 dtinsert(scan->dict, scan->uniq);
509 if (dtmatch(scan->dict, b))
514 dtinsert(scan->dict, u);
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c181 Namval_t *nv_open_fmt(Dt_t *dict, int flags, const char *namefmt, ...) argument
190 return nv_open(varnamebuff, dict, flags);
/osnet-11/usr/src/grub/grub2/grub-core/lib/minilzo/
H A Dlzoconf.h283 const lzo_bytep dict, lzo_uint dict_len );
289 const lzo_bytep dict, lzo_uint dict_len );

Completed in 66 milliseconds

12