/external/icu4c/samples/csdet/ |
csdet.c | 31 const UCharsetMatch **csm; local 54 csm = ucsdet_detectAll(csd, &matchCount, &status); 57 const char *name = ucsdet_getName(csm[match], &status); 58 const char *lang = ucsdet_getLanguage(csm[match], &status); 59 int32_t confidence = ucsdet_getConfidence(csm[match], &status);
|
/external/icu4c/common/ |
ucasemap.c | 36 UCaseMap *csm; local 42 csm=(UCaseMap *)uprv_malloc(sizeof(UCaseMap)); 43 if(csm==NULL) { 46 uprv_memset(csm, 0, sizeof(UCaseMap)); 48 csm->csp=ucase_getSingleton(pErrorCode); 49 ucasemap_setLocale(csm, locale, pErrorCode); 51 uprv_free(csm); 55 csm->options=options; 56 return csm; 60 ucasemap_close(UCaseMap *csm) { [all...] |
ustrcase.c | 123 _caseMap(const UCaseMap *csm, UCaseMapFull *map, 133 locCache=csm->locCache; 142 c=map(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &locCache); 158 setTempCaseMapLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { 179 csm->locale[i]=c; 182 csm->locale[i]=0; /* Up to 3 non-separator characters. */ 184 csm->locale[0]=0; /* Longer-than-3 initial subtag: Ignore. */ 193 setTempCaseMap(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { 194 if(csm->csp==NULL) 353 UCaseMap csm={ NULL }; local 373 UCaseMap csm={ NULL }; local 396 UCaseMap csm={ NULL }; local 563 UCaseMap csm={ NULL }; local 576 UCaseMap csm={ NULL }; local 592 UCaseMap csm={ NULL }; local 625 UCaseMap csm={ NULL }; local [all...] |
ucnv2022.c | 157 #define CSM(cs) ((uint16_t)1<<(cs)) 170 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT), 171 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212) 1700 uint16_t csm; local [all...] |
/external/icu4c/test/cintltst/ |
cstrcase.c | 728 UCaseMap *csm; local 735 csm=ucasemap_open("tur", 0xa5, &errorCode); 740 locale=ucasemap_getLocale(csm); 745 ucasemap_setLocale(csm, "I-kLInGOn-the-quick-brown-fox-jumps-over-the-lazy-dog", &errorCode); 746 locale=ucasemap_getLocale(csm); 752 options=ucasemap_getOptions(csm); 756 ucasemap_setOptions(csm, 0x333333, &errorCode); 757 options=ucasemap_getOptions(csm); 766 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); 774 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode) 873 UCaseMap *csm; local [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
ImageSurface.java | 182 smType = CSM; 183 ComponentSampleModel csm = local 185 scanlineStride = csm.getScanlineStride(); 194 ComponentSampleModel csm = (ComponentSampleModel) sm; local 195 scanlineStride = csm.getScanlineStride(); 196 bankIndeces = csm.getBankIndices(); 197 bandOffsets = csm.getBandOffsets(); 203 smType = CSM;
|
Surface.java | 64 public static final int CSM = 3; // Component Sample Model 247 ComponentSampleModel csm = local 249 int[] offsets = csm.getBandOffsets();
|
/external/icu4c/test/intltest/ |
strcase.cpp | 396 UCaseMap *csm; local 400 csm=ucasemap_open(localeID, options, &errorCode); 406 ucasemap_setBreakIterator(csm, clone, &errorCode); 414 utf8OutLength=ucasemap_utf8ToLower(csm, 420 utf8OutLength=ucasemap_utf8ToUpper(csm, 427 utf8OutLength=ucasemap_utf8ToTitle(csm, 434 utf8OutLength=ucasemap_utf8FoldCase(csm, 453 ucasemap_close(csm);
|
/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
NativeImageFormat.java | 288 ComponentSampleModel csm = (ComponentSampleModel) sm; local 289 fmt.cmmFormat = getFormatFromComponentModel(csm, cm.hasAlpha()); 290 fmt.scanlineStride = calculateScanlineStrideCSM(csm, bi.getRaster()); 327 ComponentSampleModel csm = (ComponentSampleModel) sm; local 328 fmt.cmmFormat = getFormatFromComponentModel(csm, false); 329 fmt.scanlineStride = calculateScanlineStrideCSM(csm, r); 596 * @param csm - component sample model 600 private static int calculateScanlineStrideCSM(ComponentSampleModel csm, Raster r) { 601 if (csm.getScanlineStride() != csm.getPixelStride()*csm.getWidth()) 630 ComponentSampleModel csm = (ComponentSampleModel) sm; local [all...] |