Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 54) sorted by relevance

123

/titanic_44/usr/src/lib/libast/common/string/
H A Dfmtfs.c66 static Dt_t* dict; in fmtfs() local
69 if (!dict) in fmtfs()
73 dict = dtopen(&disc, Dthash); in fmtfs()
75 else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) in fmtfs()
84 if (!dict || !(ip = newof(0, Id_t, 1, strlen(s)))) in fmtfs()
96 dtinsert(dict, ip); in fmtfs()
H A Dfmtgid.c67 static Dt_t* dict; in fmtgid() local
70 if (!dict) in fmtgid()
74 dict = dtopen(&disc, Dthash); in fmtgid()
76 else if (ip = (Id_t*)dtmatch(dict, &gid)) in fmtgid()
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) in fmtgid()
97 dtinsert(dict, ip); in fmtgid()
H A Dfmtuid.c67 static Dt_t* dict; in fmtuid() local
70 if (!dict) in fmtuid()
74 dict = dtopen(&disc, Dthash); in fmtuid()
76 else if (ip = (Id_t*)dtmatch(dict, &uid)) in fmtuid()
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) in fmtuid()
97 dtinsert(dict, ip); in fmtuid()
H A Dstruid.c72 static Dt_t* dict; in struid() local
75 if (!dict) in struid()
78 dict = dtopen(&disc, Dthash); in struid()
80 else if (ip = (Id_t*)dtmatch(dict, name)) in struid()
102 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) in struid()
106 dtinsert(dict, ip); in struid()
H A Dstrgid.c78 static Dt_t* dict; in strgid() local
81 if (!dict) in strgid()
84 dict = dtopen(&disc, Dthash); in strgid()
86 else if (ip = (Id_t*)dtmatch(dict, name)) in strgid()
114 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) in strgid()
118 dtinsert(dict, ip); in strgid()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c123 } dict[1]; member
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[dictp2->cptr].codem1 = BADCODEM1;
[all …]
/titanic_44/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c289 PyObject *dict = NULL; in beList() local
311 if ((dict = PyDict_New()) == NULL) { in beList()
316 if (!convertBEInfoToDictionary(be, &dict)) { in beList()
318 Py_DECREF(dict); in beList()
323 if (PyList_Append(listOfDicts, dict) != 0) { in beList()
325 Py_DECREF(dict); in beList()
331 Py_DECREF(dict); in beList()
334 if ((dict = PyDict_New()) == NULL) { in beList()
339 if (!convertDatasetInfoToDictionary(ds, &dict)) { in beList()
341 Py_DECREF(dict); in beList()
[all …]
/titanic_44/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c993 nvlist_t *nvl, const char *dict, const char *code, fmd_msg_item_t item) in fmd_msg_getitem_locked() argument
1014 if ((url = dgettext(dict, FMD_MSG_URLKEY)) == FMD_MSG_URLKEY) in fmd_msg_getitem_locked()
1032 txt = dgettext(dict, key); in fmd_msg_getitem_locked()
1263 nvlist_t *nvl, const char *dict, const char *code) in fmd_msg_gettext_locked() argument
1286 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i); in fmd_msg_gettext_locked()
1295 if ((format = dgettext(dict, FMD_MSG_TEMPLATE)) == FMD_MSG_TEMPLATE) in fmd_msg_gettext_locked()
1371 char *dict, *key, *p, *s; in fmd_msg_getitem() local
1383 dict = strndupa(code, p - code); in fmd_msg_getitem()
1392 p = bindtextdomain(dict, NULL); in fmd_msg_getitem()
1394 (void) bindtextdomain(dict, h->fmh_binding); in fmd_msg_getitem()
[all …]
/titanic_44/usr/src/cmd/fm/dicts/
H A DMakefile63 DCFILES = $(DCNAMES:%=%.dict)
67 ROOTDCDIR = $(ROOTLIB)/fm/dict
70 ROOTDCFILES = $(DCNAMES:%=$(ROOTDCDIR)/%.dict)
108 $(DICTCK) $(DICTCKFLAGS) $$name.dict $$name.po;\
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c139 } dict[1]; member
412 ilen = newlen = sizeof (*db) + (hsize-1) * sizeof (db->dict[0]); in bsd_alloc()
420 bzero(db, sizeof (*db) - sizeof (db->dict)); in bsd_alloc()
503 db->dict[--i].codem1 = BADCODEM1; in bsd_init()
504 db->dict[i].cptr = 0; in bsd_init()
736 dictp = &db->dict[hval]; in bsd_compress()
775 dictp = &db->dict[hval]; in bsd_compress()
812 dictp2 = &db->dict[max_ent+1]; in bsd_compress()
814 if (db->dict[dictp2->cptr].codem1 == max_ent) { in bsd_compress()
815 db->dict[dictp2->cptr].codem1 = BADCODEM1; in bsd_compress()
[all …]
/titanic_44/usr/src/lib/pyzfs/common/
H A Dallow.py56 self.sets = dict()
57 self.local = dict()
58 self.descend = dict()
59 self.ld = dict()
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(
226 perms_other = dict(
329 p = dict()
H A Dioctl.c314 PyObject *dict, *file; in py_set_fsacl() local
319 &PyDict_Type, &dict)) in py_set_fsacl()
322 nvl = dict2nvl(dict); in py_set_fsacl()
374 PyObject *dict, *file; in py_userspace_many() local
388 dict = PyDict_New(); in py_userspace_many()
411 PyDict_SetItem(dict, pykey, pyval); in py_userspace_many()
423 Py_DECREF(dict); in py_userspace_many()
428 return (dict); in py_userspace_many()
H A Dtable.py35 self.maxfieldlen = dict.fromkeys(fields, 0)
53 d = dict([(f, f.upper()) for f in self.fields])
/titanic_44/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_dictionary.cc202 delete_dictionary(db_dict_desc *dict) in delete_dictionary() argument
206 if (dict) { in delete_dictionary()
207 if (dict->tables.tables_val) { in delete_dictionary()
209 for (i = 0; i < dict->tables.tables_len; i++) in delete_dictionary()
210 bucket = dict->tables.tables_val[i]; in delete_dictionary()
214 delete dict->tables.tables_val; in delete_dictionary()
217 delete dict; in delete_dictionary()
621 INITRW(dict); in db_dictionary()
622 READLOCKOK(dict); in db_dictionary()
1195 db_dictionary *dict = (db_dictionary*) dictchar; in apply_log_entry() local
[all …]
H A Ddb_dictlog.cc146 char* dict, bool_t clean) in execute_on_log() argument
161 if ((*func)(j, dict, &count) == FALSE) done = TRUE; in execute_on_log()
/titanic_44/usr/src/cmd/look/
H A Dlook.c25 int dict; variable
47 dict++; in main()
71 dict++; in main()
189 if(dict) { in canon()
/titanic_44/usr/src/pkg/manifests/
H A Ddriver-crypto-dca.mf38 dir path=usr/lib/fm/dict
57 file path=usr/lib/fm/dict/SCA1000.dict mode=0444
58 file path=usr/lib/fm/dict/SCA500.dict mode=0444
H A Dservice-fault-management.mf91 dir path=usr/lib/fm/dict variant.opensolaris.zone=__NODEFAULT
358 $(i386_ONLY)file path=usr/lib/fm/dict/AMD.dict mode=0444 \
360 file path=usr/lib/fm/dict/DISK.dict mode=0444 \
362 file path=usr/lib/fm/dict/FMD.dict mode=0444 \
364 file path=usr/lib/fm/dict/FMNOTIFY.dict mode=0444 \
366 $(i386_ONLY)file path=usr/lib/fm/dict/GMCA.dict mode=0444 \
368 $(i386_ONLY)file path=usr/lib/fm/dict/INTEL.dict mode=0444 \
370 file path=usr/lib/fm/dict/NXGE.dict mode=0444 \
372 file path=usr/lib/fm/dict/PCI.dict mode=0444 \
374 file path=usr/lib/fm/dict/PCIEX.dict mode=0444 \
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c74 rctl_dict_entry_t dict; in rctl() local
98 if (mdb_vread(&dict, sizeof (rctl_dict_entry_t), in rctl()
105 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl()
124 rctl_dict_entry_t dict; in rctl_dict() local
140 if (mdb_vread(&dict, sizeof (dict), addr) == -1) { in rctl_dict()
144 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl_dict()
149 switch (dict.rcd_entity) { in rctl_dict()
167 mdb_printf("%2d %-27s %0?p %7s 0x%08x", dict.rcd_id, name, addr, in rctl_dict()
168 type, dict.rcd_flagaction); in rctl_dict()
/titanic_44/usr/src/lib/libdll/common/
H A Ddllscan.c36 Dt_t* dict; \
345 if (scan->dict) in dllsclose()
346 dtclose(scan->dict); in dllsclose()
480 if (!scan->dict) in dllsread()
485 if (!(scan->dict = dtopen(&scan->disc, Dthash))) in dllsread()
487 dtinsert(scan->dict, scan->uniq); in dllsread()
489 if (dtmatch(scan->dict, b)) in dllsread()
494 dtinsert(scan->dict, u); in dllsread()
/titanic_44/usr/src/lib/pam_modules/authtok_check/
H A Ddict.c127 PWDICT *dict; in database_present() local
142 if ((dict = PWOpen(path, "r")) == NULL) { in database_present()
147 (void) PWClose(dict); in database_present()
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c31 int nv_compare(Dt_t* dict, Void_t *sp, Void_t *dp, Dtdisc_t *disc) in nv_compare() argument
1211 Dt_t *dict; member
1220 return((Namval_t*)dtfirst(tp->dict)); in next_table()
1227 return(nv_create(name, tp->dict, flags, fp)); in create_table()
1234 Dt_t *oroot=tp->dict,*nroot=dtopen(&_Nvdisc,Dtoset); in clone_table()
1238 ntp->dict = nroot; in clone_table()
1250 register Dt_t *root = ((struct table*)fp)->dict; in put_table()
1275 register Dt_t *root = ((struct table*)fp)->dict; in get_table()
1325 return(tp->dict); in nv_dict()
1330 return(tp->dict); in nv_dict()
[all …]
/titanic_44/usr/src/ucbcmd/
H A DMakefile89 DICTLINK = $(ROOTUSR)/dict
146 $(DICTLINK) := LINKDEST= share/lib/dict
/titanic_44/usr/src/lib/libast/common/misc/
H A Dmimelib.h42 Dtdisc_t dict; /* cdt discipline */ \

123