/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | StringSegment.java | 147 int cp2 = Character.codePointAt(other, 0); in startsWith() 148 return codePointsEqual(cp1, cp2, foldCase); in startsWith() 183 int cp2 = Character.codePointAt(other, offset); in getPrefixLengthInternal() 184 if (!codePointsEqual(cp1, cp2, foldCase)) { in getPrefixLengthInternal() 192 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { in codePointsEqual() argument 193 if (cp1 == cp2) { in codePointsEqual() 200 cp2 = UCharacter.foldCase(cp2, true); in codePointsEqual() 201 return cp1 == cp2; in codePointsEqual()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | StringSegment.java | 149 int cp2 = Character.codePointAt(other, 0); in startsWith() 150 return codePointsEqual(cp1, cp2, foldCase); in startsWith() 185 int cp2 = Character.codePointAt(other, offset); in getPrefixLengthInternal() 186 if (!codePointsEqual(cp1, cp2, foldCase)) { in getPrefixLengthInternal() 194 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { in codePointsEqual() argument 195 if (cp1 == cp2) { in codePointsEqual() 202 cp2 = UCharacter.foldCase(cp2, true); in codePointsEqual() 203 return cp1 == cp2; in codePointsEqual()
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt03.c | 59 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()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | string_segment.cpp | 100 int cp2 = other.char32At(0); 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() 135 cp2 = u_foldCase(cp2, true); in codePointsEqual() 136 return cp1 == cp2; in codePointsEqual()
|
H A D | string_segment.h | 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | string_segment.cpp | 100 int cp2 = other.char32At(0); 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() 135 cp2 = u_foldCase(cp2, true); in codePointsEqual() 136 return cp1 == cp2; in codePointsEqual()
|
H A D | string_segment.h | 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | string_segment.cpp | 100 int cp2 = other.char32At(0); 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() 135 cp2 = u_foldCase(cp2, TRUE); in codePointsEqual() 136 return cp1 == cp2; in codePointsEqual()
|
H A D | string_segment.h | 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/curl/packages/OS400/ |
H A D | os400sys.c | 702 char *cp2; in Curl_ldap_get_dn_a() local 711 cp2 = malloc(i + 1); in Curl_ldap_get_dn_a() 712 if(!cp2) in Curl_ldap_get_dn_a() 713 return cp2; in Curl_ldap_get_dn_a() 715 QadrtConvertE2A(cp2, cp, i, i); in Curl_ldap_get_dn_a() 716 cp2[i] = '\0'; in Curl_ldap_get_dn_a() 722 strcpy(cp, cp2); in Curl_ldap_get_dn_a() 723 free(cp2); in Curl_ldap_get_dn_a() 733 char *cp2; in Curl_ldap_first_attribute_a() local 742 cp2 in Curl_ldap_first_attribute_a() 764 char *cp2; Curl_ldap_next_attribute_a() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 294 cp2=c2; in unorm_cmpEquivFold() 300 /* advance ++s2; only below if cp2 decomposes/case-folds */ 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() 363 /* cp2 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 447 0!=(p=nfcImpl->getDecomposition((UChar32)cp2, decomp2, length)) in unorm_cmpEquivFold() 449 /* cp2 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1-cp2 in unorm_cmpEquivFold() [all...] |
H A D | caniter.cpp | 457 UChar32 cp2 = iter.getCodepoint(); in getEquivalents2() local 460 if (extract(&remainder, cp2, segment, segLen, i, status) == NULL) { in getEquivalents2() 466 prefix += cp2; in getEquivalents2() 496 * See if the decomposition of cp2 is at segment starting at segmentPos
|
/third_party/json/tests/src/ |
H A D | unit-unicode1.cpp | 126 for (std::size_t cp2 = 0x0000u; cp2 <= 0xFFFFu; ++cp2) 128 if (0xDC00u <= cp2 && cp2 <= 0xDFFFu) 133 std::string json_text = "\"" + codepoint_to_unicode(cp1) + codepoint_to_unicode(cp2) + "\"";
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 294 cp2=c2; in unorm_cmpEquivFold() 300 /* advance ++s2; only below if cp2 decomposes/case-folds */ 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() 363 /* cp2 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 447 0!=(p=nfcImpl->getDecomposition((UChar32)cp2, decomp2, length)) in unorm_cmpEquivFold() 449 /* cp2 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1-cp2 in unorm_cmpEquivFold() [all...] |
H A D | caniter.cpp | 457 UChar32 cp2 = iter.getCodepoint(); in getEquivalents2() local 460 if (extract(&remainder, cp2, segment, segLen, i, status) == nullptr) { in getEquivalents2() 466 prefix += cp2; in getEquivalents2() 496 * See if the decomposition of cp2 is at segment starting at segmentPos
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 294 cp2=c2; in unorm_cmpEquivFold() 300 /* advance ++s2; only below if cp2 decomposes/case-folds */ 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() 363 /* cp2 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 447 0!=(p=nfcImpl->getDecomposition((UChar32)cp2, decomp2, length)) in unorm_cmpEquivFold() 449 /* cp2 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1-cp2 in unorm_cmpEquivFold() [all...] |
H A D | caniter.cpp | 457 UChar32 cp2 = iter.getCodepoint(); in getEquivalents2() local 460 if (extract(&remainder, cp2, segment, segLen, i, status) == NULL) { in getEquivalents2() 466 prefix += cp2; in getEquivalents2() 496 * See if the decomposition of cp2 is at segment starting at segmentPos
|
/third_party/python/Modules/ |
H A D | audioop.c | 606 ** cp2 R 633 const int16_t *cp1, *cp2; in audioop_findfit_impl() local 646 cp2 = (const int16_t *)reference->buf; in audioop_findfit_impl() 654 sum_ri_2 = _sum2(cp2, cp2, len2); in audioop_findfit_impl() 656 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfit_impl() 668 sum_aij_ri = _sum2(cp1+j, cp2, len2); in audioop_findfit_impl() 680 factor = _sum2(cp1+best_j, cp2, len2) / sum_ri_2; in audioop_findfit_impl() 704 const int16_t *cp1, *cp2; in audioop_findfactor_impl() local 719 cp2 in audioop_findfactor_impl() [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | libcpuset.c | 1965 static void mark_dirty_variable(struct cpuset *cp1, const struct cpuset *cp2) in mark_dirty_variable() argument 1968 cp1->cpu_exclusive != cp2->cpu_exclusive) in mark_dirty_variable() 1972 cp1->mem_exclusive != cp2->mem_exclusive) in mark_dirty_variable() 1975 if (cp1->mem_hardwall_valid && cp1->mem_hardwall != cp2->mem_hardwall) in mark_dirty_variable() 1979 cp1->notify_on_release != cp2->notify_on_release) in mark_dirty_variable() 1983 cp1->memory_migrate != cp2->memory_migrate) in mark_dirty_variable() 1987 cp1->memory_pressure_enabled != cp2->memory_pressure_enabled) in mark_dirty_variable() 1991 cp1->memory_spread_page != cp2->memory_spread_page) in mark_dirty_variable() 1995 cp1->memory_spread_slab != cp2->memory_spread_slab) in mark_dirty_variable() 1999 cp1->sched_load_balance != cp2 in mark_dirty_variable() 2292 struct cpuset *cp2 = NULL; cpuset_collides_exclusive() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CanonicalIterator.java | 310 int cp2 = iter.codepoint; in getEquivalents2() 311 Set<String> remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 318 prefix += UTF16.valueOf(cp2); in getEquivalents2() 343 int cp2 = usi.codepoint; in getEquivalents2() 346 Set remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 350 String prefix = segment.substring(0, i) + UTF16.valueOf(cp2); in getEquivalents2() 364 * See if the decomposition of cp2 is at segment starting at segmentPos
|
H A D | Normalizer.java | 2134 int c1, c2, cp1, cp2; in cmpEquivFold() 2255 cp2=c2; in cmpEquivFold() 2261 /* advance ++s2; only below if cp2 decomposes/case-folds */ in cmpEquivFold() 2262 cp2=Character.toCodePoint((char)c2, c); in cmpEquivFold() 2266 cp2=Character.toCodePoint(c, (char)c2); in cmpEquivFold() 2325 (length=csp.toFullFolding(cp2, fold2, options))>=0 in cmpEquivFold() 2327 /* cp2 case-folds to the code point "length" or to p[length] */ in cmpEquivFold() 2417 (decomp2=nfcImpl.getDecomposition(cp2))!=null in cmpEquivFold() 2419 /* cp2 decomposes into p[length] */ in cmpEquivFold() 2464 * code point order comparison must not just return cp1-cp2 in cmpEquivFold() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CanonicalIterator.java | 306 int cp2 = iter.codepoint; in getEquivalents2() 307 Set<String> remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 314 prefix += UTF16.valueOf(cp2); in getEquivalents2() 339 int cp2 = usi.codepoint; in getEquivalents2() 342 Set remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 346 String prefix = segment.substring(0, i) + UTF16.valueOf(cp2); in getEquivalents2() 360 * See if the decomposition of cp2 is at segment starting at segmentPos
|
H A D | Normalizer.java | 2194 int c1, c2, cp1, cp2; in cmpEquivFold() 2315 cp2=c2; in cmpEquivFold() 2321 /* advance ++s2; only below if cp2 decomposes/case-folds */ in cmpEquivFold() 2322 cp2=Character.toCodePoint((char)c2, c); in cmpEquivFold() 2326 cp2=Character.toCodePoint(c, (char)c2); in cmpEquivFold() 2385 (length=csp.toFullFolding(cp2, fold2, options))>=0 in cmpEquivFold() 2387 /* cp2 case-folds to the code point "length" or to p[length] */ in cmpEquivFold() 2477 (decomp2=nfcImpl.getDecomposition(cp2))!=null in cmpEquivFold() 2479 /* cp2 decomposes into p[length] */ in cmpEquivFold() 2524 * code point order comparison must not just return cp1-cp2 in cmpEquivFold() [all...] |
/third_party/openssl/test/ |
H A D | params_api_test.c | 668 OSSL_PARAM *cp1 = NULL, *cp2 = NULL, *p; in test_param_copy_null() local 683 && TEST_ptr(cp2 = OSSL_PARAM_merge(param, NULL)) in test_param_copy_null() 684 && TEST_ptr(p = OSSL_PARAM_locate(cp2, "a")) in test_param_copy_null() 687 && TEST_ptr(p = OSSL_PARAM_locate(cp2, "b")) in test_param_copy_null() 691 OSSL_PARAM_free(cp2); in test_param_copy_null()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_find.c | 146 static int cil_classperms_match_any(struct cil_classperms *cp1, struct cil_classperms *cp2) in cil_classperms_match_any() argument 149 struct cil_class *c2 = cp2->class; in cil_classperms_match_any() 156 cil_list_for_each(i2, cp2->perms) { in cil_classperms_match_any()
|