/external/curl/lib/vauth/ |
D | cleartext.c | 67 size_t ulen; in Curl_auth_create_plain_message() local 73 ulen = strlen(userp); in Curl_auth_create_plain_message() 77 if((ulen > SIZE_T_MAX/4) || (plen > (SIZE_T_MAX/2 - 2))) in Curl_auth_create_plain_message() 79 plainlen = 2 * ulen + plen + 2; in Curl_auth_create_plain_message() 86 memcpy(plainauth, userp, ulen); in Curl_auth_create_plain_message() 87 plainauth[ulen] = '\0'; in Curl_auth_create_plain_message() 88 memcpy(plainauth + ulen + 1, userp, ulen); in Curl_auth_create_plain_message() 89 plainauth[2 * ulen + 1] = '\0'; in Curl_auth_create_plain_message() 90 memcpy(plainauth + 2 * ulen + 2, passwdp, plen); in Curl_auth_create_plain_message()
|
/external/strace/ |
D | net.c | 226 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/ |
D | userdel.c | 29 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/ |
D | utransts.c | 595 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 …]
|
D | cdateintervalformattest.c | 283 int32_t ulen, uelen; in TestFPos_SkelWithSeconds() local 285 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf); in TestFPos_SkelWithSeconds() 286 udifmt = udtitvfmt_open(locSkelItemPtr->locale, ubuf, ulen, zoneGMT, -1, &status); in TestFPos_SkelWithSeconds() 300 …ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status… in TestFPos_SkelWithSeconds() 304 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds() 306 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds()
|
D | cdattst.c | 1790 int32_t ulen, field, beginPos, endPos; in TestFormatForFields() local 1795 … ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields() 1804 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields() 1807 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields() 1819 … ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields() 1828 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields() 1831 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields() 1843 … ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields() 1850 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
|
D | cnumtst.c | 2411 int32_t ulen, radix = unumsys_getRadix(unumsys); in TestUNumberingSystem() local 2418 ulen = unumsys_getDescription(unumsys, ubuf, kNumSysDescripBufMax, &status); in TestUNumberingSystem() 2419 (void)ulen; // Suppress variable not used warning. in TestUNumberingSystem() 2721 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive() local 2725 … result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive() 2729 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive() 2733 …result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,-1), aescstrdup(ubuf,ulen)); in TestCurrFmtNegSameAsPositive() 3038 …int32_t ulen = unum_formatDoubleForFields(unum, itemPtr->value, ubuf, kUBufSize, fpositer, &status… in TestFormatForFields() local 3049 …itemPtr->locale, aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPo… in TestFormatForFields() 3052 … itemPtr->locale, aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
|
D | nucnvtst.c | 3520 int len=0, ulen; in TestFullRoundtrip() local 3541 ulen=len; in TestFullRoundtrip() 3546 TestConv(usource,ulen,cp,"",NULL,0); in TestFullRoundtrip() 3548 usource[ulen]=usource[0]; in TestFullRoundtrip() 3549 usource[ulen+1]=usource[1]; in TestFullRoundtrip() 3550 ulen+=len; in TestFullRoundtrip() 3551 TestConv(usource,ulen,cp,"",NULL,0); in TestFullRoundtrip() 3553 usource[ulen]=usource[0]; in TestFullRoundtrip() 3554 usource[ulen+1]=usource[1]; in TestFullRoundtrip() 3555 ulen+=len; in TestFullRoundtrip() [all …]
|
D | cloctst.c | 1075 int32_t ulen; in TestDisplayNameBrackets() local 1081 …ulen = uloc_getDisplayCountry(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameB… in TestDisplayNameBrackets() 1087 …ulen = uloc_getDisplayName(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameBrac… in TestDisplayNameBrackets() 1097 …ulen = uldn_regionDisplayName(uldn, itemPtr->namedRegion, getName, kDisplayNameBracketsMax, &statu… in TestDisplayNameBrackets() 1103 …ulen = uldn_localeDisplayName(uldn, itemPtr->namedLocale, getName, kDisplayNameBracketsMax, &statu… in TestDisplayNameBrackets() 1113 (void)ulen; /* Suppress variable not used warning */ in TestDisplayNameBrackets()
|
/external/toybox/toys/posix/ |
D | grep.c | 148 size_t ulen; in do_grep() local 155 ulen = len = getdelim(&line, &ulen, TT.indelim, file); in do_grep() 158 if (line[ulen-1] == TT.indelim) line[--ulen] = 0; in do_grep() 206 shoe->rc = regexec0(&shoe->r, start, ulen-(start-line), 1, in do_grep() 244 mm->rm_eo = ulen-(start-line); in do_grep() 251 mm->rm_eo = ulen-(start-line); in do_grep() 293 outline(FLAG(color) ? 0 : line, ':', name, lcount, bcount, ulen); in do_grep() 315 if (ulen > start-line) xputsl(start, ulen-(start-line)); in do_grep() 323 outline(line, '-', name, lcount, 0, ulen); in do_grep() 327 unsigned *uu, ul = (ulen+1)|3; in do_grep() [all …]
|
/external/ppp/pppd/ |
D | upap.c | 619 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/ |
D | print-udp.c | 377 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/ |
D | sftp-common.c | 216 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/ |
D | transport.c | 287 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/ |
D | dcfmtest.cpp | 472 UChar *DecimalFormatTest::ReadAndConvertFile(const char *fileName, int32_t &ulen, in ReadAndConvertFile() argument 479 ulen = 0; in ReadAndConvertFile() 530 u_strFromUTF8(NULL, 0, &ulen, fileBufNoBOM, amtReadNoBOM, &status); in ReadAndConvertFile() 538 retPtr = new UChar[ulen+1]; in ReadAndConvertFile() 539 u_strFromUTF8(retPtr, ulen+1, NULL, fileBufNoBOM, amtReadNoBOM, &status); in ReadAndConvertFile()
|
D | rbbitst.h | 57 …UChar *ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &statu…
|
/external/icu/icu4c/source/extra/uconv/ |
D | uconv.cpp | 613 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/ |
D | fils_hlp.c | 484 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/ |
D | rangeobject.c | 867 unsigned long ulen; in fast_range_iter() local 872 ulen = get_len_of_range(start, stop, step); in fast_range_iter() 873 if (ulen > (unsigned long)LONG_MAX) { in fast_range_iter() 879 it->len = (long)ulen; in fast_range_iter() 1090 unsigned long ulen; in range_reverse() local 1145 ulen = get_len_of_range(lstart, lstop, lstep); in range_reverse() 1146 if (ulen > (unsigned long)LONG_MAX) in range_reverse() 1150 new_start = (long)(new_stop + ulen * lstep); in range_reverse()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 5368 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/protobuf/src/google/protobuf/stubs/ |
D | stringpiece.cc | 123 const size_t ulen = length_; in rfind() local 124 if (s.length_ == 0) return std::min(ulen, pos); in rfind() 126 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/ |
D | incorrect-dom-info.ll | 76 %ulen.126 = phi i64 [ %., %.lr.ph28 ], [ %20, %19 ] 77 %20 = add i64 %ulen.126, -1
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | incorrect-dom-info.ll | 76 %ulen.126 = phi i64 [ %., %.lr.ph28 ], [ %20, %19 ] 77 %20 = add i64 %ulen.126, -1
|
/external/autotest/client/deps/lansim/src/py/ |
D | host.py | 322 pkt_udp.ulen = len(pkt_udp.pack_hdr()) + len(str(pkt_udp.data))
|
/external/pcre/dist2/src/ |
D | pcre2test.c | 5795 check_match_limit(uint8_t *pp, PCRE2_SIZE ulen, int errnumber, const char *msg) in check_match_limit() argument 5830 PCRE2_DFA_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit() 5836 PCRE2_JIT_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit() 5842 PCRE2_MATCH(capcount, compiled_code, pp, ulen, dat_datctl.offset, in check_match_limit() 6336 PCRE2_SIZE len, ulen, arg_ulen; in process_data() local 6703 ulen = len/code_unit_size; /* Length in code units */ in process_data() 6704 arg_ulen = ulen; /* Value to use in match arg */ in process_data() 7376 if (start > ulen || end > ulen) in process_data() 7462 PCHARSV(pp, ovector[i+1], ulen - ovector[i+1], utf, outfile); in process_data() 7506 PCHARSV(pp, ovector[0], ulen - ovector[0], utf, outfile); in process_data() [all …]
|