Home
last modified time | relevance | path

Searched refs:dictname (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/fm/scripts/
H A Dbuildcode.pl92 my $dictname = shift;
100 $dictname = uc($dictname);
112 print " Dictname: \"$dictname\"\n" if $opt_v;
177 foreach $i (unpack('C*', $dictname)) {
234 return "$dictname-$x";
348 my $dictname = shift;
350 usage unless defined($dictname) && defined($dictval);
353 print "SUNW-MSG-ID: " . buildcode($dictname, $dictval) . "\n";
355 print buildcode($dictname, $dictval) . "\n";
H A Dbustcode.pl82 my $dictname;
95 $dictname = $1;
112 $dictname = uc($dictname);
120 print "After alphabet correction: \"$dictname-$xpart\"\n"
121 if $id ne "$dictname-$xpart";
123 print " Dictionary name: \"$dictname\"\n";
127 foreach $i (unpack('C*', $dictname)) {
239 return "$dictname $dictval";
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c111 do_open(const char *dirpath, const char *dictname, char *argv[], int argc) in do_open() argument
122 if ((Dhp = fm_dc_opendict(FM_DC_VERSION, dirpath, dictname)) == NULL) in do_open()
332 testdict(const char *dirpath, const char *dictname) in testdict() argument
338 (void) snprintf(fname, MAXLINE, "%s/%s.dict", dirpath, dictname); in testdict()
374 do_open(dirpath, dictname, argv, argc); in testdict()
376 do_close(dirpath, dictname, argv, argc); in testdict()
378 do_codelen(dirpath, dictname, argv, argc); in testdict()
380 do_maxkey(dirpath, dictname, argv, argc); in testdict()
382 do_key2code(dirpath, dictname, argv, argc); in testdict()
384 do_code2key(dirpath, dictname, argv, argc); in testdict()
[all …]
H A Ddiagcode.c49 const char *dictname; member
185 strlen(dictname) + sizeof (Suffix)); in fm_dc_opendict()
195 (dhp->dictname = strdup(dictname)) == NULL) { in fm_dc_opendict()
207 (void) strcat(fname, dictname); in fm_dc_opendict()
300 if (prop_version != 1UL || strcmp(prop_name, dictname) || in fm_dc_opendict()
330 free((void *) dhp->dictname); in fm_dc_closedict()
350 size_t len = strlen(dhp->dictname); in fm_dc_codelen()
722 for (ptr = dhp->dictname; *ptr; ptr++) { in buildcode()
832 int len = strlen(dhp->dictname); in code2dictval()
843 if (strncasecmp(code, dhp->dictname, len) || in code2dictval()
[all …]
H A Ddiagcode.h48 const char *dictname);
/illumos-gate/usr/src/lib/fm/libdiagcode/common/tests/
H A DBADNAME.dict27 # this sample dictionary tests the error path where the dictname used
H A DNONAME.dict27 # this sample dictionary tests the error path where the dictname used
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc749 db_dictionary::inittemp(char *dictname, db_dictionary& curdict) in inittemp() argument
763 pickle_dict_desc f(dictname, PICKLE_READ); in inittemp()
764 filename = strdup(dictname); in inittemp()