Lines Matching refs:Dhp
61 static fm_dc_handle_t *Dhp; variable
122 if ((Dhp = fm_dc_opendict(FM_DC_VERSION, dirpath, dictname)) == NULL) in do_open()
135 if (Dhp) { in do_close()
136 fm_dc_closedict(Dhp); in do_close()
137 Dhp = NULL; in do_close()
154 if (Dhp == NULL) { in do_codelen()
159 retcodelen = fm_dc_codelen(Dhp); in do_codelen()
178 if (Dhp == NULL) { in do_maxkey()
183 retmaxkey = fm_dc_maxkey(Dhp); in do_maxkey()
224 if (Dhp == NULL) { in do_key2code()
229 if (fm_dc_key2code(Dhp, key, code, MAXCODE) < 0) in do_key2code()
263 if (Dhp == NULL) { in do_code2key()
268 if (fm_dc_code2key(Dhp, argv[2], key, fm_dc_maxkey(Dhp)) < 0) in do_code2key()
311 if (Dhp == NULL) { in do_getprop()
316 if ((val = fm_dc_getprop(Dhp, argv[2])) == NULL) in do_getprop()
395 if (Dhp) { in testdict()
396 fm_dc_closedict(Dhp); in testdict()
397 Dhp = NULL; in testdict()