Home
last modified time | relevance | path

Searched refs:cp2 (Results 1 – 25 of 71) sorted by relevance

123

/external/cldr/tools/java/org/unicode/cldr/util/
DCharUtilities.java91 int cp2 = text2.charAt(i2++); in compare() local
94 if (cp1 != cp2) { in compare()
96 (cp2 + utf16Fixup[cp2 >> 11]); in compare()
131 int cp2 = text2.charAt(i2++); in compare() local
134 if (cp1 != cp2) { in compare()
136 (cp2 + utf16Fixup[cp2 >> 11]); in compare()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java145 int cp2 = Character.codePointAt(other, 0);
146 return codePointsEqual(cp1, cp2, foldCase);
181 int cp2 = Character.codePointAt(other, offset);
182 if (!codePointsEqual(cp1, cp2, foldCase)) {
190 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
191 if (cp1 == cp2) {
198 cp2 = UCharacter.foldCase(cp2, true);
199 return cp1 == cp2;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStringSegment.java147 int cp2 = Character.codePointAt(other, 0);
148 return codePointsEqual(cp1, cp2, foldCase);
183 int cp2 = Character.codePointAt(other, offset);
184 if (!codePointsEqual(cp1, cp2, foldCase)) {
192 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
193 if (cp1 == cp2) {
200 cp2 = UCharacter.foldCase(cp2, true);
201 return cp1 == cp2;
/external/ltp/testcases/kernel/mem/shmt/
Dshmt03.c59 char *cp1, *cp2; in main() local
93 if ((cp2 = shmat(shmid, NULL, 0)) == (char *)-1) { in main()
99 if ((*cp2 != '1' || *(cp2 + 5 * K_1) != '2') && in main()
112 if (*cp2 != '1' || *(cp2 + 5 * K_1) != '2' || in main()
/external/fsck_msdos/
Dfat.c338 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum) in clustdiffer() argument
341 if (*cp2 == CLUST_FREE || *cp2 >= CLUST_RSRVD) { in clustdiffer()
343 && *cp2 != CLUST_FREE && *cp2 < CLUST_BAD) in clustdiffer()
344 || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) { 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()
368 *cp1 = *cp2; in clustdiffer()
[all …]
/external/icu/icu4c/source/i18n/
Dnumparse_stringsegment.cpp102 int cp2 = other.char32At(0); 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()
137 cp2 = u_foldCase(cp2, TRUE); in codePointsEqual()
138 return cp1 == cp2; in codePointsEqual()
/external/libxml2/os400/
Dwrappers.c47 char const * cp2; in _lx_inet_ntop() local
53 if (!(cp2 = xmlTranscodeString(cp1, NULL, NULL))) in _lx_inet_ntop()
54 return cp2; in _lx_inet_ntop()
56 i = strlen(cp2); in _lx_inet_ntop()
59 xmlFree((char *) cp2); in _lx_inet_ntop()
64 memcpy(dst, cp2, i + 1); in _lx_inet_ntop()
65 xmlFree((char *) cp2); in _lx_inet_ntop()
/external/f2fs-tools/scripts/
Ddumpf2fs.sh14 cp2)
15 echo dump cp2
19 echo dump cp1 and cp2
29 echo dump cp2 all
33 echo dump cp1 and cp2 all
/external/curl/packages/OS400/
Dos400sys.c1143 char * cp2; in Curl_ldap_get_dn_a() local
1152 cp2 = malloc(i + 1); in Curl_ldap_get_dn_a()
1153 if(!cp2) in Curl_ldap_get_dn_a()
1154 return cp2; in Curl_ldap_get_dn_a()
1156 QadrtConvertE2A(cp2, cp, i, i); in Curl_ldap_get_dn_a()
1157 cp2[i] = '\0'; in Curl_ldap_get_dn_a()
1163 strcpy(cp, cp2); in Curl_ldap_get_dn_a()
1164 free(cp2); in Curl_ldap_get_dn_a()
1176 char * cp2; in Curl_ldap_first_attribute_a() local
1185 cp2 = malloc(i + 1); in Curl_ldap_first_attribute_a()
[all …]
/external/openssh/
Dhostfile.c680 char *cp, *cp2; in hostkeys_foreach() local
728 for (cp2 = cp; *cp2 && *cp2 != ' ' && *cp2 != '\t'; cp2++) in hostkeys_foreach()
731 *cp2++ = '\0'; in hostkeys_foreach()
771 for (; *cp2 == ' ' || *cp2 == '\t'; cp2++) in hostkeys_foreach()
773 if (*cp2 == '\0' || *cp2 == '#') { in hostkeys_foreach()
778 lineinfo.rawkey = cp = cp2; in hostkeys_foreach()
832 cp2 += l; /* Skip past key type */ in hostkeys_foreach()
833 for (; *cp2 == ' ' || *cp2 == '\t'; cp2++) in hostkeys_foreach()
835 if (*cp2 == '\0' || *cp2 == '#') { in hostkeys_foreach()
/external/clang/test/SemaCXX/
Dcomplex-overload.cpp6 char *cp2 = foo(dv); in test_foo_1() local
16 char *cp2 = foo(dv); in test_foo_2() local
25 char *cp2 = foo(dv); in test_foo_3() local
50 char *cp2 = promote_or_convert3(1i); in test_promote_or_convert3() local
/external/e2fsprogs/lib/uuid/
Dcopy.c41 const unsigned char *cp2; 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/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp112 CFX_PointF cp1, cp2; in GetFillPath() local
125 cp2 = rtWidget.TopRight(); in GetFillPath()
136 cp2 = rtWidget.BottomRight(); in GetFillPath()
147 cp2 = rtWidget.BottomLeft(); in GetFillPath()
158 cp2 = rtWidget.TopLeft(); in GetFillPath()
196 fillPath->LineTo(CFX_PointF(cp2.x + fRadius2 * nx, cp2.y + fRadius2 * ny)); in GetFillPath()
491 CFX_PointF cp2; in GetPath() local
499 cp2 = rtWidget.TopRight(); in GetPath()
518 cp2 = rtWidget.BottomRight(); in GetPath()
537 cp2 = rtWidget.BottomLeft(); in GetPath()
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMain.java65 public void find(String level, String cp1, String cp2) throws IOException { in find() argument
69 if (cp2 == null) { in find()
70 cp2 = cp1; in find()
82 new DepFind().run(cp1, cp2, handler); in find()
/external/clang/test/Sema/
Doverloadable-complex.c6 char *cp2 = foo(dv); in test_foo_1() local
16 char *cp2 = foo(dv); in test_foo_2() local
25 char *cp2 = foo(dv); in test_foo_3() local
/external/pdfium/third_party/libtiff/
Dtif_getimage.c1840 uint32* cp2 = cp1+w+toskew; in putcontig8bitYCbCrGenericTile() local
1841 uint32* cp3 = cp2+w+toskew; in putcontig8bitYCbCrGenericTile()
1877 YCbCrtoRGB(cp2[0], pp[ 8]); in putcontig8bitYCbCrGenericTile()
1878 YCbCrtoRGB(cp2[1], pp[ 9]); in putcontig8bitYCbCrGenericTile()
1879 YCbCrtoRGB(cp2[2], pp[10]); in putcontig8bitYCbCrGenericTile()
1880 YCbCrtoRGB(cp2[3], pp[11]); in putcontig8bitYCbCrGenericTile()
1886 cp += 4, cp1 += 4, cp2 += 4, cp3 += 4; in putcontig8bitYCbCrGenericTile()
1889 cp += incr, cp1 += incr, cp2 += incr, cp3 += incr; in putcontig8bitYCbCrGenericTile()
1901 uint32* cp2 = cp1+w+toskew; in DECLAREContigPutFunc() local
1902 uint32* cp3 = cp2+w+toskew; in DECLAREContigPutFunc()
[all …]
/external/icu/icu4c/source/common/
Dunormcmp.cpp169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local
294 cp2=c2; in unorm_cmpEquivFold()
301 cp2=U16_GET_SUPPLEMENTARY(c2, c); in unorm_cmpEquivFold()
305 cp2=U16_GET_SUPPLEMENTARY(c, c2); in unorm_cmpEquivFold()
361 (length=ucase_toFullFolding((UChar32)cp2, &p, options))>=0 in unorm_cmpEquivFold()
447 0!=(p=nfcImpl->getDecomposition((UChar32)cp2, decomp2, length)) in unorm_cmpEquivFold()
/external/python/cpython2/Modules/
Daudioop.c515 short *cp1, *cp2; in audioop_findfit() local
526 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfit()
539 sum_ri_2 = _sum2(cp2, cp2, len2); in audioop_findfit()
541 sum_aij_ri = _sum2(cp1, cp2, len2); 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()
593 sum_ri_2 = _sum2(cp2, cp2, len2); in audioop_findfactor()
594 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfactor()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
Dmerge-cleanuppads.ll22 %cp2 = cleanuppad within none []
23 tail call void @may_throw(i32 1) #2 [ "funclet"(token %cp2) ]
24 cleanupret from %cp2 unwind to caller
/external/llvm/test/Transforms/SimplifyCFG/
Dmerge-cleanuppads.ll22 %cp2 = cleanuppad within none []
23 tail call void @may_throw(i32 1) #2 [ "funclet"(token %cp2) ]
24 cleanupret from %cp2 unwind to caller
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WinEH/
Dwineh-demotion.ll170 %cp2 = catchpad within %cs2 []
171 call void @h(i32 %phi.outer) [ "funclet"(token %cp2) ]
172 catchret from %cp2 to label %exit
243 %cp2 = catchpad within %cs1 []
244 call void @h(i32 %phi.catch) [ "funclet"(token %cp2) ]
245 catchret from %cp2 to label %exit
269 %cp2 = cleanuppad within none []
270 call void @h(i32 %x) [ "funclet"(token %cp2) ]
271 cleanupret from %cp2 unwind to caller
/external/llvm/test/CodeGen/WinEH/
Dwineh-demotion.ll170 %cp2 = catchpad within %cs2 []
171 call void @h(i32 %phi.outer) [ "funclet"(token %cp2) ]
172 catchret from %cp2 to label %exit
243 %cp2 = catchpad within %cs1 []
244 call void @h(i32 %phi.catch) [ "funclet"(token %cp2) ]
245 catchret from %cp2 to label %exit
269 %cp2 = cleanuppad within none []
270 call void @h(i32 %x) [ "funclet"(token %cp2) ]
271 cleanupret from %cp2 unwind to caller
/external/curl/lib/
Dx509asn1.c956 char *cp2; in Curl_extract_certinfo() local
1086 cp2 = malloc(i + 1); in Curl_extract_certinfo()
1087 if(!cp2) { in Curl_extract_certinfo()
1092 i = copySubstring(cp2, "-----BEGIN CERTIFICATE-----"); in Curl_extract_certinfo()
1094 i += copySubstring(cp2 + i, cp1 + j); in Curl_extract_certinfo()
1095 i += copySubstring(cp2 + i, "-----END CERTIFICATE-----"); in Curl_extract_certinfo()
1096 cp2[i] = '\0'; in Curl_extract_certinfo()
1099 Curl_ssl_push_certinfo(data, certnum, "Cert", cp2); in Curl_extract_certinfo()
1101 infof(data, "%s\n", cp2); in Curl_extract_certinfo()
1102 free(cp2); in Curl_extract_certinfo()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dwin-catchpad-nested.ll27 %cp2 = catchpad within %cs2 [i32 2]
28 catchret from %cp2 to label %outer.ret
/external/llvm/test/CodeGen/X86/
Dwin-catchpad-nested.ll27 %cp2 = catchpad within %cs2 [i32 2]
28 catchret from %cp2 to label %outer.ret

123