Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_safe_arithmetic.cpp25 T SafeAdd(T arg1, T arg2) { in SafeAdd() argument
32 if ((arg1 >= 0 && arg2 <= std::numeric_limits<T>::max() - arg1) || in SafeAdd()
33 (arg1 < 0 && arg2 >= std::numeric_limits<T>::min() - arg1)) { in SafeAdd()
34 return arg1 + arg2; in SafeAdd()
45 T SafeUnsignedMult(T arg1, T arg2) { in SafeUnsignedMult() argument
46 if (arg1 == 0 || arg2 <= std::numeric_limits<T>::max() / arg1) { in SafeUnsignedMult()
47 return arg1 * arg2; in SafeUnsignedMult()
56 bool SafeInt32Add(std::int32_t arg1, std::int32_t arg2, std::int32_t *result) { in SafeInt32Add() argument
58 *result = SafeInt32Add(arg1, arg2); in SafeInt32Add()
65 std::int32_t SafeInt32Add(std::int32_t arg1, std::int32_t arg2) { in SafeInt32Add() argument
[all …]
Ddng_safe_arithmetic.h40 bool SafeInt32Add(std::int32_t arg1, std::int32_t arg2, std::int32_t *result);
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);
51 bool SafeUint32Add(std::uint32_t arg1, std::uint32_t arg2,
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);
63 bool SafeInt32Sub(std::int32_t arg1, std::int32_t arg2, std::int32_t *result);
68 std::int32_t SafeInt32Sub(std::int32_t arg1, std::int32_t arg2);
73 std::uint32_t SafeUint32Sub(std::uint32_t arg1, std::uint32_t arg2);
78 std::int32_t SafeInt32Mult(std::int32_t arg1, std::int32_t arg2);
[all …]
/third_party/boost/libs/phoenix/test/algorithm/
Dquerying.cpp50 using boost::phoenix::arg_names::arg1; in find_test()
52 BOOST_TEST(boost::phoenix::find(arg1,2)(array) == array + 1); in find_test()
55 BOOST_TEST(boost::phoenix::find(arg1, 2)(s) == s.find(2)); in find_test()
59 BOOST_TEST(boost::phoenix::find(arg1, 2)(m) == m.find(2)); in find_test()
65 BOOST_TEST(boost::phoenix::find(arg1, 2)(hs) == hs.find(2)); in find_test()
68 BOOST_TEST(boost::phoenix::find(arg1, 2)(hm) == hm.find(2)); in find_test()
78 using boost::phoenix::arg_names::arg1; in find_if_test()
80 BOOST_TEST(boost::phoenix::find_if(arg1, even())(array) == array + 1); in find_if_test()
86 using boost::phoenix::arg_names::arg1; in find_end_test()
90 BOOST_TEST(boost::phoenix::find_end(arg1, arg2)(array, pattern) == array + 3); in find_end_test()
[all …]
Dtransformation1.cpp56 using boost::phoenix::arg_names::arg1; in copy_test()
61 copy(arg1, arg2)(array, output) == output + 3); in copy_test()
71 using boost::phoenix::arg_names::arg1; in copy_backward_test()
77 copy_backward(arg1, arg2)(array, output_end) == output); in copy_backward_test()
96 using boost::phoenix::arg_names::arg1; in transform_test()
101 transform(arg1, arg2, increment())(array, array) == in transform_test()
109 boost::phoenix::transform(arg1, arg2, arg3, std::plus<int>())(array, array2, array) == in transform_test()
120 using boost::phoenix::arg_names::arg1; in replace_test()
122 replace(arg1,2,4)(array); in replace_test() local
132 using boost::phoenix::arg_names::arg1; in replace_if_test()
[all …]
Dtransformation4.cpp25 using boost::phoenix::arg_names::arg1; in heap_test()
28 boost::phoenix::make_heap(arg1)(vec); in heap_test() local
30 boost::phoenix::push_heap(arg1)(vec); in heap_test() local
32 boost::phoenix::push_heap(arg1)(vec); in heap_test() local
33 boost::phoenix::pop_heap(arg1)(vec); in heap_test() local
36 boost::phoenix::sort_heap(arg1)(vec); in heap_test() local
42 boost::phoenix::make_heap(arg1, std::greater<int>())(vec2); in heap_test() local
44 boost::phoenix::push_heap(arg1, std::greater<int>())(vec2); in heap_test() local
46 boost::phoenix::push_heap(arg1, std::greater<int>())(vec2); in heap_test() local
47 boost::phoenix::pop_heap(arg1, std::greater<int>())(vec2); in heap_test() local
[all …]
Dquerying2.cpp22 using boost::phoenix::arg_names::arg1; in includes_test()
26 BOOST_TEST(includes(arg1, arg2)(array, array2)); in includes_test()
28 BOOST_TEST(!includes(arg1, arg2)(rng, array2)); in includes_test()
32 BOOST_TEST(boost::phoenix::includes(arg1, arg2, std::greater<int>())(array3, array4)); in includes_test()
34 BOOST_TEST(!boost::phoenix::includes(arg1, arg2, std::greater<int>())(rng2, array4)); in includes_test()
41 using boost::phoenix::arg_names::arg1; in min_element_test()
43 BOOST_TEST(min_element(arg1)(array) == array); in min_element_test()
44 BOOST_TEST(boost::phoenix::min_element(arg1, std::greater<int>())(array) == array + 1); in min_element_test()
51 using boost::phoenix::arg_names::arg1; in max_element_test()
53 BOOST_TEST(max_element(arg1)(array) == array + 1); in max_element_test()
[all …]
Dtransformation2.cpp29 using boost::phoenix::arg_names::arg1; in rotate_test()
31 rotate(arg1, array + 1)(array); in rotate_test() local
43 using boost::phoenix::arg_names::arg1; in rotate_copy_test()
47 rotate_copy(arg1, array + 1, arg2)(array, array2); in rotate_copy_test() local
59 using boost::phoenix::arg_names::arg1; in random_shuffle_test()
61 random_shuffle(arg1)(array); in random_shuffle_test() local
77 using boost::phoenix::arg_names::arg1; in partition_test()
79 int* const end = partition(arg1, even())(array); in partition_test()
90 using boost::phoenix::arg_names::arg1; in stable_partition_test()
92 int* const end = stable_partition(arg1, even())(array); in stable_partition_test()
[all …]
/third_party/typescript/tests/baselines/reference/
DheterogeneousArrayAndOverloads.types5 test(arg1: number[]);
6 >test : { (arg1: number[]): any; (arg1: string[]): any; }
7 >arg1 : number[]
9 test(arg1: string[]);
10 >test : { (arg1: number[]): any; (arg1: string[]): any; }
11 >arg1 : string[]
13 test(arg1: any[]) { }
14 >test : { (arg1: number[]): any; (arg1: string[]): any; }
15 >arg1 : any[]
22 >this.test : { (arg1: number[]): any; (arg1: string[]): any; }
[all …]
DjsdocFunctionType.types7 >id1 : (c: (this: string, arg1: number) => number) => (this: string, arg1: number) => number
8 >c : (this: string, arg1: number) => number
11 >c : (this: string, arg1: number) => number
15 >x : (this: string, arg1: number) => number
16 >id1(function (n) { return this.length + n }) : (this: string, arg1: number) => number
17 >id1 : (c: (this: string, arg1: number) => number) => (this: string, arg1: number) => number
31 >id2 : (c: new (arg1: number) => { length: number;}) => new (arg1: number) => { length: numbe…
32 >c : new (arg1: number) => { length: number; }
35 >c : new (arg1: number) => { length: number; }
55 >y : new (arg1: number) => { length: number; }
[all …]
DfatarrowfunctionsOptionalArgs.js32 (arg1, arg2) => 12;
33 (arg1 = 1, arg2 =3) => 13;
34 (arg1?, arg2?) => 14;
35 (arg1: number, arg2: number) => 15;
36 (arg1: number = 0, arg2: number = 1) => 16;
37 (arg1?: number, arg2?: number) => 17;
38 (arg1, ...arg2: number[]) => 18;
39 (arg1, arg2?: number) => 19;
109 ((arg1, arg2?) => 0) + '' + ((arg1,arg2?) => 108);
110 ((arg1, ...arg2:number[]) => 0) + '' + ((arg1, ...arg2:number[]) => 108);
[all …]
DawaitCallExpression8_es6.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
DawaitCallExpression8_es2017.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
DawaitCallExpression8_es5.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
DawaitCallExpression5_es2017.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
DawaitCallExpression7_es5.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
DawaitCallExpression6_es5.types8 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;
9 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
11 >arg1 : boolean
14 declare var o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; };
15 >o : { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }
16 >fn : (arg0: boolean, arg1: boolean, arg2: boolean) => void
18 >arg1 : boolean
21 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>;
22 >pfn : Promise<(arg0: boolean, arg1: boolean, arg2: boolean) => void>
24 >arg1 : boolean
[all …]
/third_party/openh264/codec/processing/src/arm/
Dvaa_calc_neon.S36 .macro ABS_SUB_SUM_16BYTES arg0, arg1, arg2, arg3, arg4
38 vld1.32 {q14}, [\arg1], \arg2
43 .macro ABS_SUB_SUM_8x16BYTES arg0, arg1, arg2, arg3, arg4
45 vld1.32 {q14}, [\arg1], \arg2
49 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
50 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
51 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
52 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
53 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
54 ABS_SUB_SUM_16BYTES \arg0, \arg1, \arg2, \arg3, \arg4
[all …]
/third_party/boost/libs/phoenix/test/container/
Dcontainer_tests.hpp73 using phx::arg_names::arg1; in test_assign()
80 phx::assign(arg1, count, value)(c); in test_assign() local
101 using phx::arg_names::arg1; in test_assign2()
111 phx::assign(arg1, arg2, arg3)(c, first, last); in test_assign2() local
129 using phx::arg_names::arg1; in test_at()
132 typename Container::reference r1 = at(arg1, 0)(c); in test_at()
138 typename Container::const_reference r2 = at(arg1, 0)(c); in test_at()
147 typename Container::reference r3 = at(arg1, 0)(const_c); in test_at()
150 typename Container::const_reference r4 = at(arg1, 0)(const_c); in test_at()
160 using phx::arg_names::arg1; in test_back()
[all …]
/third_party/boost/libs/spirit/classic/phoenix/test/
Dmore_expressions_tests.cpp58 BOOST_TEST((10 - arg1)(i100) == (10 - i100)); in main()
59 BOOST_TEST((20 - arg1)(i100) == (20 - i100)); in main()
60 BOOST_TEST((arg1 - 10)(i100) == (i100 - 10)); in main()
61 BOOST_TEST((arg1 - 20)(i100) == (i100 - 20)); in main()
62 BOOST_TEST((arg1 - arg2)(i100, i50) == (i100 - i50)); in main()
63 BOOST_TEST((arg1 - var(i))(i10) == (i10 - i)); in main()
64 BOOST_TEST((arg1 + arg2 - arg3)(i100, i50, i20) == (i100 + i50 - i20)); in main()
65 BOOST_TEST((sqr(arg1) + arg2 - arg3)(i100, i50, i20) == ((i100*i100) + i50 - i20)); in main()
68 BOOST_TEST((var(i) += arg1)(i2) == (ii += i2)); in main()
69 BOOST_TEST((sqr(sqr(arg1)))(i100) == (i100*i100*i100*i100)); in main()
[all …]
Dstatements_tests.cpp53 poly_print(arg1), in main()
84 if_(arg1 > 3 && arg1 <= 8) in main()
86 cout << arg1 << ", " in main()
94 if_(arg1 > 5) in main()
96 cout << arg1 << " > 5\n" in main()
100 if_(arg1 == 5) in main()
102 cout << arg1 << " == 5\n" in main()
106 cout << arg1 << " < 5\n" in main()
117 while_(arg1--) in main()
119 cout << arg1 << ", " in main()
[all …]
/third_party/boost/libs/math/dot_net_example/boost_math/
Dboost_math.cpp36 any_distribution::any_distribution(int t, double arg1, double arg2, double arg3) in any_distribution() argument
43 this->reset(new concrete_distribution<boost::math::bernoulli>(boost::math::bernoulli(arg1))); in any_distribution()
46 …ete_distribution<boost::math::beta_distribution<> >(boost::math::beta_distribution<>(arg1, arg2))); in any_distribution()
49 …ribution<boost::math::binomial_distribution<> >(boost::math::binomial_distribution<>(arg1, arg2))); in any_distribution()
52 this->reset(new concrete_distribution<boost::math::cauchy>(boost::math::cauchy(arg1, arg2))); in any_distribution()
55 … this->reset(new concrete_distribution<boost::math::chi_squared>(boost::math::chi_squared(arg1))); in any_distribution()
58 … this->reset(new concrete_distribution<boost::math::exponential>(boost::math::exponential(arg1))); in any_distribution()
61 …is->reset(new concrete_distribution<boost::math::extreme_value>(boost::math::extreme_value(arg1))); in any_distribution()
64 … this->reset(new concrete_distribution<boost::math::fisher_f >(boost::math::fisher_f(arg1, arg2))); in any_distribution()
67 …e_distribution<boost::math::gamma_distribution<> >(boost::math::gamma_distribution<>(arg1, arg2))); in any_distribution()
[all …]
/third_party/boost/libs/phoenix/test/statement/
Dif_tests.cpp18 using boost::phoenix::arg_names::arg1; in main()
29 if_(arg1 > 3 && arg1 <= 8) in main()
31 std::cout << arg1 << ", ", in main()
32 ref(x) += arg1 in main()
44 if_(arg1 > 5) in main()
46 std::cout << arg1 << " > 5\n", in main()
47 ref(x) += arg1 in main()
51 if_(arg1 == 5) in main()
53 std::cout << arg1 << " == 5\n", in main()
54 ref(z) += arg1 in main()
[all …]
/third_party/boost/libs/phoenix/test/operator/
Dmember.cpp40 using phoenix::arg_names::arg1; in main()
49 BOOST_TEST((arg1->*&Test::value)(cptr) == 1); in main()
57 BOOST_TEST((arg1->*&Test::func)(arg2)(cptr, i) == i); in main()
61 BOOST_TEST((arg1->*&Test::func)(5)(ptr) == 5); in main()
62 BOOST_TEST((arg1->*&Test::kunc)()(ptr)); in main()
66 BOOST_TEST((arg1->*&Test::value)(sptr) == 2); in main()
67 BOOST_TEST((arg1->*&Test::func)(6)(sptr) == 6); in main()
71 BOOST_TEST((arg1->*&Test::value)(scptr) == 2); in main()
72 BOOST_TEST((arg1->*&Test::func)(7)(scptr) == 7); in main()
76 BOOST_TEST((arg1->*&Test::value)(csptr) == 2); in main()
[all …]
/third_party/glib/gio/
Dgmarshal-internal.c78 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT()
117 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECTv()
165 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGS()
206 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGSv()
214 guint arg1; in _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGSv() local
221 arg1 = (guint) va_arg (args_copy, guint); in _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGSv()
240 arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGSv()
258 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECT()
299 gpointer arg1, in _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECTv()
307 gpointer arg1; in _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECTv() local
[all …]
/third_party/openssl/crypto/
Dx86_64cpuid.pl24 ($arg1,$arg2,$arg3,$arg4)=$win64?("%rcx","%rdx","%r8", "%r9") : # Win64 order
43 movl ($arg1),%eax
46 cmpxchgl %r8d,($arg1)
246 mov %al,($arg1)
248 lea 1($arg1),$arg1
254 test \$7,$arg1
256 mov %al,($arg1)
258 lea 1($arg1),$arg1
261 mov %rax,($arg1)
264 lea 8($arg1),$arg1
[all …]

12345678910>>...43