Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtfs.c66 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 Dfmtgid.c67 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 Dfmtuid.c67 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 Dstruid.c72 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 Dstrgid.c78 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 Dbsd-comp.c123 } dict[1]; member
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];
504 db->dict[dictp2->cptr].codem1 = BADCODEM1;
653 dictp = &db->dict[db->dict[finchar].cptr];
698 dictp = &db->dict[hval];
707 dictp = &db->dict[hval];
[all …]
/illumos-gate/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c294 PyObject *dict = NULL; local
330 Py_DECREF(dict);
337 Py_DECREF(dict);
343 Py_DECREF(dict);
353 Py_DECREF(dict);
360 Py_DECREF(dict);
368 Py_DECREF(dict);
375 Py_DECREF(dict);
382 Py_DECREF(dict);
389 Py_DECREF(dict);
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c1032 txt = dgettext(dict, key); in fmd_msg_getitem_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()
1421 if (dgettext(dict, key) == key && in fmd_msg_getitem()
1427 if (dgettext(dict, key) == key) { in fmd_msg_getitem()
1493 p = bindtextdomain(dict, NULL); in fmd_msg_gettext_key()
1546 char *dict, *key, *p, *s; in fmd_msg_gettext() local
1558 dict = strndupa(code, p - code); in fmd_msg_gettext()
1567 p = bindtextdomain(dict, NULL); in fmd_msg_gettext()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c137 } dict[1]; member
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()
969 dictp = &db->dict[hval]; in bsd_incomp()
1002 dictp = &db->dict[hval]; in bsd_incomp()
1354 dictp = &db->dict[db->dict[finchar].cptr]; in bsd_decompress()
1398 dictp = &db->dict[hval]; in bsd_decompress()
1424 dictp = &db->dict[hval]; in bsd_decompress()
[all …]
/illumos-gate/usr/src/cmd/fm/dicts/
H A DMakefile54 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/pyzfs/common/
H A Dallow.py57 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 Dioctl.c329 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 Dtable.py36 self.maxfieldlen = dict.fromkeys(fields, 0)
56 d = dict([(f, f.upper()) for f in self.fields])
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary_c.x129 % STRUCTRWLOCK(dict);
259 % return(WLOCK(dict));
263 % return (WULOCK(dict));
267 % return (RLOCK(dict));
271 % return (RULOCK(dict));
H A Ddb_dictionary.cc204 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()
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()
1206 dict->add_table_aux(j->get_table_name(), in apply_log_entry()
2435 ASSERTWHELD(this->dict); in setNoWriteThrough()
[all …]
H A Ddb_dictlog.cc144 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 Dlook.c23 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 Drctl.c72 rctl_dict_entry_t dict; in rctl() local
96 if (mdb_vread(&dict, sizeof (rctl_dict_entry_t), in rctl()
103 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl()
122 rctl_dict_entry_t dict; in rctl_dict() local
138 if (mdb_vread(&dict, sizeof (dict), addr) == -1) { in rctl_dict()
142 if (mdb_readstr(name, 256, (uintptr_t)(dict.rcd_name)) == -1) { in rctl_dict()
147 switch (dict.rcd_entity) { in rctl_dict()
165 mdb_printf("%2d %-27s %0?p %7s 0x%08x", dict.rcd_id, name, addr, in rctl_dict()
166 type, dict.rcd_flagaction); in rctl_dict()
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-crypto-dca.p5m40 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 Dservice-fault-management.p5m214 file path=usr/lib/fm/dict/DISK.dict mode=0444 \
216 file path=usr/lib/fm/dict/FMD.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 \
230 file path=usr/lib/fm/dict/PCIEX.dict mode=0444 \
232 file path=usr/lib/fm/dict/SENSOR.dict mode=0444 \
234 file path=usr/lib/fm/dict/SMF.dict mode=0444 \
236 file path=usr/lib/fm/dict/STORAGE.dict mode=0444 \
238 file path=usr/lib/fm/dict/SUNOS.dict mode=0444 \
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c36 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 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()
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.pp247 2: 6567 dict
48 3: 6567 dict
/illumos-gate/usr/src/boot/common/
H A Dinterp_forth.c267 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 DMakefile84 DICTLINK = $(ROOTUSR)/dict
141 $(DICTLINK) := LINKDEST= share/lib/dict

123456