/third_party/icu/icu4c/source/common/ |
D | ucasemap_titlecase_brkiter.cpp | 88 ucasemap_getBreakIterator(const UCaseMap *csm) { in ucasemap_getBreakIterator() argument 89 return reinterpret_cast<UBreakIterator *>(csm->iter); in ucasemap_getBreakIterator() 93 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode) { in ucasemap_setBreakIterator() argument 97 delete csm->iter; in ucasemap_setBreakIterator() 98 csm->iter=reinterpret_cast<BreakIterator *>(iterToAdopt); in ucasemap_setBreakIterator() 102 ucasemap_utf8ToTitle(UCaseMap *csm, in ucasemap_utf8ToTitle() argument 114 if(csm->iter==NULL) { in ucasemap_utf8ToTitle() 117 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_utf8ToTitle() 122 csm->iter = ownedIter.orphan(); in ucasemap_utf8ToTitle() 124 csm->iter->setText(&utext, *pErrorCode); in ucasemap_utf8ToTitle() [all …]
|
D | ucasemap.cpp | 69 UCaseMap *csm = new UCaseMap(locale, options, pErrorCode); in ucasemap_open() local 70 if(csm==NULL) { in ucasemap_open() 74 delete csm; in ucasemap_open() 77 return csm; in ucasemap_open() 81 ucasemap_close(UCaseMap *csm) { in ucasemap_close() argument 82 delete csm; in ucasemap_close() 86 ucasemap_getLocale(const UCaseMap *csm) { in ucasemap_getLocale() argument 87 return csm->locale; in ucasemap_getLocale() 91 ucasemap_getOptions(const UCaseMap *csm) { in ucasemap_getOptions() argument 92 return csm->options; in ucasemap_getOptions() [all …]
|
D | ustr_titlecase_brkiter.cpp | 212 ucasemap_toTitle(UCaseMap *csm, in ucasemap_toTitle() argument 219 if (csm->iter == NULL) { in ucasemap_toTitle() 222 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_toTitle() 226 csm->iter = ownedIter.orphan(); in ucasemap_toTitle() 229 csm->iter->setText(s); in ucasemap_toTitle() 231 csm->caseLocale, csm->options, csm->iter, in ucasemap_toTitle()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucasemap_titlecase_brkiter.cpp | 88 ucasemap_getBreakIterator(const UCaseMap *csm) { in ucasemap_getBreakIterator() argument 89 return reinterpret_cast<UBreakIterator *>(csm->iter); in ucasemap_getBreakIterator() 93 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode) { in ucasemap_setBreakIterator() argument 97 delete csm->iter; in ucasemap_setBreakIterator() 98 csm->iter=reinterpret_cast<BreakIterator *>(iterToAdopt); in ucasemap_setBreakIterator() 102 ucasemap_utf8ToTitle(UCaseMap *csm, in ucasemap_utf8ToTitle() argument 114 if(csm->iter==NULL) { in ucasemap_utf8ToTitle() 117 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_utf8ToTitle() 122 csm->iter = ownedIter.orphan(); in ucasemap_utf8ToTitle() 124 csm->iter->setText(&utext, *pErrorCode); in ucasemap_utf8ToTitle() [all …]
|
D | ucasemap.cpp | 69 UCaseMap *csm = new UCaseMap(locale, options, pErrorCode); in ucasemap_open() local 70 if(csm==NULL) { in ucasemap_open() 74 delete csm; in ucasemap_open() 77 return csm; in ucasemap_open() 81 ucasemap_close(UCaseMap *csm) { in ucasemap_close() argument 82 delete csm; in ucasemap_close() 86 ucasemap_getLocale(const UCaseMap *csm) { in ucasemap_getLocale() argument 87 return csm->locale; in ucasemap_getLocale() 91 ucasemap_getOptions(const UCaseMap *csm) { in ucasemap_getOptions() argument 92 return csm->options; in ucasemap_getOptions() [all …]
|
D | ustr_titlecase_brkiter.cpp | 212 ucasemap_toTitle(UCaseMap *csm, in ucasemap_toTitle() argument 219 if (csm->iter == NULL) { in ucasemap_toTitle() 222 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_toTitle() 226 csm->iter = ownedIter.orphan(); in ucasemap_toTitle() 229 csm->iter->setText(s); in ucasemap_toTitle() 231 csm->caseLocale, csm->options, csm->iter, in ucasemap_toTitle()
|
/third_party/node/deps/icu-small/source/common/ |
D | ucasemap_titlecase_brkiter.cpp | 88 ucasemap_getBreakIterator(const UCaseMap *csm) { in ucasemap_getBreakIterator() argument 89 return reinterpret_cast<UBreakIterator *>(csm->iter); in ucasemap_getBreakIterator() 93 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode) { in ucasemap_setBreakIterator() argument 97 delete csm->iter; in ucasemap_setBreakIterator() 98 csm->iter=reinterpret_cast<BreakIterator *>(iterToAdopt); in ucasemap_setBreakIterator() 102 ucasemap_utf8ToTitle(UCaseMap *csm, in ucasemap_utf8ToTitle() argument 114 if(csm->iter==nullptr) { in ucasemap_utf8ToTitle() 117 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_utf8ToTitle() 122 csm->iter = ownedIter.orphan(); in ucasemap_utf8ToTitle() 124 csm->iter->setText(&utext, *pErrorCode); in ucasemap_utf8ToTitle() [all …]
|
D | ucasemap.cpp | 69 UCaseMap *csm = new UCaseMap(locale, options, pErrorCode); in ucasemap_open() local 70 if(csm==nullptr) { in ucasemap_open() 74 delete csm; in ucasemap_open() 77 return csm; in ucasemap_open() 81 ucasemap_close(UCaseMap *csm) { in ucasemap_close() argument 82 delete csm; in ucasemap_close() 86 ucasemap_getLocale(const UCaseMap *csm) { in ucasemap_getLocale() argument 87 return csm->locale; in ucasemap_getLocale() 91 ucasemap_getOptions(const UCaseMap *csm) { in ucasemap_getOptions() argument 92 return csm->options; in ucasemap_getOptions() [all …]
|
D | ustr_titlecase_brkiter.cpp | 212 ucasemap_toTitle(UCaseMap *csm, in ucasemap_toTitle() argument 219 if (csm->iter == nullptr) { in ucasemap_toTitle() 222 nullptr, csm->locale, csm->options, nullptr, ownedIter, *pErrorCode); in ucasemap_toTitle() 226 csm->iter = ownedIter.orphan(); in ucasemap_toTitle() 229 csm->iter->setText(s); in ucasemap_toTitle() 231 csm->caseLocale, csm->options, csm->iter, in ucasemap_toTitle()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | ucasemap.h | 84 ucasemap_close(UCaseMap *csm); 112 ucasemap_getLocale(const UCaseMap *csm); 121 ucasemap_getOptions(const UCaseMap *csm); 135 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode); 149 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode); 161 ucasemap_getBreakIterator(const UCaseMap *csm); 184 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode); 233 ucasemap_toTitle(UCaseMap *csm, 264 ucasemap_utf8ToLower(const UCaseMap *csm, 293 ucasemap_utf8ToUpper(const UCaseMap *csm, [all …]
|
/third_party/icu/icu4c/source/common/unicode/ |
D | ucasemap.h | 84 ucasemap_close(UCaseMap *csm); 112 ucasemap_getLocale(const UCaseMap *csm); 121 ucasemap_getOptions(const UCaseMap *csm); 135 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode); 149 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode); 161 ucasemap_getBreakIterator(const UCaseMap *csm); 184 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode); 233 ucasemap_toTitle(UCaseMap *csm, 264 ucasemap_utf8ToLower(const UCaseMap *csm, 293 ucasemap_utf8ToUpper(const UCaseMap *csm, [all …]
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | ucasemap.h | 84 ucasemap_close(UCaseMap *csm); 112 ucasemap_getLocale(const UCaseMap *csm); 121 ucasemap_getOptions(const UCaseMap *csm); 135 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode); 149 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode); 161 ucasemap_getBreakIterator(const UCaseMap *csm); 184 ucasemap_setBreakIterator(UCaseMap *csm, UBreakIterator *iterToAdopt, UErrorCode *pErrorCode); 233 ucasemap_toTitle(UCaseMap *csm, 264 ucasemap_utf8ToLower(const UCaseMap *csm, 293 ucasemap_utf8ToUpper(const UCaseMap *csm, [all …]
|
/third_party/libdrm/radeon/ |
D | radeon_cs.c | 7 radeon_cs_create(struct radeon_cs_manager *csm, uint32_t ndw) in radeon_cs_create() argument 9 struct radeon_cs_int *csi = csm->funcs->cs_create(csm, ndw); in radeon_cs_create() 20 return csi->csm->funcs->cs_write_reloc(csi, in radeon_cs_write_reloc() 32 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin() 40 return csi->csm->funcs->cs_end(csi, file, func, line); in radeon_cs_end() 46 return csi->csm->funcs->cs_emit(csi); in radeon_cs_emit() 52 return csi->csm->funcs->cs_destroy(csi); in radeon_cs_destroy() 58 return csi->csm->funcs->cs_erase(csi); in radeon_cs_erase() 64 return csi->csm->funcs->cs_need_flush(csi); in radeon_cs_need_flush() 70 csi->csm->funcs->cs_print(csi, file); in radeon_cs_print() [all …]
|
D | radeon_cs_gem.c | 125 static struct radeon_cs_int *cs_gem_create(struct radeon_cs_manager *csm, in cs_gem_create() argument 138 csg->base.csm = csm; in cs_gem_create() 340 struct radeon_cs_manager_gem *csm; in cs_gem_dump_bof() local 345 csm = (struct radeon_cs_manager_gem *)cs->csm; in cs_gem_dump_bof() 350 device_id = bof_int32(csm->device_id); in cs_gem_dump_bof() 411 sprintf(tmp, "d-0x%04X-%08d.bof", csm->device_id, csm->nbof++); in cs_gem_dump_bof() 445 r = drmCommandWriteRead(cs->csm->fd, DRM_RADEON_CS, in cs_gem_emit() 455 cs->csm->read_used = 0; in cs_gem_emit() 456 cs->csm->vram_write_used = 0; in cs_gem_emit() 457 cs->csm->gart_write_used = 0; in cs_gem_emit() [all …]
|
D | radeon_cs_space.c | 111 struct radeon_cs_manager *csm = cs->csm; in radeon_cs_do_space_check() local 141 if ((sizes.op_read + sizes.op_gart_write > csm->gart_limit) || in radeon_cs_do_space_check() 142 (sizes.op_vram_write > csm->vram_limit)) { in radeon_cs_do_space_check() 146 if (((csm->vram_write_used + sizes.op_vram_write) > csm->vram_limit) || in radeon_cs_do_space_check() 147 …((csm->read_used + csm->gart_write_used + sizes.op_gart_write + sizes.op_read) > csm->gart_limit))… in radeon_cs_do_space_check() 151 csm->gart_write_used += sizes.op_gart_write; in radeon_cs_do_space_check() 152 csm->vram_write_used += sizes.op_vram_write; in radeon_cs_do_space_check() 153 csm->read_used += sizes.op_read; in radeon_cs_do_space_check()
|
D | radeon_cs_int.h | 20 struct radeon_cs_manager *csm; member 36 struct radeon_cs_int *(*cs_create)(struct radeon_cs_manager *csm,
|
D | radeon_cs_gem.h | 39 void radeon_cs_manager_gem_dtor(struct radeon_cs_manager *csm);
|
D | radeon_cs.h | 65 extern struct radeon_cs *radeon_cs_create(struct radeon_cs_manager *csm,
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cstrcase.c | 732 UCaseMap *csm; in TestUCaseMap() local 739 csm=ucasemap_open("tur", 0xa5, &errorCode); in TestUCaseMap() 744 locale=ucasemap_getLocale(csm); in TestUCaseMap() 749 ucasemap_setLocale(csm, "I-kLInGOn-the-quick-brown-fox-jumps-over-the-lazy-dog", &errorCode); in TestUCaseMap() 750 locale=ucasemap_getLocale(csm); in TestUCaseMap() 760 options=ucasemap_getOptions(csm); in TestUCaseMap() 764 ucasemap_setOptions(csm, 0x333333, &errorCode); in TestUCaseMap() 765 options=ucasemap_getOptions(csm); in TestUCaseMap() 774 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap() 782 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap() [all …]
|
/third_party/icu/icu4c/source/samples/csdet/ |
D | csdet.c | 35 const UCharsetMatch **csm; in main() local 58 csm = ucsdet_detectAll(csd, &matchCount, &status); in main() 61 const char *name = ucsdet_getName(csm[match], &status); in main() 62 const char *lang = ucsdet_getLanguage(csm[match], &status); in main() 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); in main()
|
/third_party/skia/third_party/externals/icu/source/samples/csdet/ |
D | csdet.c | 35 const UCharsetMatch **csm; in main() local 58 csm = ucsdet_detectAll(csd, &matchCount, &status); in main() 61 const char *name = ucsdet_getName(csm[match], &status); in main() 62 const char *lang = ucsdet_getLanguage(csm[match], &status); in main() 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); in main()
|
/third_party/skia/third_party/externals/icu/fuzzers/ |
D | icu_ucasemap_fuzzer.cc | 25 deleted_unique_ptr<UCaseMap> csm( in LLVMFuzzerTestOneInput() local 37 case 0: ucasemap_utf8ToLower(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 40 case 1: ucasemap_utf8ToUpper(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 43 case 2: ucasemap_utf8ToTitle(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 46 case 3: ucasemap_utf8FoldCase(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput()
|
/third_party/icu/icu4c/source/test/fuzzer/ |
D | ucasemap_fuzzer.cpp | 44 deleted_unique_ptr<UCaseMap> csm( in LLVMFuzzerTestOneInput() local 57 case 0: ucasemap_utf8ToLower(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 60 case 1: ucasemap_utf8ToUpper(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 63 case 2: ucasemap_utf8ToTitle(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 66 case 3: ucasemap_utf8FoldCase(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | strcase.cpp | 474 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); in TestCasingImpl() local 479 ucasemap_setBreakIterator(csm.getAlias(), clone, errorCode); in TestCasingImpl() 487 utf8OutLength=ucasemap_utf8ToLower(csm.getAlias(), in TestCasingImpl() 493 utf8OutLength=ucasemap_utf8ToUpper(csm.getAlias(), in TestCasingImpl() 500 utf8OutLength=ucasemap_utf8ToTitle(csm.getAlias(), in TestCasingImpl() 507 utf8OutLength=ucasemap_utf8FoldCase(csm.getAlias(), in TestCasingImpl() 848 LocalUCaseMapPointer csm(ucasemap_open("el", 0, &errorCode)); in assertGreekUpper() local 854 length = ucasemap_utf8ToUpper(csm.getAlias(), dest8, UPRV_LENGTHOF(dest8), in assertGreekUpper() 872 length = ucasemap_utf8ToUpper(csm.getAlias(), dest8b, cap, in assertGreekUpper() 972 LocalUCaseMapPointer csm(ucasemap_open("en", U_TITLECASE_NO_BREAK_ADJUSTMENT, errorCode)); in TestMalformedUTF8() local [all …]
|
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetISO2022.java | 1812 char csm; in encodeLoop() local 1817 csm = (char)jpCharsetMasks[myConverterData.version]; in encodeLoop() 1825 csm &= ~CSM(HWKANA_7BIT); in encodeLoop() 1829 csm &= ~CSM(cs); in encodeLoop() 1834 csm &= ~CSM(cs); in encodeLoop() 1840 if ((CSM(cs) & csm) != 0) { in encodeLoop() 1842 csm &= ~CSM(cs); in encodeLoop()
|