Home
last modified time | relevance | path

Searched refs:tmplen (Results 1 – 14 of 14) sorted by relevance

/dragonfly/contrib/libedit/src/
H A Dsearch.c458 ssize_t tmplen; in cv_search() local
464 tmplen = LEN; in cv_search()
468 tmplen = c_gets(el, &tmpbuf[LEN], in cv_search()
470 if (tmplen == -1) in cv_search()
473 tmplen += LEN; in cv_search()
474 ch = tmpbuf[tmplen]; in cv_search()
475 tmpbuf[tmplen] = '\0'; in cv_search()
477 if (tmplen == LEN) { in cv_search()
502 tmpbuf[tmplen++] = '.'; in cv_search()
503 tmpbuf[tmplen++] = '*'; in cv_search()
[all …]
H A Dcommon.c826 int tmplen; in ed_command() local
828 tmplen = c_gets(el, tmpbuf, L"\n: "); in ed_command()
831 if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1) in ed_command()
/dragonfly/crypto/libressl/apps/openssl/
H A Dasn1pars.c241 long num, tmplen; in asn1parse_main() local
344 tmplen = num; in asn1parse_main()
360 tmplen -= j; in asn1parse_main()
363 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main()
380 tmplen = at->value.asn1_string->length; in asn1parse_main()
383 num = tmplen; in asn1parse_main()
/dragonfly/libexec/getty/
H A Dchat.c277 static int tmplen = 0; in cleanstr() local
279 if (tmplen < l * 4 + 1) in cleanstr()
280 tmp = realloc(tmp, tmplen = l * 4 + 1); in cleanstr()
283 tmplen = 0; in cleanstr()
/dragonfly/contrib/cryptsetup/luks/
H A Dpbkdf.c79 size_t tmplen = Slen + 4; in pkcs5_pbkdf2() local
82 tmp = alloca(tmplen); in pkcs5_pbkdf2()
184 HMAC_Update(ctx, tmp, tmplen); in pkcs5_pbkdf2()
/dragonfly/contrib/wpa_supplicant/src/eap_common/
H A Deap_sake_common.c337 size_t tmplen; in eap_sake_compute_mic() local
340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
341 tmp = os_malloc(tmplen); in eap_sake_compute_mic()
382 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
/dragonfly/crypto/openssh/
H A Dsftp.c1889 u_int y, count = 0, cmdlen, tmplen; in complete_cmd_parse() local
1932 tmplen = strlen(tmp); in complete_cmd_parse()
1935 if (tmplen > cmdlen) in complete_cmd_parse()
2009 for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) { in complete_match()
2011 if (tmp[tmplen] == '*' || tmp[tmplen] == '?') { in complete_match()
2012 if (tmp[tmplen] != '*' || tmp[tmplen + 1] != '\0') in complete_match()
2016 if (tmp[tmplen] == '\\' && tmp[tmplen + 1] != '\0') in complete_match()
2017 tmplen++; in complete_match()
2018 if (tmp[tmplen] == '/') in complete_match()
2041 tmplen = strlen(tmp); in complete_match()
[all …]
/dragonfly/usr.bin/sed/
H A Dcompile.c397 int tmplen; in dohex() local
401 tmplen = 1; in dohex()
403 ++tmplen; in dohex()
404 if (hex2char(in, out, tmplen) == 0) { in dohex()
405 *len = tmplen; in dohex()
/dragonfly/usr.sbin/autofs/
H A Dcommon.c666 size_t tmplen; in node_find_x() local
672 tmplen = strlen(tmp); in node_find_x()
673 if (strncmp(tmp, path, tmplen) != 0) { in node_find_x()
677 if (path[tmplen] != '/' && path[tmplen] != '\0') { in node_find_x()
/dragonfly/contrib/gdb-7/gdb/
H A Dobjc-lang.c966 static unsigned int tmplen = 0; in find_methods() local
1004 while ((strlen (symname) + 1) >= tmplen) in find_methods()
1006 tmplen = (tmplen == 0) ? 1024 : tmplen * 2; in find_methods()
1007 tmp = xrealloc (tmp, tmplen); in find_methods()
H A Dsymtab.c4057 static unsigned int tmplen = 0; in completion_list_objc_symbol() local
4072 while ((strlen (method) + 1) >= tmplen) in completion_list_objc_symbol()
4074 if (tmplen == 0) in completion_list_objc_symbol()
4075 tmplen = 1024; in completion_list_objc_symbol()
4077 tmplen *= 2; in completion_list_objc_symbol()
4078 tmp = xrealloc (tmp, tmplen); in completion_list_objc_symbol()
/dragonfly/contrib/bmake/
H A Dmeta.c1109 static size_t tmplen = 0; in meta_oodate() local
1168 tmplen = strlen(tmpdir); in meta_oodate()
1404 if (tmplen > 0 && strncmp(p, tmpdir, tmplen) == 0) in meta_oodate()
/dragonfly/libexec/bootpd/
H A Dreadfile.c1744 u_int tmplen; in prs_haddr() local
1753 tmplen = sizeof(tmpstr); in prs_haddr()
1754 get_string(src, tmpstr, &tmplen); in prs_haddr()
/dragonfly/contrib/wpa_supplicant/src/p2p/
H A Dp2p.c2544 size_t tmplen; in p2p_assoc_req_ie_wlan_ap() local
2587 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie_wlan_ap()
2588 if (tmplen > len) in p2p_assoc_req_ie_wlan_ap()
2591 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie_wlan_ap()
2592 res = tmplen; in p2p_assoc_req_ie_wlan_ap()
2606 size_t tmplen; in p2p_assoc_req_ie() local
2650 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie()
2651 if (tmplen > len) in p2p_assoc_req_ie()
2654 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie()
2655 res = tmplen; in p2p_assoc_req_ie()