Searched defs:ulen (Results 1 - 23 of 23) sorted by relevance

/external/curl/lib/vauth/
H A Dcleartext.c69 size_t ulen; local
72 ulen = strlen(userp);
75 plainauth = malloc(2 * ulen + plen + 2);
83 memcpy(plainauth, userp, ulen);
84 plainauth[ulen] = '\0';
85 memcpy(plainauth + ulen + 1, userp, ulen);
86 plainauth[2 * ulen + 1] = '\0';
87 memcpy(plainauth + 2 * ulen + 2, passwdp, plen);
90 result = Curl_base64_encode(data, plainauth, 2 * ulen
[all...]
/external/toybox/toys/pending/
H A Duserdel.c29 int ulen = strlen(username); local
54 if (!strncmp(line, toybuf, ulen+1)) goto LOOP;
60 if (n[ulen] == ',') {
62 n += ulen + 1;
65 } else if (!n[ulen]) {
70 } else n += ulen;
/external/regex-re2/util/
H A Dstringpiece.cc62 const size_t ulen = length_; local
63 if (s.length_ == 0) return min(ulen, pos);
65 const char* last = ptr_ + min(ulen - s.length_, pos) + s.length_;
/external/openssh/
H A Dauth1.c166 u_int ulen; local
173 client_user = packet_get_cstring(&ulen);
385 u_int ulen; local
392 user = packet_get_cstring(&ulen);
H A Dsftp-common.c216 int ulen, glen, sz = 0; local
246 ulen = MAX(strlen(user), 8);
251 (u_int)st->st_nlink, ulen, user, glen, group,
255 (u_int)st->st_nlink, ulen, user, glen, group,
/external/libnfc-nci/src/nfc/nci/
H A Dnci_hmsgs.c144 UINT8 num = 0, ulen, len, *pt; local
164 ulen = *pt++;
165 pt += ulen;
166 if (len >= ulen)
168 len -= ulen;
533 UINT8 num = 0, ulen, len, *pt; local
553 ulen = *pt++;
554 pt += ulen;
555 if (len >= ulen)
557 len -= ulen;
[all...]
/external/ppp/pppd/
H A Dupap.c619 int mlen, ulen, wlen; local
642 ulen = p[0];
643 if (len < ulen + 2)
645 wlen = p[ulen + 1];
646 if (len < ulen + wlen + 2)
649 pwd = (char *) (p + ulen + 2);
650 p += ulen + wlen + 2;
651 len -= ulen + wlen + 2;
653 print_string(user, ulen, printer, arg);
/external/icu/icu4c/source/test/cintltst/
H A Dcdateintervalformattest.c283 int32_t ulen, uelen; local
286 u_strFromUTF8(ubuf, kSizeUBuf, &ulen, locSkelItemPtr->skeleton, -1, &status);
287 udifmt = udtitvfmt_open(locSkelItemPtr->locale, ubuf, ulen, zoneGMT, -1, &status);
301 ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status);
305 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 ||
307 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status);
H A Dutransts.c590 int32_t ulen; local
593 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status);
594 if ( U_FAILURE(status) || ulen <= 50 || ulen >= 100) {
596 u_errorName(status), ulen);
600 ulen = utrans_toRules(utrans, FALSE, NULL, 0, &status);
601 if ( status != U_BUFFER_OVERFLOW_ERROR || ulen <= 50 || ulen >= 100) {
603 u_errorName(status), ulen);
607 ulen
[all...]
H A Dcdattst.c1789 int32_t ulen, field, beginPos, endPos; local
1794 ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status);
1803 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos);
1806 aescstrdup(ubuf, ulen), field, beginPos, endPos);
1818 ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status);
1827 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos);
1830 aescstrdup(ubuf, ulen), field, beginPos, endPos);
H A Dcnumtst.c2343 int32_t ulen, radix = unumsys_getRadix(unumsys); local
2350 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status);
2351 (void)ulen; // Suppress variable not used warning.
2650 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); local
2654 log_err("unum_toPattern result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen));
2658 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status);
2662 log_err("unum_formatDouble result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen));
H A Dcloctst.c1065 int32_t ulen; local
1071 ulen = uloc_getDisplayCountry(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameBracketsMax, &status);
1077 ulen = uloc_getDisplayName(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameBracketsMax, &status);
1087 ulen = uldn_regionDisplayName(uldn, itemPtr->namedRegion, getName, kDisplayNameBracketsMax, &status);
1093 ulen = uldn_localeDisplayName(uldn, itemPtr->namedLocale, getName, kDisplayNameBracketsMax, &status);
1103 (void)ulen; /* Suppress variable not used warning */
H A Dnucnvtst.c3508 int len=0, ulen; local
3529 ulen=len;
3534 TestConv(usource,ulen,cp,"",NULL,0);
3536 usource[ulen]=usource[0];
3537 usource[ulen+1]=usource[1];
3538 ulen+=len;
3539 TestConv(usource,ulen,cp,"",NULL,0);
3541 usource[ulen]=usource[0];
3542 usource[ulen+1]=usource[1];
3543 ulen
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddcfmtest.cpp469 UChar *DecimalFormatTest::ReadAndConvertFile(const char *fileName, int32_t &ulen, argument
476 ulen = 0;
527 u_strFromUTF8(NULL, 0, &ulen, fileBufNoBOM, amtReadNoBOM, &status);
535 retPtr = new UChar[ulen+1];
536 u_strFromUTF8(retPtr, ulen+1, NULL, fileBufNoBOM, amtReadNoBOM, &status);
H A Drbbitst.cpp1586 // ulen an out parameter, receives the actual length (in UChars) of the file data.
1600 UChar *RBBITest::ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &status) { argument
1606 ulen = 0;
1664 ulen = ucnv_toUChars(conv,
1674 retPtr = new UChar[ulen+1];
1677 ulen+1,
1691 ulen = 0;
H A Dregextst.cpp3885 UChar *RegexTest::ReadAndConvertFile(const char *fileName, int32_t &ulen, argument
3892 ulen = 0;
3954 ulen = ucnv_toUChars(conv,
3964 retPtr = new UChar[ulen+1];
3967 ulen+1,
3981 ulen = 0;
/external/tcpdump/
H A Dprint-udp.c355 uint16_t sport, dport, ulen; local
384 ulen = EXTRACT_16BITS(&up->uh_ulen);
385 if (ulen < sizeof(struct udphdr)) {
387 ND_PRINT((ndo, "truncated-udplength %d", ulen));
390 ulen -= sizeof(struct udphdr);
392 if (ulen < length)
393 length = ulen;
685 if (ulen > length)
687 ulen, length));
689 ND_PRINT((ndo, "UDP, length %u", ulen));
[all...]
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_ncif.c143 UINT8 ulen = NCI_MAX_PAYLOAD_SIZE; local
189 ulen = (UINT8)(p_data->len);
195 ulen = buffer_size;
209 if ((p = NCI_GET_CMD_BUF(ulen)) == NULL)
211 p->len = ulen;
217 memcpy (pp, ps, ulen);
220 p_data->len -= ulen;
221 p_data->offset += ulen;
230 NCI_DATA_PBLD_HDR(pp, pbf, hdr0, ulen);
1029 UINT8 data_len, ulen, ta local
[all...]
/external/boringssl/src/crypto/pkcs8/
H A Dpkcs8.c84 size_t ulen, i; local
86 ulen = ascii_len * 2 + 2;
87 if (ulen < ascii_len) {
90 unitmp = OPENSSL_malloc(ulen);
94 for (i = 0; i < ulen - 2; i += 2) {
100 unitmp[ulen - 2] = 0;
101 unitmp[ulen - 1] = 0;
102 *out_len = ulen;
/external/icu/icu4c/source/extra/uconv/
H A Duconv.cpp611 int32_t ulen; local
773 ulen = (int32_t)(unibufp - unibuf);
774 u.releaseBuffer(U_SUCCESS(err) ? ulen : 0);
831 if (ulen == 0) {
841 --ulen;
846 memmove(fromoffsets, fromoffsets + 1, ulen * 4);
890 ulen = u.length();
903 memmove(fromoffsets + 1, fromoffsets, ulen * 4);
908 ++ulen;
929 unibuf + ulen,
[all...]
/external/curl/lib/
H A Durl.c5026 size_t ulen; local
5049 ulen = (psep ?
5060 if(userp && ulen) {
5061 ubuf = malloc(ulen + 1);
5088 memcpy(ubuf, login, ulen);
5089 ubuf[ulen] = '\0';
/external/dhcpcd-6.8.2/
H A Ddhcp.c1737 size_t ulen; local
1740 udp = dhcp_makeudppacket(&ulen, (uint8_t *)dhcp, len, from, to);
1745 (uint8_t *)udp, ulen, NULL);
/external/libvncserver/libvncclient/
H A Drfbproto.c688 uint32_t ulen, ulensw; local
704 ulen = (cred->userCredential.username ? strlen(cred->userCredential.username) : 0);
705 ulensw = rfbClientSwap32IfLE(ulen);
714 if (ulen > 0)
716 if (!WriteToRFBServer(client, cred->userCredential.username, ulen))

Completed in 943 milliseconds