/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | StringSegment.java | 149 int cp2 = Character.codePointAt(other, 0); 150 return codePointsEqual(cp1, cp2, foldCase); 185 int cp2 = Character.codePointAt(other, offset); 186 if (!codePointsEqual(cp1, cp2, foldCase)) { 194 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { 195 if (cp1 == cp2) { 202 cp2 = UCharacter.foldCase(cp2, true); 203 return cp1 == cp2;
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringSegment.java | 147 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;
|
/third_party/curl/packages/OS400/ |
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 = malloc(i + 1); in Curl_ldap_first_attribute_a() [all …]
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
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/ |
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()
|
/third_party/node/deps/icu-small/source/i18n/ |
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()
|
D | string_segment.h | 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
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()
|
/third_party/f2fs-tools/scripts/ |
D | dumpf2fs.sh | 14 cp2) 15 echo dump cp2 19 echo dump cp1 and cp2 29 echo dump cp2 all 33 echo dump cp1 and cp2 all
|
/third_party/json/tests/src/ |
D | unit-unicode1.cpp | 126 for (std::size_t cp2 = 0x0000u; cp2 <= 0xFFFFu; ++cp2) in skip() 128 if (0xDC00u <= cp2 && cp2 <= 0xDFFFu) in skip() 133 … std::string json_text = "\"" + codepoint_to_unicode(cp1) + codepoint_to_unicode(cp2) + "\""; in skip()
|
/third_party/icu/icu4c/source/common/ |
D | unormcmp.cpp | 169 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()
|
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()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | unormcmp.cpp | 169 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()
|
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()
|
/third_party/node/deps/icu-small/source/common/ |
D | unormcmp.cpp | 169 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()
|
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()
|
/third_party/parse5/packages/parse5/lib/common/ |
D | unicode.ts | 63 export function getSurrogatePairCodePoint(cp1: number, cp2: number): number { 64 return (cp1 - 0xd8_00) * 0x4_00 + 0x24_00 + cp2;
|
/third_party/python/Modules/ |
D | audioop.c | 624 const int16_t *cp1, *cp2; in audioop_findfit_impl() local 637 cp2 = (const int16_t *)reference->buf; in audioop_findfit_impl() 645 sum_ri_2 = _sum2(cp2, cp2, len2); in audioop_findfit_impl() 647 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfit_impl() 659 sum_aij_ri = _sum2(cp1+j, cp2, len2); in audioop_findfit_impl() 671 factor = _sum2(cp1+best_j, cp2, len2) / sum_ri_2; in audioop_findfit_impl() 695 const int16_t *cp1, *cp2; in audioop_findfactor_impl() local 710 cp2 = (const int16_t *)reference->buf; in audioop_findfactor_impl() 712 sum_ri_2 = _sum2(cp2, cp2, len); in audioop_findfactor_impl() 713 sum_aij_ri = _sum2(cp1, cp2, len); in audioop_findfactor_impl()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
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->sched_load_balance) in mark_dirty_variable() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CanonicalIterator.java | 310 int cp2 = iter.codepoint; in getEquivalents2() local 311 Set<String> remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 318 prefix += UTF16.valueOf(cp2); in getEquivalents2()
|
D | Normalizer.java | 2134 int c1, c2, cp1, cp2; in cmpEquivFold() local 2255 cp2=c2; 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() 2417 (decomp2=nfcImpl.getDecomposition(cp2))!=null in cmpEquivFold()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CanonicalIterator.java | 306 int cp2 = iter.codepoint; in getEquivalents2() local 307 Set<String> remainder = extract(cp2, segment, i, workingBuffer); in getEquivalents2() 314 prefix += UTF16.valueOf(cp2); in getEquivalents2()
|
D | Normalizer.java | 2194 int c1, c2, cp1, cp2; in cmpEquivFold() local 2315 cp2=c2; 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() 2477 (decomp2=nfcImpl.getDecomposition(cp2))!=null in cmpEquivFold()
|
/third_party/selinux/libsepol/cil/src/ |
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()
|
/third_party/openssl/test/ |
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()
|