Home
last modified time | relevance | path

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

1234

/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp112 CFX_PointF cp1, cp2; in GetFillPath() local
124 cp1 = rtWidget.TopLeft(); in GetFillPath()
135 cp1 = rtWidget.TopRight(); in GetFillPath()
146 cp1 = rtWidget.BottomRight(); in GetFillPath()
157 cp1 = rtWidget.BottomLeft(); in GetFillPath()
170 fillPath->MoveTo(CFX_PointF(cp1.x, cp1.y + fRadius1)); in GetFillPath()
178 CFX_RectF rtRadius(cp1.x, cp1.y, fRadius1 * 2 * vx, fRadius1 * 2 * vy); in GetFillPath()
187 cp.x = cp1.x + fRadius1 * vx; in GetFillPath()
188 cp.y = cp1.y + fRadius1 * vy; in GetFillPath()
190 cp = cp1; in GetFillPath()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java144 int cp1 = Character.codePointAt(this, 0);
146 return codePointsEqual(cp1, cp2, foldCase);
180 int cp1 = Character.codePointAt(this, offset);
182 if (!codePointsEqual(cp1, cp2, foldCase)) {
185 offset += Character.charCount(cp1);
190 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
191 if (cp1 == cp2) {
197 cp1 = UCharacter.foldCase(cp1, true);
199 return cp1 == cp2;
/external/icu/android_icu4j/src/main/java/android/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/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/cldr/tools/java/org/unicode/cldr/util/
DCharUtilities.java90 int cp1 = text1.charAt(i1++); in compare() local
94 if (cp1 != cp2) { in compare()
95 return (cp1 + utf16Fixup[cp1 >> 11]) - in compare()
130 int cp1 = text1.charAt(i1++); in compare() local
134 if (cp1 != cp2) { in compare()
135 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/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/fsck_msdos/
Dfat.c338 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum) in clustdiffer() argument
340 if (*cp1 == CLUST_FREE || *cp1 >= CLUST_RSRVD) { in clustdiffer()
342 if ((*cp1 != CLUST_FREE && *cp1 < CLUST_BAD in clustdiffer()
344 || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) { in clustdiffer()
346 cl, rsrvdcltype(*cp1)); in clustdiffer()
348 *cp2 = *cp1; in clustdiffer()
354 cl, rsrvdcltype(*cp1), rsrvdcltype(*cp2), fatnum); in clustdiffer()
356 *cp2 = *cp1; in clustdiffer()
360 *cp1 = *cp2; in clustdiffer()
366 cl, rsrvdcltype(*cp1), *cp2, fatnum); in clustdiffer()
[all …]
/external/icu/icu4c/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()
/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/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/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/swiftshader/third_party/llvm-7.0/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/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/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/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 …]
/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/selinux/secilc/test/
Dneverallow.cil26 (classpermission cp1)
27 (classpermissionset cp1 (c1 (p1a p1b)))
28 (classpermissionset cp1 (c2 (p2a)))
62 (neverallow t5 t6 cp1)
/external/pdfium/third_party/libtiff/
Dtif_getimage.c1839 uint32* cp1 = cp+w+toskew; in putcontig8bitYCbCrGenericTile() local
1840 uint32* cp2 = cp1+w+toskew; in putcontig8bitYCbCrGenericTile()
1873 YCbCrtoRGB(cp1[0], pp[ 4]); in putcontig8bitYCbCrGenericTile()
1874 YCbCrtoRGB(cp1[1], pp[ 5]); in putcontig8bitYCbCrGenericTile()
1875 YCbCrtoRGB(cp1[2], pp[ 6]); in putcontig8bitYCbCrGenericTile()
1876 YCbCrtoRGB(cp1[3], pp[ 7]); in putcontig8bitYCbCrGenericTile()
1886 cp += 4, cp1 += 4, cp2 += 4, cp3 += 4; in putcontig8bitYCbCrGenericTile()
1889 cp += incr, cp1 += incr, cp2 += incr, cp3 += incr; in putcontig8bitYCbCrGenericTile()
1900 uint32* cp1 = cp+w+toskew; in DECLAREContigPutFunc() local
1901 uint32* cp2 = cp1+w+toskew; in DECLAREContigPutFunc()
[all …]
/external/icu/icu4c/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()
/external/selinux/libsepol/cil/src/
Dcil_find.c145 static int cil_classperms_match_any(struct cil_classperms *cp1, struct cil_classperms *cp2) in cil_classperms_match_any() argument
147 struct cil_class *c1 = cp1->class; in cil_classperms_match_any()
153 cil_list_for_each(i1, cp1->perms) { in cil_classperms_match_any()
163 static int __cil_classperms_list_match_any(struct cil_classperms *cp1, struct cil_list *cpl2) in __cil_classperms_list_match_any() argument
172 rc = cil_classperms_match_any(cp1, cp); in __cil_classperms_list_match_any()
178 rc = __cil_classperms_list_match_any(cp1, cmp->classperms); in __cil_classperms_list_match_any()
185 rc = __cil_classperms_list_match_any(cp1, cp->classperms); in __cil_classperms_list_match_any()

1234