/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
H A D | trace.c | 60 int category; member 68 size_t cnt = ctx->callback(buf, num, ctx->category, OSSL_TRACE_CTRL_WRITE, in trace_write() 93 ctx->callback("", 0, ctx->category, cmd, ctx->data); in trace_ctrl() 193 static int trace_attach_cb(int category, int type, const void *data) in trace_attach_cb() argument 198 data, trace_categories[category].name); in trace_attach_cb() 202 (const char *)data, trace_categories[category].name); in trace_attach_cb() 206 (const char *)data, trace_categories[category].name); in trace_attach_cb() 214 static int trace_detach_cb(int category, int type, const void *data) in trace_detach_cb() argument 219 data, trace_categories[category].name); in trace_detach_cb() 223 (const char *)data, trace_categories[category].name); in trace_detach_cb() [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
H A D | trace.h | 78 int OSSL_trace_set_channel(int category, BIO* channel); 89 int OSSL_trace_set_prefix(int category, const char *prefix); 90 int OSSL_trace_set_suffix(int category, const char *suffix); 104 int category, int cmd, void *data); 123 int OSSL_trace_set_callback(int category, OSSL_trace_cb callback, void *data); 132 int OSSL_trace_enabled(int category); 151 BIO *OSSL_trace_begin(int category); 152 void OSSL_trace_end(int category, BIO *channel); 201 # define OSSL_TRACE_BEGIN(category) \ argument 203 BIO *trc_out = OSSL_trace_begin(OSSL_TRACE_CATEGORY_##category); \ [all …]
|
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
H A D | setlocale_null.c | 60 setlocale_null_androidfix (int category) in setlocale_null_androidfix() argument 62 const char *result = setlocale (category, NULL); in setlocale_null_androidfix() 66 switch (category) in setlocale_null_androidfix() 91 setlocale_null_unlocked (int category, char *buf, size_t bufsize) in setlocale_null_unlocked() argument 97 const wchar_t *result = _wsetlocale (category, NULL); in setlocale_null_unlocked() 140 const char *result = setlocale_null_androidfix (category); in setlocale_null_unlocked() 189 setlocale_null_with_lock (int category, char *buf, size_t bufsize) in setlocale_null_with_lock() argument 195 ret = setlocale_null_unlocked (category, buf, bufsize); in setlocale_null_with_lock() 226 setlocale_null_with_lock (int category, char *buf, size_t bufsize) in setlocale_null_with_lock() argument 235 ret = setlocale_null_unlocked (category, buf, bufsize); in setlocale_null_with_lock() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
H A D | system_error | 86 /** Abstract base class for types defining a category of error codes. 88 * An error category defines a context that gives meaning to the integer 91 * associated with the "generic" category and other OS-specific error 92 * numbers are associated with the "system" category, but a user-defined 93 * category might give different meanings to the same numerical values. 95 * A user-defined category can override the `equivalent` member functions 97 * For example, a category for errors from disk I/O could consider some 99 * category. 114 /// A string that identifies the error category. 143 /// Return an error_condition corresponding to `i` in this category. [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/testutil/ |
H A D | testutil_init.c | 23 int category, int cmd, void *vdata) in internal_trace_cb() argument 37 hex, OSSL_trace_get_category_name(category)); in internal_trace_cb() 70 static void setup_trace_category(int category) in setup_trace_category() argument 76 if (OSSL_trace_enabled(category)) in setup_trace_category() 87 || OSSL_trace_set_callback(category, internal_trace_cb, in setup_trace_category() 93 OSSL_trace_get_category_name(category)); in setup_trace_category() 95 OSSL_trace_set_callback(category, NULL, NULL); in setup_trace_category() 119 int category = OSSL_trace_get_category_num(item); in setup_trace() local 121 if (category == OSSL_TRACE_CATEGORY_ALL) { in setup_trace() 122 while (++category < OSSL_TRACE_CATEGORY_NUM) in setup_trace() [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/tests/ |
H A D | setlocale.c | 28 category_to_name (int category) in category_to_name() argument 32 switch (category) in category_to_name() 88 setlocale (int category, SETLOCALE_CONST char *locale) in setlocale() argument 94 int category; in setlocale() member 109 if (category == LC_ALL) in setlocale() 124 if (category == facetp->category) in setlocale() 133 facetp->category = category; in setlocale() 143 if (category == facetp->category) in setlocale() 154 retval = getenv (category_to_name (category)); in setlocale()
|
/netbsd-src/external/gpl3/gcc/dist/libobjc/ |
H A D | init.c | 101 void (*_objc_load_callback) (Class class, struct objc_category *category) = 0; /* !T:SAFE */ 670 struct objc_category *category = symtab->defs[i + symtab->cls_def_cnt]; in __objc_exec_class() local 671 Class class = objc_getClass (category->class_name); in __objc_exec_class() 677 DEBUG_PRINTF (" installing category '%s (%s)'\n", category->class_name, category->category_name); in __objc_exec_class() 679 if (category->instance_methods) in __objc_exec_class() 680 class_add_method_list (class, category->instance_methods); in __objc_exec_class() 683 if (category->class_methods) in __objc_exec_class() 685 category->class_methods); in __objc_exec_class() 687 if (category->protocols) in __objc_exec_class() 689 __objc_init_protocols (category->protocols); in __objc_exec_class() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/ |
H A D | init.c | 101 void (*_objc_load_callback) (Class class, struct objc_category *category) = 0; /* !T:SAFE */ 670 struct objc_category *category = symtab->defs[i + symtab->cls_def_cnt]; in __objc_exec_class() local 671 Class class = objc_getClass (category->class_name); in __objc_exec_class() 677 DEBUG_PRINTF (" installing category '%s (%s)'\n", category->class_name, category->category_name); in __objc_exec_class() 679 if (category->instance_methods) in __objc_exec_class() 680 class_add_method_list (class, category->instance_methods); in __objc_exec_class() 683 if (category->class_methods) in __objc_exec_class() 685 category->class_methods); in __objc_exec_class() 687 if (category->protocols) in __objc_exec_class() 689 __objc_init_protocols (category->protocols); in __objc_exec_class() [all …]
|
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/ |
H A D | defun.c | 338 const char *category; in defun_internal() local 405 category = _("Function"); in defun_internal() 408 category = _("Macro"); in defun_internal() 411 category = _("Special Form"); in defun_internal() 415 category = _("Variable"); in defun_internal() 418 category = _("User Option"); in defun_internal() 422 category = _("Instance Variable"); in defun_internal() 426 category = _("Method"); in defun_internal() 429 category = next_nonwhite_defun_arg (&scan_args); in defun_internal() 495 execute_string (" --- %s: %s", category, defined_name); in defun_internal() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
H A D | system_error | 80 /** Abstract base class for types defining a category of error codes. 82 * An error category defines a context that give meaning to the integer 85 * associated with the "generic" category and other OS-specific error 86 * numbers are associated with the "system" category, but a user-defined 87 * category might give different meanings to the same numerical values. 156 /// Error category for `errno` error codes. 159 /// Error category for other error codes defined by the OS. 169 * category that gives meaning to the error number. Typically this is done 174 * emitted by some subsystem, with a category relevant to the subsystem. 176 * an `errno` value and the "generic" category, but errors from an HTTP [all …]
|
/netbsd-src/external/bsd/libbind/dist/isc/ |
H A D | logging.c | 242 log_check(log_context lc, int category, int level) { in log_check() argument 256 if (category < 0 || category > lc->num_categories) in log_check() 257 category = 0; /*%< use default */ in log_check() 258 lcl = lc->categories[category]; in log_check() 260 category = 0; in log_check() 272 log_vwrite(log_context lc, int category, int level, const char *format, in log_vwrite() argument 300 if (category < 0 || category > lc->num_categories) in log_vwrite() 301 category = 0; /*%< use default */ in log_vwrite() 302 original_category = category; in log_vwrite() 303 lcl = lc->categories[category]; in log_vwrite() [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/mantools/ |
H A D | xpostconf | 40 if ($category eq "PARAM") { 45 } elsif ($category eq "CLASS") { 51 die "Unknown category: $category. Need PARAM or CLASS.\n"; 75 $category = $1; 104 ($category, $name, $mode) = split(/\s+/, substr($_, 1)); 105 if ($category eq "CLASS") { 108 } elsif ($category eq "PARAM") { 112 die "Unknown category: $category. Need CLASS or PARAM\n";
|
/netbsd-src/distrib/sets/ |
H A D | fmt-list | 108 local category_align, prefix, fullname, flags_align, category, flags = 111 category_align, prefix, fullname, category = 140 category = category, 153 assert_equals(entry.category, "category") 163 assert_equals(entry.category, "cat") 238 return tabwidth(entry.category) 269 -- The flags are already aligned, 4 tabs to the right of the category. 289 return tabwidth(entry.category) 297 -- To avoid horizontal jumps for the category column, the minimum column is 307 local category = entry.category [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/ |
H A D | gen-lbrkprop.c | 38 const char *category; /* General category */ member 81 uni->category = (field2[0] == '\0' ? "" : strdup (field2)); in fill_attribute() 532 if (unicode_attributes[ch].category[0] == 'P' in get_lbp() 533 && unicode_attributes[ch].category[1] == 's') in get_lbp() 545 || (unicode_attributes[ch].category[0] == 'P' in get_lbp() 546 && unicode_attributes[ch].category[1] == 'e')) in get_lbp() 552 || (unicode_attributes[ch].category[0] == 'P' in get_lbp() 553 && (unicode_attributes[ch].category[1] == 'f' in get_lbp() 554 || unicode_attributes[ch].category[1] == 'i'))) in get_lbp() 558 if ((unicode_attributes[ch].category[0] == 'M' in get_lbp() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/intl/ |
H A D | dcigettext.c | 223 int category; member 272 result = s1->category - s2->category; 312 static const char *guess_category_value PARAMS ((int category, 317 # define category_to_name(category) _nl_category_names[category] argument 319 static const char *category_to_name PARAMS ((int category)) internal_function; 427 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 433 int category; variable 459 if (category < 0 || category >= __LC_LAST || category == LC_ALL) 477 if (category == LC_MESSAGES_COMPAT) 478 category = LC_MESSAGES; [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/intl/ |
H A D | dcigettext.c | 223 int category; member 272 result = s1->category - s2->category; 312 static const char *guess_category_value PARAMS ((int category, 317 # define category_to_name(category) _nl_category_names[category] argument 319 static const char *category_to_name PARAMS ((int category)) internal_function; 427 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 433 int category; variable 459 if (category < 0 || category >= __LC_LAST || category == LC_ALL) 477 if (category == LC_MESSAGES_COMPAT) 478 category = LC_MESSAGES; [all …]
|
/netbsd-src/external/gpl3/gcc/dist/intl/ |
H A D | dcigettext.c | 223 int category; member 272 result = s1->category - s2->category; 312 static const char *guess_category_value PARAMS ((int category, 317 # define category_to_name(category) _nl_category_names[category] argument 319 static const char *category_to_name PARAMS ((int category)) internal_function; 427 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 433 int category; variable 459 if (category < 0 || category >= __LC_LAST || category == LC_ALL) 477 if (category == LC_MESSAGES_COMPAT) 478 category = LC_MESSAGES; [all …]
|
/netbsd-src/external/gpl3/gdb.old/dist/intl/ |
H A D | dcigettext.c | 223 int category; member 272 result = s1->category - s2->category; 312 static const char *guess_category_value PARAMS ((int category, 317 # define category_to_name(category) _nl_category_names[category] argument 319 static const char *category_to_name PARAMS ((int category)) internal_function; 427 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 433 int category; variable 459 if (category < 0 || category >= __LC_LAST || category == LC_ALL) 477 if (category == LC_MESSAGES_COMPAT) 478 category = LC_MESSAGES; [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | locale_classes.h | 67 typedef int category; in _GLIBCXX_VISIBILITY() typedef 98 static const category none = 0; in _GLIBCXX_VISIBILITY() 99 static const category ctype = 1L << 0; in _GLIBCXX_VISIBILITY() 100 static const category numeric = 1L << 1; in _GLIBCXX_VISIBILITY() 101 static const category collate = 1L << 2; in _GLIBCXX_VISIBILITY() 102 static const category time = 1L << 3; in _GLIBCXX_VISIBILITY() 103 static const category monetary = 1L << 4; in _GLIBCXX_VISIBILITY() 104 static const category messages = 1L << 5; in _GLIBCXX_VISIBILITY() 105 static const category all = (ctype | numeric | collate | in _GLIBCXX_VISIBILITY() 151 locale(const locale& __base, const char* __s, category __cat); in _GLIBCXX_VISIBILITY() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | locale_classes.h | 67 typedef int category; in _GLIBCXX_VISIBILITY() typedef 98 static const category none = 0; in _GLIBCXX_VISIBILITY() 99 static const category ctype = 1L << 0; in _GLIBCXX_VISIBILITY() 100 static const category numeric = 1L << 1; in _GLIBCXX_VISIBILITY() 101 static const category collate = 1L << 2; in _GLIBCXX_VISIBILITY() 102 static const category time = 1L << 3; in _GLIBCXX_VISIBILITY() 103 static const category monetary = 1L << 4; in _GLIBCXX_VISIBILITY() 104 static const category messages = 1L << 5; in _GLIBCXX_VISIBILITY() 105 static const category all = (ctype | numeric | collate | in _GLIBCXX_VISIBILITY() 151 locale(const locale& __base, const char* __s, category __cat); in _GLIBCXX_VISIBILITY() [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
H A D | dcigettext.c | 240 int category; member 308 result = s1->category - s2->category; in transcmp() 354 static const char *guess_category_value (int category, 359 static const char *guess_category_value (int category, 366 # define category_to_name(category) \ argument 367 _nl_category_names.str + _nl_category_name_idxs[category] 369 static const char *category_to_name (int category) internal_function; 483 int category, in gl_dcigettext() argument 488 int plural, unsigned long int n, int category) in gl_dcigettext() 519 if (category < 0 || category >= __LC_LAST || category == LC_ALL) in gl_dcigettext() [all …]
|
/netbsd-src/lib/libc/locale/ |
H A D | setlocale.c | 137 _find_category(int category) in _find_category() argument 149 if (category >= LC_ALL && category < _LC_LAST) in _find_category() 150 return all_categories[category]; in _find_category() 155 _get_locale_env(const char *category) in _get_locale_env() argument 163 name = (const char *)getenv(category); in _get_locale_env() 176 __setlocale(int category, const char *name) in __setlocale() argument 183 sl = _find_category(category); in __setlocale() 196 setlocale(int category, const char *locale) in setlocale() argument 202 return __setlocale(category, locale); in setlocale()
|
/netbsd-src/external/gpl2/texinfo/dist/intl/ |
H A D | dcigettext.c | 229 int category; member 275 result = s1->category - s2->category; in transcmp() 314 static const char *guess_category_value (int category, 319 # define category_to_name(category) _nl_category_names[category] argument 321 static const char *category_to_name (int category) internal_function; 430 int plural, unsigned long int n, int category) in DCIGETTEXT() argument 456 if (category < 0 || category >= __LC_LAST || category == LC_ALL) in DCIGETTEXT() 474 if (category == LC_MESSAGES_COMPAT) in DCIGETTEXT() 475 category = LC_MESSAGES; in DCIGETTEXT() 487 search->category = category; in DCIGETTEXT() [all …]
|
/netbsd-src/external/gpl2/grep/dist/intl/ |
H A D | dcigettext.c | 206 int category; member 255 result = s1->category - s2->category; 286 static const char *category_to_name PARAMS ((int category)) internal_function; 287 static const char *guess_category_value PARAMS ((int category, 393 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 399 int category; variable 434 if (category == LC_MESSAGES_COMPAT) 435 category = LC_MESSAGES; 447 search->category = category; 530 categoryname = category_to_name (category); [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
H A D | OSSL_trace_enabled.pod | 19 int OSSL_trace_enabled(int category); 21 BIO *OSSL_trace_begin(int category); 22 void OSSL_trace_end(int category, BIO *channel); 25 OSSL_TRACE_BEGIN(category) { 29 OSSL_TRACE_CANCEL(category); 33 } OSSL_TRACE_END(category); 36 OSSL_TRACE1(category, format, arg1) 37 OSSL_TRACE2(category, format, arg1, arg2) 39 OSSL_TRACE9(category, format, arg1, ..., arg9) 41 /* check whether a trace category is enabled */ [all …]
|