Home
last modified time | relevance | path

Searched refs:ulnum (Results 1 – 8 of 8) sorted by relevance

/curl/lib/
H A Dwarnless.c69 unsigned short curlx_ultous(unsigned long ulnum) in curlx_ultous() argument
76 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
77 return (unsigned short)(ulnum & (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
88 unsigned char curlx_ultouc(unsigned long ulnum) in curlx_ultouc() argument
95 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
96 return (unsigned char)(ulnum & (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
H A Dwarnless.h36 unsigned short curlx_ultous(unsigned long ulnum);
38 unsigned char curlx_ultouc(unsigned long ulnum);
/curl/tests/server/
H A Dsws.c524 unsigned long ulnum = strtoul(portp + 1, NULL, 10); in ProcessRequest() local
525 if(!ulnum || (ulnum > 65535UL)) in ProcessRequest()
528 req->connect_port = curlx_ultous(ulnum); in ProcessRequest()
2101 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
2103 (ulnum && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
2108 port = curlx_ultous(ulnum); in main()
2123 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
2125 (ulnum && (ulnum > 65535UL))) { in main()
2130 keepalive_secs = curlx_ultous(ulnum); in main()
H A Dmqttd.c992 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
994 ((ulnum != 0UL) && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
999 port = curlx_ultous(ulnum); in main()
H A Dsockfilt.c1422 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1423 port = curlx_ultous(ulnum); in main()
1433 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1435 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
1440 connectport = curlx_ultous(ulnum); in main()
H A Dsocksd.c1053 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1054 port = curlx_ultous(ulnum); in main()
H A Dtftpd.c616 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
617 port = curlx_ultous(ulnum); in main()
H A Drtspd.c1120 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1121 port = curlx_ultous(ulnum); in main()

Completed in 30 milliseconds