Home
last modified time | relevance | path

Searched refs:cp1 (Results 1 – 25 of 73) sorted by relevance

123

/third_party/boost/libs/poly_collection/test/
Dtest_comparison.cpp24 const PolyCollection& cp1=p1; in test_comparison() local
27 BOOST_TEST(cp1==cp1); in test_comparison()
28 BOOST_TEST(!(cp1!=cp1)); in test_comparison()
29 BOOST_TEST(cp1==cp2); in test_comparison()
30 BOOST_TEST(!(cp1!=cp2)); in test_comparison()
34 const PolyCollection& cp1=p1; in test_comparison() local
43 BOOST_TEST(!(cp1==cp2)); in test_comparison()
44 BOOST_TEST(cp1!=cp2); in test_comparison()
48 const PolyCollection& cp1=p1; in test_comparison() local
58 BOOST_TEST(!(cp1==cp2)); in test_comparison()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstinterpolationcontrolsource.c57 GstClockTime ts, GstControlPoint ** cp1, GstControlPoint ** cp2) in _get_nearest_control_points() argument
63 *cp1 = g_sequence_get (iter); in _get_nearest_control_points()
77 GstClockTime ts, GstControlPoint ** cp1, GstControlPoint ** cp2, in _get_nearest_control_points2() argument
82 *cp1 = *cp2 = NULL; in _get_nearest_control_points2()
85 *cp1 = g_sequence_get (iter1); in _get_nearest_control_points2()
147 GstControlPoint *cp1 = NULL, *cp2 = NULL; in interpolate_none_get_value_array() local
155 _get_nearest_control_points2 (self, ts, &cp1, &cp2, &next_ts); in interpolate_none_get_value_array()
157 if (cp1) { in interpolate_none_get_value_array()
158 *values = _interpolate_none (self, cp1); in interpolate_none_get_value_array()
196 GstControlPoint *cp1, *cp2; in interpolate_linear_get() local
[all …]
/third_party/e2fsprogs/lib/ss/
Derror.c40 register char const *cp1; in ss_name() local
48 cp1 = infop->subsystem_name; in ss_name()
49 while (*cp1) in ss_name()
50 *cp++ = *cp1++; in ss_name()
53 cp1 = infop->current_request; in ss_name()
54 while (*cp1) in ss_name()
55 *cp++ = *cp1++; in ss_name()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DStringSegment.java148 int cp1 = Character.codePointAt(this, 0);
150 return codePointsEqual(cp1, cp2, foldCase);
184 int cp1 = Character.codePointAt(this, offset);
186 if (!codePointsEqual(cp1, cp2, foldCase)) {
189 offset += Character.charCount(cp1);
194 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
195 if (cp1 == cp2) {
201 cp1 = UCharacter.foldCase(cp1, true);
203 return cp1 == cp2;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java146 int cp1 = Character.codePointAt(this, 0);
148 return codePointsEqual(cp1, cp2, foldCase);
182 int cp1 = Character.codePointAt(this, offset);
184 if (!codePointsEqual(cp1, cp2, foldCase)) {
187 offset += Character.charCount(cp1);
192 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
193 if (cp1 == cp2) {
199 cp1 = UCharacter.foldCase(cp1, true);
201 return cp1 == cp2;
/third_party/ltp/testcases/kernel/mem/shmt/
Dshmt03.c59 char *cp1, *cp2; in main() local
79 if ((cp1 = shmat(shmid, NULL, 0)) == (char *)-1) { in main()
84 *cp1 = '1'; in main()
85 *(cp1 + 5 * K_1) = '2'; in main()
113 *cp1 != '1' || *(cp1 + 5 * K_1) != '2') { in main()
Dshmt05.c61 char *cp, *cp1; in main() local
69 cp1 = NULL; in main()
97 cp1 = shmat(shmid1, cp + (SIZE / 2), 0); in main()
98 if (cp1 != (char *)-1) { in main()
102 shmid1, cp1, errno); in main()
Dshmt08.c58 char *cp = NULL, *cp1 = NULL; in main() local
79 cp1 = shmat(shmid, NULL, 0); in main()
80 if (cp1 == (char *)-1) { in main()
95 if (shmdt(cp1) < 0) { in main()
/third_party/libxml2/os400/
Dwrappers.c46 const char * cp1 = inet_ntop(af, src, dst, size); in _lx_inet_ntop() local
50 if (!cp1) in _lx_inet_ntop()
51 return cp1; in _lx_inet_ntop()
53 if (!(cp2 = xmlTranscodeString(cp1, NULL, NULL))) in _lx_inet_ntop()
100 char * cp1 = (char *) dlerror(); in _lx_dlerror() local
102 if (!cp1) in _lx_dlerror()
103 return cp1; in _lx_dlerror()
108 lxdles = (const char *) xmlTranscodeString(cp1, NULL, NULL); in _lx_dlerror()
/third_party/boost/libs/utility/test/
Dcompressed_pair_test.cpp78 boost::compressed_pair<T1,T2> cp1; in test() local
106 cp1 = cp4; in test()
107 BOOST_TEST(cp1.first() == p1); in test()
108 BOOST_TEST(cp1.second() == p2); in test()
109 cp1 = cp5; in test()
110 BOOST_TEST(cp1.first() == p3); in test()
111 BOOST_TEST(cp1.second() == p4); in test()
252 boost::compressed_pair<T1,T2> cp1; in test() local
263 BOOST_TEST(sizeof(T1) == sizeof(cp1.first())); in test()
282 boost::compressed_pair<T1,T2> cp1; in test() local
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c791 struct cpuset *cp1 = cpuset_alloc(); in resolve_cp() local
792 if (cp1 == NULL) in resolve_cp()
794 if (cpuset_cpusetofpid(cp1, 0) < 0) { in resolve_cp()
795 cpuset_free(cp1); in resolve_cp()
798 *cp_tofree = cp1; in resolve_cp()
799 rcp = cp1; in resolve_cp()
810 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); in cpuset_getcpus() local
812 if (!cp1) in cpuset_getcpus()
814 if (cp1->cpus == NULL) { in cpuset_getcpus()
818 bitmask_copy(cpus, cp1->cpus); in cpuset_getcpus()
[all …]
/third_party/icu/icu4c/source/i18n/
Dstring_segment.cpp99 int cp1 = getCodePoint(); in startsWith() local
101 return codePointsEqual(cp1, cp2, fFoldCase); in startsWith()
127 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument
128 if (cp1 == cp2) { in codePointsEqual()
134 cp1 = u_foldCase(cp1, TRUE); in codePointsEqual()
136 return cp1 == cp2; in codePointsEqual()
/third_party/node/deps/icu-small/source/i18n/
Dstring_segment.cpp99 int cp1 = getCodePoint(); in startsWith() local
101 return codePointsEqual(cp1, cp2, fFoldCase); in startsWith()
127 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument
128 if (cp1 == cp2) { in codePointsEqual()
134 cp1 = u_foldCase(cp1, TRUE); in codePointsEqual()
136 return cp1 == cp2; in codePointsEqual()
/third_party/skia/third_party/externals/icu/source/i18n/
Dstring_segment.cpp99 int cp1 = getCodePoint(); in startsWith() local
101 return codePointsEqual(cp1, cp2, fFoldCase); in startsWith()
127 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument
128 if (cp1 == cp2) { in codePointsEqual()
134 cp1 = u_foldCase(cp1, TRUE); in codePointsEqual()
136 return cp1 == cp2; in codePointsEqual()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_stringsegment.cpp101 int cp1 = getCodePoint(); in startsWith() local
103 return codePointsEqual(cp1, cp2, fFoldCase); in startsWith()
129 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument
130 if (cp1 == cp2) { in codePointsEqual()
136 cp1 = u_foldCase(cp1, TRUE); in codePointsEqual()
138 return cp1 == cp2; in codePointsEqual()
/third_party/cmsis/CMSIS/DSP/Source/InterpolationFunctions/
Darm_spline_interp_init_f32.c90 float32_t cp1; /* Temporary value for c(i+1) */ in arm_spline_init_f32() local
149 cp1 = z[n-1]; /* Initialize c(i+1) = c(N) = z(N) */ in arm_spline_init_f32()
154 c[i] = z[i]-u[i]*cp1; in arm_spline_init_f32()
158 b[i] = (y[i+1]-y[i])/hi-hi*(cp1+2*c[i])/3; in arm_spline_init_f32()
161 d[i] = (cp1-c[i])/(3*hi); in arm_spline_init_f32()
164 cp1 = c[i]; in arm_spline_init_f32()
/third_party/boost/boost/geometry/strategies/cartesian/
Dline_interpolate.hpp81 calc_point_t cp0, cp1; in apply() local
83 geometry::detail::conversion::convert_point_to_point(p1, cp1); in apply()
87 for_each_coordinate(cp1, detail::value_operation in apply()
97 for_each_coordinate(cp1, detail::point_operation in apply()
104 geometry::detail::conversion::convert_point_to_point(cp1, p); in apply()
Ddensify.hpp64 calc_point_t cp0, cp1; in apply() local
66 geometry::detail::conversion::convert_point_to_point(p1, cp1); in apply()
69 calc_point_t dir01 = cp1; in apply()
/third_party/f2fs-tools/scripts/
Ddumpf2fs.sh9 cp1)
10 echo dump cp1
19 echo dump cp1 and cp2
25 echo dump cp1 all
33 echo dump cp1 and cp2 all
/third_party/boost/boost/geometry/srs/projections/proj/
Dtpeqd.hpp64 T cp1, sp1, cp2, sp2, ccs, cs, sc, r2z0, z02, dlam2; member
81 …z1 = aacos(this->m_proj_parm.sp1 * sp + this->m_proj_parm.cp1 * cp * cos(dl1 = lp_lon + this->m_pr… in fwd()
139 proj_parm.cp1 = cos(phi_1); in setup_tpeqd()
143 proj_parm.cs = proj_parm.cp1 * proj_parm.sp2; in setup_tpeqd()
145 proj_parm.ccs = proj_parm.cp1 * proj_parm.cp2 * sin(proj_parm.dlam2); in setup_tpeqd()
146 …proj_parm.z02 = aacos(proj_parm.sp1 * proj_parm.sp2 + proj_parm.cp1 * proj_parm.cp2 * cos(proj_par… in setup_tpeqd()
149 … proj_parm.cp1 * proj_parm.sp2 - proj_parm.sp1 * proj_parm.cp2 * cos(proj_parm.dlam2)); in setup_tpeqd()
150 proj_parm.ca = cos(pp = aasin(proj_parm.cp1 * sin(A12))); in setup_tpeqd()
152 … proj_parm.lp = adjlon(atan2(proj_parm.cp1 * cos(A12), proj_parm.sp1) - proj_parm.hz0); in setup_tpeqd()
/third_party/e2fsprogs/lib/uuid/
Dcopy.c40 unsigned char *cp1; in uuid_copy() local
44 for (i=0, cp1 = dst, cp2 = src; i < 16; i++) in uuid_copy()
45 *cp1++ = *cp2++; in uuid_copy()
/third_party/boost/libs/multi_index/test/
Dtest_composite_key.cpp441 ckey_comp_t1 cp1; in DEFINE_TUPLE_MAKER() local
444 BOOST_TEST(is_equiv (ck1(xyz(0,0,0)),ck2(xyz(0,0,0)),cp1,eq1)); in DEFINE_TUPLE_MAKER()
445 BOOST_TEST(is_less (ck1(xyz(0,0,1)),ck2(xyz(0,1,0)),cp1,eq1)); in DEFINE_TUPLE_MAKER()
446 BOOST_TEST(is_greater(ck1(xyz(0,0,1)),ck2(xyz(0,0,0)),cp1,eq1)); in DEFINE_TUPLE_MAKER()
448 BOOST_TEST(is_equiv (ck1(xyz(0,0,0)),TupleMaker::create(0),cp1)); in DEFINE_TUPLE_MAKER()
449 BOOST_TEST(is_less (ck1(xyz(0,0,0)),TupleMaker::create(1),cp1)); in DEFINE_TUPLE_MAKER()
450 BOOST_TEST(is_greater(ck1(xyz(0,0,0)),TupleMaker::create(-1),cp1)); in DEFINE_TUPLE_MAKER()
453 BOOST_TEST(is_equiv (ck1(xyz(0,0,0)),0,cp1)); in DEFINE_TUPLE_MAKER()
454 BOOST_TEST(is_less (ck1(xyz(0,0,0)),1,cp1)); in DEFINE_TUPLE_MAKER()
455 BOOST_TEST(is_greater(ck1(xyz(0,0,0)),-1,cp1)); in DEFINE_TUPLE_MAKER()
[all …]
/third_party/boost/boost/math/special_functions/detail/
Dhypergeometric_rational.hpp104 const T cp1 = cp + one; in hypergeometric_2F1_rational() local
105 const T ct1 = cp1 + cp1; in hypergeometric_2F1_rational()
116 const T cp1_inc = cp1 + one; in hypergeometric_2F1_rational()
117 const T cp1_mul_cp1_inc = cp1 * cp1_inc; in hypergeometric_2F1_rational()
145 g2 *= cp1 - (xi + ((d[2] + d[0]) / d[6])); in hypergeometric_2F1_rational()
/third_party/selinux/secilc/test/
Dneverallow.cil26 (classpermission cp1)
27 (classpermissionset cp1 (c1 (p1a p1b)))
28 (classpermissionset cp1 (c2 (p2a)))
62 (neverallow t5 t6 cp1)
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunormcmp.cpp169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local
278 cp1=c1; in unorm_cmpEquivFold()
285 cp1=U16_GET_SUPPLEMENTARY(c1, c); in unorm_cmpEquivFold()
289 cp1=U16_GET_SUPPLEMENTARY(c, c1); in unorm_cmpEquivFold()
316 (length=ucase_toFullFolding((UChar32)cp1, &p, options))>=0 in unorm_cmpEquivFold()
406 0!=(p=nfcImpl->getDecomposition((UChar32)cp1, decomp1, length)) in unorm_cmpEquivFold()

123