Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 252) sorted by relevance

1234567891011

/dragonfly/sys/dev/drm/amd/display/dc/inc/
HDbw_fixed.h43 const struct bw_fixed arg2) in bw_min2() argument
45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2()
49 const struct bw_fixed arg2) in bw_max2() argument
51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2()
102 const struct bw_fixed arg2) in bw_add() argument
106 res.value = arg1.value + arg2.value; in bw_add()
111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_sub() argument
115 res.value = arg1.value - arg2.value; in bw_sub()
120 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2);
121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() argument
[all …]
HDdcn_calc_math.h29 float dcn_bw_mod(const float arg1, const float arg2);
30 float dcn_bw_min2(const float arg1, const float arg2);
31 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2);
32 float dcn_bw_max2(const float arg1, const float arg2);
/dragonfly/sys/dev/drm/amd/display/include/
HDfixed31_32.h141 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument
143 return arg1.value < arg2.value; in dc_fixpt_lt()
150 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument
152 return arg1.value <= arg2.value; in dc_fixpt_le()
159 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument
161 return arg1.value == arg2.value; in dc_fixpt_eq()
168 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument
170 if (arg1.value <= arg2.value) in dc_fixpt_min()
173 return arg2; in dc_fixpt_min()
180 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument
[all …]
/dragonfly/sys/sys/
HDcpputil.h68 #define __GENSTRUCT2(tag, arg1, arg2) struct tag { \ argument
70 arg2; \
72 #define __GENSTRUCT3(tag, arg1, arg2, arg3) struct tag { \ argument
74 arg2; \
77 #define __GENSTRUCT4(tag, arg1, arg2, arg3, arg4) struct tag { \ argument
79 arg2; \
83 #define __GENSTRUCT5(tag, arg1, arg2, arg3, arg4, arg5) struct tag { \ argument
85 arg2; \
90 #define __GENSTRUCT6(tag, arg1, arg2, arg3, arg4, arg5, arg6) struct tag { \ argument
92 arg2; \
[all …]
HDthread2.h319 lwkt_send_ipiq2(globaldata_t target, ipifunc2_t func, void *arg1, int arg2) in lwkt_send_ipiq2() argument
321 return(lwkt_send_ipiq3(target, (ipifunc3_t)func, arg1, arg2)); in lwkt_send_ipiq2()
331 lwkt_send_ipiq2_mask(cpumask_t mask, ipifunc2_t func, void *arg1, int arg2) in lwkt_send_ipiq2_mask() argument
333 return(lwkt_send_ipiq3_mask(mask, (ipifunc3_t)func, arg1, arg2)); in lwkt_send_ipiq2_mask()
344 void *arg1, int arg2) in lwkt_send_ipiq2_passive() argument
346 return(lwkt_send_ipiq3_passive(target, (ipifunc3_t)func, arg1, arg2)); in lwkt_send_ipiq2_passive()
356 lwkt_send_ipiq2_bycpu(int dcpu, ipifunc2_t func, void *arg1, int arg2) in lwkt_send_ipiq2_bycpu() argument
358 return(lwkt_send_ipiq3_bycpu(dcpu, (ipifunc3_t)func, arg1, arg2)); in lwkt_send_ipiq2_bycpu()
/dragonfly/usr.bin/window/
HDxxflush.c57 (*tt.tt_inschar)(xp->arg2); in xxflush()
61 (*tt.tt_insspace)(xp->arg2); in xxflush()
65 (*tt.tt_delchar)(xp->arg2); in xxflush()
81 (*tt.tt_write)(xp->buf, xp->arg2); in xxflush()
125 xp->arg2 == xq->arg2 && xq->arg0 < 0) { in xxflush_scroll()
127 if (xp->arg2 - xp->arg0 <= xq->arg1) { in xxflush_scroll()
130 xq->arg2 = xp->arg2; in xxflush_scroll()
133 xp->arg2 = xq->arg1 + xp->arg0; in xxflush_scroll()
135 xq->arg1 = xp->arg2; in xxflush_scroll()
140 if (xp->arg1 - xq->arg0 >= xp->arg2) in xxflush_scroll()
[all …]
HDxx.c158 xp->arg1 == top && xp->arg2 == bot && in xxscroll()
167 xp->arg2 = bot; in xxscroll()
179 xp->arg2 = c; in xxinschar()
189 col >= xp->arg1 && col <= xp->arg1 + xp->arg2) { in xxinsspace()
190 xp->arg2++; in xxinsspace()
197 xp->arg2 = 1; in xxinsspace()
207 xp->arg2++; in xxdelchar()
214 xp->arg2 = 1; in xxdelchar()
258 xp->arg2 = n; in xxwrite()
/dragonfly/sys/dev/drm/amd/display/dc/calcs/
HDdcn_calc_math.c39 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument
42 return arg2; in dcn_bw_mod()
43 if (isNaN(arg2)) in dcn_bw_mod()
45 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod()
48 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument
51 return arg2; in dcn_bw_min2()
52 if (isNaN(arg2)) in dcn_bw_min2()
54 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2()
57 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument
59 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max()
[all …]
/dragonfly/contrib/gdb-7/gdb/
HDeval.c460 struct value **arg1, struct value **arg2) in binop_promote() argument
467 *arg2 = coerce_ref (*arg2); in binop_promote()
470 type2 = check_typedef (value_type (*arg2)); in binop_promote()
627 *arg2 = value_cast (promoted_type, *arg2); in binop_promote()
701 struct value *arg2 = NULL; in evaluate_subexp_standard() local
1045 arg2 = evaluate_subexp (NULL_TYPE, exp, pos, noside); in evaluate_subexp_standard()
1047 return arg2; in evaluate_subexp_standard()
1375 arg2 = evaluate_subexp_for_address (exp, pos, noside); in evaluate_subexp_standard()
1379 arg2 = evaluate_subexp (NULL_TYPE, exp, pos, noside); in evaluate_subexp_standard()
1396 arg1 = cplus_method_ptr_to_value (&arg2, arg1); in evaluate_subexp_standard()
[all …]
HDvalarith.c86 value_ptradd (struct value *arg1, LONGEST arg2) in value_ptradd() argument
97 value_as_address (arg1) + sz * arg2); in value_ptradd()
107 value_ptrdiff (struct value *arg1, struct value *arg2) in value_ptrdiff() argument
113 arg2 = coerce_array (arg2); in value_ptrdiff()
115 type2 = check_typedef (value_type (arg2)); in value_ptrdiff()
134 return (value_as_long (arg1) - value_as_long (arg2)) / sz; in value_ptrdiff()
256 struct value *arg1, struct value *arg2) in binop_user_defined_p() argument
258 return binop_types_user_defined_p (op, value_type (arg1), value_type (arg2)); in binop_user_defined_p()
344 value_x_binop (struct value *arg1, struct value *arg2, enum exp_opcode op, in value_x_binop() argument
353 arg2 = coerce_ref (arg2); in value_x_binop()
[all …]
HDvalops.c310 value_cast_pointers (struct type *type, struct value *arg2, in value_cast_pointers() argument
314 struct type *type2 = check_typedef (value_type (arg2)); in value_cast_pointers()
320 && (subclass_check || !value_logical_not (arg2))) in value_cast_pointers()
325 v2 = coerce_ref (arg2); in value_cast_pointers()
327 v2 = value_ind (arg2); in value_cast_pointers()
342 arg2 = value_copy (arg2); in value_cast_pointers()
343 deprecated_set_value_type (arg2, type); in value_cast_pointers()
344 set_value_enclosing_type (arg2, type); in value_cast_pointers()
345 set_value_pointed_to_offset (arg2, 0); /* pai: chk_val */ in value_cast_pointers()
346 return arg2; in value_cast_pointers()
[all …]
HDopencl-lang.c741 opencl_relop (struct expression *exp, struct value *arg1, struct value *arg2, in opencl_relop() argument
746 struct type *type2 = check_typedef (value_type (arg2)); in opencl_relop()
754 int tmp = scalar_relop (arg1, arg2, op); in opencl_relop()
762 val = vector_relop (exp, arg1, arg2, op); in opencl_relop()
767 struct value **v = t1_is_vec ? &arg2 : &arg1; in opencl_relop()
774 val = vector_relop (exp, arg1, arg2, op); in opencl_relop()
790 struct value *arg2 = NULL; in evaluate_subexp_opencl() local
801 arg2 = evaluate_subexp (type1, exp, pos, noside); in evaluate_subexp_opencl()
808 arg2 = opencl_value_cast (type1, arg2); in evaluate_subexp_opencl()
810 return value_assign (arg1, arg2); in evaluate_subexp_opencl()
[all …]
HDvalue.h608 extern struct value *value_concat (struct value *arg1, struct value *arg2);
610 extern struct value *value_binop (struct value *arg1, struct value *arg2,
613 extern struct value *value_ptradd (struct value *arg1, LONGEST arg2);
615 extern LONGEST value_ptrdiff (struct value *arg1, struct value *arg2);
677 extern struct value *value_cast (struct type *type, struct value *arg2);
748 struct value **arg1, struct value **arg2);
826 extern int value_equal (struct value *arg1, struct value *arg2);
828 extern int value_equal_contents (struct value *arg1, struct value *arg2);
830 extern int value_less (struct value *arg1, struct value *arg2);
840 extern struct value *value_x_binop (struct value *arg1, struct value *arg2,
[all …]
/dragonfly/sbin/hammer/
HDcmd_cleanup.c84 const char *snapshots_path, int arg2, char *arg3);
86 static int check_expired(const char *fpath, int arg2);
90 int arg1, int arg2);
92 int arg1, int arg2, int snapshots_disabled);
94 int arg1, int arg2);
96 int arg1, int arg2);
98 int arg1, int arg2);
158 int arg2; in do_cleanup() local
412 arg2 = 0; in do_cleanup()
417 arg2 = strtosecs(ptr); in do_cleanup()
[all …]
/dragonfly/sys/kern/
HDlwkt_ipiq.c95 #define IPIQ_ARGS void *func, void *arg1, int arg2, int scpu, int dcpu
110 #define logipiq(name, func, arg1, arg2, sgd, dgd) \ argument
111 KTR_LOG(ipiq_ ## name, func, arg1, arg2, sgd->gd_cpuid, dgd->gd_cpuid)
181 lwkt_send_ipiq3(globaldata_t target, ipifunc3_t func, void *arg1, int arg2) in lwkt_send_ipiq3() argument
190 logipiq(send_norm, func, arg1, arg2, gd, target); in lwkt_send_ipiq3()
193 func(arg1, arg2, NULL); in lwkt_send_ipiq3()
194 logipiq(send_end, func, arg1, arg2, gd, target); in lwkt_send_ipiq3()
305 ip->ip_info[windex].arg2 = arg2; in lwkt_send_ipiq3()
314 logipiq(cpu_send, func, arg1, arg2, gd, target); in lwkt_send_ipiq3()
323 logipiq(send_end, func, arg1, arg2, gd, target); in lwkt_send_ipiq3()
[all …]
HDkern_mpipe.c50 void (*func)(void *arg1, void *arg2);
52 void *arg2; member
180 mcb->func(mcb->arg1, mcb->arg2); in mpipe_thread()
261 mpipe_alloc_callback(malloc_pipe_t mpipe, void (*func)(void *arg1, void *arg2), in mpipe_alloc_callback() argument
262 void *arg1, void *arg2) in mpipe_alloc_callback()
275 mcb->arg2 = arg2; in mpipe_alloc_callback()
/dragonfly/crypto/libressl/crypto/asn1/
HDbio_asn1.c118 static long asn1_bio_ctrl(BIO *h, int cmd, long arg1, void *arg2);
357 asn1_bio_ctrl(BIO *b, int cmd, long arg1, void *arg2) in asn1_bio_ctrl() argument
369 ex_func = arg2; in asn1_bio_ctrl()
375 ex_func = arg2; in asn1_bio_ctrl()
381 ex_func = arg2; in asn1_bio_ctrl()
387 ex_func = arg2; in asn1_bio_ctrl()
393 ctx->ex_arg = arg2; in asn1_bio_ctrl()
397 *(void **)arg2 = ctx->ex_arg; in asn1_bio_ctrl()
419 return BIO_ctrl(b->next_bio, cmd, arg1, arg2); in asn1_bio_ctrl()
430 return BIO_ctrl(b->next_bio, cmd, arg1, arg2); in asn1_bio_ctrl()
/dragonfly/sys/contrib/dev/acpica/source/include/platform/
HDacefi.h253 UINT64 efi_call2(void *func, UINT64 arg1, UINT64 arg2);
254 UINT64 efi_call3(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3);
255 UINT64 efi_call4(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
257 UINT64 efi_call5(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
259 UINT64 efi_call6(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
261 UINT64 efi_call7(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
263 UINT64 efi_call8(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
266 UINT64 efi_call9(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
269 UINT64 efi_call10(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3,
/dragonfly/tools/regression/lib/libm/
HDtest-next.c60 #define testboth(arg1, arg2, ans, ex, prec) do { \ argument
61 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
62 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
64 #define testall(arg1, arg2, ans, ex) do { \ argument
65 testboth((arg1), (arg2), (ans), (ex), ); \
66 testboth((arg1), (arg2), (ans), (ex), f); \
67 testboth((arg1), (arg2), (ans), (ex), l); \
/dragonfly/test/stress/stress2/testcases/syscall/
HDsyscall.c133 unsigned int arg1, arg2, arg3, arg4, arg5, arg6, arg7; in test() local
137 arg2 = arc4random(); in test()
146 i, num, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in test()
147 syscall(num, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in test()
/dragonfly/contrib/gdb-7/gdb/python/
HDpy-value.c768 struct value *arg1, *arg2; in valpy_binop() local
780 arg2 = convert_value_from_python (other); in valpy_binop()
781 if (arg2 == NULL) in valpy_binop()
789 struct type *rtype = value_type (arg2); in valpy_binop()
798 res_val = value_ptradd (arg1, value_as_long (arg2)); in valpy_binop()
801 res_val = value_ptradd (arg2, value_as_long (arg1)); in valpy_binop()
803 res_val = value_binop (arg1, arg2, BINOP_ADD); in valpy_binop()
809 struct type *rtype = value_type (arg2); in valpy_binop()
820 value_ptrdiff (arg1, arg2)); in valpy_binop()
823 res_val = value_ptradd (arg1, - value_as_long (arg2)); in valpy_binop()
[all …]
/dragonfly/contrib/cvs-1.12/diff/
HDutil.c38 char const *arg2; member
121 message (format, arg1, arg2) in message() argument
122 char const *format, *arg1, *arg2; in message()
124 message5 (format, arg1, arg2, 0, 0);
128 message5 (format, arg1, arg2, arg3, arg4) in message5() argument
129 char const *format, *arg1, *arg2, *arg3, *arg4; in message5()
136 new->arg2 = concat (arg2, "", "");
147 printf_output (format, arg1, arg2, arg3, arg4);
159 printf_output (m->format, m->arg1, m->arg2, m->arg3, m->arg4); in print_message_queue()
/dragonfly/sys/netproto/802_11/
HDieee80211_ratectl.h100 const struct ieee80211_node *ni, int status, void *arg1, void *arg2) in ieee80211_ratectl_tx_complete() argument
102 vap->iv_rate->ir_tx_complete(vap, ni, status, arg1, arg2); in ieee80211_ratectl_tx_complete()
107 const struct ieee80211_node *ni, void *arg1, void *arg2, void *arg3) in ieee80211_ratectl_tx_update() argument
111 vap->iv_rate->ir_tx_update(vap, ni, arg1, arg2, arg3); in ieee80211_ratectl_tx_update()
/dragonfly/contrib/gcc-8.0/gcc/cp/
HDcall.c4634 tree arg1, tree arg2, tree arg3, bool match) in op_error() argument
4645 TREE_TYPE (arg1), TREE_TYPE (arg2), TREE_TYPE (arg3)); in op_error()
4649 arg1, arg2, arg3, in op_error()
4650 TREE_TYPE (arg1), TREE_TYPE (arg2), TREE_TYPE (arg3)); in op_error()
4667 TREE_TYPE (arg1), TREE_TYPE (arg2)); in op_error()
4671 arg1, arg2, TREE_TYPE (arg1), TREE_TYPE (arg2)); in op_error()
4685 if (arg2) in op_error()
4688 opname, TREE_TYPE (arg1), TREE_TYPE (arg2)); in op_error()
4692 opname, arg1, opname, arg2, in op_error()
4693 TREE_TYPE (arg1), TREE_TYPE (arg2)); in op_error()
[all …]
/dragonfly/contrib/binutils-2.27/ld/
HDldfile.c183 char *arg, *arg1, *arg2, *arg3; in ldfile_try_open_bfd() local
203 arg2 = NULL; in ldfile_try_open_bfd()
213 arg2 = yylval.name; in ldfile_try_open_bfd()
218 free (arg2); in ldfile_try_open_bfd()
232 arg = arg2 ? arg2 : arg1; break; in ldfile_try_open_bfd()
240 if (arg2) free (arg2); in ldfile_try_open_bfd()

1234567891011