Searched refs:conv (Results 1 - 25 of 151) sorted by relevance

1234567

/external/icu4c/samples/ucnv/
H A Dconvsamp.cpp204 UConverter *conv; local
209 conv = ucnv_open("koi8-r", &status);
214 len = ucnv_fromUChars(conv, target, 100, source, -1, &status);
218 ucnv_close(conv);
300 UConverter *conv; local
312 conv = ucnv_open("utf-8", &status);
315 uBufSize = (BUFFERSIZE/ucnv_getMinCharSize(conv));
317 BUFFERSIZE, ucnv_getMinCharSize(conv), uBufSize);
334 ucnv_toUnicode(conv, &target, targetLimit,
368 ucnv_close(conv);
396 UConverter *conv; local
529 UConverter *conv; local
569 UConverter *conv = NULL; local
616 UConverter *conv = NULL; local
710 UConverter *conv = NULL, *cloneCnv = NULL; local
880 UConverter *conv = NULL; local
986 UConverter *conv = NULL; local
1081 UConverter *conv = NULL; local
[all...]
/external/sfntly/cpp/src/test/
H A Dtest_utils_test.cc32 UConverter* conv = TestUtils::GetEncoder("utf8"); local
33 EXPECT_TRUE(conv != NULL);
41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]);
48 ucnv_close(conv);
53 ucnv_close(conv);
H A Dtest_utils.cc76 UConverter* conv = ucnv_open(charset_name, &status); local
79 return conv; // returns NULL @ error anyway
/external/chromium_org/third_party/icu/source/i18n/
H A Dcsmatch.cpp51 UConverter *conv = ucnv_open(getName(), status); local
52 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
54 ucnv_close(conv);
/external/icu4c/i18n/
H A Dcsmatch.cpp61 UConverter *conv = ucnv_open(getName(), status); local
62 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
64 ucnv_close(conv);
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrConvolutionEffect.cpp113 const GrConvolutionEffect& conv = drawEffect.castEffect<GrConvolutionEffect>(); local
114 GrTexture& texture = *conv.texture(0);
116 GrAssert(conv.radius() == fRadius);
119 switch (conv.direction()) {
130 if (conv.useBounds()) {
131 const float* bounds = conv.bounds();
132 if (Gr1DKernelEffect::kY_Direction == conv.direction() &&
139 uman.set1fv(fKernelUni, 0, this->width(), conv.kernel());
140 fEffectMatrix.setData(uman, conv.getMatrix(), drawEffect, conv
145 const GrConvolutionEffect& conv = drawEffect.castEffect<GrConvolutionEffect>(); local
[all...]
H A DGrConfigConversionEffect.cpp80 const GrConfigConversionEffect& conv = drawEffect.castEffect<GrConfigConversionEffect>(); local
81 fEffectMatrix.setData(uman, conv.getMatrix(), drawEffect, conv.texture(0));
85 const GrConfigConversionEffect& conv = drawEffect.castEffect<GrConfigConversionEffect>(); local
86 EffectKey key = static_cast<EffectKey>(conv.swapsRedAndBlue()) | (conv.pmConversion() << 1);
88 EffectKey matrixKey = GrGLEffectMatrix::GenKey(conv.getMatrix(),
90 conv.coordsType(),
91 conv.texture(0));
/external/skia/src/gpu/effects/
H A DGrConvolutionEffect.cpp113 const GrConvolutionEffect& conv = drawEffect.castEffect<GrConvolutionEffect>(); local
114 GrTexture& texture = *conv.texture(0);
116 GrAssert(conv.radius() == fRadius);
119 switch (conv.direction()) {
130 if (conv.useBounds()) {
131 const float* bounds = conv.bounds();
132 if (Gr1DKernelEffect::kY_Direction == conv.direction() &&
139 uman.set1fv(fKernelUni, 0, this->width(), conv.kernel());
140 fEffectMatrix.setData(uman, conv.getMatrix(), drawEffect, conv
145 const GrConvolutionEffect& conv = drawEffect.castEffect<GrConvolutionEffect>(); local
[all...]
H A DGrConfigConversionEffect.cpp80 const GrConfigConversionEffect& conv = drawEffect.castEffect<GrConfigConversionEffect>(); local
81 fEffectMatrix.setData(uman, conv.getMatrix(), drawEffect, conv.texture(0));
85 const GrConfigConversionEffect& conv = drawEffect.castEffect<GrConfigConversionEffect>(); local
86 EffectKey key = static_cast<EffectKey>(conv.swapsRedAndBlue()) | (conv.pmConversion() << 1);
88 EffectKey matrixKey = GrGLEffectMatrix::GenKey(conv.getMatrix(),
90 conv.coordsType(),
91 conv.texture(0));
/external/elfutils/tests/
H A Drun-ranlib-test2.sh40 dd of=$original seek=24 bs=1 count=12 conv=notrunc 2>/dev/null
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Ducbuf.c46 UConverter* conv; member in struct:UCHARBUF
52 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* error){ argument
72 *conv =NULL;
77 *conv = ucnv_open(*cp,error);
82 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error);
131 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,UErrorCode* error){ argument
136 if(conv==NULL || cp==NULL || fileName==NULL){
148 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) {
151 ucnv_close(*conv);
152 *conv
[all...]
H A Ducbuf.h156 * @param conv Output param to receive the opened converter if autodetected; NULL otherwise.
164 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv,
175 * @param conv Output param to receive the opened converter if autodetected; NULL otherwise.
184 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* status);
/external/icu4c/tools/toolutil/
H A Ducbuf.c47 UConverter* conv; member in struct:UCHARBUF
53 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* error){ argument
73 *conv =NULL;
78 *conv = ucnv_open(*cp,error);
83 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error);
132 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,UErrorCode* error){ argument
137 if(conv==NULL || cp==NULL || fileName==NULL){
149 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) {
152 ucnv_close(*conv);
153 *conv
[all...]
H A Ducbuf.h156 * @param conv Output param to receive the opened converter if autodetected; NULL otherwise.
164 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv,
175 * @param conv Output param to receive the opened converter if autodetected; NULL otherwise.
184 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* status);
/external/chromium_org/third_party/icu/source/common/
H A Dustr_wcs.c71 UConverter* conv = NULL; local
80 conv = u_getDefaultConverter(pErrorCode);
97 ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCode);
216 u_releaseDefaultConverter(conv);
282 UConverter* conv = NULL; local
428 conv= u_getDefaultConverter(pErrorCode);
430 if(U_FAILURE(*pErrorCode)|| conv==NULL){
439 ucnv_toUnicode(conv,&pTarget,pTargetLimit,(const char**)&pCSrc,pCSrcLimit,NULL,(UBool)(pCSrc==pCSrcLimit),pErrorCode);
470 u_releaseDefaultConverter(conv);
/external/icu4c/common/
H A Dustr_wcs.cpp74 UConverter* conv = NULL; local
83 conv = u_getDefaultConverter(pErrorCode);
100 ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCode);
223 u_releaseDefaultConverter(conv);
289 UConverter* conv = NULL; local
435 conv= u_getDefaultConverter(pErrorCode);
437 if(U_FAILURE(*pErrorCode)|| conv==NULL){
446 ucnv_toUnicode(conv,&pTarget,pTargetLimit,(const char**)&pCSrc,pCSrcLimit,NULL,(UBool)(pCSrc==pCSrcLimit),pErrorCode);
477 u_releaseDefaultConverter(conv);
/external/chromium_org/third_party/icu/source/tools/genbrk/
H A Dgenbrk.cpp241 UConverter* conv;
242 conv = ucnv_open(encoding, &status);
252 uint32_t destCap = ucnv_toUChars(conv,
265 ucnv_toUChars(conv,
275 ucnv_close(conv);
/external/chromium_org/third_party/icu/source/tools/genctd/
H A Dgenctd.cpp253 UConverter* conv;
254 conv = ucnv_open(encoding, &status);
264 uint32_t destCap = ucnv_toUChars(conv,
277 ucnv_toUChars(conv,
287 ucnv_close(conv);
/external/icu4c/samples/ugrep/
H A Dugrep.cpp317 UConverter* conv; local
318 conv = ucnv_open(encoding, &status);
328 uint32_t destCap = ucnv_toUChars(conv,
341 ucnv_toUChars(conv,
351 ucnv_close(conv);
/external/icu4c/tools/genbrk/
H A Dgenbrk.cpp241 UConverter* conv;
242 conv = ucnv_open(encoding, &status);
252 uint32_t destCap = ucnv_toUChars(conv,
265 ucnv_toUChars(conv,
275 ucnv_close(conv);
/external/chromium_org/third_party/icu/source/test/perf/convperf/
H A Dconvperf.h26 UConverter* conv; member in class:ICUToUnicodePerfFunction
34 conv = ucnv_open(name,&status);
38 conv = NULL;
43 int32_t reqdLen = ucnv_toUChars(conv, target, 0,
59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
66 ucnv_close(conv);
71 UConverter* conv; member in class:ICUFromUnicodePerfFunction
80 conv = ucnv_open(name,&status);
84 conv = NULL;
89 int32_t reqdLen = ucnv_fromUChars(conv, targe
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cc78 SuppressionType conv(ReportType typ) { function in namespace:__tsan
100 SuppressionType stype = conv(typ);
122 SuppressionType stype = conv(typ);
/external/icu4c/test/perf/convperf/
H A Dconvperf.h26 UConverter* conv; member in class:ICUToUnicodePerfFunction
34 conv = ucnv_open(name,&status);
38 conv = NULL;
43 int32_t reqdLen = ucnv_toUChars(conv, target, 0,
59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
66 ucnv_close(conv);
71 UConverter* conv; member in class:ICUFromUnicodePerfFunction
80 conv = ucnv_open(name,&status);
84 conv = NULL;
89 int32_t reqdLen = ucnv_fromUChars(conv, targe
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp156 const Value *conv = Reflect->getArgOperand(0); local
157 assert(isa<CallInst>(conv) && "Expected a const-to-gen conversion");
158 const CallInst *ConvCall = cast<CallInst>(conv);
/external/e2fsprogs/intl/
H A DgettextP.h117 __gconv_t conv; member in struct:loaded_domain
120 iconv_t conv; member in struct:loaded_domain

Completed in 508 milliseconds

1234567