Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 2455) sorted by relevance

12345678910>>...99

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_basic.c28 struct sshbuf *p1, *p2; in sshbuf_getput_basic_tests() local
78 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
79 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
80 ASSERT_INT_EQ(sshbuf_put(p1, x, 5), 0); in sshbuf_getput_basic_tests()
81 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 5); in sshbuf_getput_basic_tests()
82 cd = sshbuf_ptr(p1); in sshbuf_getput_basic_tests()
92 ASSERT_INT_EQ(sshbuf_get(p1, d2, 4), 0); in sshbuf_getput_basic_tests()
94 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_getput_basic_tests()
95 ASSERT_U8_EQ(*(sshbuf_ptr(p1)), 0x55); in sshbuf_getput_basic_tests()
99 r = sshbuf_get(p1, d2, 4); in sshbuf_getput_basic_tests()
[all …]
Dtest_sshbuf_getput_crypto.c34 struct sshbuf *p1; in sshbuf_getput_crypto_tests() local
82 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
83 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
84 ASSERT_INT_EQ(sshbuf_put_bignum1(p1, bn), 0); in sshbuf_getput_crypto_tests()
85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn1) + 2); in sshbuf_getput_crypto_tests()
86 ASSERT_U16_EQ(PEEK_U16(sshbuf_ptr(p1)), (u_int16_t)BN_num_bits(bn)); in sshbuf_getput_crypto_tests()
87 ASSERT_MEM_EQ(sshbuf_ptr(p1) + 2, expbn1, sizeof(expbn1)); in sshbuf_getput_crypto_tests()
89 sshbuf_free(p1); in sshbuf_getput_crypto_tests()
94 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
95 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
[all …]
Dtest_sshbuf.c30 struct sshbuf *p1; in sshbuf_tests() local
37 p1 = sshbuf_new(); in sshbuf_tests()
38 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
42 ASSERT_SIZE_T_GT(sshbuf_max_size(p1), 0); in sshbuf_tests()
46 ASSERT_SIZE_T_GT(sshbuf_avail(p1), 0); in sshbuf_tests()
50 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_tests()
54 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 65536), 0); in sshbuf_tests()
55 ASSERT_SIZE_T_EQ(sshbuf_max_size(p1), 65536); in sshbuf_tests()
59 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), 65536); in sshbuf_tests()
63 sshbuf_free(p1); in sshbuf_tests()
[all …]
Dtest_sshbuf_misc.c28 struct sshbuf *p1; in sshbuf_misc_tests() local
36 p1 = sshbuf_new(); in sshbuf_misc_tests()
37 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
38 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), 0); in sshbuf_misc_tests()
39 sshbuf_dump(p1, out); in sshbuf_misc_tests()
49 sshbuf_free(p1); in sshbuf_misc_tests()
53 p1 = sshbuf_new(); in sshbuf_misc_tests()
54 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
55 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), 0); in sshbuf_misc_tests()
56 p = sshbuf_dtob16(p1); in sshbuf_misc_tests()
[all …]
Dtest_sshbuf_fixed.c32 struct sshbuf *p1, *p2, *p3; in sshbuf_fixed() local
39 p1 = sshbuf_from(test_buf, sizeof(test_buf)); in sshbuf_fixed()
40 ASSERT_PTR_NE(p1, NULL); in sshbuf_fixed()
41 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p1), NULL); in sshbuf_fixed()
42 ASSERT_INT_EQ(sshbuf_check_reserve(p1, 1), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
43 ASSERT_INT_EQ(sshbuf_reserve(p1, 1, NULL), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
44 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 200), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
45 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
46 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), 0); in sshbuf_fixed()
47 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); in sshbuf_fixed()
[all …]
Dtest_sshbuf_fuzz.c31 struct sshbuf *p1; in sshbuf_fuzz_tests() local
39 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
40 ASSERT_INT_EQ(sshbuf_set_max_size(p1, 16 * 1024), 0); in sshbuf_fuzz_tests()
41 ASSERT_PTR_NE(p1, NULL); in sshbuf_fuzz_tests()
42 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fuzz_tests()
43 ASSERT_MEM_ZERO_NE(sshbuf_ptr(p1), sshbuf_len(p1)); in sshbuf_fuzz_tests()
50 sz = sshbuf_avail(p1); in sshbuf_fuzz_tests()
51 sz2 = sshbuf_len(p1); in sshbuf_fuzz_tests()
52 ret = sshbuf_reserve(p1, r, &dp); in sshbuf_fuzz_tests()
56 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz); in sshbuf_fuzz_tests()
[all …]
/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/
Dcomparison.pass.cpp30 P p1(3, static_cast<short>(4)); in main() local
32 assert( (p1 == p2)); in main()
33 assert(!(p1 != p2)); in main()
34 assert(!(p1 < p2)); in main()
35 assert( (p1 <= p2)); in main()
36 assert(!(p1 > p2)); in main()
37 assert( (p1 >= p2)); in main()
41 P p1(2, static_cast<short>(4)); in main() local
43 assert(!(p1 == p2)); in main()
44 assert( (p1 != p2)); in main()
[all …]
/external/icu/icu4c/source/test/perf/collperf2/
DCollPerf2_r.pl54 my $p1, $p2;
57 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf2/$WindowsPlatform/Release/collperf…
60 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/lib:".$ICUPrevious."/tools/ctestfw ".$ICUPrevious."/test/p…
65 "ucol_strcoll/len", ["$p1,TestStrcoll", "$p2,TestStrcoll"],
66 "ucol_strcoll/null", ["$p1,TestStrcollNull", "$p2,TestStrcollNull"],
67 "ucol_strcoll/len/similar", ["$p1,TestStrcollSimilar", "$p2,TestStrcollSimilar"],
69 "ucol_strcollUTF8/len", ["$p1,TestStrcollUTF8", "$p2,TestStrcollUTF8"],
70 "ucol_strcollUTF8/null", ["$p1,TestStrcollUTF8Null", "$p2,TestStrcollUTF8Null"],
71 "ucol_strcollUTF8/len/similar", ["$p1,TestStrcollUTF8Similar", "$p2,TestStrcollUTF8Similar"],
73 "ucol_getSortKey/len", ["$p1,TestGetSortKey", "$p2,TestGetSortKey"],
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/
Drel.pass.cpp59 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local
61 assert((p1 < p2) == !(p1 > p2)); in main()
62 assert((p1 < p2) == (p1 <= p2)); in main()
63 assert((p1 < p2) == !(p1 >= p2)); in main()
66 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local
68 assert((p1 < p2) == !(p1 > p2)); in main()
69 assert((p1 < p2) == (p1 <= p2)); in main()
70 assert((p1 < p2) == !(p1 >= p2)); in main()
73 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() local
75 assert((p1 < p2) == !(p1 > p2)); in main()
[all …]
/external/Microsoft-GSL/tests/
Dnotnull_tests.cpp144 not_null<std::vector<char>*> p1 = 0; // yay...does not compile! variable
299 int* p1 = &ints[0]; variable
302 using NotNull1 = not_null<decltype(p1)>;
305 CHECK((NotNull1(p1) == NotNull1(p1)) == true);
306 CHECK((NotNull1(p1) == NotNull2(p2)) == false);
308 CHECK((NotNull1(p1) != NotNull1(p1)) == false);
309 CHECK((NotNull1(p1) != NotNull2(p2)) == true);
311 CHECK((NotNull1(p1) < NotNull1(p1)) == false);
312 CHECK((NotNull1(p1) < NotNull2(p2)) == (p1 < p2));
313 CHECK((NotNull2(p2) < NotNull1(p1)) == (p2 < p1));
[all …]
/external/aac/libFDK/src/
DFDK_matrixCalloc.cpp135 void **p1; in fdkCallocMatrix2D() local
139 if ((p1 = (void **)fdkCallocMatrix1D(dim1, sizeof(void *))) == NULL) { in fdkCallocMatrix2D()
143 fdkFreeMatrix1D(p1); in fdkCallocMatrix2D()
144 p1 = NULL; in fdkCallocMatrix2D()
148 p1[i] = p2; in fdkCallocMatrix2D()
152 return p1; in fdkCallocMatrix2D()
156 void **p1; in fdkCallocMatrix2D_aligned() local
160 if ((p1 = (void **)fdkCallocMatrix1D(dim1, sizeof(void *))) == NULL) { in fdkCallocMatrix2D_aligned()
164 fdkFreeMatrix1D(p1); in fdkCallocMatrix2D_aligned()
165 p1 = NULL; in fdkCallocMatrix2D_aligned()
[all …]
/external/icu/icu4c/source/test/perf/collperf/
DCollPerf_r.pl33 my $p1, $p2;
36 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf/$WindowsPlatform/Release/collperf.…
39 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPat…
45 "Key Gen ICU null", ["$p1,TestIcu_KeyGen_null", "$p2,TestIcu_KeyGen_null"],
46 "Key Gen ICU len", ["$p1,TestIcu_KeyGen_len", "$p2,TestIcu_KeyGen_len"],
47 "Iteration icu forward null", ["$p1,TestIcu_ForwardIter_null", "$p2,TestIcu_ForwardIter_null"],
48 "Iteration icu forward len", ["$p1,TestIcu_ForwardIter_len", "$p2,TestIcu_ForwardIter_len"],
49 …"Iteration icu backward null", ["$p1,TestIcu_BackwardIter_null", "$p2,TestIcu_BackwardIter_null"],
50 "Iteration icu backward len", ["$p1,TestIcu_BackwardIter_len", "$p2,TestIcu_BackwardIter_len"],
51 …"Iteration/all icu forward null", ["$p1,TestIcu_ForwardIter_all_null", "$p2,TestIcu_ForwardIter_a…
[all …]
/external/icu/icu4c/source/test/perf/normperf/
DNormPerf_r.pl34 my $p1; # Previous
38 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/normperf/$WindowsPlatform/Release/normperf.…
41 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPat…
67 "NFC_NFD_Text", ["$p1,TestICU_NFC_NFD_Text" , "$p2,TestICU_NFC_NFD_Text" ],
68 "NFC_NFC_Text", ["$p1,TestICU_NFC_NFC_Text" , "$p2,TestICU_NFC_NFC_Text" ],
69 "NFC_Orig_Text", ["$p1,TestICU_NFC_Orig_Text" , "$p2,TestICU_NFC_Orig_Text"],
70 "NFD_NFD_Text", ["$p1,TestICU_NFD_NFD_Text" , "$p2,TestICU_NFD_NFD_Text" ],
71 "NFD_NFC_Text", ["$p1,TestICU_NFD_NFC_Text" , "$p2,TestICU_NFD_NFC_Text" ],
72 "NFD_Orig_Text", ["$p1,TestICU_NFD_Orig_Text" , "$p2,TestICU_NFD_Orig_Text"],
74 "QC_NFC_NFD_Text", ["$p1,TestQC_NFC_NFD_Text" , "$p2,TestQC_NFC_NFD_Text" ],
[all …]
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Dvp8_loopfilter_filters_dspr2.c32 uint32_t limit, uint32_t flimit, uint32_t p1, uint32_t p0, uint32_t p3, in vp8_filter_mask_vec_mips() argument
93 : [limit] "r"(limit), [p3] "r"(p3), [p2] "r"(p2), [p1] "r"(p1), in vp8_filter_mask_vec_mips()
123 : [p0] "r"(p0), [q0] "r"(q0), [p1] "r"(p1), [r3] "r"(r3), [q1] "r"(q1), in vp8_filter_mask_vec_mips()
307 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp8_loop_filter_horizontal_edge_mips() local
313 p1 = 0; in vp8_loop_filter_horizontal_edge_mips()
337 p1 = *((uint32_t *)(s1)); in vp8_loop_filter_horizontal_edge_mips()
345 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vp8_loop_filter_horizontal_edge_mips()
351 vp8_filter_mask_vec_mips(limit, flimit, p1, p2, pm1, p0, p3, p4, p5, p6, in vp8_loop_filter_horizontal_edge_mips()
357 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips()
360 *((uint32_t *)s1) = p1; in vp8_loop_filter_horizontal_edge_mips()
[all …]
/external/smali/baksmali/src/test/resources/InstanceOfTest/
DInstanceOfTest.smali9 #v0=(Uninit);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/Object;);
10 instance-of v0, p1, Ljava/lang/String;
11 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/Object;);
13 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/Object;);
15 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Unknown);
17 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/String;);
18 invoke-virtual {p1}, Ljava/lang/String;->length()I
19 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/String;);
21 #v0=(Boolean);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/String;);
23 #v0=(Integer);p0=(Reference,LInstanceOfTest;);p1=(Reference,Ljava/lang/String;);
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-generated-matchers.h367 #define MATCHER_P2(name, p0, p1, description)\ argument
368 template <typename p0##_type, typename p1##_type>\
375 gmock_Impl(p0##_type gmock_p0, p1##_type gmock_p1)\
376 : p0(::std::move(gmock_p0)), p1(::std::move(gmock_p1)) {}\
387 p1##_type const p1;\
397 ::std::tuple<p0##_type, p1##_type>(p0, p1)));\
403 new gmock_Impl<arg_type>(p0, p1));\
406 p1##_type gmock_p1) : p0(::std::move(gmock_p0)), \
407 p1(::std::move(gmock_p1)) {\
410 p1##_type const p1;\
[all …]
Dgmock-generated-actions.h434 #define GMOCK_INTERNAL_DECL_TYPE_AND_2_VALUE_PARAMS(p0, p1) , \ argument
435 typename p0##_type, typename p1##_type
436 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ argument
437 typename p0##_type, typename p1##_type, typename p2##_type
438 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ argument
439 typename p0##_type, typename p1##_type, typename p2##_type, \
441 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ argument
442 typename p0##_type, typename p1##_type, typename p2##_type, \
444 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ argument
445 typename p0##_type, typename p1##_type, typename p2##_type, \
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtpu_sharding_test.py32 p1 = tpu_sharding.ShardingPolicy()
33 p1.freeze()
34 self.assertEqual(p1.number_of_shards,
36 self.assertEqual(p1.shard_dimension, tpu_sharding._DEFAULT_SHARD_DIMENSION)
46 p1 = tpu_sharding.ShardingPolicy()
47 p1.freeze()
49 p1.set_number_of_shards(17)
51 p1.set_shard_dimension(22)
55 p1 = tpu_sharding.ShardingPolicy()
56 self.assertEqual(str(p1), "ShardingPolicy(unset)")
[all …]
/external/kernel-headers/original/uapi/linux/
Dultrasound.h76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument
80 *(unsigned short*)&_seqbuf[_seqbufptr+4] = p1;\
84 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument
85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument
86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument
89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument
90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument
93 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument
94 #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument
96 #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
Dswap.pass.cpp35 std::shared_ptr<A> p1(ptr1); in main() local
38 swap(p1, p2); in main()
39 assert(p1.use_count() == 1); in main()
40 assert(p1.get() == ptr2); in main()
45 assert(p1.use_count() == 1); in main()
46 assert(p1.get() == ptr2); in main()
53 std::shared_ptr<A> p1(ptr1); in main() local
56 swap(p1, p2); in main()
57 assert(p1.use_count() == 0); in main()
58 assert(p1.get() == ptr2); in main()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dswap.pass.cpp35 std::shared_ptr<A> p1(ptr1); in main() local
38 p1.swap(p2); in main()
39 assert(p1.use_count() == 1); in main()
40 assert(p1.get() == ptr2); in main()
45 assert(p1.use_count() == 1); in main()
46 assert(p1.get() == ptr2); in main()
53 std::shared_ptr<A> p1(ptr1); in main() local
56 p1.swap(p2); in main()
57 assert(p1.use_count() == 0); in main()
58 assert(p1.get() == ptr2); in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Disassembler/Hexagon/
Dj.txt62 # CHECK: p1 = cmp.eq(r17,#-1); if (p1.new) jump:nt
64 # CHECK: p1 = cmp.gt(r17,#-1); if (p1.new) jump:nt
66 # CHECK: p1 = tstbit(r17,#0); if (p1.new) jump:nt
68 # CHECK: p1 = cmp.eq(r17,#-1); if (p1.new) jump:t
70 # CHECK: p1 = cmp.gt(r17,#-1); if (p1.new) jump:t
72 # CHECK: p1 = tstbit(r17,#0); if (p1.new) jump:t
74 # CHECK: p1 = cmp.eq(r17,#-1); if (!p1.new) jump:nt
76 # CHECK: p1 = cmp.gt(r17,#-1); if (!p1.new) jump:nt
78 # CHECK: p1 = tstbit(r17,#0); if (!p1.new) jump:nt
80 # CHECK: p1 = cmp.eq(r17,#-1); if (!p1.new) jump:t
[all …]
/external/llvm/test/MC/Disassembler/Hexagon/
Dj.txt62 # CHECK: p1 = cmp.eq(r17,#-1); if (p1.new) jump:nt
64 # CHECK: p1 = cmp.gt(r17,#-1); if (p1.new) jump:nt
66 # CHECK: p1 = tstbit(r17, #0); if (p1.new) jump:nt
68 # CHECK: p1 = cmp.eq(r17,#-1); if (p1.new) jump:t
70 # CHECK: p1 = cmp.gt(r17,#-1); if (p1.new) jump:t
72 # CHECK: p1 = tstbit(r17, #0); if (p1.new) jump:t
74 # CHECK: p1 = cmp.eq(r17,#-1); if (!p1.new) jump:nt
76 # CHECK: p1 = cmp.gt(r17,#-1); if (!p1.new) jump:nt
78 # CHECK: p1 = tstbit(r17, #0); if (!p1.new) jump:nt
80 # CHECK: p1 = cmp.eq(r17,#-1); if (!p1.new) jump:t
[all …]
/external/libldac/src/
Dstruct_ldac.h68 #define copy_data_ldac(p1, p2, n) memcpy_s((p2), (n), (p1), (n)) argument
69 #define copy_seq_s_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(short), (p1), (n)*sizeof(short)) argument
70 #define copy_seq_l_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(int), (p1), (n)*sizeof(int)) argument
71 #define copy_seq_f_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR)) argument
72 #define move_seq_f_ldac(p1, p2, n) memmove_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR)) argument
74 #define copy_data_ldac(p1, p2, n) memcpy((p2), (p1), (n)) argument
75 #define copy_seq_s_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(short)) argument
76 #define copy_seq_l_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(int)) argument
77 #define copy_seq_f_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(SCALAR)) argument
78 #define move_seq_f_ldac(p1, p2, n) memmove((p2), (p1), (n)*sizeof(SCALAR)) argument
/external/skqp/samplecode/
DSamplePathOverstroke.cpp68 SkPath quadPath(SkPoint p1, SkPoint p2) { in quadPath() argument
69 SkASSERT(p1.y() == p2.y()); in quadPath()
72 path.moveTo(p1); in quadPath()
75 SkPoint p3 = SkPoint::Make((p1.x() + p2.x()) / 2.0f, p1.y() * 0.7f); in quadPath()
77 path.quadTo(p3, p1); in quadPath()
82 SkPath cubicPath(SkPoint p1, SkPoint p2) { in cubicPath() argument
83 SkASSERT(p1.y() == p2.y()); in cubicPath()
86 path.moveTo(p1); in cubicPath()
88 SkPoint p3 = SkPoint::Make((p1.x() + p2.x()) / 3.0f, p1.y() * 0.7f); in cubicPath()
89 SkPoint p4 = SkPoint::Make(2.0f*(p1.x() + p2.x()) / 3.0f, p1.y() * 1.5f); in cubicPath()
[all …]

12345678910>>...99