| /illumos-gate/usr/src/common/ficl/ |
| H A D | dictionary.c | 58 #define FICL_SAFE_SYSTEM_FROM_DICTIONARY(dictionary) \ argument 59 (((dictionary) != NULL) ? (dictionary)->system : NULL) 60 #define FICL_DICTIONARY_ASSERT(dictionary, expression) \ argument 61 FICL_SYSTEM_ASSERT(FICL_SAFE_SYSTEM_FROM_DICTIONARY(dictionary), \ 75 ficlDictionaryAbortDefinition(ficlDictionary *dictionary) in ficlDictionaryAbortDefinition() argument 78 ficlDictionaryLock(dictionary, FICL_TRUE); in ficlDictionaryAbortDefinition() 79 word = dictionary->smudge; in ficlDictionaryAbortDefinition() 82 dictionary->here = (ficlCell *)word->name; in ficlDictionaryAbortDefinition() 84 ficlDictionaryLock(dictionary, FICL_FALSE); in ficlDictionaryAbortDefinition() 92 ficlDictionaryAlign(ficlDictionary *dictionary) in ficlDictionaryAlign() argument [all …]
|
| H A D | search.c | 58 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveDefinitions() local 60 FICL_VM_ASSERT(vm, dictionary); in ficlPrimitiveDefinitions() 61 if (dictionary->wordlistCount < 1) { in ficlPrimitiveDefinitions() 65 dictionary->compilationWordlist = in ficlPrimitiveDefinitions() 66 dictionary->wordlists[dictionary->wordlistCount-1]; in ficlPrimitiveDefinitions() 92 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveGetCurrent() local 93 ficlDictionaryLock(dictionary, FICL_TRUE); in ficlPrimitiveGetCurrent() 94 ficlStackPushPointer(vm->dataStack, dictionary->compilationWordlist); in ficlPrimitiveGetCurrent() 95 ficlDictionaryLock(dictionary, FICL_FALSE); in ficlPrimitiveGetCurrent() 109 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveGetOrder() local [all …]
|
| H A D | primitives.c | 70 markBranch(ficlDictionary *dictionary, ficlVm *vm, char *tag) in markBranch() argument 72 ficlStackPushPointer(vm->dataStack, dictionary->here); in markBranch() 107 resolveBackBranch(ficlDictionary *dictionary, ficlVm *vm, char *tag) in resolveBackBranch() argument 116 c.i = patchAddr - dictionary->here; in resolveBackBranch() 118 ficlDictionaryAppendCell(dictionary, c); in resolveBackBranch() 127 resolveForwardBranch(ficlDictionary *dictionary, ficlVm *vm, char *tag) in resolveForwardBranch() argument 137 offset = dictionary->here - patchAddr; in resolveForwardBranch() 147 resolveAbsBranch(ficlDictionary *dictionary, ficlVm *vm, char *wantTag) in resolveAbsBranch() argument 167 (*patchAddr).p = dictionary->here; in resolveAbsBranch() 180 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveColon() local [all …]
|
| H A D | float.c | 58 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveFConstant() local 63 (void) ficlDictionaryAppendWord(dictionary, name, in ficlPrimitiveFConstant() 65 ficlDictionaryAppendCell(dictionary, ficlStackPop(vm->floatStack)); in ficlPrimitiveFConstant() 70 ficlDictionaryAppendFConstant(ficlDictionary *dictionary, char *name, in ficlDictionaryAppendFConstant() argument 75 return (ficlDictionaryAppendConstantInstruction(dictionary, s, in ficlDictionaryAppendFConstant() 81 ficlDictionarySetFConstant(ficlDictionary *dictionary, char *name, in ficlDictionarySetFConstant() argument 86 return (ficlDictionarySetConstantInstruction(dictionary, s, in ficlDictionarySetFConstant() 96 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveF2Constant() local 101 (void) ficlDictionaryAppendWord(dictionary, name, in ficlPrimitiveF2Constant() 103 ficlDictionaryAppendCell(dictionary, ficlStackPop(vm->floatStack)); in ficlPrimitiveF2Constant() [all …]
|
| H A D | tools.c | 140 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveHashSummary() local 153 FICL_VM_DICTIONARY_CHECK(vm, dictionary, 0); in ficlPrimitiveHashSummary() 155 pFHash = dictionary->wordlists[dictionary->wordlistCount - 1]; in ficlPrimitiveHashSummary() 530 ficlDictionary *dictionary; member 648 if (ficlDictionaryIncludes(context->dictionary, cell->p)) { in ficlReturnStackDisplayCallback() 650 word = ficlDictionaryFindEnclosingWord(context->dictionary, in ficlReturnStackDisplayCallback() 669 context.dictionary = ficlVmGetDictionary(vm); in ficlVmDisplayReturnStack() 680 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveForgetWid() local 684 ficlHashForget(hash, dictionary->here); in ficlPrimitiveForgetWid() 703 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlPrimitiveForget() local [all …]
|
| H A D | ficl.h | 1140 ficlVmDictionaryAllot(ficlVm *vm, ficlDictionary *dictionary, int n); 1142 ficlVmDictionaryAllotCells(ficlVm *vm, ficlDictionary *dictionary, int cells); 1169 ficlVmDictionaryCheck(ficlVm *vm, ficlDictionary *dictionary, int n); 1171 ficlVmDictionarySimpleCheck(ficlVm *vm, ficlDictionary *dictionary, int n); 1172 #define FICL_VM_DICTIONARY_CHECK(vm, dictionary, n) \ argument 1173 ficlVmDictionaryCheck(vm, dictionary, n) 1174 #define FICL_VM_DICTIONARY_SIMPLE_CHECK(vm, dictionary, n) \ argument 1175 ficlVmDictionarySimpleCheck(vm, dictionary, n) 1177 #define FICL_VM_DICTIONARY_CHECK(vm, dictionary, n) argument 1178 #define FICL_VM_DICTIONARY_SIMPLE_CHECK(vm, dictionary, n) argument [all …]
|
| H A D | system.c | 149 system->dictionary = ficlDictionaryCreateHashed(system, in ficlSystemCreate() 151 system->dictionary->forthWordlist->name = "forth-wordlist"; in ficlSystemCreate() 258 if (system->dictionary) in ficlSystemDestroy() 259 ficlDictionaryDestroy(system->dictionary); in ficlSystemDestroy() 260 system->dictionary = NULL; in ficlSystemDestroy() 315 ficlDictionary *dictionary = system->dictionary; in ficlSystemAddPrimitiveParseStep() local 319 word = ficlDictionaryAppendPrimitive(dictionary, name, in ficlSystemAddPrimitiveParseStep() 323 ficlDictionaryAppendCell(dictionary, c); in ficlSystemAddPrimitiveParseStep() 386 return (ficlDictionaryLookup(system->dictionary, s)); in ficlSystemLookup() 396 return (system->dictionary); in ficlSystemGetDictionary() [all …]
|
| H A D | fileaccess.c | 350 ficlDictionary *dictionary = ficlSystemGetDictionary(system); in ficlSystemCompileFile() 353 FICL_SYSTEM_ASSERT(system, dictionary); in ficlSystemCompileFile() 356 ficlDictionarySetPrimitive(dictionary, "create-file", in ficlSystemCompileFile() 358 ficlDictionarySetPrimitive(dictionary, "open-file", in ficlSystemCompileFile() 360 ficlDictionarySetPrimitive(dictionary, "close-file", in ficlSystemCompileFile() 362 ficlDictionarySetPrimitive(dictionary, "include-file", in ficlSystemCompileFile() 364 ficlDictionarySetPrimitive(dictionary, "read-file", in ficlSystemCompileFile() 366 ficlDictionarySetPrimitive(dictionary, "read-line", in ficlSystemCompileFile() 368 ficlDictionarySetPrimitive(dictionary, "write-file", in ficlSystemCompileFile() 370 ficlDictionarySetPrimitive(dictionary, "write-line", in ficlSystemCompileFile() [all …]
|
| H A D | prefix.c | 143 ficlDictionary *dictionary = system->dictionary; in ficlSystemCompilePrefix() local 151 hash = ficlDictionaryCreateWordlist(dictionary, 1); in ficlSystemCompilePrefix() 153 ficlDictionaryAppendConstantPointer(dictionary, list_name, hash); in ficlSystemCompilePrefix() 158 (void) ficlDictionarySetPrimitive(dictionary, "__tempbase", in ficlSystemCompilePrefix()
|
| H A D | vm.c | 1317 ficlDictionary *dictionary = ficlVmGetDictionary(vm); in ficlVmInnerLoop() local 1318 dictionary->smudge->code = in ficlVmInnerLoop() 1320 dictionary->smudge->param[0].p = ip; in ficlVmInnerLoop() 1401 ficlDictionary *dictionary; in ficlVmInnerLoop() local 1404 dictionary = ficlVmGetDictionary(vm); in ficlVmInnerLoop() 1405 ficlDictionaryAppendCell(dictionary, *dataTop--); in ficlVmInnerLoop() 1410 ficlDictionary *dictionary; in ficlVmInnerLoop() local 1414 dictionary = ficlVmGetDictionary(vm); in ficlVmInnerLoop() 1416 ficlDictionaryAppendCharacter(dictionary, c); in ficlVmInnerLoop() 2071 return (vm->callback.system->dictionary); in ficlVmGetDictionary() [all …]
|
| H A D | extras.c | 174 ficlDictionary *dictionary = ficlSystemGetDictionary(system); in ficlSystemCompileExtras() local 176 (void) ficlDictionarySetPrimitive(dictionary, "break", in ficlSystemCompileExtras() 178 (void) ficlDictionarySetPrimitive(dictionary, "load", in ficlSystemCompileExtras() 180 (void) ficlDictionarySetPrimitive(dictionary, "spewhash", in ficlSystemCompileExtras() 182 (void) ficlDictionarySetPrimitive(dictionary, "system", in ficlSystemCompileExtras()
|
| /illumos-gate/usr/src/cmd/svc/startd/ |
| H A D | dict.c | 53 dictionary_t *dictionary; variable 77 (void) pthread_mutex_lock(&dictionary->dict_lock); in dict_lookup_byname() 78 if ((entry = uu_list_find(dictionary->dict_list, &tmp, NULL, in dict_lookup_byname() 84 (void) pthread_mutex_unlock(&dictionary->dict_lock); in dict_lookup_byname() 106 (void) pthread_mutex_lock(&dictionary->dict_lock); in dict_insert() 108 if ((entry = uu_list_find(dictionary->dict_list, &tmp, NULL, in dict_insert() 110 (void) pthread_mutex_unlock(&dictionary->dict_lock); in dict_insert() 116 entry->de_id = dictionary->dict_new_id++; in dict_insert() 122 uu_list_insert(dictionary->dict_list, entry, idx); in dict_insert() 123 (void) pthread_mutex_unlock(&dictionary->dict_lock); in dict_insert() [all …]
|
| /illumos-gate/usr/src/lib/libnisdb/ |
| H A D | db_dictionary.cc | 614 dictionary = NULL; in db_dictionary() 793 dictionary = NULL; in inittemp() 795 if ((status = f.transfer(&dictionary)) < 0) { in inittemp() 798 dictionary = new db_dict_desc; in inittemp() 799 if (dictionary == NULL) { in inittemp() 806 dictionary->tables.tables_len = in inittemp() 807 curdict.dictionary->tables.tables_len; in inittemp() 809 (unsigned int) dictionary->tables.tables_len, in inittemp() 817 dictionary->tables.tables_val = newtab; in inittemp() 818 dictionary->count = 0; in inittemp() [all …]
|
| H A D | db_dictionary_c.x | 108 db_dict_desc *dictionary; /* Old incarnation */ member 119 % db_dict_desc_p dictionary;
|
| /illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/ |
| H A D | software-diagnosis.conf | 35 dictionary SMF 36 dictionary SUNOS
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
| H A D | errormsg.c | 33 errormsg(const char* dictionary, int level, ...) in errormsg() argument 38 errorv(dictionary, level, ap); in errormsg()
|
| /illumos-gate/usr/src/lib/fm/libdiagcode/common/tests/ |
| H A D | BADNAME.dict | 25 # BADNAME diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictname used 29 # in the dictionary header below.
|
| H A D | BADVERS.dict | 25 # BADVERS diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictionary
|
| H A D | NOMAXKEY.dict | 25 # NOMAXKEY diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictionary
|
| H A D | NOVERS.dict | 25 # NOVERS diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictionary
|
| H A D | BADMAXKEY.dict | 25 # BADMAXKEY diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictionary
|
| H A D | NONAME.dict | 25 # NONAME diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests the error path where the dictname used
|
| H A D | MALFORMED.dict | 25 # MALFORMED diagcode dictionary -- used by "make test" target only 27 # this sample dictionary tests how well we handle malformed entries.
|
| /illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
| H A D | eft.conf | 58 dictionary SUNOS
|
| /illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
| H A D | disk-monitor.conf | 30 dictionary DISK
|