Home
last modified time | relevance | path

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

/third_party/curl/lib/
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()
Dwarnless.h36 unsigned short curlx_ultous(unsigned long ulnum);
38 unsigned char curlx_ultouc(unsigned long ulnum);
/third_party/curl/tests/server/
Dsws.c525 unsigned long ulnum = strtoul(portp + 1, NULL, 10); in ProcessRequest() local
526 if(!ulnum || (ulnum > 65535UL)) in ProcessRequest()
529 req->connect_port = curlx_ultous(ulnum); in ProcessRequest()
2055 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
2057 (ulnum && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
2062 port = curlx_ultous(ulnum); in main()
2077 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
2079 (ulnum && (ulnum > 65535UL))) { in main()
2084 keepalive_secs = curlx_ultous(ulnum); in main()
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()
Dsockfilt.c1417 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1418 port = curlx_ultous(ulnum); in main()
1428 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1430 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
1435 connectport = curlx_ultous(ulnum); in main()
Dsocksd.c1056 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1057 port = curlx_ultous(ulnum); in main()
Dtftpd.c615 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
616 port = curlx_ultous(ulnum); in main()
Drtspd.c1123 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1124 port = curlx_ultous(ulnum); in main()