/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | StringSegment.java | 146 int cp1 = Character.codePointAt(this, 0); in startsWith() 148 return codePointsEqual(cp1, cp2, foldCase); in startsWith() 182 int cp1 = Character.codePointAt(this, offset); in getPrefixLengthInternal() 184 if (!codePointsEqual(cp1, cp2, foldCase)) { in getPrefixLengthInternal() 187 offset += Character.charCount(cp1); in getPrefixLengthInternal() 192 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { in codePointsEqual() argument 193 if (cp1 == cp2) { in codePointsEqual() 199 cp1 = UCharacter.foldCase(cp1, true); in codePointsEqual() 201 return cp1 in codePointsEqual() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | StringSegment.java | 148 int cp1 = Character.codePointAt(this, 0); in startsWith() 150 return codePointsEqual(cp1, cp2, foldCase); in startsWith() 184 int cp1 = Character.codePointAt(this, offset); in getPrefixLengthInternal() 186 if (!codePointsEqual(cp1, cp2, foldCase)) { in getPrefixLengthInternal() 189 offset += Character.charCount(cp1); in getPrefixLengthInternal() 194 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { in codePointsEqual() argument 195 if (cp1 == cp2) { in codePointsEqual() 201 cp1 = UCharacter.foldCase(cp1, true); in codePointsEqual() 203 return cp1 in codePointsEqual() [all...] |
/third_party/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt03.c | 59 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()
|
H A D | shmt05.c | 61 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()
|
H A D | shmt08.c | 58 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() 97 tst_resm(TFAIL, "shmdt:cp1"); in main()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | libcpuset.c | 791 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 in cpuset_getcpus() 830 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_getmems() local 850 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_cpus_weight() local 870 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_mems_weight() local 1965 mark_dirty_variable(struct cpuset *cp1, const struct cpuset *cp2) mark_dirty_variable() argument 2284 cpuset_collides_exclusive(const char *cpusetpath, const struct cpuset *cp1) cpuset_collides_exclusive() argument 2951 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_c_rel_to_sys_cpu() local 2967 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_c_sys_to_rel_cpu() local 2983 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_c_rel_to_sys_mem() local 2999 const struct cpuset *cp1 = resolve_cp(cp, &cp_tofree); cpuset_c_sys_to_rel_mem() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | string_segment.cpp | 99 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()
|
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 | 99 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()
|
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 | 99 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()
|
H A D | string_segment.h | 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/icu/icu4c/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 278 cp1=c1; in unorm_cmpEquivFold() 284 /* advance ++s1; only below if cp1 decomposes/case-folds */ 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() 318 /* cp1 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 406 0!=(p=nfcImpl->getDecomposition((UChar32)cp1, decomp1, length)) in unorm_cmpEquivFold() 408 /* cp1 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1 in unorm_cmpEquivFold() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 278 cp1=c1; in unorm_cmpEquivFold() 284 /* advance ++s1; only below if cp1 decomposes/case-folds */ 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() 318 /* cp1 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 406 0!=(p=nfcImpl->getDecomposition((UChar32)cp1, decomp1, length)) in unorm_cmpEquivFold() 408 /* cp1 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1 in unorm_cmpEquivFold() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unormcmp.cpp | 169 UChar32 c1, c2, cp1, cp2; in unorm_cmpEquivFold() local 278 cp1=c1; in unorm_cmpEquivFold() 284 /* advance ++s1; only below if cp1 decomposes/case-folds */ 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() 318 /* cp1 case-folds to the code point "length" or to p[length] */ in unorm_cmpEquivFold() 406 0!=(p=nfcImpl->getDecomposition((UChar32)cp1, decomp1, length)) in unorm_cmpEquivFold() 408 /* cp1 decomposes into p[length] */ in unorm_cmpEquivFold() 491 * code point order comparison must not just return cp1 in unorm_cmpEquivFold() [all...] |
/third_party/python/Modules/ |
H A D | audioop.c | 605 ** cp1 A 633 const int16_t *cp1, *cp2; in audioop_findfit_impl() local 644 cp1 = (const int16_t *)fragment->buf; in audioop_findfit_impl() 655 sum_aij_2 = _sum2(cp1, cp1, len2); in audioop_findfit_impl() 656 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfit_impl() 664 aj_m1 = (double)cp1[j-1]; in audioop_findfit_impl() 665 aj_lm1 = (double)cp1[j+len2-1]; in audioop_findfit_impl() 668 sum_aij_ri = _sum2(cp1+j, cp2, len2); in audioop_findfit_impl() 680 factor = _sum2(cp1 in audioop_findfit_impl() 704 const int16_t *cp1, *cp2; audioop_findfactor_impl() local 748 const int16_t *cp1; audioop_findmax_impl() local [all...] |
/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 148 struct cil_class *c1 = cp1->class; in cil_classperms_match_any() 154 cil_list_for_each(i1, cp1->perms) { in cil_classperms_match_any() 164 static int __cil_classperms_list_match_any(struct cil_classperms *cp1, struct cil_list *cpl2) in __cil_classperms_list_match_any() argument 173 rc = cil_classperms_match_any(cp1, cp); in __cil_classperms_list_match_any() 179 rc = __cil_classperms_list_match_any(cp1, cmp->classperms); in __cil_classperms_list_match_any() 186 rc = __cil_classperms_list_match_any(cp1, cp->classperms); in __cil_classperms_list_match_any()
|
/third_party/json/tests/src/ |
H A D | unit-unicode1.cpp | 124 for (std::size_t cp1 = 0xD800u; cp1 <= 0xDBFFu; ++cp1) 133 std::string json_text = "\"" + codepoint_to_unicode(cp1) + codepoint_to_unicode(cp2) + "\"";
|
/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 676 && TEST_ptr(cp1 = OSSL_PARAM_merge(NULL, param)) in test_param_copy_null() 677 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "a")) in test_param_copy_null() 680 && TEST_ptr(p = OSSL_PARAM_locate(cp1, "b")) in test_param_copy_null() 692 OSSL_PARAM_free(cp1); in test_param_copy_null()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | Normalizer.java | 2134 int c1, c2, cp1, cp2; in cmpEquivFold() 2239 cp1=c1; in cmpEquivFold() 2245 /* advance ++s1; only below if cp1 decomposes/case-folds */ in cmpEquivFold() 2246 cp1=Character.toCodePoint((char)c1, c); in cmpEquivFold() 2250 cp1=Character.toCodePoint(c, (char)c1); in cmpEquivFold() 2277 (length=csp.toFullFolding(cp1, fold1, options))>=0 in cmpEquivFold() 2279 /* cp1 case-folds to the code point "length" or to p[length] */ in cmpEquivFold() 2373 (decomp1=nfcImpl.getDecomposition(cp1))!=null in cmpEquivFold() 2375 /* cp1 decomposes into p[length] */ in cmpEquivFold() 2464 * code point order comparison must not just return cp1 in cmpEquivFold() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Normalizer.java | 2194 int c1, c2, cp1, cp2; in cmpEquivFold() 2299 cp1=c1; in cmpEquivFold() 2305 /* advance ++s1; only below if cp1 decomposes/case-folds */ in cmpEquivFold() 2306 cp1=Character.toCodePoint((char)c1, c); in cmpEquivFold() 2310 cp1=Character.toCodePoint(c, (char)c1); in cmpEquivFold() 2337 (length=csp.toFullFolding(cp1, fold1, options))>=0 in cmpEquivFold() 2339 /* cp1 case-folds to the code point "length" or to p[length] */ in cmpEquivFold() 2433 (decomp1=nfcImpl.getDecomposition(cp1))!=null in cmpEquivFold() 2435 /* cp1 decomposes into p[length] */ in cmpEquivFold() 2524 * code point order comparison must not just return cp1 in cmpEquivFold() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | UnicodeMapTest.java | 229 int cp1 = UnicodeSet.getSingleCodePoint(o1); 231 int result = cp1 - cp2; 235 if (cp1 == Integer.MAX_VALUE) {
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | UnicodeMapTest.java | 226 int cp1 = UnicodeSet.getSingleCodePoint(o1); 228 int result = cp1 - cp2; 232 if (cp1 == Integer.MAX_VALUE) {
|
/third_party/skia/modules/pathkit/ |
H A D | externs.js | 31 _SkCubicMap: function(cp1, cp2) {},
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | PatternStringParser.java | 240 int cp1 = pattern.codePointAt(offset); in peek2() 241 int offset2 = offset + Character.charCount(cp1); in peek2()
|