/titanic_51/usr/src/lib/libast/common/string/ |
H A D | fmtfs.c | 66 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 D | fmtgid.c | 67 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 D | fmtuid.c | 67 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 D | struid.c | 72 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 D | strgid.c | 78 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_51/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()
|
/titanic_51/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[dictp [all...] |
/titanic_51/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 297 PyObject *dict = NULL; local 326 if ((dict = PyDict_New()) == NULL) { 331 if (!convertBEInfoToDictionary(be, &dict)) { 333 Py_DECREF(dict); 338 if (PyList_Append(listOfDicts, dict) != 0) { 340 Py_DECREF(dict); 346 Py_DECREF(dict); 349 if ((dict = PyDict_New()) == NULL) { 354 if (!convertDatasetInfoToDictionary(ds, &dict)) { 356 Py_DECREF(dict); [all...] |
/titanic_51/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 47 * 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) in fmd_msg_getitem_locked() argument 1010 * If <dict>.mo defines an item with the key <FMD_MSG_URLKEY> then it in fmd_msg_getitem_locked() 1014 if ((url = dgettext(dict, FMD_MSG_URLKEY)) == FMD_MSG_URLKEY) in fmd_msg_getitem_locked() 1020 * is derived by looking up the key <code>.<istr> in the dict object. 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() 1292 * If <dict>.mo defines an item with the key <FMD_MSG_TEMPLATE> then it in fmd_msg_gettext_locked() 1295 if ((format = dgettext(dict, FMD_MSG_TEMPLAT in fmd_msg_gettext_locked() 1371 char *dict, *key, *p, *s; fmd_msg_getitem() local 1482 fmd_msg_gettext_key(fmd_msg_hdl_t * h,const char * locale,const char * dict,const char * key) fmd_msg_gettext_key() argument 1546 char *dict, *key, *p, *s; fmd_msg_gettext() local [all...] |
/titanic_51/usr/src/cmd/fm/dicts/ |
H A D | Makefile | 63 DCFILES = $(DCNAMES:%=%.dict) 67 ROOTDCDIR = $(ROOTLIB)/fm/dict 70 ROOTDCFILES = $(DCNAMES:%=$(ROOTDCDIR)/%.dict) 108 $(DICTCK) $(DICTCKFLAGS) $$name.dict $$name.po;\
|
/titanic_51/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 139 } 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[dictp in bsd_compress() [all...] |
/titanic_51/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 48 """Create a FSPerms based on the dict of raw permissions 57 self.sets = dict() 58 self.local = dict() 59 self.descend = dict() 60 self.ld = dict() 136 """Return a dict of raw perms {"whostr" -> {"perm" -> None}} 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( [all...] |
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) 43 """values is a dict from field name to value""" 56 d = dict([(f, f.upper()) for f in self.fields])
|
/titanic_51/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));
|
/titanic_51/usr/src/cmd/look/ |
H A D | look.c | 22 char *filenam = "/usr/share/lib/dict/words"; 25 int dict; variable 47 dict++; in main() 71 dict++; in main() 189 if(dict) { in canon()
|
/titanic_51/usr/src/pkg/manifests/ |
H A D | driver-crypto-dca.mf | 38 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
|
/titanic_51/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 74 rctl_dict_entry_t dict; in rctl() local 98 if (mdb_vread(&dict, sizeof (rctl_dict_entry_t), in rctl() 100 mdb_warn("failed to read dict entry for rctl_t %p at %p", 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 in rctl_dict() [all...] |
/titanic_51/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 36 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_51/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()
|
/titanic_51/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()
|