/src/lib/libc/regex/ |
cname.h | 10 * This code is derived from software contributed to Berkeley by 16 * 1. Redistributions of source code must retain the above copyright 44 char code; member in struct:cname
|
regerror.c | 10 * This code is derived from software contributed to Berkeley by 16 * 1. Redistributions of source code must retain the above copyright 100 int code; member in struct:rerr 121 {0, "", "*** unknown regexp error code ***"} 147 for (r = rerrs; r->code != 0; r++) 148 if (r->code == target) 152 if (r->code != 0) 177 for (r = rerrs; r->code != 0; r++) 180 if (r->code == 0) 183 snprintf(localbuf, buflen, "%d", r->code); [all...] |
/src/sys/external/bsd/sljit/dist/doc/tutorial/ |
first_program.c | 10 void *code; local in function:add3 34 /* Generate machine code */ 35 code = sljit_generate_code(C); 38 /* Execute code */ 39 func = (func3_t)code; 42 /* dump_code(code, len); */ 46 sljit_free_code(code);
|
branch.c | 21 void *code; local in function:branch 58 /* Generate machine code */ 59 code = sljit_generate_code(C); 62 /* Execute code */ 63 func = (func3_t)code; 66 /* dump_code(code, len); */ 70 sljit_free_code(code);
|
func_call.c | 27 void *code; local in function:func_call 61 /* Generate machine code */ 62 code = sljit_generate_code(C); 65 /* Execute code */ 66 func = (func3_t)code; 69 /* dump_code(code, len); */ 73 sljit_free_code(code);
|
loop.c | 24 void *code; local in function:loop 57 /* Generate machine code */ 58 code = sljit_generate_code(C); 61 /* Execute code */ 62 func = (func2_t)code; 65 /* dump_code(code, len); */ 69 sljit_free_code(code);
|
temp_var.c | 31 void *code; local in function:temp_var 55 /* Generate machine code */ 56 code = sljit_generate_code(C); 59 /* Execute code */ 60 func = (func3_t)code; 63 /* dump_code(code, len); */ 67 sljit_free_code(code);
|
array_access.c | 29 void *code; local in function:array_access 50 /* Generate machine code */ 51 code = sljit_generate_code(C); 54 /* Execute code */ 55 func = (func_arr_t)code; 58 /* dump_code(code, len); */ 62 sljit_free_code(code);
|
struct_access.c | 37 void *code; local in function:struct_access 65 /* Generate machine code */ 66 code = sljit_generate_code(C); 69 /* Execute code */ 70 func = (point_func_t)code; 73 /* dump_code(code, len); */ 77 sljit_free_code(code);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_gp108.c | 49 const u64 code = base + lsfw->app_resident_code_offset; local in function:gp108_gr_acr_bld_write 53 .code_dma_base = code,
|
/src/usr.sbin/mopd/common/ |
rc.c | 9 * 1. Redistributions of source code must retain the above copyright 43 u_char tmpc,code,control; local in function:mopDumpRC 57 code = mopGetChar(pkt,&idx); 59 switch (code) { 145 mopPrintInfo(fd, pkt, &idx, moplen, code, trans);
|
dl.c | 9 * 1. Redistributions of source code must retain the above copyright 43 u_char tmpc,c,program[257],code; local in function:mopDumpDL 58 code = mopGetChar(pkt,&idx); 60 switch (code) { 182 mopPrintInfo(fd, pkt, &idx, moplen, code, trans); 214 mopPrintInfo(fd, pkt, &idx, moplen, code, trans);
|
/src/sys/arch/amd64/amd64/ |
linux_syscall.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 80 register_t code, rval[2]; local in function:linux_syscall 86 code = frame->tf_rax; 90 code &= (LINUX_SYS_NSYSENT - 1); 91 callp += code; 99 && (error = trace_enter(code, callp, args)) != 0) 128 trace_exit(code, callp, args, rval, error);
|
/src/sys/arch/i386/i386/ |
linux_syscall.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 76 register_t code, args[6], rval[2]; local in function:linux_syscall 80 code = frame->tf_eax & (LINUX_SYS_NSYSENT - 1); 83 callp += code; 99 error = trace_enter(code, callp, args); 108 * XXX The linux libc code I (dsl) looked at doesn't use the 135 trace_exit(code, callp, args, rval, error);
|
compat_16_machdep.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 82 * The trampoline code hands us the context. 159 u_long code = KSI_TRAPCODE(ksi); local in function:sendsig_sigcontext 181 frame.sf_code = code;
|
/src/sys/arch/mips/mips/ |
mips_fputrap.c | 10 * 1. Redistributions of source code must retain the above copyright 85 int code; member in struct:__anon54097fc30108 100 return fpecodes[i].code;
|
/src/sys/kern/ |
sys_syscall.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 48 CONCAT(SYS_SYSCALL, _biglockcheck)(struct proc *p, int code) 55 (long)code, p->p_emul->e_name, curcpu()->ci_biglock_count); 65 syscallarg(int) code; 70 int code; local in function:SYS_SYSCALL 82 code = SCARG(uap, code) & (SYS_NSYSENT - 1); 83 SYSCALL_COUNT(syscall_counts, code); 84 callp += code; [all...] |
/src/sys/arch/arm/arm/ |
linux_syscall.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 37 * This code is derived from software written for Brini by Mark Brinicombe 42 * 1. Redistributions of source code must retain the above copyright 115 int code, error; local in function:linux_syscall_plain 118 code = insn & 0x00ffffff; 119 if (code == 0) { /* EABI */ 120 code = frame->tf_r7; 121 if (code > LINUX_EARM_NR_BASE) 122 code = code - LINUX_EARM_NR_BASE + LINUX_SYS_ARMBASE 166 int code, error; local in function:linux_syscall_fancy [all...] |
/src/sys/arch/news68k/dev/ |
ms.c | 9 * 1. Redistributions of source code must retain the above copyright 33 * 1. Redistributions of source code must retain the above copyright 74 int code, index, byte0, byte1, byte2; local in function:ms_intr 80 code = bus_space_read_1(bt, bh, offset); 83 if (code & MS_S_MARK) { 84 sc->sc_buf[MS_S_BYTE] = code; 90 sc->sc_buf[MS_X_BYTE] = code; 96 sc->sc_buf[MS_Y_BYTE] = code;
|
/src/sys/arch/sh3/sh3/ |
syscall.c | 8 * This code is derived from software contributed to Berkeley by 14 * 1. Redistributions of source code must retain the above copyright 41 * This code is derived from software contributed to Berkeley by 47 * 1. Redistributions of source code must retain the above copyright 115 register_t code, args[8], rval[2], ocode; local in function:syscall 120 ocode = code = tf->tf_r0; 126 switch (code) { 129 * Code is first argument, followed by actual args. 131 code = tf->tf_r4; /* ufetch_int(params); */ 136 * Like syscall, but code is a quad, so as to maintai [all...] |
/src/sys/compat/freebsd/ |
freebsd_machdep.c | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 81 u_long code = KSI_TRAPCODE(ksi); local in function:freebsd_sendsig 95 frame.sf_code = code; 171 * The trampoline code hands us the context.
|
/src/sys/dev/pci/ |
mly_tables.h | 7 * This code is derived from software contributed to The NetBSD Foundation 13 * 1. Redistributions of source code must retain the above copyright 40 * 1. Redistributions of source code must retain the above copyright 66 u_int code; member in struct:mly_code_lookup 73 * Look up a text description of a numeric code and return a pointer to same. 76 mly_describe_code(const struct mly_code_lookup *table, u_int32_t code) 81 if (table[i].code == code) 227 { "? unknown event code", 0 }
|
/src/tests/lib/libbpfjit/ |
t_extmem.c | 11 * 1. Redistributions of source code must retain the above copyright 78 bpfjit_func_t code; local in function:ATF_TC_BODY 95 code = bpfjit_generate_code(&ctx, insns, insn_count); 96 ATF_REQUIRE(code != NULL); 98 ATF_CHECK(code(&ctx, &args) == 0); 100 bpfjit_free_code(code); 117 bpfjit_func_t code; local in function:ATF_TC_BODY 134 code = bpfjit_generate_code(&ctx, insns, insn_count); 135 ATF_REQUIRE(code != NULL); 137 ATF_CHECK(code(&ctx, &args) == 3) 179 bpfjit_func_t code; local in function:ATF_TC_BODY 231 bpfjit_func_t code; local in function:ATF_TC_BODY 300 bpfjit_func_t code; local in function:ATF_TC_BODY 345 bpfjit_func_t code; local in function:ATF_TC_BODY 391 bpfjit_func_t code; local in function:ATF_TC_BODY 437 bpfjit_func_t code; local in function:ATF_TC_BODY [all...] |
/src/tests/net/bpfjit/ |
t_extmem.c | 11 * 1. Redistributions of source code must retain the above copyright 86 bpfjit_func_t code; local in function:ATF_TC_BODY 106 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count); 108 ATF_REQUIRE(code != NULL); 110 ATF_CHECK(code(&ctx, &args) == 3); 113 rumpns_bpfjit_free_code(code); 131 bpfjit_func_t code; local in function:ATF_TC_BODY 137 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count); 139 ATF_CHECK(code == NULL); 160 bpfjit_func_t code; local in function:ATF_TC_BODY 218 bpfjit_func_t code; local in function:ATF_TC_BODY 270 bpfjit_func_t code; local in function:ATF_TC_BODY 299 bpfjit_func_t code; local in function:ATF_TC_BODY 350 bpfjit_func_t code; local in function:ATF_TC_BODY 402 bpfjit_func_t code; local in function:ATF_TC_BODY 454 bpfjit_func_t code; local in function:ATF_TC_BODY [all...] |
/src/usr.sbin/acpitools/amldb/ |
amldb.c | 10 * 1. Redistributions of source code must retain the above copyright 79 u_int8_t *code; local in function:load_dsdt 94 if ((code = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) == 101 aml_new_name_group(code); 105 if (strncmp((const char *)code, "DSDT", 4) == 0) { 106 env.dp = code + SIZEOF_SDT_HDR; 108 env.dp = code; 110 env.end = code + sb.st_size; 118 env.dp = code; 119 env.end = code + sb.st_size [all...] |