Home
last modified time | relevance | path

Searched refs:result_len (Results 1 – 25 of 47) sorted by relevance

12

/third_party/glib/glib/
Dgunidecomp.c167 gsize *result_len) in decompose_hangul() argument
182 *result_len = 3; in decompose_hangul()
185 *result_len = 2; in decompose_hangul()
248 gsize *result_len) in g_unicode_canonical_decomposition() argument
257 decompose_hangul (ch, NULL, result_len); in g_unicode_canonical_decomposition()
258 r = g_malloc (*result_len * sizeof (gunichar)); in g_unicode_canonical_decomposition()
259 decompose_hangul (ch, r, result_len); in g_unicode_canonical_decomposition()
266 *result_len = g_utf8_strlen (decomp, -1); in g_unicode_canonical_decomposition()
267 r = g_malloc (*result_len * sizeof (gunichar)); in g_unicode_canonical_decomposition()
277 *result_len = 1; in g_unicode_canonical_decomposition()
[all …]
Dgunicollate.c219 gsize result_len; in collate_key_to_string() local
240 result_len = lkey[1]; in collate_key_to_string()
241 result = g_malloc (result_len + 1); in collate_key_to_string()
242 memcpy (result, &lkey[2], result_len); in collate_key_to_string()
243 result[result_len] = '\0'; in collate_key_to_string()
392 gsize result_len = 0; in g_utf8_collate_key() local
403 result_len += utf8_encode (NULL, result_wc[i]); in g_utf8_collate_key()
405 result = g_malloc (result_len + 1); in g_utf8_collate_key()
406 result_len = 0; in g_utf8_collate_key()
408 result_len += utf8_encode (result + result_len, result_wc[i]); in g_utf8_collate_key()
[all …]
Dgtranslit.c60 gint *result_len,
101 gint *result_len, in lookup_in_mapping() argument
112 *result_len = get_length (hit->ascii); in lookup_in_mapping()
120 gint *result_len, in lookup_in_chain() argument
127 result = lookup_in_item (*chain, key, result_len, key_consumed); in lookup_in_chain()
141 gint *result_len, in lookup_in_item() argument
148 return lookup_in_chain (chain, key, result_len, key_consumed); in lookup_in_item()
154 …return lookup_in_mapping (mappings_table + range->start, range->length, key, result_len, key_consu… in lookup_in_item()
Dguniprop.c930 gsize result_len; in g_utf8_strup() local
941 result_len = real_toupper (str, len, NULL, locale_type); in g_utf8_strup()
942 result = g_malloc (result_len + 1); in g_utf8_strup()
944 result[result_len] = '\0'; in g_utf8_strup()
1124 gsize result_len; in g_utf8_strdown() local
1135 result_len = real_tolower (str, len, NULL, locale_type); in g_utf8_strdown()
1136 result = g_malloc (result_len + 1); in g_utf8_strdown()
1138 result[result_len] = '\0'; in g_utf8_strdown()
/third_party/python/Objects/stringlib/
Dtransmogrify.h285 Py_ssize_t self_len, result_len; in stringlib_replace_interleave() local
309 result_len = count * to_len + self_len; in stringlib_replace_interleave()
310 result = STRINGLIB_NEW(NULL, result_len); in stringlib_replace_interleave()
355 Py_ssize_t self_len, result_len; in stringlib_replace_delete_single_character() local
367 result_len = self_len - count; /* from_len == 1 */ in stringlib_replace_delete_single_character()
368 assert(result_len>=0); in stringlib_replace_delete_single_character()
370 result = STRINGLIB_NEW(NULL, result_len); in stringlib_replace_delete_single_character()
400 Py_ssize_t self_len, result_len; in stringlib_replace_delete_substring() local
416 result_len = self_len - (count * from_len); in stringlib_replace_delete_substring()
417 assert (result_len>=0); in stringlib_replace_delete_substring()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_nist_kw.function250 size_t result_len, i, padlen;
261 result, &result_len, sizeof( result ) ) == 0 );
263 TEST_ASSERT( result_len == expected_result->len );
265 TEST_ASSERT( memcmp( expected_result->x, result, result_len ) == 0 );
285 size_t result_len, i;
296 result, &result_len, sizeof( result ) ) == expected_ret );
299 TEST_ASSERT( result_len == expected_result->len );
300 TEST_ASSERT( memcmp( expected_result->x, result, result_len ) == 0 );
304 TEST_ASSERT( result_len == 0 );
/third_party/cef/tools/
Dmake_ctocpp_impl.py114 result_len = len(result)
172 if len(result) != result_len:
174 result_len = len(result)
325 if len(result) != result_len:
327 result_len = len(result)
363 result_len = len(result)
462 if len(result) != result_len:
464 result_len = len(result)
466 if len(result) != result_len:
468 result_len = len(result)
[all …]
Dmake_cpptoc_impl.py81 result_len = len(result)
156 if len(result) != result_len:
158 result_len = len(result)
305 if len(result) != result_len:
307 result_len = len(result)
344 result_len = len(result)
420 if len(result) != result_len:
422 result_len = len(result)
424 if len(result) != result_len:
426 result_len = len(result)
[all …]
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc197 size_t result_len = str1_len + 1 /* dot */ + str2_len; in dot_concat_and_free_strings() local
199 static_cast<char*>(gpr_malloc(result_len + 1 /* NULL terminated */)); in dot_concat_and_free_strings()
207 GPR_ASSERT((uintptr_t)(current - result) == result_len); in dot_concat_and_free_strings()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_internal-modexp.c92 u8 *result, size_t *result_len) in crypto_mod_exp() argument
114 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp()
/third_party/boost/boost/interprocess/detail/
Dshared_dir_helpers.hpp71 std::size_t result_len = sizeof result;
73 if (::sysctl (request, 2, &result, &result_len, 0, 0) < 0)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_internal-modexp.c92 u8 *result, size_t *result_len) in crypto_mod_exp() argument
114 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp()
/third_party/gettext/gettext-tools/libgettextpo/
Dgettext-po.c397 size_t result_len; in po_header_set_field() local
409 result_len = header_part1_len + value_len + header_part3_len; in po_header_set_field()
411 result = XNMALLOC (result_len + 1, char); in po_header_set_field()
416 *(result + result_len) = '\0'; in po_header_set_field()
430 size_t result_len; in po_header_set_field() local
434 result_len = header_len + newline + field_len + 2 + value_len + 1; in po_header_set_field()
435 result = XNMALLOC (result_len + 1, char); in po_header_set_field()
444 *(result + result_len) = '\0'; in po_header_set_field()
/third_party/flutter/skia/src/pdf/
DSkPDFDocument.cpp138 const size_t result_len = (n - 1) / kMaxNodeSize + 1; in generate_page_tree() local
139 SkASSERT(result_len >= 1); in generate_page_tree()
140 SkASSERT(n == 1 || result_len < n); in generate_page_tree()
141 result.reserve(result_len); in generate_page_tree()
143 for (size_t i = 0; i < result_len; ++i) { in generate_page_tree()
/third_party/skia/src/pdf/
DSkPDFDocument.cpp160 const size_t result_len = (n - 1) / kMaxNodeSize + 1; in generate_page_tree() local
161 SkASSERT(result_len >= 1); in generate_page_tree()
162 SkASSERT(n == 1 || result_len < n); in generate_page_tree()
163 result.reserve(result_len); in generate_page_tree()
165 for (size_t i = 0; i < result_len; ++i) { in generate_page_tree()
/third_party/selinux/libsepol/src/
Dcontext.h35 char **result, size_t * result_len);
/third_party/openssl/crypto/ui/
Dui_local.h74 size_t result_len; member
/third_party/grpc/test/core/security/
Djwt_verifier_test.cc306 size_t result_len = strlen(json_key_str_part1) + strlen(json_key_str_part2) + in json_key_str() local
308 char* result = static_cast<char*>(gpr_malloc(result_len + 1)); in json_key_str()
319 size_t result_len = strlen(good_google_email_keys_part1) + in good_google_email_keys() local
321 char* result = static_cast<char*>(gpr_malloc(result_len + 1)); in good_google_email_keys()
/third_party/openssl/test/
Dssl_test.c194 size_t result_len = 0; in check_session_ticket_app_data() local
199 result_len = strlen(result->result_session_ticket_app_data); in check_session_ticket_app_data()
202 if (result_len == 0 && expected_len == 0) in check_session_ticket_app_data()
/third_party/icu/icu4c/source/common/
Dcaniter.cpp344 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
420 result_len = 0; in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
/third_party/skia/third_party/externals/icu/source/common/
Dcaniter.cpp344 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
420 result_len = 0; in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
/third_party/node/deps/icu-small/source/common/
Dcaniter.cpp344 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
420 result_len = 0; in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
/third_party/python/PC/layout/support/
Dappxmanifest.py211 result_len = ctypes.c_uint32(256)
213 pid, ctypes.byref(result_len), result
217 return result.value[: result_len.value]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcaniter.cpp344 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
420 result_len = 0; in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
/third_party/python/Lib/test/
Dtest_ntpath.py37 result_len = GSPN(path, None, 0)
38 if not result_len:
41 result = ctypes.create_unicode_buffer(result_len)
42 result_len = GSPN(path, result, result_len)
43 return result[:result_len]

12