Home
last modified time | relevance | path

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

/external/curl/lib/
Dwarnless.c124 unsigned short curlx_ultous(unsigned long ulnum) in curlx_ultous() argument
131 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
132 return (unsigned short)(ulnum & (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
143 unsigned char curlx_ultouc(unsigned long ulnum) in curlx_ultouc() argument
150 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
151 return (unsigned char)(ulnum & (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
162 int curlx_ultosi(unsigned long ulnum) in curlx_ultosi() argument
169 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_SINT); in curlx_ultosi()
170 return (int)(ulnum & (unsigned long) CURL_MASK_SINT); in curlx_ultosi()
Dwarnless.h32 unsigned short curlx_ultous(unsigned long ulnum);
34 unsigned char curlx_ultouc(unsigned long ulnum);
36 int curlx_ultosi(unsigned long ulnum);
/external/curl/tests/server/
Dmqttd.c916 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
918 ((ulnum != 0UL) && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
923 port = curlx_ultous(ulnum); in main()
Dsockfilt.c1378 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1379 port = curlx_ultous(ulnum); in main()
1389 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1391 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
1396 connectport = curlx_ultous(ulnum); in main()
Dsws.c491 unsigned long ulnum = strtoul(portp + 1, NULL, 10); in ProcessRequest() local
492 if(!ulnum || (ulnum > 65535UL)) in ProcessRequest()
495 req->connect_port = curlx_ultous(ulnum); in ProcessRequest()
1963 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1965 (ulnum && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
1970 port = curlx_ultous(ulnum); in main()
Dsocksd.c951 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
952 port = curlx_ultous(ulnum); in main()
Drtspd.c1107 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1108 port = curlx_ultous(ulnum); in main()
Dtftpd.c608 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
609 port = curlx_ultous(ulnum); in main()