Home
last modified time | relevance | path

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

/curl/lib/
H A Dinet_pton.c108 tp = tmp; in inet_pton4()
109 *tp = 0; in inet_pton4()
132 *++tp = 0; in inet_pton4()
168 endp = tp + IN6ADDRSZ; in inet_pton6()
196 colonp = tp; in inet_pton6()
199 if(tp + INT16SZ > endp) in inet_pton6()
209 tp += INADDRSZ; in inet_pton6()
216 if(tp + INT16SZ > endp) in inet_pton6()
229 if(tp == endp) in inet_pton6()
235 tp = endp; in inet_pton6()
[all …]
H A Dinet_ntop.c97 char *tp; in inet_ntop6() local
137 tp = tmp; in inet_ntop6()
142 *tp++ = ':'; in inet_ntop6()
149 *tp++ = ':'; in inet_ntop6()
155 if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) { in inet_ntop6()
159 tp += strlen(tp); in inet_ntop6()
162 tp += msnprintf(tp, 5, "%x", words[i]); in inet_ntop6()
168 *tp++ = ':'; in inet_ntop6()
169 *tp++ = '\0'; in inet_ntop6()
173 if((size_t)(tp - tmp) > size) { in inet_ntop6()
/curl/tests/server/
H A Dtftpd.c554 struct tftphdr *tp; in main() local
823 tp = &buf.hdr; in main()
824 tp->th_opcode = ntohs(tp->th_opcode); in main()
825 if(tp->th_opcode == opcode_RRQ || tp->th_opcode == opcode_WRQ) { in main()
827 if(do_tftp(&test, tp, n) < 0) in main()
918 cp = (char *)&tp->th_stuff; in do_tftp()
994 if(tp->th_opcode == opcode_WRQ) in do_tftp()
1356 struct tftphdr *tp; in nak() local
1360 tp = &buf.hdr; in nak()
1361 tp->th_opcode = htons(opcode_ERROR); in nak()
[all …]
/curl/src/
H A Dtool_formparse.c470 char *tp; in get_param_part() local
487 tp = p; in get_param_part()
490 if(*pdata == tp) in get_param_part()
526 tp = p; in get_param_part()
529 if(filename == tp) in get_param_part()
549 tp = p; in get_param_part()
552 if(hdrfile == tp) in get_param_part()
576 tp = p; in get_param_part()
579 if(hdr == tp) in get_param_part()
598 tp = p; in get_param_part()
[all …]
/curl/docs/examples/
H A Dhttp2-upload.c57 int my_gettimeofday(struct timeval *tp, void *tzp) in my_gettimeofday() argument
60 if(tp) { in my_gettimeofday()
68 tp->tv_usec = (long)((_now.ns100 / 10) % 1000000); in my_gettimeofday()
69 tp->tv_sec = (long)((_now.ns100 - _WIN32_FT_OFFSET) / 10000000); in my_gettimeofday()
H A Dghiper.c334 gsize len, tp; in fifo_cb() local
340 rv = g_io_channel_read_line(ch, &buf, &len, &tp, &err); in fifo_cb()
342 if(tp) { in fifo_cb()
343 buf[tp]='\0'; in fifo_cb()

Completed in 20 milliseconds