Home
last modified time | relevance | path

Searched refs:reslen (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Duloc_tag.c632 int32_t reslen = 0; in _appendLanguageToLanguageTag() local
650 if (reslen < capacity) { in _appendLanguageToLanguageTag()
651 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
653 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
660 if (reslen < capacity) { in _appendLanguageToLanguageTag()
661 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
663 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
673 if (reslen < capacity) { in _appendLanguageToLanguageTag()
674 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag()
676 reslen += len; in _appendLanguageToLanguageTag()
[all …]
/external/ipsec-tools/src/racoon/
Dplog.c103 int reslen, len; local
106 reslen = sizeof(buf);
114 len = strftime(p, reslen, "%Y-%m-%d %T: ", tm);
116 reslen -= len;
120 len = snprintf(p, reslen, "%s: ", ptab[pri].name);
121 if (len >= 0 && len < reslen) {
123 reslen -= len;
129 snprintf(p, reslen, "%s: %s", func, fmt);
131 snprintf(p, reslen, "%s", fmt);
/external/wpa_supplicant_8/src/utils/
Dcommon.c855 int reslen, alen, i; in int_array_concat() local
858 reslen = int_array_len(*res); in int_array_concat()
861 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat()
868 n[reslen + i] = a[i]; in int_array_concat()
914 int reslen; in int_array_add_unique() local
917 for (reslen = 0; *res && (*res)[reslen]; reslen++) { in int_array_add_unique()
918 if ((*res)[reslen] == a) in int_array_add_unique()
922 n = os_realloc_array(*res, reslen + 2, sizeof(int)); in int_array_add_unique()
929 n[reslen] = a; in int_array_add_unique()
930 n[reslen + 1] = 0; in int_array_add_unique()
/external/kernel-headers/original/uapi/linux/
Di2o-dev.h61 unsigned int __user *reslen; /* Buffer length in bytes */ member
70 unsigned int __user *reslen; /* Result List buffer length in bytes */ member
89 unsigned int __user *reslen; /* Length in bytes of reply buffer */ member
/external/icu/icu4c/source/i18n/
Ducal.cpp576 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local
584 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID()
586 return reslen; in ucal_getCanonicalTimeZoneID()
/external/wpa_supplicant_8/src/radius/
Dradius.c973 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument
1040 if (reslen) in decrypt_ms_key()
1041 *reslen = plain[0]; in decrypt_ms_key()