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/
Dcdattst.c1503 UChar ubuf[kUbufMax]; in TestContext() local
1504 …int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &stat… in TestContext()
1506 …udat_open(UDAT_PATTERN, UDAT_PATTERN, textContextItemPtr->locale, zoneGMT, -1, ubuf, len, &status); in TestContext()
1511 len = udat_format(udfmt, july022008, ubuf, kUbufMax, NULL, &status); in TestContext()
1516 … } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) { in TestContext()
1521 …u_austrncpy(bbuf1,textContextItemPtr->expectedFormat,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
1556 UChar ubuf[kUbufMax]; in TestContext() local
1559 int32_t len = udat_format(udfmt, today, ubuf, kUbufMax, NULL, &status); in TestContext()
1564 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) { in TestContext()
1567 …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.c1138 UChar ubuf[64]; /* adjust as needed */ in TestExemplarSet() local
1156 u_uastrcpy(ubuf, "[:unassigned:]"); in TestExemplarSet()
1157 unassignedSet = uset_openPattern(ubuf, -1, &ec); in TestExemplarSet()
1194 u_uastrcpy(ubuf, cbuf); in TestExemplarSet()
1195 codeSets[j] = uset_openPattern(ubuf, -1, &ec); in TestExemplarSet()
1202 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf, in TestExemplarSet()
1203 sizeof(ubuf)/sizeof(ubuf[0]), &ec); in TestExemplarSet()
1215 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.c2340 UChar ubuf[kNumSysDescripBufMax]; in TestUNumberingSystem() local
2348 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status); in TestUNumberingSystem()
2350 if ( U_FAILURE(status) || u_strcmp(ubuf, itemPtr->description) != 0 ) { in TestUNumberingSystem()
2632 UChar ubuf[kUBufSize]; in TestCurrFmtNegSameAsPositive() local
2633 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive()
2636 } else if (u_strcmp(ubuf, currFmtToPatExpected) != 0) { in TestCurrFmtNegSameAsPositive()
2637 … result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
2641 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive()
2644 } else if (u_strcmp(ubuf, currFmtResultExpected) != 0) { in TestCurrFmtNegSameAsPositive()
2645 …result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
/external/openssh/
Dsftp-common.c219 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local
227 snprintf(ubuf, sizeof ubuf, "%u", (u_int)st->st_uid); in ls_file()
228 user = ubuf; in ls_file()
/external/webrtc/src/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.c117 pitchfiltdata->ubuf[k] = 0.0; in WebRtcIsac_InitPitchFilter()
Dstructs.h102 double ubuf[PITCH_BUFFSIZE]; member
/external/iproute2/misc/
Dss.c1275 char ubuf[4096]; in tcp_show_line() local
1276 if (find_users(s.ino, ubuf, sizeof(ubuf)) > 0) in tcp_show_line()
1277 printf(" users:(%s)", ubuf); in tcp_show_line()
1466 char ubuf[4096]; in tcp_show_sock() local
1467 if (find_users(r->idiag_inode, ubuf, sizeof(ubuf)) > 0) in tcp_show_sock()
1468 printf(" users:(%s)", ubuf); in tcp_show_sock()
1850 char ubuf[4096]; in dgram_show_line() local
1851 if (find_users(s.ino, ubuf, sizeof(ubuf)) > 0) in dgram_show_line()
1852 printf(" users:(%s)", ubuf); in dgram_show_line()
2015 char ubuf[4096]; in unix_list_print() local
[all …]
/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/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp613 const uint8_t *ubuf = (const uint8_t *)buf; in WriteMemory() local
632 … nub_size_t curr_bytes_written = m_task.WriteMemory(curr_addr, curr_size, ubuf + bytes_written); in WriteMemory()
645 ::memcpy(bp->SavedOpcodeBytes() + opcode_offset, ubuf + bytes_written, intersect_size); in WriteMemory()
651 …bytes_written += m_task.WriteMemory(addr + bytes_written, size - bytes_written, ubuf + bytes_writt… in WriteMemory()
/external/lldb/source/Target/
DProcess.cpp2592 const uint8_t *ubuf = (const uint8_t *)buf; in WriteMemory() local
2595 …bp_sites_in_range.ForEach([this, addr, size, &bytes_written, &ubuf, &error](BreakpointSite *bp) ->… in WriteMemory()
2616 ubuf + bytes_written, in WriteMemory()
2631 … ::memcpy(bp->GetSavedOpcodeBytes() + opcode_offset, ubuf + bytes_written, intersect_size); in WriteMemory()
2638 ubuf + bytes_written, in WriteMemory()
/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()