Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 7 of 7) sorted by relevance

/curl/docs/examples/
H A D10-at-a-time.c94 static void add_transfer(CURLM *cm, unsigned int i, int *left) in add_transfer() argument
100 curl_multi_add_handle(cm, eh); in add_transfer()
106 CURLM *cm; in main() local
113 cm = curl_multi_init(); in main()
120 add_transfer(cm, transfers, &left); in main()
124 curl_multi_perform(cm, &still_alive); in main()
127 while((msg = curl_multi_info_read(cm, &msgs_left)) != NULL) { in main()
134 curl_multi_remove_handle(cm, e); in main()
142 add_transfer(cm, transfers++, &left); in main()
145 curl_multi_wait(cm, NULL, 0, 1000, NULL); in main()
[all …]
/curl/tests/libtest/
H A Dlib1905.c36 CURLM *cm; in test() local
40 cm = curl_multi_init(); in test()
41 if(!cm) { in test()
61 curl_multi_add_handle(cm, ch); in test()
73 curl_multi_perform(cm, &unfinished); in test()
75 curl_multi_fdset(cm, &R, &W, &E, &MAX); in test()
76 curl_multi_timeout(cm, &max_tout); in test()
92 curl_multi_remove_handle(cm, ch); in test()
96 curl_multi_cleanup(cm); in test()
H A Dlib540.c88 res_multi_add_handle(cm, testeh[num]); in init()
112 res = init(num, cm, url, userpwd, headers); in loop()
120 res_multi_perform(cm, &U); in loop()
133 res_multi_fdset(cm, &R, &W, &E, &M); in loop()
139 res_multi_timeout(cm, &L); in loop()
166 msg = curl_multi_info_read(cm, &Q); in loop()
174 curl_multi_remove_handle(cm, e); in loop()
197 CURLM *cm = NULL; in test() local
226 res_multi_init(cm); in test()
246 curl_multi_remove_handle(cm, testeh[i]); in test()
[all …]
/curl/lib/
H A Dversion_win32.c199 ULONGLONG cm = 0; in curlx_verify_windows_version() local
275 cm = VerSetConditionMask(cm, VER_MAJORVERSION, majorCondition); in curlx_verify_windows_version()
276 cm = VerSetConditionMask(cm, VER_MINORVERSION, minorCondition); in curlx_verify_windows_version()
277 cm = VerSetConditionMask(cm, VER_SERVICEPACKMAJOR, spMajorCondition); in curlx_verify_windows_version()
278 cm = VerSetConditionMask(cm, VER_SERVICEPACKMINOR, spMinorCondition); in curlx_verify_windows_version()
281 cm = VerSetConditionMask(cm, VER_PLATFORMID, VER_EQUAL); in curlx_verify_windows_version()
291 matched = !pRtlVerifyVersionInfo(&osver, dwTypeMask, cm); in curlx_verify_windows_version()
293 matched = !!VerifyVersionInfoW((OSVERSIONINFOEXW *)&osver, dwTypeMask, cm); in curlx_verify_windows_version()
307 cm = VerSetConditionMask(0, VER_BUILDNUMBER, buildCondition); in curlx_verify_windows_version()
310 matched = !pRtlVerifyVersionInfo(&osver, dwTypeMask, cm); in curlx_verify_windows_version()
[all …]
/curl/.github/workflows/
H A Dconfigure-vs-cmake.yml45 cmake -B bld-cm -DCURL_USE_LIBPSL=OFF
51 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
57 run: ./.github/scripts/cmp-pkg-config.sh bld-am/libcurl.pc bld-cm/libcurl.pc
60 run: ./.github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
83 cmake -B bld-cm -DCURL_USE_LIBPSL=OFF -DCURL_DISABLE_LDAP=ON \
91 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
97 run: ./.github/scripts/cmp-pkg-config.sh bld-am/libcurl.pc bld-cm/libcurl.pc
100 run: ./.github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
120 cmake -B bld-cm -DCURL_USE_SCHANNEL=ON -DCURL_USE_LIBPSL=OFF \
129 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
[all …]
/curl/.github/scripts/
H A Dcmp-pkg-config.sh44 cm=$(mktemp -t cmake.XXX) ; sort_lists "$2" > "${cm}"
45 diff -u "${am}" "${cm}"
47 rm -r -f "${am}" "${cm}"
/curl/lib/vquic/
H A Dvquic.c131 struct cmsghdr *cm; in do_sendmsg() local
147 cm = CMSG_FIRSTHDR(&msg); in do_sendmsg()
148 cm->cmsg_level = SOL_UDP; in do_sendmsg()
149 cm->cmsg_type = UDP_SEGMENT; in do_sendmsg()
150 cm->cmsg_len = CMSG_LEN(sizeof(uint16_t)); in do_sendmsg()
151 *(uint16_t *)(void *)CMSG_DATA(cm) = gsolen & 0xffff; in do_sendmsg()

Completed in 21 milliseconds