Home
last modified time | relevance | path

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

/external/curl/lib/
Dwarnless.c61 unsigned short curlx_ultous(unsigned long ulnum) in curlx_ultous() argument
68 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
69 return (unsigned short)(ulnum & (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
80 unsigned char curlx_ultouc(unsigned long ulnum) in curlx_ultouc() argument
87 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
88 return (unsigned char)(ulnum & (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
99 int curlx_ultosi(unsigned long ulnum) in curlx_ultosi() argument
106 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_SINT); in curlx_ultosi()
107 return (int)(ulnum & (unsigned long) CURL_MASK_SINT); in curlx_ultosi()
Dwarnless.h29 unsigned short curlx_ultous(unsigned long ulnum);
31 unsigned char curlx_ultouc(unsigned long ulnum);
33 int curlx_ultosi(unsigned long ulnum);
/external/curl/tests/server/
Dsockfilt.c1370 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1372 ((ulnum != 0UL) && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main()
1377 port = curlx_ultous(ulnum); in main()
1387 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1389 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
1394 connectport = curlx_ultous(ulnum); in main()
Dsws.c585 unsigned long ulnum = strtoul(portp+1, NULL, 10); in ProcessRequest() local
586 if(!ulnum || (ulnum > 65535UL)) in ProcessRequest()
589 req->connect_port = curlx_ultous(ulnum); in ProcessRequest()
2027 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
2029 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
2034 port = curlx_ultous(ulnum); in main()
Dtftpd.c714 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
716 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
721 port = curlx_ultous(ulnum); in main()
Drtspd.c1224 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local
1226 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main()
1231 port = curlx_ultous(ulnum); in main()