Home
last modified time | relevance | path

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

/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/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()