Home
last modified time | relevance | path

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

/external/icu4c/common/
Duloc_tag.c998 int32_t reslen = 0; in _appendLanguageToLanguageTag() local
1016 if (reslen < capacity) { in _appendLanguageToLanguageTag()
1017 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
1019 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
1026 if (reslen < capacity) { in _appendLanguageToLanguageTag()
1027 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
1029 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
1039 if (reslen < capacity) { in _appendLanguageToLanguageTag()
1040 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag()
1042 reslen += len; in _appendLanguageToLanguageTag()
[all …]
/external/chromium_org/third_party/icu/source/common/
Duloc_tag.c927 int32_t reslen = 0; in _appendLanguageToLanguageTag() local
945 if (reslen < capacity) { in _appendLanguageToLanguageTag()
946 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
948 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
955 if (reslen < capacity) { in _appendLanguageToLanguageTag()
956 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag()
958 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag()
968 if (reslen < capacity) { in _appendLanguageToLanguageTag()
969 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag()
971 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/libppp/src/
Dchat.c622 ExpandString(struct chat *c, const char *str, char *result, int reslen, int cr) in ExpandString() argument
626 result[--reslen] = '\0'; in ExpandString()
627 while (*str && reslen > 0) { in ExpandString()
643 reslen--; in ExpandString()
647 reslen--; in ExpandString()
651 reslen--; in ExpandString()
655 reslen--; in ExpandString()
658 strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen); in ExpandString()
660 reslen -= len; in ExpandString()
665 strncpy(result, c->phone, reslen); in ExpandString()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/
Do_time.c104 unsigned int reslen = 0; in OPENSSL_gmtime() local
109 unsigned int *reslen; in OPENSSL_gmtime() member
120 itemlist[0].reslen = &reslen; in OPENSSL_gmtime()
124 logvalue[reslen] = '\0'; in OPENSSL_gmtime()
/external/openssl/crypto/
Do_time.c104 unsigned int reslen = 0; in OPENSSL_gmtime() local
109 unsigned int *reslen; in OPENSSL_gmtime() member
120 itemlist[0].reslen = &reslen; in OPENSSL_gmtime()
124 logvalue[reslen] = '\0'; in OPENSSL_gmtime()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_nss.c30 unsigned int reslen; in nss_hash() local
39 HASH_End(ctx, mac, &reslen, max_res_len); in nss_hash()
/external/chromium_org/third_party/icu/source/i18n/
Ducal.cpp527 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local
535 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID()
537 return reslen; in ucal_getCanonicalTimeZoneID()
/external/icu4c/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/wpa_supplicant/
Dscan.c155 int reslen, alen, i; in int_array_concat() local
158 reslen = int_array_len(*res); in int_array_concat()
161 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat()
168 n[reslen + i] = a[i]; in int_array_concat()
/external/wpa_supplicant_8/src/radius/
Dradius.c947 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument
1010 if (reslen) in decrypt_ms_key()
1011 *reslen = plain[0]; in decrypt_ms_key()