Home
last modified time | relevance | path

Searched refs:sepc (Results 1 – 17 of 17) sorted by relevance

/src/lib/libc/regex/grot/ !
H A Dsplit.c18 char sepc = sep[0]; in split() local
26 if (sepc == '\0') { in split()
32 sepc = ' '; in split()
49 while ((c = *p++) != sepc) in split()
57 while ((c = *p++) != sepc) in split()
71 while ((c = *p++) != sepc && c != sepc2) in split()
80 while ((c = *p++) == sepc || c == sepc2) in split()
87 while ((c = *p++) == sepc || c == sepc2) in split()
91 while ((c = *p++) != '\0' && c != sepc && c != sepc2) in split()
97 while ((c = *--p) == sepc || c == sepc2) in split()
[all …]
/src/contrib/netbsd-tests/lib/libc/regex/ !
H A Dsplit.c49 char sepc = *sep; in split() local
57 if (sepc == '\0') { in split()
63 sepc = ' '; in split()
80 while ((c = *p++) != sepc) in split()
88 while ((c = *p++) != sepc) in split()
102 while ((c = *p++) != sepc && c != sepc2) in split()
111 while ((c = *p++) == sepc || c == sepc2) in split()
118 while ((c = *p++) == sepc || c == sepc2) in split()
122 while ((c = *p++) != '\0' && c != sepc && c != sepc2) in split()
128 while ((c = *--p) == sepc || c == sepc2) in split()
[all …]
/src/contrib/ntp/sntp/ !
H A Dkod_management.c190 int a, b, sepc, len; in kod_init_kod_db() local
218 sepc = 0; in kod_init_kod_db()
222 sepc++; in kod_init_kod_db()
225 if (sepc != 2) { in kod_init_kod_db()
234 sepc = 0; in kod_init_kod_db()
/src/lib/libthread_db/arch/riscv/ !
H A Dlibpthread_md.c55 mc->mc_gpregs.gp_sepc = r->sepc; in pt_reg_to_ucontext()
73 r->sepc = mc->mc_gpregs.gp_sepc; in pt_ucontext_to_reg()
/src/sys/riscv/vmm/ !
H A Dvmm_switch.S78 csrw sepc, t5
164 csrr t0, sepc
207 csrr a1, sepc
210 csrw sepc, a1
H A Dvmm_riscv.c339 guest_addr = vme_ret->sepc; in riscv_gen_inst_emul_data()
494 "0x%lx\n", __func__, vme->sepc, vme->stval, vme->htval); in riscv_handle_world_switch()
700 vme->sepc = csr_read(sepc); in vmmops_run()
H A Driscv.h118 uint64_t sepc; member
/src/lib/libproc/ !
H A Dproc_regs.c67 *regvalue = regs.sepc; in proc_regget()
118 regs.sepc = regvalue; in proc_regset()
/src/sys/riscv/include/ !
H A Dreg.h48 __uint64_t sepc; /* exception program counter */ member
H A Dvmm.h222 uint64_t sepc; member
H A Dencoding.h1064 DECLARE_CSR(sepc, CSR_SEPC)
/src/sys/riscv/riscv/ !
H A Dexception.S101 csrr t0, sepc
134 csrw sepc, t0
H A Dexec_machdep.c84 regs->sepc = frame->tf_sepc; in fill_regs()
104 frame->tf_sepc = regs->sepc; in set_regs()
H A Dgenassym.c129 ASSYM(HYP_TRAP_SEPC, offsetof(struct hyptrap, sepc));
H A Dswtch.S380 csrw sepc, t0
/src/contrib/llvm-project/llvm/lib/Target/RISCV/ !
H A DRISCVSystemOperands.td124 def : SysReg<"sepc", 0x141>;
/src/tests/sys/kern/ !
H A Dptrace_test.c73 #define SKIP_BREAK(reg) ((reg)->sepc += 4)