Home
last modified time | relevance | path

Searched refs:testfd (Results 1 – 2 of 2) sorted by relevance

/curl/tests/libtest/
H A Dlib537.c51 static int *testfd = NULL; variable
71 free(testfd); in close_file_descriptors()
72 testfd = NULL; in close_file_descriptors()
290 testfd = malloc(sizeof(*testfd) * (size_t)(num_open.rlim_max));
291 if(!testfd) {
296 if(!testfd) {
318 if(testfd[0] < 0) {
322 free(testfd);
323 testfd = NULL;
334 testfd[num_open.rlim_cur] = dup(testfd[0]);
[all …]
H A Dlib518.c53 static int *testfd = NULL; variable
73 free(testfd); in close_file_descriptors()
74 testfd = NULL; in close_file_descriptors()
294 testfd = malloc(sizeof(*testfd) * (size_t)(num_open.rlim_max)); in test_rlimit()
295 if(!testfd) { in test_rlimit()
317 if(testfd[0] < 0) { in test_rlimit()
321 free(testfd); in test_rlimit()
322 testfd = NULL; in test_rlimit()
333 testfd[num_open.rlim_cur] = dup(testfd[0]); in test_rlimit()
361 free(testfd); in test_rlimit()
[all …]

Completed in 5 milliseconds