Home
last modified time | relevance | path

Searched refs:ulen (Results 1 – 25 of 32) sorted by relevance

12

/external/strace/
Dnet.c226 int ulen, rlen; in decode_sockname() local
231 if (fetch_socklen(tcp, &ulen, tcp->u_arg[1], tcp->u_arg[2])) { in decode_sockname()
232 set_tcb_priv_ulong(tcp, ulen); in decode_sockname()
242 ulen = get_tcb_priv_ulong(tcp); in decode_sockname()
246 tprintf(", [%d]", ulen); in decode_sockname()
248 decode_sockaddr(tcp, tcp->u_arg[1], ulen > rlen ? rlen : ulen); in decode_sockname()
249 if (ulen != rlen) in decode_sockname()
250 tprintf(", [%d->%d]", ulen, rlen); in decode_sockname()
326 int ulen, rlen; in SYS_FUNC() local
331 if (fetch_socklen(tcp, &ulen, tcp->u_arg[4], tcp->u_arg[5])) { in SYS_FUNC()
[all …]
/external/toybox/toys/pending/
Duserdel.c29 int ulen = strlen(username); in update_groupfiles() local
54 if (!strncmp(line, toybuf, ulen+1)) goto LOOP; 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()
/external/icu/icu4c/source/test/cintltst/
Dutransts.c595 int32_t ulen; in TestGetRulesAndSourceSet() local
598 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
599 if ( U_FAILURE(status) || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
601 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
605 ulen = utrans_toRules(utrans, FALSE, NULL, 0, &status); in TestGetRulesAndSourceSet()
606 if ( status != U_BUFFER_OVERFLOW_ERROR || ulen <= 50 || ulen >= 100) { in TestGetRulesAndSourceSet()
608 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
612 ulen = utrans_toRules(utrans, TRUE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
613 if ( U_FAILURE(status) || ulen <= 100 || ulen >= 200) { in TestGetRulesAndSourceSet()
615 u_errorName(status), ulen); in TestGetRulesAndSourceSet()
[all …]
Dcdateintervalformattest.c286 int32_t ulen, uelen; in TestFPos_SkelWithSeconds() local
288 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
289 udifmt = udtitvfmt_open(locSkelItemPtr->locale, ubuf, ulen, zoneGMT, -1, &status); in TestFPos_SkelWithSeconds()
303ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status… in TestFPos_SkelWithSeconds()
307 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
309 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
Dcnumtst.c2490 int32_t ulen, radix = unumsys_getRadix(unumsys); in TestUNumberingSystem() local
2497 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status); in TestUNumberingSystem()
2498 (void)ulen; // Suppress variable not used warning. in TestUNumberingSystem()
2804 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive() local
2808 … result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
2812 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive()
2816 …result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive()
3121 …int32_t ulen = unum_formatDoubleForFields(unum, itemPtr->value, ubuf, kUBufSize, fpositer, &status… in TestFormatForFields() local
3132 …itemPtr->locale, aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPo… in TestFormatForFields()
3135 … itemPtr->locale, aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
[all …]
Dcdattst.c1801 int32_t ulen, field, beginPos, endPos; in TestFormatForFields() local
1806ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1815 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1818 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1830ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1839 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1842 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1854ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1861 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
Dnucnvtst.c3526 int len=0, ulen; in TestFullRoundtrip() local
3547 ulen=len; in TestFullRoundtrip()
3552 TestConv(usource,ulen,cp,"",NULL,0); in TestFullRoundtrip()
3554 usource[ulen]=usource[0]; in TestFullRoundtrip()
3555 usource[ulen+1]=usource[1]; in TestFullRoundtrip()
3556 ulen+=len; in TestFullRoundtrip()
3557 TestConv(usource,ulen,cp,"",NULL,0); in TestFullRoundtrip()
3559 usource[ulen]=usource[0]; in TestFullRoundtrip()
3560 usource[ulen+1]=usource[1]; in TestFullRoundtrip()
3561 ulen+=len; in TestFullRoundtrip()
[all …]
/external/toybox/toys/posix/
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 > start-line) xputsl(start, ulen-(start-line)); in do_grep()
325 outline(line, '-', name, lcount, 0, ulen); in do_grep()
329 unsigned *uu, ul = (ulen|3)+1; in do_grep()
[all …]
/external/ppp/pppd/
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/tcpdump/
Dprint-udp.c377 uint16_t sport, dport, ulen; in udp_print() local
405 ulen = EXTRACT_16BITS(&up->uh_ulen); in udp_print()
406 if (ulen < sizeof(struct udphdr)) { in udp_print()
408 ND_PRINT((ndo, "truncated-udplength %d", ulen)); in udp_print()
411 ulen -= sizeof(struct udphdr); in udp_print()
413 if (ulen < length) in udp_print()
414 length = ulen; in udp_print()
693 if (ulen > length) in udp_print()
695 ulen, length)); in udp_print()
697 ND_PRINT((ndo, "UDP, length %u", ulen)); in udp_print()
[all …]
/external/openssh/
Dsftp-common.c216 int ulen, glen, sz = 0; in ls_file() local
246 ulen = MAXIMUM(strlen(user), 8); in ls_file()
251 (u_int)st->st_nlink, ulen, user, glen, group, in ls_file()
255 (u_int)st->st_nlink, ulen, user, glen, group, in ls_file()
/external/nos/host/generic/libnos_transport/
Dtransport.c287 const uint16_t ulen = MIN(arg_len, MAX_DEVICE_TRANSFER); in send_command() local
288 CMD_SET_PARAM(command, ulen); in send_command()
290 NLOGV("Write app %d command 0x%08x, bytes %d", ctx->app_id, command, ulen); in send_command()
291 if (nos_device_write(ctx->dev, command, args, ulen) != 0) { in send_command()
298 args += ulen; in send_command()
299 arg_len -= ulen; in send_command()
/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp492 UChar *DecimalFormatTest::ReadAndConvertFile(const char *fileName, int32_t &ulen, in ReadAndConvertFile() argument
499 ulen = 0; in ReadAndConvertFile()
550 u_strFromUTF8(NULL, 0, &ulen, fileBufNoBOM, amtReadNoBOM, &status); in ReadAndConvertFile()
558 retPtr = new UChar[ulen+1]; in ReadAndConvertFile()
559 u_strFromUTF8(retPtr, ulen+1, NULL, fileBufNoBOM, amtReadNoBOM, &status); in ReadAndConvertFile()
Drbbitst.h57 …UChar *ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &statu…
/external/curl/tests/server/
Dsocksd.c537 unsigned char ulen; in sockit() local
548 ulen = buffer[SOCKS5_ULEN]; in sockit()
549 if(rc < 4 + ulen) { in sockit()
553 plen = buffer[SOCKS5_ULEN + ulen + 1]; in sockit()
554 if(rc < 3 + ulen + plen) { in sockit()
555 logmsg("Too short packet for ulen %d plen %d: %d", ulen, plen, rc); in sockit()
558 if((ulen != strlen(config.user)) || in sockit()
560 memcmp(&buffer[SOCKS5_UNAME], config.user, ulen) || in sockit()
561 memcmp(&buffer[SOCKS5_UNAME + ulen + 1], config.password, plen)) { in sockit()
/external/icu/icu4c/source/extra/uconv/
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()
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c484 u16 sport, dport, ulen; in fils_process_hlp_udp() local
492 ulen = ntohs(udph->uh_ulen); 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()
/external/python/cpython3/Objects/
Drangeobject.c869 unsigned long ulen; in fast_range_iter() local
874 ulen = get_len_of_range(start, stop, step); in fast_range_iter()
875 if (ulen > (unsigned long)LONG_MAX) { in fast_range_iter()
881 it->len = (long)ulen; in fast_range_iter()
1094 unsigned long ulen; in range_reverse() local
1149 ulen = get_len_of_range(lstart, lstop, lstep); in range_reverse()
1150 if (ulen > (unsigned long)LONG_MAX) in range_reverse()
1154 new_start = (long)(new_stop + ulen * lstep); in range_reverse()
/external/protobuf/src/google/protobuf/stubs/
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()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c5368 mpd_size_t ulen, mpd_size_t vlen, in _mpd_kmul() argument
5374 assert(ulen >= 4); in _mpd_kmul()
5375 assert(ulen >= vlen); in _mpd_kmul()
5377 *rsize = _kmul_resultsize(ulen, vlen); in _mpd_kmul()
5382 m = _kmul_worksize(ulen, MPD_KARATSUBA_BASECASE); in _mpd_kmul()
5388 _karatsuba_rec(result, u, v, w, ulen, vlen); in _mpd_kmul()
5491 mpd_size_t ulen, mpd_size_t vlen, in _mpd_fntmul() argument
5502 *rsize = add_size_t(ulen, vlen); in _mpd_fntmul()
5517 memcpy(c1, u, ulen * (sizeof *c1)); in _mpd_fntmul()
5518 memcpy(c2, u, ulen * (sizeof *c2)); in _mpd_fntmul()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dincorrect-dom-info.ll76 %ulen.126 = phi i64 [ %., %.lr.ph28 ], [ %20, %19 ]
77 %20 = add i64 %ulen.126, -1
/external/llvm/test/Transforms/LoopVectorize/
Dincorrect-dom-info.ll76 %ulen.126 = phi i64 [ %., %.lr.ph28 ], [ %20, %19 ]
77 %20 = add i64 %ulen.126, -1
/external/autotest/client/deps/lansim/src/py/
Dhost.py322 pkt_udp.ulen = len(pkt_udp.pack_hdr()) + len(str(pkt_udp.data))
/external/pcre/dist2/src/
Dpcre2test.c5906 check_match_limit(uint8_t *pp, PCRE2_SIZE ulen, int errnumber, const char *msg) in check_match_limit() argument
5941 PCRE2_DFA_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
5947 PCRE2_JIT_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
5953 PCRE2_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit()
6538 PCRE2_SIZE len, ulen, arg_ulen; in process_data() local
6913 ulen = len/code_unit_size; /* Length in code units */ in process_data()
6914 arg_ulen = ulen; /* Value to use in match arg */ in process_data()
7561 if (memcmp(CASTFLD(void *, match_data, subject), pp, ulen) != 0) in process_data()
7637 if (start > ulen || end > ulen) in process_data()
7728 PCHARSV(pp, ovector[i+1], ulen - ovector[i+1], utf, outfile); in process_data()
[all …]
/external/curl/lib/
Durl.c2535 size_t ulen; local
2558 ulen = (psep ?
2569 if(userp && ulen) {
2570 ubuf = malloc(ulen + 1);
2597 memcpy(ubuf, login, ulen);
2598 ubuf[ulen] = '\0';

12