| /openbsd-src/gnu/lib/libiberty/src/ |
| H A D | strcasecmp.c | 35 typedef unsigned char uc; typedef 37 (uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007', 38 (uc)'\010',(uc)'\011',(uc)'\012',(uc)'\013',(uc)'\014',(uc)'\015',(uc)'\016',(uc)'\017', 39 (uc)'\020',(uc)'\021',(uc)'\022',(uc)'\023',(uc)'\024',(uc)'\025',(uc)'\026',(uc)'\027', 40 (uc)'\030',(uc)'\031',(uc)'\032',(uc)'\033',(uc)'\034',(uc)'\035',(uc)'\036',(uc)'\037', 41 (uc)'\040',(uc)'\041',(uc)'\042',(uc)'\043',(uc)'\044',(uc)'\045',(uc)'\046',(uc)'\047', 42 (uc)'\050',(uc)'\051',(uc)'\052',(uc)'\053',(uc)'\054',(uc)'\055',(uc)'\056',(uc)'\057', 43 (uc)'\060',(uc)'\061',(uc)'\062',(uc)'\063',(uc)'\064',(uc)'\065',(uc)'\066',(uc)'\067', 44 (uc)'\070',(uc)'\071',(uc)'\072',(uc)'\073',(uc)'\074',(uc)'\075',(uc)'\076',(uc)'\077', 45 (uc)'\100',(uc)'\141',(uc)'\142',(uc)'\143',(uc)'\144',(uc)'\145',(uc)'\146',(uc)'\147', [all …]
|
| /openbsd-src/sys/dev/pci/drm/i915/gt/uc/ |
| H A D | intel_uc.c | 26 static void uc_expand_default_options(struct intel_uc *uc) in uc_expand_default_options() argument 28 struct drm_i915_private *i915 = uc_to_gt(uc)->i915; in uc_expand_default_options() 61 static int __intel_uc_reset_hw(struct intel_uc *uc) in __intel_uc_reset_hw() argument 63 struct intel_gt *gt = uc_to_gt(uc); in __intel_uc_reset_hw() 85 static void __confirm_options(struct intel_uc *uc) in __confirm_options() argument 87 struct intel_gt *gt = uc_to_gt(uc); in __confirm_options() 92 str_yes_no(intel_uc_wants_guc(uc)), in __confirm_options() 93 str_yes_no(intel_uc_wants_guc_submission(uc)), in __confirm_options() 94 str_yes_no(intel_uc_wants_huc(uc)), in __confirm_options() 95 str_yes_no(intel_uc_wants_guc_slpc(uc))); in __confirm_options() [all …]
|
| H A D | intel_uc.h | 20 int (*sanitize)(struct intel_uc *uc); 21 void (*init_fw)(struct intel_uc *uc); 22 void (*fini_fw)(struct intel_uc *uc); 23 int (*init)(struct intel_uc *uc); 24 void (*fini)(struct intel_uc *uc); 25 int (*init_hw)(struct intel_uc *uc); 26 void (*fini_hw)(struct intel_uc *uc); 27 void (*resume_mappings)(struct intel_uc *uc); 43 void intel_uc_init_early(struct intel_uc *uc); 44 void intel_uc_init_late(struct intel_uc *uc); [all …]
|
| H A D | intel_uc_debugfs.c | 22 struct intel_uc *uc = m->private; in uc_usage_show() local 26 str_yes_no(intel_uc_supports_guc(uc)), in uc_usage_show() 27 str_yes_no(intel_uc_wants_guc(uc)), in uc_usage_show() 28 str_yes_no(intel_uc_uses_guc(uc))); in uc_usage_show() 30 str_yes_no(intel_uc_supports_huc(uc)), in uc_usage_show() 31 str_yes_no(intel_uc_wants_huc(uc)), in uc_usage_show() 32 str_yes_no(intel_uc_uses_huc(uc))); in uc_usage_show() 34 str_yes_no(intel_uc_supports_guc_submission(uc)), in uc_usage_show() 35 str_yes_no(intel_uc_wants_guc_submission(uc)), in uc_usage_show() 36 str_yes_no(intel_uc_uses_guc_submission(uc))); in uc_usage_show() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
| H A D | funcargs.c | 29 unsigned char uc = 'b'; variable 30 unsigned char *ucp = &uc; 132 void call1a (unsigned char uc, unsigned short us, unsigned int ui, unsigned long ul) in call1a() argument 134 call1a (uc, us, ui, ul) in call1a() 135 unsigned char uc; unsigned short us; unsigned int ui; unsigned long ul; in call1a() 138 uc = 5; us = 6; ui = 7; ul = 8; 142 void call1b (unsigned short us, unsigned int ui, unsigned long ul, unsigned char uc) in call1b() argument 144 call1b (us, ui, ul, uc) in call1b() 145 unsigned short us; unsigned int ui; unsigned long ul; unsigned char uc; in call1b() 148 uc = 5; us = 6; ui = 7; ul = 8; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Bzip2/bzip2-src/ |
| H A D | decompress.c | 109 UChar uc; in BZ2_decompress() local 198 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress() 199 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress() 201 GET_UCHAR(BZ_X_MAGIC_2, uc); in BZ2_decompress() 202 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress() 204 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress() 205 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress() 223 GET_UCHAR(BZ_X_BLKHDR_1, uc); in BZ2_decompress() 225 if (uc == 0x17) goto endhdr_2; in BZ2_decompress() 226 if (uc != 0x31) RETURN(BZ_DATA_ERROR); in BZ2_decompress() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/uni/ |
| H A D | overload.t | 68 my $uc = uc $u; 69 is (length $uc, 1); 70 is ($uc, $e_acute, "e acute -> E acute"); 71 $uc = uc $u; 72 is (length $uc, 1); 73 is ($uc, $E_acute, "e acute -> E acute"); 74 $uc = uc [all...] |
| /openbsd-src/lib/libc/rpc/ |
| H A D | svc_udp.c | 330 struct udp_cache *uc; in svcudp_enablecache() local 334 uc = malloc(sizeof(*uc)); in svcudp_enablecache() 335 if (uc == NULL) in svcudp_enablecache() 337 uc->uc_size = size; in svcudp_enablecache() 338 uc->uc_nextvictim = 0; in svcudp_enablecache() 340 (uc->uc_entries = calloc(size, sizeof(cache_ptr) * SPARSENESS)) == NULL) { in svcudp_enablecache() 341 free(uc); in svcudp_enablecache() 344 uc->uc_fifo = calloc(sizeof(cache_ptr), size); in svcudp_enablecache() 345 if (uc->uc_fifo == NULL) { in svcudp_enablecache() 346 free(uc->uc_entries); in svcudp_enablecache() [all …]
|
| /openbsd-src/sys/kern/ |
| H A D | kern_prot.c | 199 struct ucred *uc = p->p_ucred; in sys_getgroups() 204 *retval = uc->cr_ngroups; in sys_getgroups() 207 if (ngrp < uc->cr_ngroups) in sys_getgroups() 209 ngrp = uc->cr_ngroups; in sys_getgroups() 210 error = copyout(uc->cr_groups, SCARG(uap, gidset), in sys_getgroups() 327 struct ucred *uc = p->p_ucred; in sys_getresuid() 336 error1 = copyout(&uc->cr_ruid, ruid, sizeof(*ruid)); in sys_getresuid() 338 error2 = copyout(&uc->cr_uid, euid, sizeof(*euid)); in sys_getresuid() 340 error3 = copyout(&uc->cr_svuid, suid, sizeof(*suid)); in sys_getresuid() 354 struct ucred *pruc, *newcred, *uc in sys_setresuid() 197 struct ucred *uc = p->p_ucred; sys_getgroups() local 325 struct ucred *uc = p->p_ucred; sys_getresuid() local 352 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setresuid() local 434 struct ucred *uc = p->p_ucred; sys_getresgid() local 461 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setresgid() local 536 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setregid() local 615 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setreuid() local 700 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setuid() local 758 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_seteuid() local 792 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setgid() local 836 struct ucred *pruc, *newcred, *uc = p->p_ucred; sys_setegid() local 1172 struct ucred *uc = p->p_ucred; dorefreshcreds() local [all...] |
| /openbsd-src/usr.bin/mandoc/ |
| H A D | term.c | 550 int sz, uc; in term_word() local 593 uc = mchars_num2uc(seq + 1, sz - 1); in term_word() 596 uc = mchars_num2char(seq, sz); in term_word() 597 if (uc >= 0) in term_word() 609 uc = mchars_spec2cp(seq, sz); in term_word() 610 if (uc > 0) in term_word() 611 encode1(p, uc); in term_word() 617 uc = *seq; in term_word() 664 uc = -p->col; in term_word() 666 uc = 0; in term_word() [all …]
|
| /openbsd-src/sys/dev/rasops/ |
| H A D | rasops4.c | 99 rasops4_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar() argument 128 if (fg == bg || uc == ' ') { in rasops4_putchar() 129 uc = (u_int)-1; in rasops4_putchar() 133 uc -= ri->ri_font->firstchar; in rasops4_putchar() 134 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops4_putchar() 143 if (uc == (u_int)-1) { in rasops4_putchar() 168 if (uc == (u_int)-1) { in rasops4_putchar() 212 rasops4_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar() argument 251 rasops4_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar8() argument 261 return rasops4_putchar(cookie, row, col, uc, attr); in rasops4_putchar8() [all …]
|
| H A D | rasops8.c | 96 rasops8_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar() argument 119 if (uc == ' ') { in rasops8_putchar() 130 uc -= ri->ri_font->firstchar; in rasops8_putchar() 131 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops8_putchar() 197 rasops8_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar8() argument 207 return rasops8_putchar(cookie, row, col, uc, attr); in rasops8_putchar8() 231 if (uc == ' ') { in rasops8_putchar8() 237 uc -= ri->ri_font->firstchar; in rasops8_putchar8() 238 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops8_putchar8() 265 rasops8_putchar12(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar12() argument [all …]
|
| H A D | rasops15.c | 108 rasops15_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops15_putchar() argument 132 if (uc == ' ') { in rasops15_putchar() 144 uc -= ri->ri_font->firstchar; in rasops15_putchar() 145 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops15_putchar() 208 rasops15_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops15_putchar8() argument 218 return rasops15_putchar(cookie, row, col, uc, attr); in rasops15_putchar8() 242 if (uc == (u_int)-1) { in rasops15_putchar8() 249 uc -= ri->ri_font->firstchar; in rasops15_putchar8() 250 fr = (u_char *)ri->ri_font->data + uc*ri->ri_fontscale; in rasops15_putchar8() 284 rasops15_putchar12(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops15_putchar12() argument [all …]
|
| H A D | rasops24.c | 109 rasops24_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops24_putchar() argument 133 if (uc == ' ') { in rasops24_putchar() 145 uc -= ri->ri_font->firstchar; in rasops24_putchar() 146 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops24_putchar() 229 rasops24_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) argument 239 return rasops24_putchar(cookie, row, col, uc, attr); 263 if (uc == (u_int)-1) { 270 uc -= ri->ri_font->firstchar; 271 fr = (u_char *)ri->ri_font->data + uc*ri->ri_fontscale; 307 rasops24_putchar12(void *cookie, int row, int col, u_int uc, uint32_t attr) argument [all …]
|
| H A D | rasops1.c | 85 rasops1_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops1_putchar() argument 115 if (fg == bg || uc == ' ') { in rasops1_putchar() 116 uc = (u_int)-1; in rasops1_putchar() 120 uc -= ri->ri_font->firstchar; in rasops1_putchar() 121 fr = (u_char *)ri->ri_font->data + uc * ri->ri_fontscale; in rasops1_putchar() 130 if (uc == (u_int)-1) { in rasops1_putchar() 171 if (uc == (u_int)-1) { in rasops1_putchar() 231 rasops1_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops1_putchar8() argument 256 if (fg == bg || uc == ' ') { in rasops1_putchar8() 262 uc -= ri->ri_font->firstchar; in rasops1_putchar8() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | lc.t | 24 is(uc(undef), "", "uc(undef) is ''"); 57 is(uc($a) , "HELLO\.\* WORLD", 'uc'); 71 is(uc($b) , "HELLO\.\* WORLD", 'uc'); 92 is(uc($a) , "\x{100}\x{100}AA", 'uc'); 106 is(uc($b) , "\x{100}\x{100}AA", 'uc'); 164 is(uc("\x{1C5}") , "\x{1C4}", "U+01C5 uc is U+01C4"); 165 is(uc("\x{1C6}") , "\x{1C4}", "U+01C6 uc is U+01C4, too"); 175 ($c = $a) =~ s/(\p{IsWord}+)/uc($1)/ge; 194 is(uc($1), "ABCDEFGH", "[perl #18931]"); 210 is(substr(uc($_), 0), uc($_), "[perl #38619] uc"); [all …]
|
| H A D | kvhslice.t | 15 my %h = map { $_ => uc $_ } 'a'..'z'; 28 my %h = map { $_ => uc $_ } 'a'..'d'; 37 my %h = map { $_ => uc $_ } 'a'..'d'; 47 my %h = map { $_ => uc $_ } 'a'..'z'; 62 my %h = map { $_ => uc $_ } 'a'..'b'; 71 my $h = { map { $_ => uc $_ } 'a'..'z' }; 79 my %h = map { $_ => uc $_ } 'a'..'b'; 85 my %h = map { $_ => uc $_ } 'a'..'z'; 112 my %h = map { $_ => uc $_ } 'a'..'b'; 145 my %h = map { $_ => uc $_ } 'a'..'c'; [all …]
|
| /openbsd-src/sys/arch/i386/i386/ |
| H A D | k6_mem.c | 50 #define k6_reg_get(reg, addr, mask, wc, uc) do { \ argument 54 uc = (reg) & 0x1; \ 57 #define k6_reg_make(addr, mask, wc, uc) \ argument 58 ((addr) | ((mask) << 2) | ((wc) << 1) | uc) 75 u_int32_t len = 0, wc, uc; in k6_mrmake() local 88 uc = (desc->mr_flags & MDF_UNCACHEABLE) ? 1 : 0; in k6_mrmake() 90 *mtrr = k6_reg_make(desc->mr_base, len, wc, uc); in k6_mrmake() 98 u_int32_t addr, mask, wc, uc; in k6_mrinit() local 112 k6_reg_get(one, addr, mask, wc, uc); in k6_mrinit() 117 if (uc) in k6_mrinit()
|
| /openbsd-src/gnu/llvm/libunwind/src/ |
| H A D | UnwindLevel1.c | 77 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { in unwind_phase1() argument 78 __unw_init_local(cursor, uc); in unwind_phase1() 173 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { in unwind_phase2() argument 174 __unw_init_local(cursor, uc); in unwind_phase2() 309 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor, in unwind_phase2_forced() argument 312 __unw_init_local(cursor, uc); in unwind_phase2_forced() 423 unw_context_t uc; in _Unwind_RaiseException() local 425 __unw_getcontext(&uc); in _Unwind_RaiseException() 433 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object); in _Unwind_RaiseException() 438 return unwind_phase2(&uc, &cursor, exception_object); in _Unwind_RaiseException() [all …]
|
| H A D | UnwindLevel1-gcc-ext.c | 118 unw_context_t uc; in _Unwind_FindEnclosingFunction() local 120 __unw_getcontext(&uc); in _Unwind_FindEnclosingFunction() 121 __unw_init_local(&cursor, &uc); in _Unwind_FindEnclosingFunction() 135 unw_context_t uc; in _Unwind_Backtrace() local 136 __unw_getcontext(&uc); in _Unwind_Backtrace() 137 __unw_init_local(&cursor, &uc); in _Unwind_Backtrace() 217 unw_context_t uc; in _Unwind_Find_FDE() local 219 __unw_getcontext(&uc); in _Unwind_Find_FDE() 220 __unw_init_local(&cursor, &uc); in _Unwind_Find_FDE()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
| H A D | 900210_01.C | 27 unsigned char uc; variable 104 uc = vp; /* ERROR - */ in global_function() 105 uc = cp; /* ERROR - */ in global_function() 106 uc = ip; /* ERROR - */ in global_function() 107 uc = ep; /* ERROR - */ in global_function() 108 uc = sp; /* ERROR - */ in global_function() 109 uc = fp; /* ERROR - */ in global_function()
|
| H A D | 900210_02.C | 27 unsigned char uc; variable 49 vp = uc; /* ERROR - */ in global_function() 61 cp = uc; /* ERROR - */ in global_function() 73 ip = uc; /* ERROR - */ in global_function() 85 ep = uc; /* ERROR - */ in global_function() 97 sp = uc; /* ERROR - */ in global_function() 109 fp = uc; /* ERROR - */ in global_function()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan_linux.cpp | 363 static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) { in GetAccessInfo() argument 380 const uptr addr = uc->uc_mcontext.regs[0]; in GetAccessInfo() 384 const uptr size = size_log == 0xf ? uc->uc_mcontext.regs[1] : 1U << size_log; in GetAccessInfo() 390 uptr pc = (uptr)uc->uc_mcontext.gregs[REG_RIP]; in GetAccessInfo() 399 const uptr addr = uc->uc_mcontext.gregs[REG_RDI]; in GetAccessInfo() 404 size_log == 0xf ? uc->uc_mcontext.gregs[REG_RSI] : 1U << size_log; in GetAccessInfo() 410 uptr pc = (uptr)uc->uc_mcontext.__gregs[REG_PC]; in GetAccessInfo() 438 const uptr addr = uc->uc_mcontext.__gregs[10]; in GetAccessInfo() 445 size_log == 0xf ? uc->uc_mcontext.__gregs[11] : 1U << size_log; in GetAccessInfo() 454 static bool HwasanOnSIGTRAP(int signo, siginfo_t *info, ucontext_t *uc) { in HwasanOnSIGTRAP() argument [all …]
|
| /openbsd-src/gnu/usr.bin/perl/regen/ |
| H A D | ebcdic.pl | 353 my @uc; 355 my $uc = uc chr $i; 356 if (length $uc > 1 || ord $uc > 255) { 357 $uc = "\N{LATIN SMALL LETTER Y WITH DIAERESIS}"; 359 $uc[$a2e[$i]] = $a2e[ord $uc]; 366 output_table(\@uc, "PL_mod_latin1_uc"); 397 my $uc = uc $char; 398 $uc = $char if length $uc > 1 || ord $uc > 255; 402 elsif ($uc ne $char) { 403 $latin1_fold[$a2e[$i]] = $a2e[ord $uc];
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | utf8.c | 255 #define UTF8_GET_SIZE(uc) (((uc) >> 24) & 0x1f) in utf8_item_by_index() 256 #define UTF8_GET_WIDTH(uc) (((uc) >> 29) - 1) in utf8_item_by_index() 430 utf8_from_data(const struct utf8_data *ud, utf8_char *uc) in utf8_towc() 445 *uc = UTF8_SET_SIZE(ud->size)|UTF8_SET_WIDTH(ud->width)|index; 447 (int)ud->size, ud->data, *uc); in utf8_fromwc() 452 *uc = UTF8_SET_SIZE(0)|UTF8_SET_WIDTH(0); in utf8_fromwc() 454 *uc = UTF8_SET_SIZE(1)|UTF8_SET_WIDTH(1)|0x20; in utf8_fromwc() 456 *uc in utf8_fromwc() 231 UTF8_GET_SIZE(uc) global() argument 232 UTF8_GET_WIDTH(uc) global() argument 314 utf8_from_data(const struct utf8_data * ud,utf8_char * uc) utf8_from_data() argument 346 utf8_to_data(utf8_char uc,struct utf8_data * ud) utf8_to_data() argument [all...] |