/openbsd-current/usr.sbin/smtpd/ |
H A D | dict.h | 1 /* $OpenBSD: dict.h,v 1.1 2018/12/23 16:06:24 gilles Exp $ */ 25 struct dict { struct 26 struct _dict dict; member in struct:dict 31 /* dict.c */ 32 #define dict_init(d) do { SPLAY_INIT(&((d)->dict)); (d)->count = 0; } while(0) 33 #define dict_empty(d) SPLAY_EMPTY(&((d)->dict)) 35 int dict_check(struct dict *, const char *); 36 void *dict_set(struct dict *, const char *, void *); 37 void dict_xset(struct dict *, const char *, void *); 38 void *dict_get(struct dict *, cons [all...] |
H A D | dict.c | 1 /* $OpenBSD: dict.c,v 1.8 2021/06/14 17:58:15 eric Exp $ */ 25 #include "dict.h" 39 dict_check(struct dict *d, const char *k) 44 return (SPLAY_FIND(_dict, &d->dict, &key) != NULL); 65 dict_set(struct dict *d, const char *k, void *data) 71 if ((entry = SPLAY_FIND(_dict, &d->dict, &key)) == NULL) { 74 SPLAY_INSERT(_dict, &d->dict, entry); 86 dict_xset(struct dict *d, const char * k, void *data) 92 if (SPLAY_INSERT(_dict, &d->dict, entry)) 98 dict_get(struct dict * [all...] |
/openbsd-current/gnu/llvm/lldb/examples/summaries/ |
H A D | objc.py | 5 def BOOL_SummaryProvider(valobj, dict): 14 def BOOLRef_SummaryProvider(valobj, dict): 15 return BOOL_SummaryProvider(valobj.GetChildAtIndex(0), dict) 18 def BOOLPtr_SummaryProvider(valobj, dict): 19 return BOOL_SummaryProvider(valobj.Dereference(), dict)
|
H A D | sp_cp.py | 12 def __init__(self, valobj, dict): 38 def SharedPtr_SummaryProvider(valobj, dict): 45 def __init__(self, valobj, dict): 71 def ValueObjectSP_SummaryProvider(valobj, dict): 76 def __lldb_init_module(debugger, dict):
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | dictionary.h | 82 extern void dict_free (struct dictionary *dict); 86 extern void dict_add_symbol (struct dictionary *dict, struct symbol *sym); 90 extern int dict_empty (struct dictionary *dict); 100 const struct dictionary *dict; member in struct:dict_iterator 110 extern struct symbol *dict_iterator_first (const struct dictionary *dict, 124 extern struct symbol *dict_iter_name_first (const struct dictionary *dict, 142 extern int dict_size (const struct dictionary *dict); 151 #define ALL_DICT_SYMBOLS(dict, iter, sym) \ 152 for ((sym) = dict_iterator_first ((dict), &(iter)); \
|
H A D | dictionary.c | 113 void (*free) (struct dictionary *dict); 115 void (*add_symbol) (struct dictionary *dict, struct symbol *sym); 117 struct symbol *(*iterator_first) (const struct dictionary *dict, 121 struct symbol *(*iter_name_first) (const struct dictionary *dict, 127 int (*size) (const struct dictionary *dict); 216 #define DICT_ITERATOR_DICT(iter) (iter)->dict 228 static void add_symbol_nonexpandable (struct dictionary *dict, 231 static void free_obstack (struct dictionary *dict); 236 static struct symbol *iterator_first_hashed (const struct dictionary *dict, 241 static struct symbol *iter_name_first_hashed (const struct dictionary *dict, 483 dict_free(struct dictionary *dict) argument 491 dict_add_symbol(struct dictionary *dict, struct symbol *sym) argument 500 dict_iterator_first(const struct dictionary *dict, struct dict_iterator *iterator) argument 517 dict_iter_name_first(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument 532 dict_size(const struct dictionary *dict) argument 544 dict_empty(struct dictionary *dict) argument 557 free_obstack(struct dictionary *dict) argument 563 add_symbol_nonexpandable(struct dictionary *dict, struct symbol *sym) argument 572 iterator_first_hashed(const struct dictionary *dict, struct dict_iterator *iterator) argument 583 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local 600 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local 620 iter_name_first_hashed(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument 671 insert_symbol_hashed(struct dictionary *dict, struct symbol *sym) argument 684 size_hashed(const struct dictionary *dict) argument 692 free_hashed_expandable(struct dictionary *dict) argument 699 add_symbol_hashed_expandable(struct dictionary *dict, struct symbol *sym) argument 712 size_hashed_expandable(const struct dictionary *dict) argument 718 expand_hashtable(struct dictionary *dict) argument 752 iterator_first_linear(const struct dictionary *dict, struct dict_iterator *iterator) argument 763 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local 772 iter_name_first_linear(const struct dictionary *dict, const char *name, struct dict_iterator *iterator) argument 785 const struct dictionary *dict = DICT_ITERATOR_DICT (iterator); local 805 size_linear(const struct dictionary *dict) argument 813 free_linear_expandable(struct dictionary *dict) argument 821 add_symbol_linear_expandable(struct dictionary *dict, struct symbol *sym) argument [all...] |
/openbsd-current/gnu/llvm/lldb/source/Host/macosx/cfcpp/ |
H A D | CFCMutableDictionary.cpp | 31 CFMutableDictionaryRef dict = get(); local 32 if (dict) 33 return ::CFDictionaryGetCount(dict); 40 CFMutableDictionaryRef dict = get(); local 41 if (dict) 42 return ::CFDictionaryGetCountOfKey(dict, key); 49 CFMutableDictionaryRef dict = get(); local 50 if (dict) 51 return ::CFDictionaryGetCountOfValue(dict, value); 57 CFMutableDictionaryRef dict local 65 CFMutableDictionaryRef dict = get(); local 74 CFMutableDictionaryRef dict = get(); local 81 CFMutableDictionaryRef dict = get(); local 93 CFMutableDictionaryRef dict = Dictionary(can_create); local 104 CFMutableDictionaryRef dict = Dictionary(can_create); local 115 CFMutableDictionaryRef dict = Dictionary(can_create); local 130 CFMutableDictionaryRef dict = Dictionary(can_create); local 145 CFMutableDictionaryRef dict = Dictionary(can_create); local 160 CFMutableDictionaryRef dict = Dictionary(can_create); local 175 CFMutableDictionaryRef dict = Dictionary(can_create); local 190 CFMutableDictionaryRef dict = Dictionary(can_create); local 205 CFMutableDictionaryRef dict = Dictionary(can_create); local 220 CFMutableDictionaryRef dict = Dictionary(can_create); local 235 CFMutableDictionaryRef dict = Dictionary(can_create); local 253 CFMutableDictionaryRef dict = Dictionary(can_create); local 271 CFMutableDictionaryRef dict = Dictionary(can_create); local 289 CFMutableDictionaryRef dict = Dictionary(can_create); local 307 CFMutableDictionaryRef dict = Dictionary(can_create); local 325 CFMutableDictionaryRef dict = Dictionary(can_create); local 343 CFMutableDictionaryRef dict = Dictionary(can_create); local 361 CFMutableDictionaryRef dict = Dictionary(can_create); local 379 CFMutableDictionaryRef dict = Dictionary(can_create); local 397 CFMutableDictionaryRef dict = Dictionary(can_create); local 415 CFMutableDictionaryRef dict = Dictionary(can_create); local 429 CFMutableDictionaryRef dict = Dictionary(can_create); local 442 CFMutableDictionaryRef dict = get(); local 448 CFMutableDictionaryRef dict = get(); local 453 CFMutableDictionaryRef dict = get(); local [all...] |
/openbsd-current/share/dict/ |
H A D | Makefile | 8 LINKS= ${BINDIR}/dict/web2 ${BINDIR}/dict/words 14 ${DESTDIR}${BINDIR}/dict
|
/openbsd-current/gnu/usr.bin/perl/ext/SDBM_File/ |
H A D | grind | 8 }' < /usr/dict/words | $1 build /tmp/$2
|
/openbsd-current/gnu/llvm/lldb/examples/summaries/cocoa/ |
H A D | Selector.py | 11 def SEL_Summary(valobj, dict): 16 def SELPointer_Summary(valobj, dict):
|
H A D | Class.py | 13 def Class_Summary(valobj, dict):
|
H A D | CFArray.py | 32 def __init__(self, valobj, dict, params): 61 def __init__(self, valobj, dict, params): 86 def __init__(self, valobj, dict, params): 114 def __init__(self, valobj, dict, params): 146 def __init__(self, valobj, dict): 188 self.valobj, dict, class_data.sys_params) 192 self.valobj, dict, class_data.sys_params) 196 self.valobj, dict, class_data.sys_params) 200 self.valobj, dict, class_data.sys_params) 207 def CFArray_SummaryProvider(valobj, dict) [all...] |
/openbsd-current/lib/libfuse/ |
H A D | dict.c | 1 /* $OpenBSD: dict.c,v 1.2 2014/04/28 13:08:34 syl Exp $ */ 35 SPLAY_PROTOTYPE(dict, dictentry, entry, dictentry_cmp); 38 dict_check(struct dict *d, const char *k) 45 return (SPLAY_FIND(dict, d, &key) != NULL); 49 dict_set(struct dict *d, const char *k, void *data) 55 if ((entry = SPLAY_FIND(dict, d, &key)) == NULL) { 61 SPLAY_INSERT(dict, d, entry); 70 dict_get(struct dict *d, const char *k) 76 if ((entry = SPLAY_FIND(dict, d, &key)) == NULL) 83 dict_pop(struct dict * [all...] |
H A D | fuse_private.h | 41 SIMPLEQ_ENTRY(fuse_vnode) node; /* for dict */ 56 SPLAY_HEAD(dict, dictentry); 107 struct dict name_tree; 140 /* dict.c */ 141 int dict_check(struct dict *, const char *); 142 void *dict_set(struct dict *, const char *, void *); 143 void *dict_get(struct dict *, const char *);; 144 void *dict_pop(struct dict *, const char *);
|
/openbsd-current/share/ |
H A D | Makefile | 3 SUBDIR= btrace dict locale man misc mk snmp tabset termtypes zoneinfo
|
/openbsd-current/gnu/usr.bin/perl/dist/Search-Dict/lib/Search/ |
H A D | Dict.pm | 27 look *FILEHANDLE, $key, $dict, $fold; 40 If I<$dict> is true, search by dictionary order (ignore anything but word 46 reference, the keys of that hash can have values C<dict>, C<fold>, and 60 my($fh,$key,$dict,$fold) = @_; 62 if (@_ == 3 && ref $dict eq 'HASH') { 63 my $params = $dict; 64 $dict = 0; 65 $dict = $params->{dict} if exists $params->{dict}; [all...] |
/openbsd-current/gnu/llvm/llvm/utils/ |
H A D | llvm-compilers-check | 210 abbrevs = dict(zip(paths, [base for base in unique_bases])) 246 abbrevs = dict(zip(unique_bases, abbrevs)) 267 self.component_abbrev = dict( 367 configure_flags = dict( 368 llvm=dict(debug=["--prefix=" + self.install_prefix, 380 dragonegg=dict(debug=[], 389 configure_env = dict( 390 llvm=dict(debug=dict(CC=self.cc, 392 release=dict(C [all...] |
/openbsd-current/usr.bin/spell/ |
H A D | Makefile | 12 ${.CURDIR}/stop ${DESTDIR}/usr/share/dict 14 ${.CURDIR}/american ${DESTDIR}/usr/share/dict 16 ${.CURDIR}/british ${DESTDIR}/usr/share/dict 18 ${.CURDIR}/special.4bsd ${DESTDIR}/usr/share/dict/special/4bsd 20 ${.CURDIR}/special.math ${DESTDIR}/usr/share/dict/special/math
|
H A D | spell.ksh | 24 DICT=/usr/share/dict/words 25 LOCAL_DICT=/usr/local/share/dict/words 26 STOP=/usr/share/dict/stop 27 LOCAL_STOP=/usr/local/share/dict/stop 28 AMERICAN=/usr/share/dict/american 29 BRITISH=/usr/share/dict/british
|
/openbsd-current/gnu/llvm/lldb/examples/python/ |
H A D | sources.py | 15 def info_sources(debugger, command, result, dict): 27 def __lldb_init_module(debugger, dict):
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
H A D | InstrumentationRuntimeTSan.cpp | 230 const StructuredData::DictionarySP &dict)> const 267 const StructuredData::DictionarySP &dict) { 341 auto dict = std::make_shared<StructuredData::Dictionary>(); local 342 dict->AddStringItem("instrumentation_class", "ThreadSanitizer"); 343 dict->AddStringItem("issue_type", 345 dict->AddIntegerItem("report_count", 348 dict->AddItem("sleep_trace", CreateStackTrace( 354 const StructuredData::DictionarySP &dict) { 355 dict->AddIntegerItem( 358 dict [all...] |
/openbsd-current/gnu/llvm/lldb/examples/customization/pwd-cd-and-system/ |
H A D | utils.py | 23 def chdir(debugger, args, result, dict): 42 def system(debugger, command_line, result, dict):
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | ScriptedProcessPythonInterface.cpp | 97 StructuredData::DictionarySP dict = local 100 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 103 return dict; 114 StructuredData::DictionarySP dict{obj->GetAsDictionary()}; 116 return dict; 193 StructuredData::DictionarySP dict = local 196 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, dict, error)) 199 return dict;
|
/openbsd-current/gnu/llvm/llvm/lib/Analysis/models/ |
H A D | gen-regalloc-priority-test-model.py | 38 inputs = dict( 42 dict((key, 46 dict((key, tf.TensorSpec(dtype=tf.float32, shape=(), name=key)) 49 dict((key, tf.TensorSpec(dtype=tf.int32, shape=(), name=key))
|
/openbsd-current/gnu/llvm/libcxx/utils/ci/ |
H A D | macos-ci-setup | 39 <dict> 52 <dict> 55 </dict> 61 <dict> 64 </dict> 77 </dict>
|