Searched refs:ulnum (Results 1 – 6 of 6) sorted by relevance
/external/curl/lib/ |
D | warnless.c | 124 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()
|
D | warnless.h | 32 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/ |
D | sockfilt.c | 1393 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 1395 ((ulnum != 0UL) && ((ulnum < 1025UL) || (ulnum > 65535UL)))) { in main() 1400 port = curlx_ultous(ulnum); in main() 1410 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 1412 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main() 1417 connectport = curlx_ultous(ulnum); in main()
|
D | sws.c | 607 unsigned long ulnum = strtoul(portp + 1, NULL, 10); in ProcessRequest() local 608 if(!ulnum || (ulnum > 65535UL)) in ProcessRequest() 611 req->connect_port = curlx_ultous(ulnum); in ProcessRequest() 2095 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 2097 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main() 2102 port = curlx_ultous(ulnum); in main()
|
D | tftpd.c | 723 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 725 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main() 730 port = curlx_ultous(ulnum); in main()
|
D | rtspd.c | 1242 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 1244 (ulnum < 1025UL) || (ulnum > 65535UL)) { in main() 1249 port = curlx_ultous(ulnum); in main()
|