HomeSort by relevance Sort by last modified time
    Searched refs:mbs (Results 1 - 25 of 29) sorted by null

1 2

  /ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
char16_t_length.pass.cpp 25 std::mbstate_t mbs; local
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char32_t_length.pass.cpp 25 std::mbstate_t mbs; local
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 8) == 8);
29 assert(f.length(mbs, from, from+10, 9) == 9);
30 assert(f.length(mbs, from, from+10, 10) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char_length.pass.cpp 25 std::mbstate_t mbs; local
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
wchar_t_length.pass.cpp 25 std::mbstate_t mbs = {0}; local
27 assert(f.length(mbs, from, from+10, 0) == 0);
28 assert(f.length(mbs, from, from+10, 9) == 9);
29 assert(f.length(mbs, from, from+10, 10) == 10);
30 assert(f.length(mbs, from, from+10, 11) == 10);
31 assert(f.length(mbs, from, from+10, 100) == 10);
char16_t_unshift.pass.cpp 29 std::mbstate_t mbs; local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
char32_t_unshift.pass.cpp 29 std::mbstate_t mbs; local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
char_unshift.pass.cpp 29 std::mbstate_t mbs; local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
wchar_t_unshift.pass.cpp 31 std::mbstate_t mbs = {0}; local
33 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::ok);
wchar_t_out.pass.cpp 32 std::mbstate_t mbs; local
35 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next,
46 std::mbstate_t mbs; local
49 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next,
59 std::mbstate_t mbs; local
62 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next,
char16_t_in.pass.cpp 31 std::mbstate_t mbs; local
34 assert(f.in(mbs, from, from + 9, from_next,
char16_t_out.pass.cpp 34 std::mbstate_t mbs; local
37 F::result r = f.out(mbs, from, from + 9, from_next,
char32_t_in.pass.cpp 31 std::mbstate_t mbs; local
34 assert(f.in(mbs, from, from + 9, from_next,
char32_t_out.pass.cpp 34 std::mbstate_t mbs; local
37 F::result r = f.out(mbs, from, from + 9, from_next,
char_in.pass.cpp 31 std::mbstate_t mbs; local
34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next,
char_out.pass.cpp 31 std::mbstate_t mbs; local
34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next,
utf_sanity_check.pass.cpp 33 std::mbstate_t mbs = {0}; local
49 assert(f32_16.out(mbs, &c32x, &c32x+1, c_c32p, c16c+0, c16c+4, c16cp) == F32_8::error);
50 assert(f32_8.out(mbs, &c32x, &c32x+1, c_c32p, c8, c8+4, c8p) == F32_8::error);
54 assert(f32_16.out(mbs, &c32x, &c32x+1, c_c32p, c16c, c16c+4, c16cp) == F32_8::ok);
63 assert(f16_8.out(mbs, c16, c_c16p, c_c16p, c8, c8+4, c8p) == F32_8::ok);
77 assert(f32_8.in(mbs, c8, c_c8p, c_c8p, &c32, &c32+1, c32p) == F32_8::ok);
88 assert(f32_8.out(mbs, &c32x, &c32x+1, c_c32p, c8, c8+4, c8p) == F32_8::ok);
99 assert(f16_8.in(mbs, c8, c_c8p, c_c8p, c16, c16+2, c16p) == F32_8::ok);
118 assert(f32_16.in(mbs, c16c, c_c16cp, c_c16cp, &c32, &c32+1, c32p) == F32_8::ok);
wchar_t_in.pass.cpp 32 std::mbstate_t mbs = {0}; local
35 F::result r = f.in(mbs, from.data(), from.data() + from.size(), from_next,
  /frameworks/base/media/libdrm/mobile1/src/objmng/
drm_i18n.c 37 static int32_t latin1ToWcs(const uint8_t *mbs, int32_t mbsLen,
44 static int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize);
49 static int32_t utf8ToWcs(const uint8_t *mbs, int32_t mbsLen,
56 static int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize);
61 static int32_t utf16beToWcs(const uint8_t *mbs, int32_t mbsLen,
68 static int32_t wcToUtf16be(uint16_t wc, uint8_t * mbs, int32_t bufSize);
73 static int32_t utf16leToWcs(const uint8_t *mbs, int32_t mbsLen,
80 static int32_t wcToUtf16le(uint16_t wc, uint8_t * mbs, int32_t bufSize);
86 const uint8_t *mbs, int32_t mbsLen,
94 return gb2312ToWcs(mbs, mbsLen, wcsBuf, bufSizeInWideChar, bytesConsumed)
    [all...]
  /external/libvpx/libvpx/test/
set_roi.cc 53 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); local
57 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1));
61 reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1));
62 vpx_memset(&roi_map[mbs >> 2], 1, (mbs >> 2));
63 vpx_memset(&roi_map[mbs >> 1], 2, (mbs >> 2));
64 vpx_memset(&roi_map[mbs -(mbs >> 2)], 3, (mbs >> 2))
    [all...]
  /frameworks/base/media/libdrm/mobile1/include/objmng/
drm_i18n.h 65 * @param mbs Multibyte string to be converted.
66 * @param mbsLen Number of the bytes (in mbs) to be converted.
71 * @param bytesConsumed The number of bytes in mbs that have been successfully
80 const uint8_t *mbs, int32_t mbsLen,
  /ndk/sources/host-tools/sed-4.2.1/lib/
regex_internal.c 61 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str;
84 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str;
161 unsigned char *new_mbs = re_realloc (pstr->mbs, unsigned char,
165 pstr->mbs = new_mbs;
236 buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch];
301 pstr->mbs[byte_idx]
305 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx];
325 memcpy (pstr->mbs + byte_idx, buf, mbclen)
    [all...]
regex_internal.h 368 REG_ICASE, upper cases of the string are stored, otherwise MBS points
370 unsigned char *mbs; member in struct:re_string_t
372 /* Store the wide character string which is corresponding to MBS. */
377 /* Index in RAW_MBS. Each character mbs[i] corresponds to
384 /* The length of the buffers MBS and WCS. */
386 /* The index in MBS, which is updated by re_string_fetch_byte. */
399 /* The context of mbs[0]. We store the context independently, since
400 the context of mbs[0] may be different from raw_mbs[0], which is
445 ((pstr)->mbs[(pstr)->cur_idx + offset])
447 ((pstr)->mbs[(pstr)->cur_idx++]
    [all...]
regcomp.c 399 mbstate_t mbs;
400 memset (&mbs, 0, sizeof (mbs));
401 if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2)
397 mbstate_t mbs; local
    [all...]
  /frameworks/av/media/libstagefright/wifi-display/source/
Converter.cpp 208 int width, height, mbs; local
214 // Update macroblocks in a cyclic fashion with 10% of all MBs within
219 mbs = (((width + 15) / 16) * ((height + 15) / 16) * 10) / 100;
220 mOutputFormat->setInt32("intra-refresh-CIR-mbs", mbs);
  /frameworks/av/media/libstagefright/
ACodec.cpp 1713 int32_t mbs; local
1722 int32_t mbs; local
    [all...]

Completed in 324 milliseconds

1 2