Home
last modified time | relevance | path

Searched refs:resultlen (Results 1 – 4 of 4) sorted by relevance

/third_party/gettext/gettext-tools/src/
Dmsgl-iconv.c79 size_t resultlen = 0; in convert_string_directly() local
81 if (xmem_cd_iconv (string, len, cd, &result, &resultlen) == 0) in convert_string_directly()
83 if (resultlen > 0 && result[resultlen - 1] == '\0' in convert_string_directly()
84 && strlen (result) == resultlen - 1) in convert_string_directly()
98 size_t resultlen = 0; in convert_string() local
101 &result, &resultlen) == 0) in convert_string()
103 if (resultlen > 0 && result[resultlen - 1] == '\0' in convert_string()
104 && strlen (result) == resultlen - 1) in convert_string()
151 size_t resultlen = 0; in convert_msgstr() local
157 &result, &resultlen) == 0) in convert_msgstr()
[all …]
/third_party/python/Python/
Dpystrhex.c49 Py_ssize_t resultlen = 0; in _Py_strhex_impl() local
52 resultlen = (arglen - 1) / abs_bytes_per_sep; in _Py_strhex_impl()
55 if (arglen >= PY_SSIZE_T_MAX / 2 - resultlen) { in _Py_strhex_impl()
58 resultlen += arglen * 2; in _Py_strhex_impl()
69 retval = PyBytes_FromStringAndSize(NULL, resultlen); in _Py_strhex_impl()
76 retval = PyUnicode_New(resultlen, 127); in _Py_strhex_impl()
89 assert((j + 1) < resultlen); in _Py_strhex_impl()
94 assert(j == resultlen); in _Py_strhex_impl()
117 assert(j == resultlen); in _Py_strhex_impl()
121 j = resultlen - 1; in _Py_strhex_impl()
/third_party/gettext/gettext-runtime/intl/
Ddcigettext.c975 size_t resultlen; in __libc_lock_define_initialized() local
1066 resultlen = W (domain->must_swap, domain->trans_tab[act].length) + 1; in __libc_lock_define_initialized()
1071 resultlen = domain->trans_sysdep_tab[act - nstrings].length; in __libc_lock_define_initialized()
1358 &inbuf, inbuf + resultlen, in __libc_lock_define_initialized()
1378 size_t inleft = resultlen; in __libc_lock_define_initialized()
1473 resultlen = *(size_t *) convd->conv_tab[act]; in __libc_lock_define_initialized()
1481 *lengthp = resultlen; in __libc_lock_define_initialized()
/third_party/icu/icu4c/source/test/cintltst/
Dcmsccoll.c1280 uint32_t resultlen; in TestCompressOverlap() local
1304 resultlen = ucol_getSortKey(coll, secstr, 150, result, UPRV_LENGTHOF(result)); in TestCompressOverlap()
1305 (void)resultlen; /* Suppress set but not used warning. */ in TestCompressOverlap()
1318 resultlen = ucol_getSortKey(coll, tertstr, 150, result, UPRV_LENGTHOF(result)); in TestCompressOverlap()
1332 resultlen = ucol_getSortKey(coll, secstr, 150, result, UPRV_LENGTHOF(result)); in TestCompressOverlap()
1345 resultlen = ucol_getSortKey(coll, tertstr, 150, result, UPRV_LENGTHOF(result)); in TestCompressOverlap()