Home
last modified time | relevance | path

Searched refs:ubuf (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/test/iotest/
Dtrnstst.c122 UChar ubuf[256]; in TestTranslitFileOut() local
193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile); in TestTranslitFileOut()
199 ubuf[len]=0; in TestTranslitFileOut()
201 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitFileOut()
206 if(u_strcmp(compare, ubuf)) in TestTranslitFileOut()
228 UChar ubuf[256]; in TestTranslitStringOut() local
232 f = u_fstropen(ubuf, sizeof(ubuf)/sizeof(ubuf[0]), "en_US_POSIX"); in TestTranslitStringOut()
290 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitStringOut()
292 …_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strlen(ubuf)); in TestTranslitStringOut()
295 if(u_strcmp(compare, ubuf)) in TestTranslitStringOut()
/external/icu/icu4c/source/test/cintltst/
Dcdateintervalformattest.c282 UChar ubuf[kSizeUBuf]; in TestFPos_SkelWithSeconds() local
286 u_strFromUTF8(ubuf, kSizeUBuf, &ulen, locSkelItemPtr->skeleton, -1, &status); in TestFPos_SkelWithSeconds()
287 udifmt = udtitvfmt_open(locSkelItemPtr->locale, ubuf, ulen, zoneGMT, -1, &status); in TestFPos_SkelWithSeconds()
301 …ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status… in TestFPos_SkelWithSeconds()
305 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
307 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
Dcdattst.c1507 UChar ubuf[kUbufMax]; in TestContext() local
1508 …int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &stat… in TestContext()
1510 …udat_open(UDAT_PATTERN, UDAT_PATTERN, textContextItemPtr->locale, zoneGMT, -1, ubuf, len, &status); in TestContext()
1515 len = udat_format(udfmt, july022008, ubuf, kUbufMax, NULL, &status); in TestContext()
1520 … } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) { in TestContext()
1525 …u_austrncpy(bbuf1,textContextItemPtr->expectedFormat,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
1560 UChar ubuf[kUbufMax]; in TestContext() local
1563 int32_t len = udat_format(udfmt, today, ubuf, kUbufMax, NULL, &status); in TestContext()
1568 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) { in TestContext()
1571 …cpy(bbuf1,textRelContextItemPtr->expectedFormatToday,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
[all …]
Dutransts.c589 UChar ubuf[kUBufMax]; in TestGetRulesAndSourceSet() local
593 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
607 ulen = utrans_toRules(utrans, TRUE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
615 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
624 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
Dcldrtest.c1142 UChar ubuf[64]; /* adjust as needed */ in TestExemplarSet() local
1160 u_uastrcpy(ubuf, "[:unassigned:]"); in TestExemplarSet()
1161 unassignedSet = uset_openPattern(ubuf, -1, &ec); in TestExemplarSet()
1198 u_uastrcpy(ubuf, cbuf); in TestExemplarSet()
1199 codeSets[j] = uset_openPattern(ubuf, -1, &ec); in TestExemplarSet()
1206 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf, in TestExemplarSet()
1207 sizeof(ubuf)/sizeof(ubuf[0]), &ec); in TestExemplarSet()
1219 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) { in TestExemplarSet()
Dusettest.c347 UChar ubuf[1]; in oneUCharToChar() local
349 ubuf[0] = (UChar) c; in oneUCharToChar()
350 u_UCharsToChars(ubuf, buf, 1); in oneUCharToChar()
Dcnumtst.c2342 UChar ubuf[kNumSysDescripBufMax]; in TestUNumberingSystem() local
2350 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status); in TestUNumberingSystem()
2352 if ( U_FAILURE(status) || u_strcmp(ubuf, itemPtr->description) != 0 ) { in TestUNumberingSystem()
2649 UChar ubuf[kUBufSize]; in TestCurrFmtNegSameAsPositive() local
2650 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive()
2653 } else if (u_strcmp(ubuf, currFmtToPatExpected) != 0) { in TestCurrFmtNegSameAsPositive()
2654 … result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
2658 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive()
2661 } else if (u_strcmp(ubuf, currFmtResultExpected) != 0) { in TestCurrFmtNegSameAsPositive()
2662 …result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
/external/vulkan-validation-layers/demos/
Dcube.vert35 } ubuf;
45 texcoord = ubuf.attr[gl_VertexIndex];
46 gl_Position = ubuf.MVP * ubuf.position[gl_VertexIndex];
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c276 memcpy(filter_parameters.buffer, filter_state->ubuf, in FilterFrame()
277 sizeof(filter_state->ubuf)); in FilterFrame()
339 memcpy(filter_state->ubuf, &filter_parameters.buffer[PITCH_FRAME_LEN], in FilterFrame()
340 sizeof(filter_state->ubuf)); in FilterFrame()
Dintialize.c113 pitchfiltdata->ubuf[k] = 0.0; in WebRtcIsac_InitPitchFilter()
Dstructs.h102 double ubuf[PITCH_BUFFSIZE]; member
/external/icu/icu4c/source/i18n/
Duspoof_wsconf.cpp78 UChar ubuf[50]; in extractGroup() local
79 ubuf[0] = 0; in extractGroup()
81 int32_t len = uregex_group(e, group, ubuf, 50, &status); in extractGroup()
85 UnicodeString s(FALSE, ubuf, len); // Aliasing constructor in extractGroup()
/external/curl/lib/
Durl.c4848 char *ubuf = NULL; in parse_login_details() local
4888 ubuf = malloc(ulen + 1); in parse_login_details()
4889 if(!ubuf) in parse_login_details()
4897 free(ubuf); in parse_login_details()
4907 free(ubuf); in parse_login_details()
4914 if(ubuf) { in parse_login_details()
4915 memcpy(ubuf, login, ulen); in parse_login_details()
4916 ubuf[ulen] = '\0'; in parse_login_details()
4918 *userp = ubuf; in parse_login_details()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h520 #define __sanitizer_syscall_pre_ustat(dev, ubuf) \ argument
521 __sanitizer_syscall_pre_impl_ustat((long)(dev), (long)(ubuf))
522 #define __sanitizer_syscall_post_ustat(res, dev, ubuf) \ argument
523 __sanitizer_syscall_post_impl_ustat(res, (long)(dev), (long)(ubuf))
2293 void __sanitizer_syscall_pre_impl_ustat(long dev, long ubuf);
2294 void __sanitizer_syscall_post_impl_ustat(long res, long dev, long ubuf);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc927 PRE_SYSCALL(ustat)(long dev, void *ubuf) {}
929 POST_SYSCALL(ustat)(long res, long dev, void *ubuf) {
931 if (ubuf) POST_WRITE(ubuf, struct_ustat_sz);
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java5270 CharBuffer ubuf = CharBuffer.wrap(ccSrc[i]); in TestSCSUConverter() local
5275 ccResult = encode.encode(ubuf, trgt, true); in TestSCSUConverter()
5285 ubuf.position(0); in TestSCSUConverter()
5288 if (!equals(test, ubuf)) { in TestSCSUConverter()
/external/opencv3/modules/core/src/
Darithm.cpp5728 uchar *buf = _buf, *mbuf = buf, *lbuf = 0, *ubuf = 0; in inRange() local
5734 ubuf = buf = alignPtr(buf + blocksize*esz, 16); in inRange()
5759 convertAndUnrollScalar( ub, src.type(), ubuf, blocksize ); in inRange()
5768 uchar *lptr = lbuf, *uptr = ubuf; in inRange()