Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 1590) sorted by relevance

12345678910>>...64

/openbsd-src/sys/dev/pci/drm/i915/
H A Dintel_step.h26 #define STEP_NAME_LIST(func) \ argument
27 func(A0) \
28 func(A1) \
29 func(A2) \
30 func(A3) \
31 func(B0) \
32 func(B1) \
33 func(B2) \
34 func(B3) \
35 func(C0) \
[all …]
H A Dintel_device_info.h142 #define DEV_INFO_FOR_EACH_FLAG(func) \ argument
143 func(is_mobile); \
144 func(is_lp); \
145 func(require_force_probe); \
146 func(is_dgfx); \
148 func(has_64bit_reloc); \
149 func(has_64k_pages); \
150 func(gpu_reset_clobbers_display); \
151 func(has_reset_engine); \
152 func(has_3d_pipeline); \
[all …]
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dreentr.pl13 # d_${func}_r.U
42 # In func|inc|type|... a "S" means "type*", and a "R" means "type**".
198 my ($func, $hdr, $type, @p) = split(/\s*\|\s*/, $_, -1);
201 ($func, $u) = split(' ', $func);
202 $seenu{$func} = defined $u ? length $u : 0;
203 my $FUNC = uc $func; # for output.
204 push @seenf, $func;
221 if ($opts{U} && open(U, ">", "d_${func}_r.U")) {
244 ?RCS: \$Id: d_${func}_
[all...]
/openbsd-src/gnu/llvm/compiler-rt/lib/interception/
H A Dinterception.h123 # define DECLARE_WRAPPER(ret_type, func, ...) argument
129 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
130 extern "C" ret_type func(__VA_ARGS__);
131 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
132 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
140 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
141 extern "C" ret_type func(__VA_ARGS__) \
142 __attribute__((alias("__interceptor_" #func), visibility("default")));
147 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
148 extern "C" ret_type func(__VA_ARGS__) \
[all …]
H A Dinterception_linux.h25 bool InterceptFunction(const char *name, uptr *ptr_to_real, uptr func,
28 uptr func, uptr wrapper);
31 #define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) \ argument
33 #func, \
34 (::__interception::uptr *) & REAL(func), \
35 (::__interception::uptr) & (func), \
36 (::__interception::uptr) & WRAP(func))
40 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \ argument
42 #func, symver, \
43 (::__interception::uptr *) & REAL(func), \
[all …]
H A Dinterception_win.h64 #define INTERCEPT_FUNCTION_WIN(func) \ argument
65 ::__interception::OverrideFunction(#func, \
66 (::__interception::uptr)WRAP(func), \
67 (::__interception::uptr *)&REAL(func))
69 #define INTERCEPT_FUNCTION_WIN(func) \ argument
70 ::__interception::OverrideFunction((::__interception::uptr)func, \
71 (::__interception::uptr)WRAP(func), \
72 (::__interception::uptr *)&REAL(func))
75 #define INTERCEPT_FUNCTION_VER_WIN(func, symver) INTERCEPT_FUNCTION_WIN(func) argument
77 #define INTERCEPT_FUNCTION_DLLIMPORT(user_dll, provider_dll, func) \ argument
[all …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Darm-dis.c156 arm_decode_shift (given, func, stream) in arm_decode_shift() argument
158 fprintf_ftype func;
161 func (stream, "%s", arm_regnames[given & 0xf]);
174 func (stream, ", rrx");
181 func (stream, ", %s #%d", arm_shift[shift], amount);
184 func (stream, ", %s %s", arm_shift[(given & 0x60) >> 5],
218 fprintf_ftype func = info->fprintf_func; local
239 func (stream, "%%");
248 func (stream, "[pc");
256 func (stream, ", #%d]", offset);
[all …]
H A Dh8500-dis.c83 fprintf_ftype func = info->fprintf_func; local
143 func (stream, _("can't cope with insert %d\n"),
232 (func) (stream, "%02x ", buffer[i]);
236 (func) (stream, " ");
238 (func) (stream, "%s\t", opcode->name);
242 (func) (stream, ",");
246 func (stream, "fp");
249 func (stream, "@(0x%x:16,r%d)", disp, rn);
252 func (stream, "@(0x%x:8 (%d),r%d)", disp & 0xff, disp, rn);
255 func (stream, "@(0x%x:16,r%d)", disp, rd);
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Darm-dis.c1153 arm_decode_shift (long given, fprintf_ftype func, void *stream) in arm_decode_shift() argument
1155 func (stream, "%s", arm_regnames[given & 0xf]); in arm_decode_shift()
1168 func (stream, ", rrx"); in arm_decode_shift()
1175 func (stream, ", %s #%d", arm_shift[shift], amount); in arm_decode_shift()
1178 func (stream, ", %s %s", arm_shift[(given & 0x60) >> 5], in arm_decode_shift()
1193 fprintf_ftype func = info->fprintf_func; in print_insn_coprocessor() local
1232 func (stream, "%%"); in print_insn_coprocessor()
1236 func (stream, "[%s", arm_regnames [(given >> 16) & 0xf]); in print_insn_coprocessor()
1243 func (stream, ", #%s%d]%s", in print_insn_coprocessor()
1248 func (stream, "]"); in print_insn_coprocessor()
[all …]
H A Dh8500-dis.c79 fprintf_ftype func = info->fprintf_func; in print_insn_h8500() local
122 func (stream, _("can't cope with insert %d\n"), in print_insn_h8500()
209 (func) (stream, "%s\t", opcode->name); in print_insn_h8500()
213 (func) (stream, ","); in print_insn_h8500()
217 func (stream, "fp"); in print_insn_h8500()
220 func (stream, "@(0x%x:16,r%d)", disp, rn); in print_insn_h8500()
223 func (stream, "@(0x%x:8 (%d),r%d)", disp & 0xff, disp, rn); in print_insn_h8500()
226 func (stream, "@(0x%x:16,r%d)", disp, rd); in print_insn_h8500()
229 func (stream, "@(0x%x:8 (%d), r%d)", disp & 0xff, disp, rd); in print_insn_h8500()
232 func (stream, "@(0x%x:8 (%d), fp)", disp & 0xff, disp); in print_insn_h8500()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h46 #define SCOPED_INTERCEPTOR_RAW(func, ...) \ argument
48 ScopedInterceptor si(thr, #func, GET_CALLER_PC()); \
59 # define CHECK_REAL_FUNC(func) \ argument
60 if (REAL(func) == 0) { \
61 Report("FATAL: ThreadSanitizer: failed to intercept %s\n", #func); \
65 # define CHECK_REAL_FUNC(func) DCHECK(REAL(func)) argument
68 #define SCOPED_TSAN_INTERCEPTOR(func, ...) \ argument
69 SCOPED_INTERCEPTOR_RAW(func, __VA_ARGS__); \
70 CHECK_REAL_FUNC(func); \
72 return REAL(func)(__VA_ARGS__);
[all …]
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Ddecorators.py111 def expectedFailure(func): argument
112 return unittest2.expectedFailure(func)
115 def expectedFailure_impl(func): argument
116 if isinstance(func, type) and issubclass(func, unittest2.TestCase):
120 @wraps(func)
124 xfail_func = unittest2.expectedFailure(func)
127 func(*args, **kwargs)
141 def skipTestIfFn_impl(func): argument
142 if isinstance(func, type) and issubclass(func, unittest2.TestCase):
146 return unittest2.skipIf(condition=reason, reason=reason)(func)
[all …]
/openbsd-src/usr.sbin/pcidump/
H A Dpcidump.c71 void dump_type0(int bus, int dev, int func);
72 void dump_type1(int bus, int dev, int func);
73 void dump_type2(int bus, int dev, int func);
174 int bus, dev, func; in main() local
247 errstr = str2busdevfunc(argv[0], &bus, &dev, &func); in main()
252 if (nfuncs == -1 || func > nfuncs) in main()
255 error = dump_rom(bus, dev, func); in main()
257 error = probe(bus, dev, func); in main()
273 int bus, dev, func; in scanpcidomain() local
278 for (func = 0; func < nfuncs; func++) { in scanpcidomain()
[all …]
/openbsd-src/gnu/gcc/gcc/config/c4x/
H A Dc4x-c.c64 c4x_parse_pragma (name, func, sect) in c4x_parse_pragma() argument
66 tree *func;
92 *func = f;
100 tree func, sect; local
102 if (c4x_parse_pragma ("CODE_SECTION", &func, &sect))
105 build_tree_list (func,
113 tree func, sect; local
115 if (c4x_parse_pragma ("DATA_SECTION", &func, &sect))
118 build_tree_list (func,
126 tree func; local
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/c4x/
H A Dc4x-c.c61 c4x_parse_pragma (name, func, sect) in c4x_parse_pragma() argument
63 tree *func;
89 *func = f;
97 tree func, sect; local
99 if (c4x_parse_pragma ("CODE_SECTION", &func, &sect))
102 build_tree_list (func,
110 tree func, sect; local
112 if (c4x_parse_pragma ("DATA_SECTION", &func, &sect))
115 build_tree_list (func,
123 tree func; local
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/x86/
H A DUnwindAssembly-x86.cpp46 AddressRange &func, Thread &thread, UnwindPlan &unwind_plan) { in GetNonCallSiteUnwindPlanFromAssembly() argument
47 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly()
54 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly()
57 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in GetNonCallSiteUnwindPlanFromAssembly()
58 error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly()
62 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly()
68 AddressRange &func, Thread &thread, UnwindPlan &unwind_plan) { in AugmentUnwindPlanFromCallSite() argument
151 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite()
155 std::vector<uint8_t> function_text(func.GetByteSize()); in AugmentUnwindPlanFromCallSite()
158 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in AugmentUnwindPlanFromCallSite()
[all …]
/openbsd-src/gnu/llvm/libcxx/src/
H A Dstring.cpp74 inline void throw_from_string_out_of_range(const string& func) { in throw_from_string_out_of_range() argument
75 throw_helper<out_of_range>(func + ": out of range"); in throw_from_string_out_of_range()
78 inline void throw_from_string_invalid_arg(const string& func) { in throw_from_string_invalid_arg() argument
79 throw_helper<invalid_argument>(func + ": no conversion"); in throw_from_string_invalid_arg()
85 inline V as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) { in as_integer_helper() argument
93 throw_from_string_out_of_range(func); in as_integer_helper()
95 throw_from_string_invalid_arg(func); in as_integer_helper()
102 inline V as_integer(const string& func, const S& s, size_t* idx, int base);
106 inline int as_integer(const string& func, const string& s, size_t* idx, int base) { in as_integer() argument
108 long r = as_integer_helper<long>(func, s, idx, base, strtol); in as_integer()
[all …]
/openbsd-src/sys/arch/arm/arm/
H A Dbus_space_notimpl.S46 #define NAME(func) __C(BUS_SPACE,__C(_bs_,func)) argument
47 #define LNAME(func) __C(L,NAME(func)) argument
50 #define GLOBAL(func) .global __L(NAME(func)) argument
51 #define LABEL(func) __L(NAME(func)): argument
52 #define LLABEL(func) LNAME(func): argument
54 #define FTEXT(func,text) __S(__C(NAME(func),text)) argument
57 #define NOT_IMPL(func) \ argument
58 GLOBAL(func) ; \
59 LABEL(func) ; \
60 adr r4, LNAME(__C(func,_text)) ; \
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/Pod-Functions/
H A DFunctions_pm.PL59 foreach my $func (@$para[2 .. $#$para]) {
60 next unless ref $func eq 'ARRAY';
62 $func->[0] eq 'C' && !ref $func->[2] ? $func :
63 $func->[0] eq 'L' && ref $func->[2]
64 && $func->[2][0] eq 'C' && !ref $func->[2][2] ? $func->[2] :
114 foreach my $func (sort_funcs(keys %Flavor)) {
115 ok ( $Type{$func}, "$func is mentioned in at least one category group");
272 foreach my $func (sort_funcs(keys %Flavor)) {
273 my $desc = $Flavor{$func};
274 die "No types listed for $func" unless $Type{$func};
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/
H A Dmagic.t40 my $func = "encode('" . $enc . "', " . (!defined $str ? 'undef' : is_utf8($str) ? '$utf8_str' : '$ascii_str') . ($croak ? ', FB_CROAK' : '') . ')';
43 is(tied($input)->{fetch}, 1, "$func processes get magic only once");
44 is(tied($input)->{store}, $mod ? 1 : 0, "$func " . ($mod ? 'processes set magic only once' : 'does not process set magic'));
45 is($input, $mod ? '' : $str, "$func " . ($mod ? 'modifies' : 'does not modify') . ' $input string');
46 is($output, ((defined $str and $enc eq 'UTF-16LE') ? encode("UTF-16LE", $str) : $str), "$func returns correct \$output string");
50 my $func = "decode('" . $enc . "', " . (!defined $str ? 'undef' : is_utf8($str) ? '$utf8_str' : '$ascii_str') . ($croak ? ', FB_CROAK' : '') . ')';
54 is(tied($input)->{fetch}, 1, "$func processes get magic only once");
55 is(tied($input)->{store}, $mod ? 1 : 0, "$func " . ($mod ? 'processes set magic only once' : 'does not process set magic'));
56 is($input, $mod ? '' : $input_str, "$func " . ($mod ? 'modifies' : 'does not modify') . ' $input string');
57 is($output, $str, "$func return
[all...]
/openbsd-src/sys/dev/dt/
H A Ddtvar.h268 #define _DT_STATIC_P(func, name) (dt_static_##func##_##name)
273 #define _DT_STATIC_PROBEN(func, name, arg0, arg1, arg2, arg3, arg4, n) \ argument
274 struct dt_probe _DT_STATIC_P(func, name) = { \
278 .dtp_func = #func, \ argument
286 #define DT_STATIC_PROBE0(func, name) \
287 _DT_STATIC_PROBEN(func, name, NULL, NULL, NULL, NULL, NULL, 0)
289 #define DT_STATIC_PROBE1(func, name, arg0) \
290 _DT_STATIC_PROBEN(func, name, arg0, NULL, NULL, NULL, NULL, 1)
292 #define DT_STATIC_PROBE2(func, nam
291 DT_STATIC_PROBE0(func,name) global() argument
294 DT_STATIC_PROBE1(func,name,arg0) global() argument
297 DT_STATIC_PROBE2(func,name,arg0,arg1) global() argument
300 DT_STATIC_PROBE3(func,name,arg0,arg1,arg2) global() argument
303 DT_STATIC_PROBE4(func,name,arg0,arg1,arg2,arg3) global() argument
306 DT_STATIC_PROBE5(func,name,arg0,arg1,arg2,arg3,arg4) global() argument
309 DT_STATIC_ENTER(func,name,args...) global() argument
321 _DT_INDEX_P(func) global() argument
323 DT_INDEX_ENTER(func,index,args...) global() argument
[all...]
/openbsd-src/sys/dev/pci/drm/apple/
H A Diomfb_internal.h14 #define DCP_THUNK_VOID(func, handle) \ argument
15 static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \
21 #define DCP_THUNK_OUT(func, handle, T) \ argument
22 static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \
28 #define DCP_THUNK_IN(func, handle, T) \ argument
29 static void func(struct apple_dcp *dcp, bool oob, T *data, \
35 #define DCP_THUNK_INOUT(func, handle, T_in, T_out) \ argument
36 static void func(struct apple_dcp *dcp, bool oob, T_in *data, \
59 #define TRAMPOLINE_VOID(func, handler) \ argument
60 static bool __maybe_unused func(struct apple_dcp *dcp, int tag, void *out, void *in) \
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/B/t/
H A Doptree_constants.t96 for $func (sort keys %$want) {
98 checkOptree ( name => "$func() as a coderef",
99 code => \&{$func},
102 is a constant sub, optimized to a $want->{$func}[0]
104 is a constant sub, optimized to a $want->{$func}[0]
111 for $func (sort keys %$want) {
113 checkOptree ( name => "call $func",
114 code => "$func",
115 ($want->{$func}[2]) ? ( todo => $want->{$func}[2]) : (),
121 2 <\$> const[$want->{$func}[0] $want->{$func}[1]] s*/FOLD ->3
[all …]
/openbsd-src/usr.sbin/unbound/testcode/
H A Dchecklocks.c86 static void lock_error(struct checked_lock* lock, const char* func,
91 const char* func, const char* file, int line, const char* err) in lock_error() argument
99 log_err("At %s %s:%d", func, file, line); in lock_error()
119 const char* func, const char* file, int line) in acquire_locklock() argument
137 lock_error(lock, func, file, line, "acquire locklock"); in acquire_locklock()
199 const char* func, const char* file, int line) in prot_check() argument
206 lock_error(lock, func, file, line, in prot_check()
284 const char* func, const char* file, int line) in checklock_init() argument
291 fatal_exit("%s %s %d: out of memory", func, file, line); in checklock_init()
302 fatal_exit("%s %s %d: lock_init no thread info", func, file, in checklock_init()
[all …]
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_display_device.h17 #define DEV_INFO_DISPLAY_FOR_EACH_FLAG(func) \ argument
19 func(cursor_needs_physical); \
20 func(has_cdclk_crawl); \
21 func(has_cdclk_squash); \
22 func(has_ddi); \
23 func(has_dp_mst); \
24 func(has_dsb); \
25 func(has_fpga_dbg); \
26 func(has_gmch); \
27 func(has_hotplug); \
[all …]

12345678910>>...64