| /freebsd-12.1/contrib/openpam/misc/ |
| H A D | gendoc.pl | 107 my $func; 154 $func = $fn; 452 .Nm $$func{name} 477 .Fn $$func{name} $$func{args} 503 .Fn $$func{name} 563 my %func; 569 $func{Nm} = $func{Nm} || $1; 571 $func{Ft} = $func{Ft} || $1; 573 $func{Fn} = $func{Fn} || $1; 578 $FUNCTIONS{$func{Nm}} = \%func; [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/interception/ |
| H A D | interception.h | 131 extern "C" ret_type func(__VA_ARGS__); 178 extern FUNC_TYPE(func) PTR_TO_REAL(func); \ 204 FUNC_TYPE(func) PTR_TO_REAL(func); \ 207 # define DEFINE_REAL(ret_type, func, ...) argument 227 ret_type WRAP(func)(__VA_ARGS__) 238 INTERPOSER(func); \ 245 INTERCEPTOR_ZZZ(__DARWIN_ALIAS_C(func), ret_type, func, __VA_ARGS__) 256 FUNC_TYPE(func) PTR_TO_REAL(func); \ 282 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) argument 287 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) argument [all …]
|
| H A D | interception_win.h | 65 #define INTERCEPT_FUNCTION_WIN(func) \ argument 66 ::__interception::OverrideFunction(#func, \ 67 (::__interception::uptr)WRAP(func), \ 68 (::__interception::uptr *)&REAL(func)) 70 #define INTERCEPT_FUNCTION_WIN(func) \ argument 71 ::__interception::OverrideFunction((::__interception::uptr)func, \ 73 (::__interception::uptr *)&REAL(func)) 76 #define INTERCEPT_FUNCTION_VER_WIN(func, symver) INTERCEPT_FUNCTION_WIN(func) argument 78 #define INTERCEPT_FUNCTION_DLLIMPORT(user_dll, provider_dll, func) \ argument 80 user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \ [all …]
|
| H A D | interception_linux.h | 32 #define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) \ argument 34 #func, (::__interception::uptr *)&__interception::PTR_TO_REAL(func), \ 35 (::__interception::uptr) & (func), \ 36 (::__interception::uptr) & WRAP(func)) 40 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \ argument 41 (::__interception::real_##func = (func##_type)( \ 42 unsigned long)::__interception::GetFuncAddrVer(#func, symver)) 44 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \ argument 45 INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func)
|
| /freebsd-12.1/contrib/netbsd-tests/fs/common/ |
| H A D | h_fsmacros.h | 107 ATF_TC(fs##_##func); \ 114 void *fs##func##tmp; \ 121 func(tc,FSTEST_MNTNAME); \ 157 ATF_TP_ADD_TC(tp,fs##_##func) 176 ATF_TP_FSADD(ffs,func); \ 178 ATF_TP_FSADD(lfs,func); \ 187 ATF_TP_FSADD(v7fs,func); 196 ATF_TP_FSADD(zfs,func); 203 ATF_TP_FSAPPLY_NOZFS(func) 238 ATF_TP_FSADD(v7fs,func); [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | sdt.h | 91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument 107 #define SDT_PROBE0(prov, mod, func, name) argument 184 SDT_PROBE_DEFINE(prov, mod, func, name) 187 SDT_PROBE_DEFINE(prov, mod, func, name); \ 191 SDT_PROBE_DEFINE(prov, mod, func, name); \ 196 SDT_PROBE_DEFINE(prov, mod, func, name); \ 202 SDT_PROBE_DEFINE(prov, mod, func, name); \ 209 SDT_PROBE_DEFINE(prov, mod, func, name); \ 218 SDT_PROBE_DEFINE(prov, mod, func, name); \ 238 SDT_PROBE_DEFINE(prov, mod, func, name) [all …]
|
| /freebsd-12.1/contrib/libucl/src/ |
| H A D | ucl_emitter.c | 113 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_print_key() local 128 func->ucl_emitter_append_len (" = ", 3, func->ud); in ucl_emitter_print_key() 142 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key() 145 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key() 152 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key() 159 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key() 168 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_finish_object() local 174 func->ucl_emitter_append_len (";\n", 2, func->ud); in ucl_emitter_finish_object() 178 func->ucl_emitter_append_len (",\n", 2, func->ud); in ucl_emitter_finish_object() 196 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_common_end_object() local [all …]
|
| H A D | ucl_emitter_utils.c | 100 const struct ucl_emitter_functions *func = ctx->func; in ucl_elt_string_write_json() local 102 func->ucl_emitter_append_character ('"', 1, func->ud); in ucl_elt_string_write_json() 107 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json() 111 func->ucl_emitter_append_len ("\\n", 2, func->ud); in ucl_elt_string_write_json() 114 func->ucl_emitter_append_len ("\\r", 2, func->ud); in ucl_elt_string_write_json() 117 func->ucl_emitter_append_len ("\\b", 2, func->ud); in ucl_elt_string_write_json() 120 func->ucl_emitter_append_len ("\\t", 2, func->ud); in ucl_elt_string_write_json() 123 func->ucl_emitter_append_len ("\\f", 2, func->ud); in ucl_elt_string_write_json() 147 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json() 157 const struct ucl_emitter_functions *func = ctx->func; in ucl_elt_string_write_multiline() local [all …]
|
| /freebsd-12.1/contrib/binutils/opcodes/ |
| H A D | arm-dis.c | 1742 func (stream, "]"); in print_insn_coprocessor() 2191 func (stream, "]"); in print_arm_address() 2280 func (stream, "{"); in print_insn_neon() 2291 func (stream, "]"); in print_insn_neon() 2359 func (stream, "{"); in print_insn_neon() 2366 func (stream, "]"); in print_insn_neon() 2391 func (stream, "{"); in print_insn_neon() 2410 func (stream, "]"); in print_insn_neon() 2790 func (stream, "%s", in print_insn_arm() 2799 func (stream, "{"); in print_insn_arm() [all …]
|
| H A D | score-dis.c | 75 fprintf_ftype func = info->fprintf_func; in print_insn_score32() local 195 func (stream, "%c", *c); in print_insn_score32() 200 func (stream, "%c", *c); in print_insn_score32() 213 func (stream, "%c", *c); in print_insn_score32() 220 func (stream, _("<illegal instruction>")); in print_insn_score32() 231 fprintf_ftype func = info->fprintf_func; in print_insn_parallel_sym() local 236 func (stream, "%s", " ||\n \t \t"); in print_insn_parallel_sym() 246 fprintf_ftype func = info->fprintf_func; in print_insn_score16() local 353 func (stream, "%ld", reg); in print_insn_score16() 376 func (stream, "%c", *c); in print_insn_score16() [all …]
|
| /freebsd-12.1/usr.bin/sdiotool/ |
| H A D | linux_sdio_compat.c | 63 return sdio_read_1(func->dev, func->num, addr, err_ret); in sdio_readb() 67 return sdio_readb(func, addr, err_ret); in sdio_f0_readb() 71 return sdio_read_2(func->dev, func->num, addr, err_ret); in sdio_readw() 75 return sdio_read_4(func->dev, func->num, addr, err_ret); in sdio_readl() 78 void sdio_writeb(struct sdio_func *func, u8 b, in sdio_writeb() argument 80 *err_ret = sdio_write_1(func->dev, func->num, addr, b); in sdio_writeb() 93 sdio_writeb(func, b, addr, err_ret); in sdio_f0_writeb() 96 void sdio_writew(struct sdio_func *func, u16 b, in sdio_writew() argument 98 *err_ret = sdio_write_2(func->dev, func->num, addr, b); in sdio_writew() 101 void sdio_writel(struct sdio_func *func, u32 b, in sdio_writel() argument [all …]
|
| H A D | sdiotool.c | 173 struct sdio_func *func[8]; member 244 struct sdio_func *func; in brcmf_sdiod_request_data() local 253 func = sdiodev->func[fn]; in brcmf_sdiod_request_data() 317 u8 func; in brcmf_sdiod_regrw_helper() local 331 func = SDIO_FUNC_0; in brcmf_sdiod_regrw_helper() 333 func = SDIO_FUNC_1; in brcmf_sdiod_regrw_helper() 493 int func = 0; in main() local 538 brcmf_dev.func[0] = &f0; in main() 539 brcmf_dev.func[1] = &f1; in main() 540 brcmf_dev.func[2] = &f2; in main() [all …]
|
| /freebsd-12.1/contrib/telnet/telnetd/ |
| H A D | slc.c | 220 if (func > NSLC) { in process_slc() 230 if (func == 0) { in process_slc() 265 change_slc(func, flag, val); in process_slc() 292 add_slc(func, flag, val); in change_slc() 305 slctab[(int)func].current.flag = slctab[(int)func].defset.flag; in change_slc() 307 slctab[(int)func].current.val = slctab[(int)func].defset.val; in change_slc() 308 add_slc(func, slctab[(int)func].current.flag, in change_slc() 332 add_slc(func, flag, val); in change_slc() 367 add_slc(func, flag, val); in change_slc() 430 unsigned char func, flag; in do_opt_slc() local [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors.h | 26 #define SCOPED_INTERCEPTOR_RAW(func, ...) \ argument 29 ScopedInterceptor si(thr, #func, caller_pc); \ 34 #define SCOPED_TSAN_INTERCEPTOR(func, ...) \ argument 35 SCOPED_INTERCEPTOR_RAW(func, __VA_ARGS__); \ 36 if (REAL(func) == 0) { \ 41 return REAL(func)(__VA_ARGS__); \ 50 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__) argument 54 TSAN_INTERCEPTOR(ret, __libc_##func, __VA_ARGS__) \ 55 ALIAS(WRAPPER_NAME(pthread_##func)); 58 ALIAS(WRAPPER_NAME(pthread_##func)); [all …]
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | ed.defns.c | 1167 f->func = F_TOBEG; in editinit() 1260 f->func = F_DIGIT; in editinit() 1286 f->func = F_TOEND; in editinit() 1449 f->func = F_QUOTE; in editinit() 1474 f->func = F_XKEY; in editinit() 1578 f->func = V_ADD; in editinit() 1631 f->func = V_EWORD; in editinit() 1732 f->func = V_UNDO; in editinit() 1737 f->func = V_ZERO; in editinit() 1742 f->func = F_WHICH; in editinit() [all …]
|
| /freebsd-12.1/sys/amd64/pci/ |
| H A D | pci_cfgreg.c | 128 pciereg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite() 130 pcireg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite() 147 | (func << 8) | (reg & ~0x03)); in pci_cfgenable() 171 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread() 196 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgwrite() 257 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument 261 (((func) & 0x7) << 12) | \ 280 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread() 283 va = PCIE_VADDR(pcie_base, reg, bus, slot, func); in pciereg_cfgread() 310 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite() [all …]
|
| /freebsd-12.1/contrib/libc++/src/ |
| H A D | string.cpp | 45 void throw_from_string_out_of_range( const string& func ) in throw_from_string_out_of_range() argument 47 throw_helper<out_of_range>(func + ": out of range"); in throw_from_string_out_of_range() 51 void throw_from_string_invalid_arg( const string& func ) in throw_from_string_invalid_arg() argument 53 throw_helper<invalid_argument>(func + ": no conversion"); in throw_from_string_invalid_arg() 70 throw_from_string_out_of_range(func); in as_integer_helper() 72 throw_from_string_invalid_arg(func); in as_integer_helper() 92 throw_from_string_out_of_range(func); in as_integer() 137 throw_from_string_out_of_range(func); in as_integer() 187 throw_from_string_out_of_range(func); in as_float_helper() 189 throw_from_string_invalid_arg(func); in as_float_helper() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | UnwindAssembly-x86.cpp | 48 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly() 56 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 60 func.GetByteSize(), error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly() 64 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly() 153 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite() 162 func.GetByteSize(), error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite() 166 function_text.data(), func.GetByteSize(), func, unwind_plan, reg_ctx); in AugmentUnwindPlanFromCallSite() 211 AddressRange &func, const ExecutionContext &exe_ctx, in FirstNonPrologueInsn() argument 214 if (!func.GetBaseAddress().IsValid()) in FirstNonPrologueInsn() 229 error) == func.GetByteSize()) { in FirstNonPrologueInsn() [all …]
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | db_disasm.c | 637 func = popcode->func; in disasm_fields() 748 func &= ~Op_D; in disasm_fields() 843 func &= ~Op_A; in disasm_fields() 849 func &= ~Op_S; in disasm_fields() 855 func &= ~Op_C; in disasm_fields() 861 func &= ~Op_B; in disasm_fields() 928 if ((func & Op_SH) && (func & Op_sh_mb_sh)) { in disasm_fields() 933 if ((func & Op_MB) && (func & Op_sh_mb_sh)) { in disasm_fields() 941 if ((func & Op_sh) && ! (func & Op_sh_mb_sh)) { in disasm_fields() 948 if ((func & Op_mb) && ! (func & Op_sh_mb_sh)) { in disasm_fields() [all …]
|
| /freebsd-12.1/crypto/heimdal/lib/hx509/ |
| H A D | test_soft_pkcs11.c | 38 static CK_FUNCTION_LIST_PTR func; variable 69 ret = (*func->C_FindObjectsFinal)(session); in find_object() 92 ret = C_GetFunctionList(&func); in main() 96 (*func->C_Initialize)(NULL_PTR); in main() 98 ret = (*func->C_GetSlotList)(FALSE, NULL, &num_slots); in main() 115 ret = (*func->C_GetSlotInfo)(slot, &slot_info); in main() 127 ret = (*func->C_GetTokenInfo)(slot, &token_info); in main() 132 ret = (*func->C_Login)(session, CKU_USER, in main() 138 ret = (*func->C_GetTokenInfo)(slot, &token_info); in main() 221 ret = (*func->C_CloseSession)(session); in main() [all …]
|
| /freebsd-12.1/sys/x86/pci/ |
| H A D | pci_early_quirks.c | 64 intel_stolen_base_gen3(int bus, int slot, int func) in intel_stolen_base_gen3() argument 69 ctrl = pci_cfgregread(bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3() 75 intel_stolen_size_gen3(int bus, int slot, int func) in intel_stolen_size_gen3() argument 115 intel_stolen_size_gen6(int bus, int slot, int func) in intel_stolen_size_gen6() argument 120 ctrl = pci_cfgregread(bus, slot, func, SNB_GMCH_CTRL, 2); in intel_stolen_size_gen6() 126 intel_stolen_size_gen8(int bus, int slot, int func) in intel_stolen_size_gen8() argument 137 intel_stolen_size_chv(int bus, int slot, int func) in intel_stolen_size_chv() argument 159 intel_stolen_size_gen9(int bus, int slot, int func) in intel_stolen_size_gen9() argument 175 vm_paddr_t (*base)(int bus, int slot, int func); 176 vm_paddr_t (*size)(int bus, int slot, int func); [all …]
|
| H A D | pci_bus.c | 68 return(pci_cfgregread(bus, slot, func, reg, bytes)); in legacy_pcib_read_config() 77 pci_cfgregwrite(bus, slot, func, reg, data, bytes); in legacy_pcib_write_config() 122 int error, func, slot; in legacy_pcib_map_msi() local 130 func = legacy_get_pcifunc(pcib); in legacy_pcib_map_msi() 131 if (slot == -1 || func == -1) in legacy_pcib_map_msi() 133 hostb = pci_find_bsf(0, slot, func); in legacy_pcib_map_msi() 135 slot, func)); in legacy_pcib_map_msi() 380 int bus, slot, func; in legacy_pcib_identify() local 404 func = 0; in legacy_pcib_identify() 420 for (func = 0; func <= pcifunchigh; func++) { in legacy_pcib_identify() [all …]
|
| /freebsd-12.1/sys/arm/ti/am335x/ |
| H A D | am335x_dmtimer.c | 66 } func; member 168 if (sc->func.et.et_active) in am335x_dmtimer_et_intr() 169 sc->func.et.et_event_cb(&sc->func.et, sc->func.et.et_arg); in am335x_dmtimer_et_intr() 191 sc->func.et.et_name = sc->tmr_name; in am335x_dmtimer_et_init() 193 sc->func.et.et_quality = 500; in am335x_dmtimer_et_init() 195 sc->func.et.et_min_period = in am335x_dmtimer_et_init() 197 sc->func.et.et_max_period = in am335x_dmtimer_et_init() 201 sc->func.et.et_priv = sc; in am335x_dmtimer_et_init() 204 et_register(&sc->func.et); in am335x_dmtimer_et_init() 239 sc->func.tc.tc_priv = sc; in am335x_dmtimer_tc_init() [all …]
|
| /freebsd-12.1/sys/i386/pci/ |
| H A D | pci_cfgreg.c | 214 && func <= PCI_FUNCMAX in pci_cfgenable() 224 | (func << 8) | (reg & ~0x03)); in pci_cfgenable() 228 outb(CONF2_ENABLE_PORT, 0xf0 | (func << 1)); in pci_cfgenable() 264 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread() 524 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument 528 (((func) & 0x7) << 12) | \ 538 pa = PCIE_PADDR(pcie_base, reg, bus, slot, func); in pciereg_findaddr() 586 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread() 590 va = pciereg_findaddr(bus, slot, func, reg); in pciereg_cfgread() 618 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite() [all …]
|
| /freebsd-12.1/sbin/ifconfig/ |
| H A D | ifconfig.h | 73 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } argument 74 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } argument 75 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL } argument 76 #define DEF_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 0, NULL } argument 77 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } argument 78 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL } argument 79 #define DEF_CLONE_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 1, NULL } argument
|