/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtfs.c | 66 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 D | fmtgid.c | 67 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 D | fmtuid.c | 67 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 D | strgid.c | 78 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);
|
H A D | struid.c | 72 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);
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_dictlog.cc | 146 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 D | db_dictionary.cc | 199 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/libshell/common/bltins/ |
H A D | poll_solaris.c | 181 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/lib/pam_modules/authtok_check/ |
H A D | dict.c | 127 PWDICT *dict; local 142 if ((dict = PWOpen(path, "r")) == NULL) { 147 (void) PWClose(dict);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | translate.c | 71 Dtdisc_t message_disc; /* message dict discipline */ 72 Dtdisc_t catalog_disc; /* catalog dict discipline */ 101 * add msg to dict 105 entry(Dt_t* dict, int set, int seq, const char* msg) argument 114 if (!dtinsert(dict, mp))
|
H A D | magic.c | 181 Dtdisc_t dtdisc; /* dict discipline */ \ 182 Dt_t* idtab; /* identifier dict */ \ 183 Dt_t* infotab; /* info keyword dict */ 187 static Info_t dict[] = /* keyword dictionary */ variable 1186 for (q = 0; q < elementsof(dict); q++) 1187 dtinsert(mp->idtab, &dict[q]);
|
H A D | optget.c | 819 static Dt_t* dict; local 821 if (!dict) 826 if (!(dict = dtopen(d, Dthash))) 839 if (!(p = (Save_t*)dtmatch(dict, buf))) 844 dtinsert(dict, p);
|
/osnet-11/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 316 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/lib/libshell/common/sh/ |
H A D | subshell.c | 54 Dt_t *dict; member in struct:Link 286 lp->dict = dp; 287 mp = (Namval_t*)&lp->dict; 313 np = (Namval_t*)&lp->dict; 362 dtinsert(lp->dict,mp);
|
H A D | nvdisc.c | 37 int nv_compare(Dt_t* dict, Void_t *sp, Void_t *dp, Dtdisc_t *disc) argument 1235 Dt_t *dict; member in struct:table 1244 return((Namval_t*)dtfirst(tp->dict)); 1251 return(nv_create(name, tp->dict, flags, fp)); 1258 Dt_t *oroot=tp->dict,*nroot=dtopen(&_Nvdisc,Dtoset); 1262 ntp->dict = nroot; 1274 register Dt_t *root = ((struct table*)fp)->dict; 1300 register Dt_t *root = ((struct table*)fp)->dict; 1351 return(tp->dict); 1356 return(tp->dict); 1374 nv_mount(Namval_t *np, const char *name, Dt_t *dict) argument [all...] |
H A D | init.c | 1856 Dt_t *base_treep, *dict; local 1892 nv_mount(np,(const char*)0,dict=dtopen(&_Nvdisc,Dtoset)); 1899 treep = dict;
|
H A D | name.c | 2153 static int scanfilter(Dt_t *dict, void *arg, void *data) argument 2160 NOT_USED(dict);
|
/osnet-11/usr/src/lib/fm/libfmd_adm/common/ |
H A D | fmd_adm.c | 735 char *p, *urlcode, *dict, *olang; local 743 dict = alloca((size_t)(p - acp->aci_code) + 1); 744 (void) strncpy(dict, acp->aci_code, 746 dict[(size_t)(p - acp->aci_code)] = '\0'; 755 } else if ((url = dgettext(dict, url_token)) == url_token) { 763 if ((url = dgettext(dict, url_token)) == url_token)
|
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 472 nd_get_diagcode(nd_hdl_t *nhdl, const char *dict, const char *class, char *buf, argument 485 if ((dhp = fm_dc_opendict(FM_DC_VERSION, dirpath, dict)) == NULL) { 487 dirpath, dict); 536 * diagcode using the dict name and class.
|
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 123 } 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/pylibbe/common/ |
H A D | libbe_py.c | 289 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/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) 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/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_dec_lzma2.c | 270 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/grub/grub2/grub-core/lib/minilzo/ |
H A D | minilzo.c | 3019 # define GINDEX(m_pos,m_off,dict,dindex,in) m_pos = dict[dindex] 3022 # define GINDEX(m_pos,m_off,dict,dindex,in) m_off = dict[dindex] 3027 # define UPDATE_D(dict,drun,dv,p,in) dict[ DINDEX(dv,p) ] = DENTRY(p,in) 3028 # define UPDATE_I(dict,drun,index,p,in) dict[index] = DENTRY(p,in) 3033 # define UPDATE_D(dict,drun,dv,p,in) \ 3034 dict[ DINDE 3174 lzo_dict_p const dict = (lzo_dict_p) wrkmem; local [all...] |