Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509v3/
Dv3_sxnet.c158 int userlen) in SXNET_add_id_asc() argument
165 return SXNET_add_id_INTEGER(psx, izone, user, userlen); in SXNET_add_id_asc()
171 int userlen) in SXNET_add_id_ulong() argument
179 return SXNET_add_id_INTEGER(psx, izone, user, userlen); in SXNET_add_id_ulong()
189 int userlen) in SXNET_add_id_INTEGER() argument
197 if(userlen == -1) userlen = strlen(user); in SXNET_add_id_INTEGER()
198 if(userlen > 64) { in SXNET_add_id_INTEGER()
213 if(userlen == -1) userlen = strlen(user); in SXNET_add_id_INTEGER()
215 if(!M_ASN1_OCTET_STRING_set(id->user, user, userlen)) goto err; in SXNET_add_id_INTEGER()
/external/curl/lib/
Dcurl_ntlm_msgs.c507 size_t userlen = 0; in Curl_sasl_create_ntlm_type3_message() local
523 userlen = strlen(user); in Curl_sasl_create_ntlm_type3_message()
548 result = Curl_ntlm_core_mk_ntlmv2_hash(user, userlen, domain, domlen, in Curl_sasl_create_ntlm_type3_message()
637 userlen = userlen * 2; in Curl_sasl_create_ntlm_type3_message()
649 hostoff = useroff + userlen; in Curl_sasl_create_ntlm_type3_message()
718 SHORTPAIR(userlen), in Curl_sasl_create_ntlm_type3_message()
719 SHORTPAIR(userlen), in Curl_sasl_create_ntlm_type3_message()
774 if(size + userlen + domlen + hostlen >= NTLM_BUFSIZE) { in Curl_sasl_create_ntlm_type3_message()
789 unicodecpy(&ntlmbuf[size], user, userlen / 2); in Curl_sasl_create_ntlm_type3_message()
791 memcpy(&ntlmbuf[size], user, userlen); in Curl_sasl_create_ntlm_type3_message()
[all …]
Dcurl_ntlm_core.c602 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen, in Curl_ntlm_core_mk_ntlmv2_hash() argument
608 size_t identity_len = (userlen + domlen) * 2; in Curl_ntlm_core_mk_ntlmv2_hash()
615 ascii_uppercase_to_unicode_le(identity, user, userlen); in Curl_ntlm_core_mk_ntlmv2_hash()
616 ascii_to_unicode_le(identity + (userlen << 1), domain, domlen); in Curl_ntlm_core_mk_ntlmv2_hash()
Dcurl_ntlm_core.h82 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen,
/external/curl/src/
Dtool_paramhlp.c393 size_t userlen = strlen(*userpwd); in checkpasswd() local
420 userlen + 1); /* an extra for the zero */ in checkpasswd()
425 passptr[userlen] = ':'; in checkpasswd()
426 memcpy(&passptr[userlen+1], passwd, passwdlen+1); in checkpasswd()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java1012 int userlen; in add() local
1060 userlen = rhs.mant.length; in add()
1072 if (newlen >= ((userlen + reqdig) + 1)) in add()
1090 userlen = userlen - tlen; in add()
1097 newlen = (userlen + rhs.exp) - lhs.exp; in add()
1104 if (userlen < reqdig) { // need 0 padding in add()
1106 res.exp = res.exp - ((reqdig - userlen)); in add()
1120 if (newlen > userlen) in add()
1121 userlen = newlen; // need to pad RHS in add()
1147 } else if ((usellen < userlen) | (lhs.ind == iszero)) { // original B bigger in add()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java988 int userlen; in add() local
1036 userlen = rhs.mant.length; in add()
1048 if (newlen >= ((userlen + reqdig) + 1)) in add()
1066 userlen = userlen - tlen; in add()
1073 newlen = (userlen + rhs.exp) - lhs.exp; in add()
1080 if (userlen < reqdig) { // need 0 padding in add()
1082 res.exp = res.exp - ((reqdig - userlen)); in add()
1096 if (newlen > userlen) in add()
1097 userlen = newlen; // need to pad RHS in add()
1123 } else if ((usellen < userlen) | (lhs.ind == iszero)) { // original B bigger in add()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java1010 int userlen; in add() local
1058 userlen = rhs.mant.length; in add()
1070 if (newlen >= ((userlen + reqdig) + 1)) in add()
1088 userlen = userlen - tlen; in add()
1095 newlen = (userlen + rhs.exp) - lhs.exp; in add()
1102 if (userlen < reqdig) { // need 0 padding in add()
1104 res.exp = res.exp - ((reqdig - userlen)); in add()
1118 if (newlen > userlen) in add()
1119 userlen = newlen; // need to pad RHS in add()
1145 } else if ((usellen < userlen) | (lhs.ind == iszero)) { // original B bigger in add()
[all …]
/external/ipsec-tools/src/racoon/
Dracoonctl.c837 size_t userlen; local
843 userlen = strlen(user);
844 if ((user == NULL) || (userlen > LOGINLEN))
847 buf = vmalloc(sizeof(*head) + userlen);
857 strncpy((char *)(head + 1), user, userlen);
/external/boringssl/src/include/openssl/
Dx509v3.h511 int SXNET_add_id_asc(SXNET **psx, char *zone, char *user, int userlen);
512 int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, char *user, int userlen);
513 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *izone, char *user, int userlen);
/external/ppp/pppd/
Dauth.c1365 check_passwd(unit, auser, userlen, apasswd, passwdlen, msg) in check_passwd() argument
1368 int userlen;
1390 slprintf(user, sizeof(user), "%.*v", userlen, auser);