Searched refs:arg2 (Results 1 - 25 of 405) sorted by relevance

1234567891011>>

/external/clang/tools/libclang/
H A DIndex_Internal.h25 #define INVOKE_BLOCK2(block, arg1, arg2) block(arg1, arg2)
31 #define INVOKE_BLOCK2(block, arg1, arg2) block->invoke(block, arg1, arg2)
/external/dng_sdk/source/
H A Ddng_safe_arithmetic.cpp21 // Returns the result of adding arg1 and arg2 if it will fit in a T (where T is
25 T SafeAdd(T arg1, T arg2) { argument
32 if ((arg1 >= 0 && arg2 <= std::numeric_limits<T>::max() - arg1) ||
33 (arg1 < 0 && arg2 >= std::numeric_limits<T>::min() - arg1)) {
34 return arg1 + arg2;
41 // Returns the result of multiplying arg1 and arg2 if it will fit in a T (where
45 T SafeUnsignedMult(T arg1, T arg2) { argument
46 if (arg1 == 0 || arg2 <= std::numeric_limits<T>::max() / arg1) {
47 return arg1 * arg2;
56 bool SafeInt32Add(std::int32_t arg1, std::int32_t arg2, st argument
65 SafeInt32Add(std::int32_t arg1, std::int32_t arg2) argument
69 SafeInt64Add(std::int64_t arg1, std::int64_t arg2) argument
73 SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t *result) argument
83 SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2) argument
87 SafeUint64Add(std::uint64_t arg1, std::uint64_t arg2) argument
91 SafeInt32Sub(std::int32_t arg1, std::int32_t arg2, std::int32_t *result) argument
101 SafeInt32Sub(std::int32_t arg1, std::int32_t arg2) argument
111 SafeUint32Sub(std::uint32_t arg1, std::uint32_t arg2) argument
120 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t *result) argument
130 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t arg3, std::uint32_t *result) argument
140 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t arg3, std::uint32_t arg4, std::uint32_t *result) argument
150 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2) argument
154 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t arg3) argument
159 SafeUint32Mult(std::uint32_t arg1, std::uint32_t arg2, std::uint32_t arg3, std::uint32_t arg4) argument
164 SafeInt32Mult(std::int32_t arg1, std::int32_t arg2) argument
176 SafeSizetMult(std::size_t arg1, std::size_t arg2) argument
182 SafeInt64MultSlow(std::int64_t arg1, std::int64_t arg2) argument
210 SafeUint32DivideUp(std::uint32_t arg1, std::uint32_t arg2) argument
[all...]
H A Ddng_safe_arithmetic.h37 // If the result of adding arg1 and arg2 will fit in an int32_t (without
40 bool SafeInt32Add(std::int32_t arg1, std::int32_t arg2, std::int32_t *result);
42 // Returns the result of adding arg1 and arg2 if it will fit in the result type
45 std::int32_t SafeInt32Add(std::int32_t arg1, std::int32_t arg2);
46 std::int64_t SafeInt64Add(std::int64_t arg1, std::int64_t arg2);
48 // If the result of adding arg1 and arg2 will fit in a uint32_t (without
51 bool SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2,
54 // Returns the result of adding arg1 and arg2 if it will fit in the result type
57 std::uint32_t SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2);
58 std::uint64_t SafeUint64Add(std::uint64_t arg1, std::uint64_t arg2);
113 SafeInt64MultByClang(std::int64_t arg1, std::int64_t arg2) argument
130 SafeInt64MultByInt128(std::int64_t arg1, std::int64_t arg2) argument
149 SafeInt64Mult(std::int64_t arg1, std::int64_t arg2) argument
[all...]
/external/curl/tests/libtest/
H A Dtest610.pl23 my $arg2 = shift @ARGV;
24 move($arg,$arg2) || die "$!";
/external/javasqlite/src/main/java/SQLite/
H A DAuthorizer.java14 * @param arg2 second argument (file, table, or column name)
22 public int authorize(int what, String arg1, String arg2, String arg3, argument
/external/compiler-rt/test/BlocksRuntime/
H A Drettypepromotion.c25 void sortWithBlock(long (^comp)(void *arg1, void *arg2)) { argument
29 sortWithBlock(^(void *arg1, void *arg2) {
/external/strace/
H A Dprctl.c79 const kernel_ulong_t arg2 = tcp->u_arg[1]; local
108 printnum_int(tcp, arg2, "%u");
124 printaddr(arg2);
126 printstr_ex(tcp, arg2, TASK_COMM_LEN,
134 } else if (!umove_or_printaddr(tcp, arg2, &i)) {
154 printnum_kptr(tcp, arg2);
160 } else if (!umove_or_printaddr(tcp, arg2, &i)) {
170 } else if (!umove_or_printaddr(tcp, arg2, &i)) {
197 tprintf(", %" PRI_klu, arg2);
202 printxval64(pr_dumpable, arg2, "SUID_DUMP
[all...]
H A Dkeyctl.c271 kernel_ulong_t arg2 = tcp->u_arg[1]; local
289 keyctl_get_keyring_id(tcp, arg2, arg3);
293 printstr(tcp, arg2);
297 keyctl_update_key(tcp, arg2, arg3, arg4);
304 print_keyring_serial_number(arg2);
309 keyctl_handle_key_key(tcp, arg2, arg3);
315 keyctl_read_key(tcp, arg2, arg3, arg4, cmd != KEYCTL_READ);
319 keyctl_keyring_search(tcp, arg2, arg3, arg4, arg5);
323 keyctl_chown_key(tcp, arg2, arg3, arg4);
327 keyctl_setperm_key(tcp, arg2, arg
[all...]
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux-variants.c77 Int ML_(linux_variant_PRE_sys_bproc)( UWord arg1, UWord arg2, argument
84 void ML_(linux_variant_POST_sys_bproc)( UWord arg1, UWord arg2, argument
/external/valgrind/none/tests/s390x/
H A Dsvc.h34 svc2(int num, unsigned long arg1, unsigned long arg2) argument
39 register unsigned long _arg2 asm("3") = arg2;
50 svc3(int num, unsigned long arg1, unsigned long arg2, unsigned long arg3) argument
55 register unsigned long _arg2 asm("3") = arg2;
68 svc4(int num, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4) argument
73 register unsigned long _arg2 asm("3") = arg2;
87 svc5(int num, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4, argument
93 register unsigned long _arg2 asm("3") = arg2;
/external/netperf/src/
H A Dnetsh.c311 break_args(char *s, char *arg1, char *arg2)
317 /* there was a comma arg2 should be the second arg*/
319 while ((*arg2++ = *ns++) != '\0');
323 /* and arg2 should be the same value as arg1 */
325 while ((*arg2++ = *ns++) != '\0');
334 separator this version will not ass-u-me that arg2 should be the
338 break_args_explicit_sep(char *s, int sep, char *arg1, char *arg2)
344 /* there was a separator arg2 should be the second arg*/
346 while ((*arg2++ = *ns++) != '\0');
349 /* there was no separator, so we should make sure that arg2 i
310 break_args(char *s, char *arg1, char *arg2) argument
337 break_args_explicit_sep(char *s, int sep, char *arg1, char *arg2) argument
361 break_args_explicit(char *s, char *arg1, char *arg2) argument
443 char arg1[BUFSIZ],arg2[BUFSIZ]; local
590 arg2[BUFSIZ]; local
[all...]
/external/valgrind/memcheck/tests/common/
H A Dsh-mem-vec128.tmpl.c101 static void apply ( void(*fn)(U4,Bool), U4 arg1, Bool arg2 )
104 case 0: CFENCE; fn(arg1, arg2); CFENCE; break;
105 case 1: CFENCE; fn(arg1, arg2); CFENCE; break;
106 case 2: CFENCE; fn(arg1, arg2); CFENCE; break;
107 case 3: CFENCE; fn(arg1, arg2); CFENCE; break;
108 case 4: CFENCE; fn(arg1, arg2); CFENCE; break;
109 case 5: CFENCE; fn(arg1, arg2); CFENCE; break;
110 case 6: CFENCE; fn(arg1, arg2); CFENCE; break;
111 case 7: CFENCE; fn(arg1, arg2); CFENCE; break;
112 case 8: CFENCE; fn(arg1, arg2); CFENC
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DToolMessage.java54 public ToolMessage(int msgID, Object arg, Object arg2) { argument
55 super(msgID, arg, arg2);
66 if ( arg2!=null ) {
67 st.add("arg2", arg2);
H A DGrammarSemanticsMessage.java62 Object arg2)
64 super(msgID,arg,arg2);
83 if ( arg2!=null ) {
84 st.add("arg2", arg2);
58 GrammarSemanticsMessage(int msgID, Grammar g, Token offendingToken, Object arg, Object arg2) argument
H A DMessage.java51 public Object arg2; field in class:Message
65 public Message(int msgID, Object arg, Object arg2) { argument
68 this.arg2 = arg2;
/external/ltp/utils/benchmark/ebizzy-0.3/
H A Debizzy.h22 #define mallopt(arg1, arg2) do { } while (0);
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DCallbacks.java47 public void call(T1 arg1, T2 arg2); argument
61 public void call(T1 arg1, T2 arg2, T3 arg3); argument
76 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4); argument
92 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); argument
109 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); argument
127 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscall_linux_x86_64.inc32 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) {
35 "S"((u64)arg2) : "rcx", "r11", "memory", "cc");
40 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) {
43 "S"((u64)arg2), "d"((u64)arg3) : "rcx", "r11", "memory", "cc");
48 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4) {
52 "S"((u64)arg2), "d"((u64)arg3), "r"((u64)arg4) :
58 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4,
64 "S"((u64)arg2), "d"((u64)arg3), "r"((u64)arg4), "r"((u64)arg5) :
71 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4,
78 "S"((u64)arg2), "
[all...]
/external/ltp/testcases/kernel/containers/libclone/
H A Dlibclone.c21 int (*fn2) (void *arg), void *arg2)
31 ret = fn2(arg2);
40 int (*fn2) (void *arg), void *arg2)
83 ret = fn2(arg2);
90 int (*fn2) (void *arg), void *arg2)
102 ret = fn2(arg2);
128 int (*fn2) (void *arg), void *arg2)
132 return do_plain_tests(fn1, arg1, fn2, arg2);
134 return do_clone_tests(clone_flags, fn1, arg1, fn2, arg2);
136 return do_unshare_tests(clone_flags, fn1, arg1, fn2, arg2);
19 do_clone_tests(unsigned long clone_flags, int (*fn1) (void *arg), void *arg1, int (*fn2) (void *arg), void *arg2) argument
38 do_unshare_tests(unsigned long clone_flags, int (*fn1) (void *arg), void *arg1, int (*fn2) (void *arg), void *arg2) argument
89 do_plain_tests(int (*fn1) (void *arg), void *arg1, int (*fn2) (void *arg), void *arg2) argument
126 do_clone_unshare_tests(int use_clone, unsigned long clone_flags, int (*fn1) (void *arg), void *arg1, int (*fn2) (void *arg), void *arg2) argument
[all...]
H A Dlibclone.h66 int(*fn2)(void *arg), void *arg2);
70 int (*fn2)(void *arg), void *arg2);
73 int (*fn2)(void *arg), void *arg2);
80 int (*fn2)(void *arg), void *arg2);
/external/eigen/bench/
H A DbenchGeometry.cpp22 template <class res, class arg1, class arg2, int opt>
25 template <class res, class arg1, class arg2>
26 struct func<res, arg1, arg2, TV>
28 static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 )
35 template <class res, class arg1, class arg2>
36 struct func<res, arg1, arg2, TMATV>
38 static EIGEN_DONT_INLINE res run( arg1& a1, arg2& a2 )
45 template <class res, class arg1, class arg2>
46 struct func<res, arg1, arg2, TMATVMAT>
48 static EIGEN_DONT_INLINE res run( arg1& a1, arg2
[all...]
/external/libchrome/base/third_party/valgrind/
H A Dvalgrind.h759 #define CALL_FN_v_WW(fnptr, arg1,arg2) \
761 CALL_FN_W_WW(_junk,fnptr,arg1,arg2); } while (0)
763 #define CALL_FN_v_WWW(fnptr, arg1,arg2,arg3) \
765 CALL_FN_W_WWW(_junk,fnptr,arg1,arg2,arg3); } while (0)
767 #define CALL_FN_v_WWWW(fnptr, arg1,arg2,arg3,arg4) \
769 CALL_FN_W_WWWW(_junk,fnptr,arg1,arg2,arg3,arg4); } while (0)
771 #define CALL_FN_v_5W(fnptr, arg1,arg2,arg3,arg4,arg5) \
773 CALL_FN_W_5W(_junk,fnptr,arg1,arg2,arg3,arg4,arg5); } while (0)
775 #define CALL_FN_v_6W(fnptr, arg1,arg2,arg3,arg4,arg5,arg6) \
777 CALL_FN_W_6W(_junk,fnptr,arg1,arg2,arg
[all...]
/external/regex-re2/util/
H A Dvalgrind.h678 #define CALL_FN_v_WW(fnptr, arg1,arg2) \
680 CALL_FN_W_WW(_junk,fnptr,arg1,arg2); } while (0)
682 #define CALL_FN_v_WWW(fnptr, arg1,arg2,arg3) \
684 CALL_FN_W_WWW(_junk,fnptr,arg1,arg2,arg3); } while (0)
686 #define CALL_FN_v_WWWW(fnptr, arg1,arg2,arg3,arg4) \
688 CALL_FN_W_WWWW(_junk,fnptr,arg1,arg2,arg3,arg4); } while (0)
690 #define CALL_FN_v_5W(fnptr, arg1,arg2,arg3,arg4,arg5) \
692 CALL_FN_W_5W(_junk,fnptr,arg1,arg2,arg3,arg4,arg5); } while (0)
694 #define CALL_FN_v_6W(fnptr, arg1,arg2,arg3,arg4,arg5,arg6) \
696 CALL_FN_W_6W(_junk,fnptr,arg1,arg2,arg
[all...]
/external/parameter-framework/asio/include/asio/detail/
H A Dwrapped_handler.hpp91 void operator()(const Arg1& arg1, const Arg2& arg2) argument
93 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2));
97 void operator()(const Arg1& arg1, const Arg2& arg2) const
99 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2));
103 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3) argument
105 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2, arg3));
109 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3) const argument
111 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2, arg3));
115 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, argument
119 detail::bind_handler(handler_, arg1, arg2, arg
123 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4) const argument
132 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4, const Arg5& arg5) argument
141 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4, const Arg5& arg5) const argument
[all...]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dwrapped_handler.hpp91 void operator()(const Arg1& arg1, const Arg2& arg2) argument
93 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2));
97 void operator()(const Arg1& arg1, const Arg2& arg2) const
99 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2));
103 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3) argument
105 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2, arg3));
109 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3) const argument
111 dispatcher_.dispatch(detail::bind_handler(handler_, arg1, arg2, arg3));
115 void operator()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, argument
119 detail::bind_handler(handler_, arg1, arg2, arg
123 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4) const argument
132 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4, const Arg5& arg5) argument
141 operator ()(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Arg4& arg4, const Arg5& arg5) const argument
[all...]

Completed in 728 milliseconds

1234567891011>>