Searched refs:ulnum (Results 1 – 8 of 8) 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 | mqttd.c | 916 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()
|
D | sockfilt.c | 1378 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()
|
D | sws.c | 491 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()
|
D | socksd.c | 951 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 952 port = curlx_ultous(ulnum); in main()
|
D | rtspd.c | 1107 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 1108 port = curlx_ultous(ulnum); in main()
|
D | tftpd.c | 608 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() local 609 port = curlx_ultous(ulnum); in main()
|