Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 25 of 261) sorted by relevance

1234567891011

/openbsd/src/sbin/wsconsctl/
Dwsconsctl.c84 struct vartypesw *sw = NULL; in main() local
119 for (sw = typesw; sw->name; sw++) { in main()
121 device = (*sw->nextdev)(devidx); in main()
137 "%s", sw->name); in main()
140 "%s%d", sw->name, devidx); in main()
142 if (sw->init != NULL) in main()
143 (*sw->init)(devfd, devidx); in main()
145 for (f = sw->field_tab; f->name; f++) in main()
149 (*sw->getval)(devfd); in main()
150 for (f = sw->field_tab; f->name; f++) in main()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Support/
DELFAttributeParser.cpp42 if (sw) { in integerAttribute()
43 DictScope scope(*sw, "Attribute"); in integerAttribute()
44 sw->printNumber("Tag", tag); in integerAttribute()
46 sw->printString("TagName", tagName); in integerAttribute()
47 sw->printNumber("Value", value); in integerAttribute()
58 if (sw) { in stringAttribute()
59 DictScope scope(*sw, "Attribute"); in stringAttribute()
60 sw->printNumber("Tag", tag); in stringAttribute()
62 sw->printString("TagName", tagName); in stringAttribute()
63 sw->printString("Value", desc); in stringAttribute()
[all …]
DARMAttributeParser.cpp77 if (sw) { in stringAttribute()
78 DictScope scope(*sw, "Attribute"); in stringAttribute()
79 sw->printNumber("Tag", tag); in stringAttribute()
81 sw->printString("TagName", tagName); in stringAttribute()
82 sw->printString("Value", desc); in stringAttribute()
289 if (sw) { in compatibility()
290 DictScope scope(*sw, "Attribute"); in compatibility()
291 sw->printNumber("Tag", tag); in compatibility()
292 sw->startLine() << "Value: " << integer << ", " << string << '\n'; in compatibility()
293 sw->printString("TagName", in compatibility()
[all …]
/openbsd/src/sbin/isakmpd/sysdep/openbsd/
Dsysdep.c50 int level, sw; in sysdep_cleartext() local
86 sw = 0; in sysdep_cleartext()
89 sw = 1; in sysdep_cleartext()
101 if (monitor_setsockopt(fd, optsw[sw].ip_proto, optsw[sw].auth_level, in sysdep_cleartext()
105 optsw[sw].ip_proto); in sysdep_cleartext()
108 if (monitor_setsockopt(fd, optsw[sw].ip_proto, optsw[sw].esp_trans_level, in sysdep_cleartext()
112 optsw[sw].ip_proto); in sysdep_cleartext()
115 if (monitor_setsockopt(fd, optsw[sw].ip_proto, optsw[sw].esp_network_level, in sysdep_cleartext()
119 optsw[sw].ip_proto); in sysdep_cleartext()
122 if (optsw[sw].ipcomp_level && in sysdep_cleartext()
[all …]
/openbsd/src/sys/arch/mips64/mips64/
Dlcore_ddb.S51 sw v0, PCB_ONFAULT(t0)
55 sw t1, PCB_ONFAULT(t0)
61 sw t1, PCB_ONFAULT(t0)
71 sw v0, PCB_ONFAULT(t0)
75 sw t1, PCB_ONFAULT(t0)
81 sw t1, PCB_ONFAULT(t0)
91 sw v0, PCB_ONFAULT(t0)
95 sw t1, PCB_ONFAULT(t0)
100 sw t1, PCB_ONFAULT(t0)
108 sw v0, PCB_ONFAULT(t0)
[all …]
Dlcore_access.S165 sw v0, PCB_ONFAULT(t3)
170 sw zero, PCB_ONFAULT(t3)
195 sw v0, PCB_ONFAULT(t3)
200 sw zero, PCB_ONFAULT(t3)
222 sw v0, PCB_ONFAULT(t3)
227 sw zero, PCB_ONFAULT(t3)
249 sw v0, PCB_ONFAULT(t3)
254 sw zero, PCB_ONFAULT(t3)
274 sw v0, PCB_ONFAULT(t3)
277 sw v1, 0(a1)
[all …]
/openbsd/src/gnu/llvm/compiler-rt/lib/builtins/riscv/
Dsave.S26 sw s11, 12(sp)
44 sw s10, 16(sp)
45 sw s9, 20(sp)
46 sw s8, 24(sp)
47 sw s7, 28(sp)
65 sw s6, 32(sp)
66 sw s5, 36(sp)
67 sw s4, 40(sp)
68 sw s3, 44(sp)
69 sw s2, 48(sp)
[all …]
/openbsd/src/gnu/llvm/compiler-rt/lib/xray/
Dxray_trampoline_mips.S28 sw $ra, 32($sp)
30 sw $a3, 28($sp)
31 sw $a2, 24($sp)
32 sw $a1, 20($sp)
33 sw $a0, 16($sp)
75 sw $ra, 32($sp)
77 sw $a1, 28($sp)
78 sw $a0, 24($sp)
79 sw $v1, 20($sp)
80 sw $v0, 16($sp)
/openbsd/src/gnu/llvm/libunwind/src/
DUnwindRegistersSave.S144 sw $1, (4 * 1)($4)
145 sw $2, (4 * 2)($4)
146 sw $3, (4 * 3)($4)
147 sw $4, (4 * 4)($4)
148 sw $5, (4 * 5)($4)
149 sw $6, (4 * 6)($4)
150 sw $7, (4 * 7)($4)
151 sw $8, (4 * 8)($4)
152 sw $9, (4 * 9)($4)
153 sw $10, (4 * 10)($4)
[all …]
/openbsd/src/sys/crypto/
Dcryptosoft.c99 swcr_encdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, in swcr_encdec() argument
109 exf = sw->sw_exf; in swcr_encdec()
151 exf->reinit(sw->sw_kschedule, iv); in swcr_encdec()
172 exf->encrypt(sw->sw_kschedule, in swcr_encdec()
175 exf->decrypt(sw->sw_kschedule, in swcr_encdec()
183 exf->encrypt(sw->sw_kschedule, blk); in swcr_encdec()
199 exf->decrypt(sw->sw_kschedule, blk); in swcr_encdec()
244 exf->encrypt(sw->sw_kschedule, in swcr_encdec()
247 exf->decrypt(sw->sw_kschedule, in swcr_encdec()
255 exf->encrypt(sw->sw_kschedule, idat); in swcr_encdec()
[all …]
/openbsd/src/lib/libfido2/src/
Dnfc.c25 uint8_t sw[2]; in tx_short_apdu() local
44 if (d->io.read(d->io_handle, sw, sizeof(sw), -1) != 2) { in tx_short_apdu()
48 if ((sw[0] << 8 | sw[1]) != SW_NO_ERROR) { in tx_short_apdu()
203 rx_apdu(fido_dev_t *d, uint8_t sw[2], unsigned char **buf, size_t *count, int *ms) in rx_apdu()
225 memcpy(sw, f + n - 2, 2); in rx_apdu()
237 uint8_t sw[2]; in rx_msg() local
240 if (rx_apdu(d, sw, &buf, &count, &ms) < 0) { in rx_msg()
245 while (sw[0] == SW1_MORE_DATA) in rx_msg()
246 if (tx_get_response(d, sw[1]) < 0 || in rx_msg()
247 rx_apdu(d, sw, &buf, &count, &ms) < 0) { in rx_msg()
[all …]
/openbsd/src/gnu/usr.bin/perl/os2/OS2/OS2-Process/
DProcess.pm272 my ($title, @sw) = @_;
273 $sw[0] = $title;
274 change_entry(@sw);
278 my (@sw) = process_entry();
279 swTitle_set_sw(shift, @sw);
283 my ($title, @sw) = @_;
285 WindowText_set $sw[1], $title;
289 my (@sw) = process_entry();
290 winTitle_set_sw(shift, @sw);
294 my (@sw) = process_entry();
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DELFAttributeParser.h33 ScopedPrinter *sw;
55 ELFAttributeParser(ScopedPrinter *sw, TagNameMap tagNameMap, StringRef vendor) in ELFAttributeParser() argument
56 : vendor(vendor), sw(sw), tagToStringMap(tagNameMap) {} in ELFAttributeParser()
59 : vendor(vendor), sw(nullptr), tagToStringMap(tagNameMap) {} in ELFAttributeParser()
DRISCVAttributeParser.h29 RISCVAttributeParser(ScopedPrinter *sw) in RISCVAttributeParser() argument
30 : ELFAttributeParser(sw, RISCVAttrs::getRISCVAttributeTags(), "riscv") {} in RISCVAttributeParser()
/openbsd/src/usr.bin/vi/ex/
Dex_shift.c70 size_t blen, len, newcol, newidx, oldcol, oldidx, sw; in shift() local
95 for (p = cmdp->argv[0]->bp, sw = 0; *p == '>' || *p == '<'; ++p) in shift()
96 sw += O_VAL(sp, O_SHIFTWIDTH); in shift()
127 newcol = oldcol + sw; in shift()
129 newcol = oldcol < sw ? 0 : oldcol - sw; in shift()
/openbsd/src/sys/dev/rasops/
Drasops_masks.h81 #define PUTBITS(sw, x, w, dp) do { \ argument
86 *(dp) = (*(dp) & ~n) | (MBR(sw, x) & n); \
88 *(dp) = (*(dp) & rasops_rmask[x]) | (MBR((sw), x)); \
90 (MBL(sw, 32-(x)) & rasops_lmask[n]); \
/openbsd/src/sys/arch/luna88k/dev/
Dmaskbits.h94 #define OMFB_PUTBITS(sw, x, w, dp) \ argument
100 *(dp) = (*(dp) & ~n) | (OMFB_MBR(sw, x) & n); \
103 | (OMFB_MBR(sw, x)); \
105 | (OMFB_MBL(sw, 32-(x)) & rasops_rmask[n]); \
/openbsd/src/gnu/llvm/llvm/utils/
Dfindoptdiff95 for sw in $all_switches ; do
96 echo -n " $sw"
97 switches="$switches $sw"
Dfindmisopt133 for sw in $all_switches ; do
134 echo -n " $sw"
135 switches="$switches $sw"
/openbsd/src/gnu/gcc/gcc/config/score/
Dcrti.asm54 sw r9, [r8]+, 4
77 sw r3, [r0, 20]
84 sw r3, [r0, 20]
102 sw r9, [r8]+, 4
127 sw r3, [r0, 20]
134 sw r3, [r0, 20]
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.asm/
Dmips.inc18 sw $31, 28($sp)
19 sw $fp, 24($sp)
20 sw $28, 20($sp)
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
D950922-1.c1 struct sw { struct
6 struct sw *q_w; argument
16 register struct sw *p; in f()
25 struct sw w[8]; in f()
/openbsd/src/gnu/usr.bin/perl/os2/OS2/OS2-Process/t/
Dos2_process.t193 my @sw = grep $_->{title} eq $skid_title, process_hentries;
194 sleep 1000 unless @sw;
195 is(scalar @sw, 1, 'exactly one session with this title');
196 my $sw = $sw[0];
197 ok $sw, 'have the data about the session';
198 is($sw->{owner_pid}, $spid, 'session has a correct pid');
199 my $k_hwnd = $sw->{owner_hwnd};
201 is sidOf($spid), $sw->{owner_sid}, 'we know sid of the session';
/openbsd/src/gnu/gcc/gcc/config/mips/
Dcrti.asm13 sw $31,20($sp)
25 sw $31,20($sp)
/openbsd/src/gnu/usr.bin/gcc/gcc/config/mips/
Dcrti.asm13 sw $31,20($sp)
25 sw $31,20($sp)

1234567891011