Home
last modified time | relevance | path

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

1234

/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp110 CFX_PointF cp1, cp2; in GetFillPath() local
122 cp1 = rtWidget.TopLeft(); in GetFillPath()
133 cp1 = rtWidget.TopRight(); in GetFillPath()
144 cp1 = rtWidget.BottomRight(); in GetFillPath()
155 cp1 = rtWidget.BottomLeft(); in GetFillPath()
168 fillPath->MoveTo(CFX_PointF(cp1.x, cp1.y + fRadius1)); in GetFillPath()
176 CFX_RectF rtRadius(cp1.x, cp1.y, fRadius1 * 2 * vx, fRadius1 * 2 * vy); in GetFillPath()
185 cp.x = cp1.x + fRadius1 * vx; in GetFillPath()
186 cp.y = cp1.y + fRadius1 * vy; in GetFillPath()
188 cp = cp1; in GetFillPath()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DKeyframeParser.java80 PointF cp1 = null; in parseKeyframe() local
105 cp1 = JsonUtils.jsonToPoint(reader, scale); in parseKeyframe()
129 } else if (cp1 != null && cp2 != null) { in parseKeyframe()
130 cp1.x = MiscUtils.clamp(cp1.x, -scale, scale); in parseKeyframe()
131 cp1.y = MiscUtils.clamp(cp1.y, -MAX_CP_VALUE, MAX_CP_VALUE); in parseKeyframe()
134 int hash = Utils.hashFor(cp1.x, cp1.y, cp2.x, cp2.y); in parseKeyframe()
140 cp1.x /= scale; in parseKeyframe()
141 cp1.y /= scale; in parseKeyframe()
145 interpolator = PathInterpolatorCompat.create(cp1.x, cp1.y, cp2.x, cp2.y); in parseKeyframe()
155 Math.min(cp1.x, 1f), cp1.y, Math.max(cp2.x, 0f), cp2.y); in parseKeyframe()
DShapeDataParser.java83 PointF cp1 = outTangents.get(i - 1); in parse() local
85 PointF shapeCp1 = MiscUtils.addPoints(previousVertex, cp1); in parse()
93 PointF cp1 = outTangents.get(length - 1); in parse() local
96 PointF shapeCp1 = MiscUtils.addPoints(previousVertex, cp1); in parse()
/external/e2fsprogs/lib/ss/
Derror.c40 register char const *cp1; in ss_name() local
46 cp1 = infop->subsystem_name; in ss_name()
47 while (*cp1) in ss_name()
48 *cp++ = *cp1++; in ss_name()
51 cp1 = infop->current_request; in ss_name()
52 while (*cp1) in ss_name()
53 *cp++ = *cp1++; in ss_name()
/external/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;
/external/icu/android_icu4j/src/main/java/android/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;
/external/cldr/tools/java/org/unicode/cldr/util/
DCharUtilities.java100 int cp1 = text1.charAt(i1++); in compare() local
104 if (cp1 != cp2) { in compare()
105 return (cp1 + utf16Fixup[cp1 >> 11]) - in compare()
140 int cp1 = text1.charAt(i1++); in compare() local
144 if (cp1 != cp2) { in compare()
145 return (cp1 + utf16Fixup[cp1 >> 11]) - in compare()
/external/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()
/external/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()
/external/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()
/external/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 …]
/external/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
/external/llvm-project/clang/test/SemaCXX/
Dcomplex-overload.cpp5 char *cp1 = foo(fv); in test_foo_1() local
16 char *cp1 = foo(fv); in test_foo_2() local
25 char *cp1 = foo(fv); in test_foo_3() local
50 char *cp1 = promote_or_convert3(sc); in test_promote_or_convert3() local
/external/clang/test/SemaCXX/
Dcomplex-overload.cpp5 char *cp1 = foo(fv); in test_foo_1() local
15 char *cp1 = foo(fv); in test_foo_2() local
24 char *cp1 = foo(fv); in test_foo_3() local
49 char *cp1 = promote_or_convert3(sc); in test_promote_or_convert3() local
/external/llvm-project/flang/test/Semantics/
Dallocate03.f9028 type(SomeType(l1=:,l2=:)), pointer :: cp1, cp2(:) local
49 allocate(cp1)
83 allocate(SomeType(l1=1, l2=2):: cp1, cp2(2))
86 allocate(cp1, cp2(2), mold = cp1mold)
89 allocate(cp1, cp2(2), source = cp1mold)
/external/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()
/external/llvm-project/llvm/test/CodeGen/X86/
Dwin-catchpad-nested.ll18 %cp1 = catchpad within %cs1 [i32 1]
19 invoke void @f() [ "funclet"(token %cp1) ]
22 catchret from %cp1 to label %exit
25 %cs2 = catchswitch within %cp1 [label %inner.catch] unwind to caller
/external/llvm/test/CodeGen/X86/
Dwin-catchpad-nested.ll18 %cp1 = catchpad within %cs1 [i32 1]
19 invoke void @f() [ "funclet"(token %cp1) ]
22 catchret from %cp1 to label %exit
25 %cs2 = catchswitch within %cp1 [label %inner.catch] unwind to caller
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMain.java65 public void find(String level, String cp1, String cp2) throws IOException { in find() argument
66 if (level == null || cp1 == null) { in find()
70 cp2 = cp1; in find()
82 new DepFind().run(cp1, cp2, handler); in find()
/external/dnsmasq/src/
Drfc1035.c148 char name[MAXARPANAME + 1], *cp1; in in_arpa_name_2_addr() local
158 for (j = 1, cp1 = name; *namein; cp1++, namein++) in in_arpa_name_2_addr()
161 lastchunk = cp1 + 1; in in_arpa_name_2_addr()
162 *cp1 = 0; in in_arpa_name_2_addr()
165 *cp1 = *namein; in in_arpa_name_2_addr()
167 *cp1 = 0; in in_arpa_name_2_addr()
177 for (cp1 = name; cp1 != penchunk; cp1 += strlen(cp1) + 1) { in in_arpa_name_2_addr()
182 for (cp = cp1; *cp; cp++) in in_arpa_name_2_addr()
188 addr[0] = atoi(cp1); in in_arpa_name_2_addr()
208 for (j = 0, cp1 = name + 3; *cp1 && isxdigit((int) *cp1) && j < 32; cp1++, j++) { in in_arpa_name_2_addr()
[all …]
/external/clang/test/Sema/
Doverloadable-complex.c5 char *cp1 = foo(fv); in test_foo_1() local
15 char *cp1 = foo(fv); in test_foo_2() local
24 char *cp1 = foo(fv); in test_foo_3() local
/external/llvm-project/clang/test/Sema/
Doverloadable-complex.c5 char *cp1 = foo(fv); in test_foo_1() local
15 char *cp1 = foo(fv); in test_foo_2() local
24 char *cp1 = foo(fv); in test_foo_3() local
/external/python/cpython2/Modules/
Daudioop.c515 short *cp1, *cp2; in audioop_findfit() local
526 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfit()
540 sum_aij_2 = _sum2(cp1, cp1, len2); in audioop_findfit()
541 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfit()
549 aj_m1 = (double)cp1[j-1]; in audioop_findfit()
550 aj_lm1 = (double)cp1[j+len2-1]; in audioop_findfit()
553 sum_aij_ri = _sum2(cp1+j, cp2, len2); in audioop_findfit()
565 factor = _sum2(cp1+best_j, cp2, len2) / sum_ri_2; in audioop_findfit()
577 short *cp1, *cp2; in audioop_findfactor() local
582 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfactor()
[all …]

1234