Searched refs:ulnum (Results 1 – 6 of 6) sorted by relevance
/external/curl/lib/ |
D | warnless.c | 61 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()
|
D | warnless.h | 29 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/ |
D | sockfilt.c | 1370 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()
|
D | sws.c | 585 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()
|
D | tftpd.c | 714 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()
|
D | rtspd.c | 1224 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()
|