Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 71) sorted by relevance

123

/curl/tests/libtest/
H A Dlib557.c76 unsigned short num; /* unsigned short */ member
83 short num; /* signed short */ member
90 unsigned int num; /* unsigned int */ member
97 int num; /* signed int */ member
104 unsigned long num; /* unsigned long */ member
111 long num; /* signed long */ member
118 curl_off_t num; /* curl_off_t */ member
201 i++; ss_test[i].num = 0x0007; ss_test[i].expected = "7"; in test_signed_short_formatting()
206 i++; ss_test[i].num = 0x0005; ss_test[i].expected = "5"; in test_signed_short_formatting()
208 i++; ss_test[i].num = 0x0001; ss_test[i].expected = "1"; in test_signed_short_formatting()
[all …]
H A Dlib540.c56 res_easy_init(testeh[num]); in init()
60 res_easy_setopt(testeh[num], CURLOPT_URL, url); in init()
64 res_easy_setopt(testeh[num], CURLOPT_PROXY, PROXY); in init()
68 res_easy_setopt(testeh[num], CURLOPT_PROXYUSERPWD, userpwd); in init()
72 res_easy_setopt(testeh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); in init()
76 res_easy_setopt(testeh[num], CURLOPT_VERBOSE, 1L); in init()
80 res_easy_setopt(testeh[num], CURLOPT_HEADER, 1L); in init()
88 res_multi_add_handle(cm, testeh[num]); in init()
96 curl_easy_cleanup(testeh[num]); in init()
97 testeh[num] = NULL; in init()
[all …]
H A Dlib1500.c60 int num; in test() local
61 mres = curl_multi_wait(multi, NULL, 0, TEST_HANG_TIMEOUT, &num); in test()
H A Dlib1552.c63 int num; in test() local
64 mres = curl_multi_wait(multi, NULL, 0, TEST_HANG_TIMEOUT, &num); in test()
H A Dfirst.c113 long num = strtol(env, &endptr, 10); in memory_tracking_init() local
114 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
115 curl_dbg_memlimit(num); in memory_tracking_init()
H A Dlib1565.c95 int num; in test() local
128 while((message = curl_multi_info_read(testmulti, &num))) { in test()
149 multi_poll(testmulti, NULL, 0, TEST_HANG_TIMEOUT, &num); in test()
H A Dlib504.c77 int num; in test() local
78 mres = curl_multi_wait(m, NULL, 0, TEST_HANG_TIMEOUT, &num); in test()
H A Dlib1553.c92 int num; in test() local
93 mres = curl_multi_wait(multi, NULL, 0, TEST_HANG_TIMEOUT, &num); in test()
/curl/lib/
H A Drand.c217 DEBUGASSERT(num); in Curl_rand_bytes()
219 while(num) { in Curl_rand_bytes()
221 size_t left = num < sizeof(unsigned int) ? num : sizeof(unsigned int); in Curl_rand_bytes()
230 --num; in Curl_rand_bytes()
245 size_t num) in Curl_rand_hex() argument
249 DEBUGASSERT(num > 1); in Curl_rand_hex()
257 if((num/2 >= sizeof(buffer)) || !(num&1)) { in Curl_rand_hex()
269 Curl_hexencode(buffer, num/2, rnd, num + 1); in Curl_rand_hex()
287 DEBUGASSERT(num > 1); in Curl_rand_alnum()
291 while(num) { in Curl_rand_alnum()
[all …]
H A Dselect.c191 int num; in Curl_socket_check() local
205 num = 0; in Curl_socket_check()
209 pfd[num].revents = 0; in Curl_socket_check()
210 num++; in Curl_socket_check()
215 pfd[num].revents = 0; in Curl_socket_check()
216 num++; in Curl_socket_check()
221 pfd[num].revents = 0; in Curl_socket_check()
222 num++; in Curl_socket_check()
230 num = 0; in Curl_socket_check()
236 num++; in Curl_socket_check()
[all …]
H A Doptiontable.pl41 my($opt, $type, $num)=@_;
63 if($num < $lastnum) {
64 print STDERR "ERROR: $opt has bad number: $num < $lastnum\n";
68 $lastnum = $num;
99 my($opt, $type, $num)=($1,$2,$3);
100 add($opt, $type, $num);
H A Drand.h31 unsigned char *rnd, size_t num);
45 size_t num);
52 size_t num);
H A Dstrtoofft.c213 curl_off_t *num) in curlx_strtoofft() argument
218 *num = 0; /* clear by default */ in curlx_strtoofft()
238 *num = number; in curlx_strtoofft()
H A Dstrtoofft.h52 curl_off_t *num);
H A Dmprintf.c759 num = iptr->val.numu; in formatf()
765 OUTCHAR((char) num); in formatf()
796 num = (mp_uintmax_t)signed_num; in formatf()
797 num += (mp_uintmax_t)1; in formatf()
809 while(num > 0) { in formatf()
810 *w-- = (char)('0' + (num % 10)); in formatf()
811 num /= 10; in formatf()
815 while(num > 0) { in formatf()
816 *w-- = digits[num % base]; in formatf()
817 num /= base; in formatf()
[all …]
/curl/docs/examples/
H A Dhttp2-download.c46 unsigned int num; member
53 void dump(const char *text, unsigned int num, unsigned char *ptr, size_t size, in dump() argument
66 num, text, (unsigned long)size, (unsigned long)size); in dump()
108 unsigned int num = t->num; in my_trace() local
113 fprintf(stderr, "== %u Info: %s", num, data); in my_trace()
137 dump(text, num, (unsigned char *)data, size, 1); in my_trace()
141 static void setup(struct transfer *t, int num) in setup() argument
148 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
H A Dhttp2-upload.c79 int num; member
83 void dump(const char *text, int num, unsigned char *ptr, size_t size, in dump() argument
95 num, text, (unsigned long)size, (unsigned long)size); in dump()
138 int num = i->num; in my_trace() local
158 fprintf(stderr, "%s [%d] Info: %s", timebuf, num, data); in my_trace()
182 dump(text, num, (unsigned char *)data, size, 1); in my_trace()
194 static void setup(struct input *i, int num, const char *upload) in setup() argument
204 i->num = num; in setup()
205 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
213 curl_msnprintf(url, 256, "https://localhost:8443/upload-%d", num); in setup()
/curl/scripts/
H A Dschemetable.c92 unsigned int num[100]; variable
100 num[i] = calc(scheme[i].n, init, shift); in showtable()
102 ix[i] = num[i] % try; in showtable()
160 if(num[j] == v) { in main()
171 num[i] = v; in main()
175 printf("%u - %s\n", num[i], scheme[i].n); in main()
182 ix[i] = num[i] % try; in main()
/curl/src/
H A Dterminal.c51 long num = strtol(colp, &endptr, 10); in get_terminal_columns() local
52 if((endptr != colp) && (endptr == colp + strlen(colp)) && (num > 20) && in get_terminal_columns()
53 (num < 10000)) in get_terminal_columns()
54 width = (unsigned int)num; in get_terminal_columns()
H A Dtool_cb_prg.c200 size_t num; in tool_progress_cb() local
208 num = (size_t) (((double)barwidth) * frac); in tool_progress_cb()
209 if(num > MAX_BARLENGTH) in tool_progress_cb()
210 num = MAX_BARLENGTH; in tool_progress_cb()
211 memset(line, '#', num); in tool_progress_cb()
212 line[num] = '\0'; in tool_progress_cb()
H A Dmkhelp.pl87 my $num=ord($_);
88 printf(" 0x%02x,", 0+$num);
H A Dtool_paramhlp.c59 node->num = outnum++; in new_getout()
169 long num; in getnum() local
173 num = strtol(str, &endptr, base); in getnum()
177 *val = num; in getnum()
260 double num; in str2double() local
262 num = strtod(str, &endptr); in str2double()
265 if(num > max) { in str2double()
270 *val = num; in str2double()
H A Dtool_main.c126 long num = strtol(env, &endptr, 10); in memory_tracking_init() local
127 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
128 curl_dbg_memlimit(num); in memory_tracking_init()
H A Dtool_sdecls.h91 int num; /* which URL number in an invocation */ member
/curl/tests/server/
H A Drtspd.c300 int num = 0; in ProcessRequest() local
337 if(num < 0) in ProcessRequest()
339 else if(num > 0) in ProcessRequest()
938 size_t num = count; in send_doc() local
939 if(num > 200) in send_doc()
940 num = 200; in send_doc()
963 size_t num = count; in send_doc() local
964 if(num > 200) in send_doc()
965 num = 200; in send_doc()
967 num); in send_doc()
[all …]

Completed in 37 milliseconds

123