/curl/lib/ |
H A D | curl_path.c | 133 if(!*cp || !homedir) in Curl_get_pathname() 139 cp += strspn(cp, WHITESPACE); in Curl_get_pathname() 142 if(*cp == '\"' || *cp == '\'') { in Curl_get_pathname() 143 quot = *cp++; in Curl_get_pathname() 156 if(cp[i] != '\'' && cp[i] != '\"' && in Curl_get_pathname() 157 cp[i] != '\\') { in Curl_get_pathname() 170 *cpp = &cp[i] + strspn(&cp[i], WHITESPACE); in Curl_get_pathname() 176 end = strchr(cp, '\0'); in Curl_get_pathname() 182 if(cp[0] == '/' && cp[1] == '~' && cp[2] == '/') { in Curl_get_pathname() 188 cp += 3; in Curl_get_pathname() [all …]
|
H A D | strtoofft.c | 187 const char *cp; in get_char() 190 cp = memchr(valchars, c, 10 + 26 + 26); in get_char() 192 if(!cp) in get_char() 195 value = cp - valchars; in get_char()
|
H A D | doh.c | 1060 cp = *buf; in local_decode_rdata_name() 1061 clen = *cp++; in local_decode_rdata_name() 1084 *buf = cp; in local_decode_rdata_name() 1114 cp = rrval; in local_decode_rdata_alpn() 1126 if('\\' == *cp || ',' == *cp) { in local_decode_rdata_alpn() 1193 lhrr->priority = (uint16_t)((cp[0] << 8) + cp[1]); in Curl_doh_decode_httpsrr() 1194 cp += 2; in Curl_doh_decode_httpsrr() 1200 pcode = (uint16_t)((*cp << 8) + (*(cp + 1))); in Curl_doh_decode_httpsrr() 1201 cp += 2; in Curl_doh_decode_httpsrr() 1202 plen = (uint16_t)((*cp << 8) + (*(cp + 1))); in Curl_doh_decode_httpsrr() [all …]
|
H A D | Makefile.mk | 277 COPY = -cp -afv $1 $2
|
H A D | ftp.c | 359 const char *cp; in ftp_cw_lc_write() local 377 cp = memchr(buf, '\r', blen); in ftp_cw_lc_write() 378 if(!cp) in ftp_cw_lc_write() 382 chunk_len = cp - buf; in ftp_cw_lc_write() 390 buf = cp + 1; in ftp_cw_lc_write()
|
/curl/tests/unit/ |
H A D | unit2604.c | 38 const char *cp; member 76 list[0].cp = calloc(1, too_long + 1); 77 fail_unless(list[0].cp, "could not alloc too long value"); 78 memset((void *)list[0].cp, 'a', too_long); 82 const char *cp = list[i].cp; variable 83 CURLcode result = Curl_get_pathname(&cp, &path, list[i].home); 85 list[i].cp, list[i].home, list[i].result); 91 if(cp && strcmp(cp, list[i].next)) { 93 cp, list[i].next); 106 free((void *)list[0].cp);
|
/curl/packages/OS400/ |
H A D | os400sys.c | 123 char *cp; in get_buffer() local 150 if(cp) { in get_buffer() 157 return cp; in get_buffer() 235 char *cp; in set_thread_string() local 243 if(cp) { in set_thread_string() 248 return cp; in set_thread_string() 663 char *cp; in Curl_ldap_get_values_len_a() local 683 free(cp); in Curl_ldap_get_values_len_a() 706 if(!cp) in Curl_ldap_get_dn_a() 737 if(!cp) in Curl_ldap_first_attribute_a() [all …]
|
H A D | ccsidcurl.c | 166 char *cp; in dynconvert() local 205 if(cp) in dynconvert() 206 d = cp; in dynconvert() 222 if(!cp) { in slist_convert() 418 char *cp; in curl_version_info_ccsid() local 503 cp += i; in curl_version_info_ccsid() 704 char *cp; in Curl_formadd_convert() local 717 if(!cp) in Curl_formadd_convert() 724 free(cp); in Curl_formadd_convert() 731 cp = cp2; in Curl_formadd_convert() [all …]
|
H A D | README.OS400 | 284 cp initscript.sh makelog): this is intended to create the makelog file with
|
/curl/tests/server/ |
H A D | socksd.c | 662 cp->fromclient += nwrite; in tunnel() 675 cp->fromremote += nwrite; in tunnel() 775 cp = &c[1]; in incoming() 776 cp->fromremote = 0; in incoming() 777 cp->fromclient = 0; in incoming() 778 cp->clientfd = newfd; in incoming() 780 cp->used = TRUE; in incoming() 788 if(cp->used) { in incoming() 791 cp->fromremote, cp->fromclient); in incoming() 792 sclose(cp->clientfd); in incoming() [all …]
|
H A D | tftpd.c | 895 char *cp; in do_tftp() local 922 filename = cp; in do_tftp() 926 if(*cp == '\0') { in do_tftp() 930 cp++; in do_tftp() 939 ++cp; in do_tftp() 942 mode = cp; in do_tftp() 950 option = cp; in do_tftp() 959 if(*cp) { in do_tftp() 968 for(cp = mode; cp && *cp; cp++) in do_tftp() 969 if(ISUPPER(*cp)) in do_tftp() [all …]
|
/curl/ |
H A D | appveyor.sh | 67 cp -f -p _bld/lib/*.dll _bld/src/ 70 cp -f -p "${openssl_root}"/*.dll _bld/src/ 145 ls _bld/lib/*.dll >/dev/null 2>&1 && cp -f -p _bld/lib/*.dll _bld/tests/libtest/
|
H A D | Makefile.am | 105 cp -p $$file $(distdir)$$strip; \ 168 cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ 169 cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
|
H A D | maketgz | 78 cp "$a" "$a$ext"
|
/curl/tests/data/ |
H A D | test1182 | 22 mkdir %LOGDIR/data ; mkdir %LOGDIR/log; cp %SRCDIR/data/test1 %LOGDIR/data; echo 'test:1:Test shoul…
|
/curl/plan9/include/ |
H A D | mkfile | 32 cp curl/*.h $DIR/
|
/curl/.github/workflows/ |
H A D | distcheck.yml | 50 mkdir run2; cp -p ./curl-99.98.97.* run2/
|
H A D | macos.yml | 161 sudo cp $i $i.orig 163 sudo cp /tmp/$i $i
|
H A D | linux.yml | 245 cp inc/*.h $HOME/bearssl/include 246 cp build/libbearssl.* $HOME/bearssl/lib
|
/curl/tests/certs/ |
H A D | Makefile.am | 144 cp $< $@
|
/curl/lib/vssh/ |
H A D | libssh.c | 2640 const char *cp; in sftp_quote() local 2694 cp = strchr(cmd, ' '); in sftp_quote() 2695 if(!cp) { in sftp_quote() 2707 result = Curl_get_pathname(&cp, &sshc->quote_path1, sshc->homedir); in sftp_quote() 2734 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 2756 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 2780 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote()
|
H A D | libssh2.c | 1494 const char *cp; in ssh_statemach_act() local 1547 cp = strchr(cmd, ' '); in ssh_statemach_act() 1548 if(!cp) { in ssh_statemach_act() 1561 result = Curl_get_pathname(&cp, &sshc->quote_path1, sshc->homedir); in ssh_statemach_act() 1588 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in ssh_statemach_act() 1609 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in ssh_statemach_act() 1634 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in ssh_statemach_act()
|