Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 78) sorted by relevance

1234

/curl/scripts/
H A Dmk-unity.pl39 my @src;
42 foreach my $src (@ARGV) {
44 $exclude{$src} = 1;
46 elsif($src eq "--exclude") {
50 push @src, $src;
59 foreach my $src (@src) {
60 if($src =~ /\.c$/g && !exists $exclude{$src}) {
61 print "#include \"$src\"\n";
/curl/lib/
H A Dinet_pton.c75 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() argument
79 return (inet_pton4(src, (unsigned char *)dst)); in Curl_inet_pton()
81 return (inet_pton6(src, (unsigned char *)dst)); in Curl_inet_pton()
100 inet_pton4(const char *src, unsigned char *dst) in inet_pton4() argument
110 while((ch = *src++) != '\0') { in inet_pton4()
158 inet_pton6(const char *src, unsigned char *dst) in inet_pton6() argument
171 if(*src == ':') in inet_pton6()
172 if(*++src != ':') in inet_pton6()
174 curtok = src; in inet_pton6()
177 while((ch = *src++) != '\0') { in inet_pton6()
[all …]
H A Dstrdup.c70 wchar_t *Curl_wcsdup(const wchar_t *src) in Curl_wcsdup() argument
72 size_t length = wcslen(src); in Curl_wcsdup()
77 return (wchar_t *)Curl_memdup(src, (length + 1) * sizeof(wchar_t)); in Curl_wcsdup()
91 void *Curl_memdup(const void *src, size_t length) in Curl_memdup() argument
97 memcpy(buffer, src, length); in Curl_memdup()
112 void *Curl_memdup0(const char *src, size_t length) in Curl_memdup0() argument
117 memcpy(buf, src, length); in Curl_memdup0()
H A Dinet_ntop.c61 static char *inet_ntop4(const unsigned char *src, char *dst, size_t size) in inet_ntop4() argument
70 ((int)((unsigned char)src[0])) & 0xff, in inet_ntop4()
71 ((int)((unsigned char)src[1])) & 0xff, in inet_ntop4()
72 ((int)((unsigned char)src[2])) & 0xff, in inet_ntop4()
73 ((int)((unsigned char)src[3])) & 0xff); in inet_ntop4()
87 static char *inet_ntop6(const unsigned char *src, char *dst, size_t size) in inet_ntop6() argument
111 words[i/2] |= ((unsigned int)src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
155 if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) { in inet_ntop6()
192 char *Curl_inet_ntop(int af, const void *src, char *buf, size_t size) in Curl_inet_ntop() argument
196 return inet_ntop4((const unsigned char *)src, buf, size); in Curl_inet_ntop()
[all …]
H A Dstrcase.c149 void Curl_strntoupper(char *dest, const char *src, size_t n) in Curl_strntoupper() argument
155 *dest++ = Curl_raw_toupper(*src); in Curl_strntoupper()
156 } while(*src++ && --n); in Curl_strntoupper()
164 void Curl_strntolower(char *dest, const char *src, size_t n) in Curl_strntolower() argument
170 *dest++ = Curl_raw_tolower(*src); in Curl_strntolower()
171 } while(*src++ && --n); in Curl_strntolower()
H A Dstrdup.h32 wchar_t* Curl_wcsdup(const wchar_t* src);
34 void *Curl_memdup(const void *src, size_t buffer_length);
36 void *Curl_memdup0(const char *src, size_t length);
H A Dversion.c237 src[i++] = ssl_version; in curl_version()
241 src[i++] = z_version; in curl_version()
245 src[i++] = br_version; in curl_version()
249 src[i++] = zstd_ver; in curl_version()
258 src[i++] = idn_ver; in curl_version()
262 src[i++] = psl_ver; in curl_version()
270 src[i++] = h2_version; in curl_version()
274 src[i++] = h3_version; in curl_version()
282 src[i++] = hyper_buf; in curl_version()
287 src[i++] = gsasl_buf; in curl_version()
[all …]
H A Dbase64.c76 CURLcode Curl_base64_decode(const char *src, in Curl_base64_decode() argument
91 srclen = strlen(src); in Curl_base64_decode()
98 while(src[srclen - 1 - padding] == '=') { in Curl_base64_decode()
138 val = lookup[(unsigned char)*src++]; in Curl_base64_decode()
155 if(*src == '=') { in Curl_base64_decode()
157 src++; in Curl_base64_decode()
163 val = lookup[(unsigned char)*src++]; in Curl_base64_decode()
H A Descape.c219 void Curl_hexencode(const unsigned char *src, size_t len, /* input length */ in Curl_hexencode() argument
223 DEBUGASSERT(src && len && (olen >= 3)); in Curl_hexencode()
224 if(src && len && (olen >= 3)) { in Curl_hexencode()
228 *out++ = (unsigned char)hex[(*src & 0xF0) >> 4]; in Curl_hexencode()
229 *out++ = (unsigned char)hex[*src & 0x0F]; in Curl_hexencode()
230 ++src; in Curl_hexencode()
H A Dstrcase.h48 void Curl_strntoupper(char *dest, const char *src, size_t n);
49 void Curl_strntolower(char *dest, const char *src, size_t n);
H A Daltsvc.c90 free(as->src.host); in altsvc_free()
129 as->src.host = Curl_memdup0(srchost, hlen); in altsvc_createid()
130 if(!as->src.host) in altsvc_createid()
137 as->src.alpnid = srcalpnid; in altsvc_createid()
139 as->src.port = curlx_ultous(srcport); in altsvc_createid()
276 Curl_alpnid2str(as->src.alpnid), in altsvc_out()
278 as->src.port, in altsvc_out()
448 if((srcalpnid == as->src.alpnid) && in altsvc_flush()
449 (srcport == as->src.port) && in altsvc_flush()
694 if((as->src.alpnid == srcalpnid) && in Curl_altsvc_lookup()
[all …]
/curl/
H A DDockerfile13 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl autoreconf -fi
14 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./configure -…
15 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl make
16 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./scripts/mak…
20 # docker run --rm -it -u $(id -u):$(id -g) -v (pwd):/usr/src -w /usr/src curl/curl bash
H A Dbuildconf.bat105 echo * %CD%\src\tool_hugehelp.c
143 echo * %CD%\src\tool_hugehelp.c
144 if exist src\tool_hugehelp.c (
145 del src\tool_hugehelp.c 2>NUL
146 if exist src\tool_hugehelp.c (
166 if exist src\tool_hugehelp.c.cvs (
167 copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c 1>NUL 2>&1
171 echo.>> src\tool_hugehelp.c
173 echo {>> src\tool_hugehelp.c
176 echo #endif>> src\tool_hugehelp.c
[all …]
H A DMakefile.am82 plan9/src/mkfile.inc \
83 plan9/src/mkfile
98 SUBDIRS = lib docs src scripts
106 include src/Makefile.inc
193 mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
244 (cd src && $(MAKE) checksrc)
251 (cd src && $(MAKE) tidy)
H A DMakefile.dist43 $(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
55 $(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
/curl/packages/vms/
H A Dgnv_link_curl.com398 $ link'ldebug'/exe=[.src]curl.exe/dsf=[.src]curl.dsf -
399 [.src]curl-tool_main.o, [.src]curl-tool_binmode.o, -
400 [.src]curl-tool_bname.o, [.src]curl-tool_cb_dbg.o, -
401 [.src]curl-tool_cb_hdr.o, [.src]curl-tool_cb_prg.o, -
402 [.src]curl-tool_cb_rea.o, [.src]curl-tool_cb_see.o, -
408 [.src]curl-tool_getpass.o, [.src]curl-tool_help.o, -
412 [.src]curl-tool_msgs.o, [.src]curl-tool_operate.o, -
415 [.src]curl-tool_setopt.o, [.src]curl-tool_sleep.o, -
416 [.src]curl-tool_urlglob.o, [.src]curl-tool_util.o, -
417 [.src]curl-tool_vms.o, [.src]curl-tool_writeenv.o, -
[all …]
H A Dclean_gnv_curl.com76 $ file = "lcl_root:[.src]*.lis"
79 $ file = "lcl_root:[.src]cc_temp*."
82 $ file = "lcl_root:[.src]*.dsf"
85 $ file = "lcl_root:[.src]*.o"
164 $ file = "lcl_root:[.src]config.h"
167 $ file = "lcl_root:[.src]curl."
230 $ file = "lcl_root:[.src]curl.exe"
/curl/tests/
H A Dmk-bundle-hints.sh35 src="${BASH_REMATCH[4]}"
36 if [ "${trg}" != "${src}" ]; then
39 ln -s "${pfx}${src}.c" "${dir}/${pfx}${trg}.c"
H A Dmk-bundle.pl129 my $src = "$2.c";
138 print "#include \"$src\"\n";
/curl/projects/Windows/
H A D.gitignore5 VC*/src/*curl.vcproj.dist
7 VC*/src/*curl.vcxproj.dist
/curl/tests/data/
H A Dtest147818 src/tool_listhelp.c is in sync with docs/cmdline-opts
28 %include %SRCDIR/../src/tool_listhelp.c%
/curl/docs/libcurl/opts/
H A DCURLOPT_PUT.md48 FILE *src = userdata;
51 size_t retcode = fread(ptr, size, nmemb, src);
60 FILE *src = fopen("local-file", "r");
73 curl_easy_setopt(curl, CURLOPT_READDATA, src);
H A DCURLOPT_UPLOAD.md56 FILE *src = userdata;
59 size_t retcode = fread(ptr, size, nmemb, src);
68 FILE *src = fopen("local-file", "r");
81 curl_easy_setopt(curl, CURLOPT_READDATA, src);
/curl/projects/
H A Dgenerate.bat93 call :generate vcxproj Windows\VC10\src\curl.tmpl Windows\VC10\src\curl.vcxproj
97 call :clean Windows\VC10\src\curl.vcxproj
108 call :generate vcxproj Windows\VC11\src\curl.tmpl Windows\VC11\src\curl.vcxproj
112 call :clean Windows\VC11\src\curl.vcxproj
123 call :generate vcxproj Windows\VC12\src\curl.tmpl Windows\VC12\src\curl.vcxproj
127 call :clean Windows\VC12\src\curl.vcxproj
157 for /f "delims=" %%c in ('dir /b ..\src\*.c') do call :element %1 src "%%c" %3
159 for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element %1 src "%%h" %3
161 for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element %1 src "%%r" %3
217 rem %2 - Directory (src, lib, lib\vauth, lib\vquic, lib\vssh, lib\vtls)
/curl/tests/unit/
H A DMakefile.am38 -I$(top_srcdir)/src \
49 LDADD = $(top_builddir)/src/libcurltool.la \

Completed in 40 milliseconds

1234