Home
last modified time | relevance | path

Searched refs:ulen (Results 1 - 25 of 29) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/pkcs12/
H A Dp12_utl.c19 int ulen, i; in OPENSSL_asc2uni() local
26 ulen = asclen * 2 + 2; in OPENSSL_asc2uni()
27 if ((unitmp = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_asc2uni()
31 for (i = 0; i < ulen - 2; i += 2) { in OPENSSL_asc2uni()
36 unitmp[ulen - 2] = 0; in OPENSSL_asc2uni()
37 unitmp[ulen - 1] = 0; in OPENSSL_asc2uni()
39 *unilen = ulen; in OPENSSL_asc2uni()
82 int ulen, i, j; in OPENSSL_utf82uni() local
89 for (ulen = 0, i = 0; i < asclen; i += j) { in OPENSSL_utf82uni()
115 ulen in OPENSSL_utf82uni()
[all...]
/third_party/openssl/crypto/pkcs12/
H A Dp12_utl.c19 int ulen, i; in OPENSSL_asc2uni() local
26 ulen = asclen * 2 + 2; in OPENSSL_asc2uni()
27 if ((unitmp = OPENSSL_malloc(ulen)) == NULL) { in OPENSSL_asc2uni()
31 for (i = 0; i < ulen - 2; i += 2) { in OPENSSL_asc2uni()
36 unitmp[ulen - 2] = 0; in OPENSSL_asc2uni()
37 unitmp[ulen - 1] = 0; in OPENSSL_asc2uni()
39 *unilen = ulen; in OPENSSL_asc2uni()
82 int ulen, i, j; in OPENSSL_utf82uni() local
89 for (ulen = 0, i = 0; i < asclen; i += j) { in OPENSSL_utf82uni()
115 ulen in OPENSSL_utf82uni()
[all...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dwin32_init.c145 int wlen, ulen, valid = 1; in win32_utf8argv() local
259 ulen = 0; in win32_utf8argv()
261 ulen = WideCharToMultiByte(CP_UTF8, 0, warg, wlen, in win32_utf8argv()
263 if (ulen <= 0) in win32_utf8argv()
267 arg = malloc(ulen + 1); in win32_utf8argv()
275 arg, ulen, NULL, NULL); in win32_utf8argv()
276 arg[ulen] = '\0'; in win32_utf8argv()
/third_party/openssl/apps/lib/
H A Dwin32_init.c145 int wlen, ulen, valid = 1; in win32_utf8argv() local
259 ulen = 0; in win32_utf8argv()
261 ulen = WideCharToMultiByte(CP_UTF8, 0, warg, wlen, in win32_utf8argv()
263 if (ulen <= 0) in win32_utf8argv()
267 arg = malloc(ulen + 1); in win32_utf8argv()
275 arg, ulen, NULL, NULL); in win32_utf8argv()
276 arg[ulen] = '\0'; in win32_utf8argv()
/third_party/toybox/toys/pending/
H A Duserdel.c29 int ulen = strlen(username); in update_groupfiles() local
55 if (strncmp(line, toybuf, ulen+1)) { in update_groupfiles()
60 if (n[ulen] == ',') { in update_groupfiles()
62 n += ulen + 1; in update_groupfiles()
65 } else if (!n[ulen]) { in update_groupfiles()
70 } else n += ulen; in update_groupfiles()
/third_party/toybox/toys/posix/
H A Dgrep.c150 size_t ulen; in do_grep() local
157 ulen = len = getdelim(&line, &ulen, TT.indelim, file); in do_grep()
160 if (line[ulen-1] == TT.indelim) line[--ulen] = 0; in do_grep()
208 shoe->rc = regexec0(&shoe->r, start, ulen-(start-line), 1, in do_grep()
246 mm->rm_eo = ulen-(start-line); in do_grep()
253 mm->rm_eo = ulen-(start-line); in do_grep()
295 outline(FLAG(color) ? 0 : line, ':', name, lcount, bcount, ulen); in do_grep()
317 if (ulen > star in do_grep()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dutransts.c596 int32_t ulen; in TestGetRulesAndSourceSet() local
599 ulen = utrans_toRules(utrans, false, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
600 if ( U_FAILURE(status) || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
602 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
606 ulen = utrans_toRules(utrans, false, NULL, 0, &status); in TestGetRulesAndSourceSet()
607 if ( status != U_BUFFER_OVERFLOW_ERROR || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
609 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
613 ulen in TestGetRulesAndSourceSet()
[all...]
H A Dcnumtst.c2507 int32_t ulen, radix = unumsys_getRadix(unumsys); in TestUNumberingSystem() local
2514 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status); in TestUNumberingSystem()
2515 (void)ulen; // Suppress variable not used warning. in TestUNumberingSystem()
2821 int32_t ulen = unum_toPattern(unumfmt, false, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive() local
2825 log_err("unum_toPattern result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
2829 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive()
2833 log_err("unum_formatDouble result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
3138 int32_t ulen = unum_formatDoubleForFields(unum, itemPtr->value, ubuf, kUBufSize, fpositer, &status); in TestFormatForFields() local
3149 itemPtr->locale, aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
3152 itemPtr->locale, aescstrdup(ubuf, ulen), fiel in TestFormatForFields()
3347 int32_t ulen; TestSetMaxFracAndRoundIncr() local
3432 int32_t ulen = unum_toPattern(unum, false, ubuf, kUBufMax, &status); TestIgnorePadding() local
3471 int32_t ulen; TestSciNotationMaxFracCap() local
3503 int minInt, minFrac, ulen; TestMinIntMinFracZero() local
3694 int32_t ppos, ulen; TestParseWithEmptyCurr() local
[all...]
H A Dcdateintervalformattest.c326 int32_t ulen, uelen; in TestFPos_SkelWithSeconds() local
328 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
329 udifmt = udtitvfmt_open(locSkelItemPtr->locale, ubuf, ulen, zoneGMT, -1, &status); in TestFPos_SkelWithSeconds()
343 ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status); in TestFPos_SkelWithSeconds()
347 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
349 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
H A Dcdattst.c1826 int32_t ulen, field, beginPos, endPos; in TestFormatForFields() local
1831 ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1840 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1843 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1855 ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1864 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1867 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1879 ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1886 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c57 size_t ulen; local
62 ulen = (size_t)(unsigned int)lws_ptr_diff(colon, u_colon_g);
63 if (ulen < 2 || ulen > sizeof(u) - 1)
66 memcpy(u, u_colon_g, ulen);
67 u[ulen] = '\0';
/third_party/lwip/src/netif/ppp/
H A Dupap.c604 int mlen, ulen, wlen; in upap_printpkt() local
627 ulen = p[0]; in upap_printpkt()
628 if (len < ulen + 2) in upap_printpkt()
630 wlen = p[ulen + 1]; in upap_printpkt()
631 if (len < ulen + wlen + 2) in upap_printpkt()
634 pwd = (const u_char *) (p + ulen + 2); in upap_printpkt()
635 p += ulen + wlen + 2; in upap_printpkt()
636 len -= ulen + wlen + 2; in upap_printpkt()
638 ppp_print_string(user, ulen, printer, arg); in upap_printpkt()
/third_party/curl/lib/
H A Dmqtt.c190 static int add_user(const char *username, const size_t ulen, in add_user() argument
195 if(ulen > 0xffff) in add_user()
201 pkt[start] = (unsigned char)((ulen >> 8) & 0xFF); in add_user()
202 pkt[start + 1] = (unsigned char)(ulen & 0xFF); in add_user()
203 memcpy(&pkt[start + 2], username, ulen); in add_user()
268 const size_t ulen = strlen(username); in mqtt_connect() local
274 payloadlen = ulen + plen + MQTT_CLIENTID_LEN + 2; in mqtt_connect()
277 if(ulen) in mqtt_connect()
313 start_pwd = start_user + ulen; in mqtt_connect()
315 if(ulen) { in mqtt_connect()
[all...]
/third_party/libwebsockets/lib/jose/jwk/
H A Djwk.c163 unsigned int ulen = (unsigned int)len; in lws_jwk_dup_oct() local
165 jwk->e[LWS_GENCRYPTO_KTY_OCT].buf = lws_malloc(ulen, __func__); in lws_jwk_dup_oct()
170 jwk->e[LWS_GENCRYPTO_OCT_KEYEL_K].len = ulen; in lws_jwk_dup_oct()
172 memcpy(jwk->e[LWS_GENCRYPTO_KTY_OCT].buf, key, ulen); in lws_jwk_dup_oct()
/third_party/icu/icu4c/source/extra/uconv/
H A Duconv.cpp613 int32_t ulen; in convertFile() local
775 ulen = (int32_t)(unibufp - unibuf); in convertFile()
776 u.releaseBuffer(U_SUCCESS(err) ? ulen : 0); in convertFile()
833 if (ulen == 0) { in convertFile()
843 --ulen; in convertFile()
848 memmove(fromoffsets, fromoffsets + 1, ulen * 4); in convertFile()
892 ulen = u.length(); in convertFile()
905 memmove(fromoffsets + 1, fromoffsets, ulen * 4); in convertFile()
910 ++ulen; in convertFile()
931 unibuf + ulen, in convertFile()
[all...]
/third_party/skia/third_party/externals/icu/source/extra/uconv/
H A Duconv.cpp613 int32_t ulen; in convertFile() local
775 ulen = (int32_t)(unibufp - unibuf); in convertFile()
776 u.releaseBuffer(U_SUCCESS(err) ? ulen : 0); in convertFile()
833 if (ulen == 0) { in convertFile()
843 --ulen; in convertFile()
848 memmove(fromoffsets, fromoffsets + 1, ulen * 4); in convertFile()
892 ulen = u.length(); in convertFile()
905 memmove(fromoffsets + 1, fromoffsets, ulen * 4); in convertFile()
910 ++ulen; in convertFile()
931 unibuf + ulen, in convertFile()
[all...]
/third_party/python/Objects/
H A Drangeobject.c1085 unsigned long ulen; in range_iter() local
1106 ulen = get_len_of_range(lstart, lstop, lstep); in range_iter()
1107 if (ulen > (unsigned long)LONG_MAX) { in range_iter()
1110 /* check for potential overflow of lstart + ulen * lstep */ in range_iter()
1111 if (ulen) { in range_iter()
1121 return fast_range_iter(lstart, lstop, lstep, (long)ulen); in range_iter()
1146 unsigned long ulen; in range_reverse() local
1201 ulen = get_len_of_range(lstart, lstop, lstep); in range_reverse()
1202 if (ulen > (unsigned long)LONG_MAX) in range_reverse()
1206 new_start = (long)(new_stop + ulen * lste in range_reverse()
[all...]
/third_party/curl/tests/server/
H A Dsocksd.c445 unsigned char ulen; in sockit() local
456 ulen = buffer[SOCKS5_ULEN]; in sockit()
457 if(rc < 4 + ulen) { in sockit()
461 plen = buffer[SOCKS5_ULEN + ulen + 1]; in sockit()
462 if(rc < 3 + ulen + plen) { in sockit()
463 logmsg("Too short packet for ulen %d plen %d: %zd", ulen, plen, rc); in sockit()
466 if((ulen != strlen(config.user)) || in sockit()
468 memcmp(&buffer[SOCKS5_UNAME], config.user, ulen) || in sockit()
469 memcmp(&buffer[SOCKS5_UNAME + ulen in sockit()
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dmpdecimal.c5526 * Conditions: ulen >= vlen, ulen >= 4
5530 mpd_size_t ulen, mpd_size_t vlen, in _mpd_kmul()
5536 assert(ulen >= 4); in _mpd_kmul()
5537 assert(ulen >= vlen); in _mpd_kmul()
5539 *rsize = _kmul_resultsize(ulen, vlen); in _mpd_kmul()
5544 m = _kmul_worksize(ulen, MPD_KARATSUBA_BASECASE); in _mpd_kmul()
5550 _karatsuba_rec(result, u, v, w, ulen, vlen); in _mpd_kmul()
5653 mpd_size_t ulen, mpd_size_t vlen, in _mpd_fntmul()
5664 *rsize = add_size_t(ulen, vle in _mpd_fntmul()
5529 _mpd_kmul(const mpd_uint_t *u, const mpd_uint_t *v, mpd_size_t ulen, mpd_size_t vlen, mpd_size_t *rsize) _mpd_kmul() argument
5652 _mpd_fntmul(const mpd_uint_t *u, const mpd_uint_t *v, mpd_size_t ulen, mpd_size_t vlen, mpd_size_t *rsize) _mpd_fntmul() argument
5838 _mpd_kmul_fnt(const mpd_uint_t *u, const mpd_uint_t *v, mpd_size_t ulen, mpd_size_t vlen, mpd_size_t *rsize) _mpd_kmul_fnt() argument
8151 _baseconv_to_u16(uint16_t **w, size_t wlen, mpd_uint_t wbase, mpd_uint_t *u, mpd_ssize_t ulen) _baseconv_to_u16() argument
8176 _coeff_from_u16(mpd_t *w, mpd_ssize_t wlen, const mpd_uint_t *u, size_t ulen, uint32_t ubase, uint32_t *status) _coeff_from_u16() argument
8215 _baseconv_to_smaller(uint32_t **w, size_t wlen, uint32_t wbase, mpd_uint_t *u, mpd_ssize_t ulen, mpd_uint_t ubase) _baseconv_to_smaller() argument
8242 _copy_equal_base(uint32_t **w, size_t wlen, const uint32_t *u, size_t ulen) _copy_equal_base() argument
8257 _baseconv_to_larger(uint32_t **w, size_t wlen, mpd_uint_t wbase, const mpd_uint_t *u, size_t ulen, mpd_uint_t ubase) _baseconv_to_larger() argument
8295 _coeff_from_larger_base(mpd_t *w, size_t wlen, mpd_uint_t wbase, mpd_uint_t *u, mpd_ssize_t ulen, mpd_uint_t ubase, uint32_t *status) _coeff_from_larger_base() argument
8323 _coeff_from_smaller_base(mpd_t *w, mpd_ssize_t wlen, mpd_uint_t wbase, const uint32_t *u, size_t ulen, mpd_uint_t ubase, uint32_t *status) _coeff_from_smaller_base() argument
8693 _uint_from_u16(mpd_uint_t *w, mpd_ssize_t wlen, const uint16_t *u, size_t ulen) _uint_from_u16() argument
8895 _uint_to_u16(uint16_t w[8], mpd_uint_t *u, mpd_ssize_t ulen) _uint_to_u16() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dfils_hlp.c484 u16 sport, dport, ulen; in fils_process_hlp_udp() local
492 ulen = ntohs(udph->uh_ulen); in fils_process_hlp_udp()
494 "FILS: HLP request UDP: sport=%u dport=%u ulen=%u sum=0x%x", in fils_process_hlp_udp()
495 sport, dport, ulen, ntohs(udph->uh_sum)); in fils_process_hlp_udp()
497 if (ulen < sizeof(*udph) || ulen > len - sizeof(*iph)) in fils_process_hlp_udp()
502 ulen - sizeof(*udph)); in fils_process_hlp_udp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dfils_hlp.c484 u16 sport, dport, ulen; in fils_process_hlp_udp() local
492 ulen = ntohs(udph->uh_ulen); in fils_process_hlp_udp()
494 "FILS: HLP request UDP: sport=%u dport=%u ulen=%u sum=0x%x", in fils_process_hlp_udp()
495 sport, dport, ulen, ntohs(udph->uh_sum)); in fils_process_hlp_udp()
497 if (ulen < sizeof(*udph) || ulen > len - sizeof(*iph)) in fils_process_hlp_udp()
502 ulen - sizeof(*udph)); in fils_process_hlp_udp()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece.cc125 const size_t ulen = length_; in rfind() local
126 if (s.length_ == 0) return std::min(ulen, pos); in rfind()
128 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind()
/third_party/icu/icu4c/source/test/intltest/
H A Dintltest.cpp2335 // ulen an out parameter, receives the actual length (in UChars) of the file data.
2347 UChar *IntlTest::ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &status) { in ReadAndConvertFile() argument
2353 ulen = 0; in ReadAndConvertFile()
2411 ulen = ucnv_toUChars(conv, in ReadAndConvertFile()
2421 retPtr = new UChar[ulen+1]; in ReadAndConvertFile()
2424 ulen+1, in ReadAndConvertFile()
2438 ulen = 0; in ReadAndConvertFile()
H A Dintltest.h424 UChar *ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &status);
/third_party/pcre2/pcre2/src/
H A Dpcre2test.c6029 ulen length of subject or PCRE2_ZERO_TERMINATED
6037 check_match_limit(uint8_t *pp, PCRE2_SIZE ulen, int errnumber, const char *msg) in check_match_limit() argument
6110 PCRE2_DFA_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
6116 PCRE2_JIT_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
6121 PCRE2_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
6706 PCRE2_SIZE len, ulen, arg_ulen; in process_data() local
7081 ulen = len/code_unit_size; /* Length in code units */ in process_data()
7082 arg_ulen = ulen; /* Value to use in match arg */ in process_data()
7130 ulen containing the code unit length, with a copy in arg_ulen for use in match in process_data()
7765 if (memcmp(CASTFLD(void *, match_data, subject), pp, ulen) ! in process_data()
[all...]

Completed in 44 milliseconds

12