/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtfs.c | 66 static Dt_t* dict; in fmtfs() local 69 if (!dict) in fmtfs() 73 dict = dtopen(&disc, Dtset); 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 D | fmtgid.c | 67 static Dt_t* dict; in fmtgid() local 70 if (!dict) in fmtgid() 74 dict = dtopen(&disc, Dtset); 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 D | fmtuid.c | 67 static Dt_t* dict; in fmtuid() local 70 if (!dict) in fmtuid() 74 dict = dtopen(&disc, Dtset); 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 D | struid.c | 72 static Dt_t* dict; in struid() local 75 if (!dict) in struid() 78 dict = dtopen(&disc, Dtset); 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 D | strgid.c | 78 static Dt_t* dict; in strgid() local 81 if (!dict) in strgid() 84 dict = dtopen(&disc, Dtset); 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 123 } 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 …]
|
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 294 PyObject *dict = NULL; local 323 if ((dict = PyDict_New()) == NULL) { 328 if (!convertBEInfoToDictionary(be, &dict)) { 330 Py_DECREF(dict); 335 if (PyList_Append(listOfDicts, dict) != 0) { 337 Py_DECREF(dict); 343 Py_DECREF(dict); 346 if ((dict = PyDict_New()) == NULL) { 351 if (!convertDatasetInfoToDictionary(ds, &dict)) { 353 Py_DECREF(dict); [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 993 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 …]
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 137 } dict[1]; member 410 ilen = newlen = sizeof (*db) + (hsize-1) * sizeof (db->dict[0]); in bsd_alloc() 418 bzero(db, sizeof (*db) - sizeof (db->dict)); in bsd_alloc() 501 db->dict[--i].codem1 = BADCODEM1; in bsd_init() 502 db->dict[i].cptr = 0; in bsd_init() 734 dictp = &db->dict[hval]; in bsd_compress() 773 dictp = &db->dict[hval]; in bsd_compress() 810 dictp2 = &db->dict[max_ent+1]; in bsd_compress() 812 if (db->dict[dictp2->cptr].codem1 == max_ent) { in bsd_compress() 813 db->dict[dictp2->cptr].codem1 = BADCODEM1; in bsd_compress() [all …]
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 57 self.sets = dict() 58 self.local = dict() 59 self.descend = dict() 60 self.ld = dict() 142 setperms = dict(((p, None) for p in perms if p[0] == "@")) 143 baseperms = dict(((canonicalized_perm(p), None) 149 d = dict() 205 perms_subcmd = dict( 227 perms_other = dict( 330 p = dict()
|
H A D | ioctl.c | 329 PyObject *dict, *file; in py_set_fsacl() local 334 &PyDict_Type, &dict)) in py_set_fsacl() 337 nvl = dict2nvl(dict); in py_set_fsacl() 389 PyObject *dict, *file; in py_userspace_many() local 403 dict = PyDict_New(); in py_userspace_many() 426 PyDict_SetItem(dict, pykey, pyval); in py_userspace_many() 438 Py_DECREF(dict); in py_userspace_many() 443 return (dict); in py_userspace_many()
|
H A D | table.py | 36 self.maxfieldlen = dict.fromkeys(fields, 0) 56 d = dict([(f, f.upper()) for f in self.fields])
|
/illumos-gate/usr/src/cmd/fm/dicts/ |
H A D | Makefile | 54 DCFILES = $(DCNAMES:%=%.dict) 58 ROOTDCDIR = $(ROOTLIB)/fm/dict 61 ROOTDCFILES = $(DCNAMES:%=$(ROOTDCDIR)/%.dict) 98 $(DICTCK) $(DICTCKFLAGS) $$name.dict $$name.po;\
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_dictionary_c.x | 129 % STRUCTRWLOCK(dict); 259 % return(WLOCK(dict)); 263 % return (WULOCK(dict)); 267 % return (RLOCK(dict)); 271 % return (RULOCK(dict));
|
H A D | db_dictionary.cc | 204 delete_dictionary(db_dict_desc *dict) in delete_dictionary() argument 208 if (dict) { in delete_dictionary() 209 if (dict->tables.tables_val) { in delete_dictionary() 211 for (i = 0; i < dict->tables.tables_len; i++) { in delete_dictionary() 212 bucket = dict->tables.tables_val[i]; in delete_dictionary() 217 delete dict->tables.tables_val; in delete_dictionary() 220 delete dict; in delete_dictionary() 622 INITRW(dict); in db_dictionary() 623 READLOCKOK(dict); in db_dictionary() 1196 db_dictionary *dict = (db_dictionary*) dictchar; in apply_log_entry() local [all …]
|
H A D | db_dictlog.cc | 144 char* dict, bool_t clean) in execute_on_log() argument 159 if ((*func)(j, dict, &count) == FALSE) done = TRUE; in execute_on_log()
|
/illumos-gate/usr/src/cmd/look/ |
H A D | look.c | 23 int dict; variable 45 dict++; in main() 69 dict++; in main() 187 if(dict) { in canon()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 73 rctl_dict_entry_t dict; in rctl() local 94 if (mdb_vread(&dict, sizeof (rctl_dict_entry_t), in rctl() 101 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl() 120 rctl_dict_entry_t dict; in rctl_dict() local 136 if (mdb_vread(&dict, sizeof (dict), addr) == -1) { in rctl_dict() 140 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl_dict() 145 switch (dict.rcd_entity) { in rctl_dict() 163 mdb_printf("%2d %-27s %0?p %7s 0x%08x", dict.rcd_id, name, addr, in rctl_dict() 164 type, dict.rcd_flagaction); in rctl_dict()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | driver-crypto-dca.p5m | 40 dir path=usr/lib/fm/dict 41 file path=usr/lib/fm/dict/SCA1000.dict mode=0444 42 file path=usr/lib/fm/dict/SCA500.dict mode=0444
|
H A D | service-fault-management.p5m | 207 dir path=usr/lib/fm/dict variant.opensolaris.zone=__NODEFAULT 212 $(i386_ONLY)file path=usr/lib/fm/dict/AMD.dict mode=0444 \ 214 file path=usr/lib/fm/dict/DISK.dict mode=0444 \ 216 file path=usr/lib/fm/dict/FMD.dict mode=0444 \ 218 file path=usr/lib/fm/dict/FMNOTIFY.dict mode=0444 \ 220 $(i386_ONLY)file path=usr/lib/fm/dict/GMCA.dict mode=0444 \ 222 $(i386_ONLY)file path=usr/lib/fm/dict/INTEL.dict mode=0444 \ 224 file path=usr/lib/fm/dict/NIC.dict mode=0444 \ 226 file path=usr/lib/fm/dict/NXGE.dict mode=0444 \ 228 file path=usr/lib/fm/dict/PCI.dict mode=0444 \ [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dllscan.c | 36 Dt_t* dict; \ 365 if (scan->dict) in dllsclose() 366 dtclose(scan->dict); in dllsclose() 500 if (!scan->dict) in dllsread() 505 if (!(scan->dict = dtopen(&scan->disc, Dtset))) in dllsread() 507 dtinsert(scan->dict, scan->uniq); in dllsread() 509 if (dtmatch(scan->dict, b)) in dllsread() 514 dtinsert(scan->dict, u); in dllsread()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 127 PWDICT *dict; in database_present() local 142 if ((dict = PWOpen(path, "r")) == NULL) { in database_present() 147 (void) PWClose(dict); in database_present()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/ |
H A D | t.pp2 | 47 2: 6567 dict 48 3: 6567 dict
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_forth.c | 267 ficlDictionary *dict; in bf_init() local 291 dict = ficlSystemGetDictionary(bf_sys); in bf_init() 293 ficlDictionaryAppendPrimitive(dict, (char *)(*cmdp)->c_name, in bf_init()
|
/illumos-gate/usr/src/ucbcmd/ |
H A D | Makefile | 84 DICTLINK = $(ROOTUSR)/dict 141 $(DICTLINK) := LINKDEST= share/lib/dict
|