/curl/lib/vssh/ |
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 | libssh.c | 2646 const char *cp; in sftp_quote() local 2700 cp = strchr(cmd, ' '); in sftp_quote() 2701 if(!cp) { in sftp_quote() 2713 result = Curl_get_pathname(&cp, &sshc->quote_path1, sshc->homedir); in sftp_quote() 2740 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 2762 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 2786 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote()
|
H A D | libssh2.c | 966 const char *cp; in sftp_quote() local 1010 cp = strchr(cmd, ' '); in sftp_quote() 1011 if(!cp) { in sftp_quote() 1020 result = Curl_get_pathname(&cp, &sshc->quote_path1, sshc->homedir); in sftp_quote() 1041 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 1057 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote() 1076 result = Curl_get_pathname(&cp, &sshc->quote_path2, sshc->homedir); in sftp_quote()
|
/curl/tests/unit/ |
H A D | unit2604.c | 39 const char *cp; member 85 list[0].cp = calloc(1, too_long + 1); 86 fail_unless(list[0].cp, "could not alloc too long value"); 87 memset((void *)list[0].cp, 'a', too_long); 91 const char *cp = list[i].cp; variable 92 CURLcode result = Curl_get_pathname(&cp, &path, list[i].home); 94 list[i].cp, list[i].home, list[i].result); 100 if(cp && strcmp(cp, list[i].next)) { 102 cp, list[i].next); 115 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 | 283 cp initscript.sh makelog): this is intended to create the makelog file with
|
/curl/tests/server/ |
H A D | socksd.c | 659 cp->fromclient += nwrite; in tunnel() 672 cp->fromremote += nwrite; in tunnel() 772 cp = &c[1]; in incoming() 773 cp->fromremote = 0; in incoming() 774 cp->fromclient = 0; in incoming() 775 cp->clientfd = newfd; in incoming() 777 cp->used = TRUE; in incoming() 785 if(cp->used) { in incoming() 788 cp->fromremote, cp->fromclient); in incoming() 789 sclose(cp->clientfd); in incoming() [all …]
|
H A D | tftpd.c | 892 char *cp; in do_tftp() local 919 filename = cp; in do_tftp() 923 if(*cp == '\0') { in do_tftp() 927 cp++; in do_tftp() 936 ++cp; in do_tftp() 939 mode = cp; in do_tftp() 947 option = cp; in do_tftp() 956 if(*cp) { in do_tftp() 965 for(cp = mode; cp && *cp; cp++) in do_tftp() 966 if(ISUPPER(*cp)) in do_tftp() [all …]
|
/curl/lib/ |
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 | 1062 cp = *buf; in doh_decode_rdata_name() 1063 clen = *cp++; in doh_decode_rdata_name() 1086 *buf = cp; in doh_decode_rdata_name() 1116 cp = rrval; in doh_decode_rdata_alpn() 1128 if('\\' == *cp || ',' == *cp) { in doh_decode_rdata_alpn() 1195 lhrr->priority = (uint16_t)((cp[0] << 8) + cp[1]); in doh_resp_decode_httpsrr() 1196 cp += 2; in doh_resp_decode_httpsrr() 1202 pcode = (uint16_t)((*cp << 8) + (*(cp + 1))); in doh_resp_decode_httpsrr() 1203 cp += 2; in doh_resp_decode_httpsrr() 1204 plen = (uint16_t)((*cp << 8) + (*(cp + 1))); in doh_resp_decode_httpsrr() [all …]
|
H A D | Makefile.mk | 285 COPY = -cp -afv $1 $2
|
H A D | ftp.c | 358 const char *cp; in ftp_cw_lc_write() local 375 cp = memchr(buf, '\r', blen); in ftp_cw_lc_write() 376 if(!cp) in ftp_cw_lc_write() 380 chunk_len = cp - buf; in ftp_cw_lc_write() 388 buf = cp + 1; in ftp_cw_lc_write()
|
/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/ |
H A D | Makefile.am | 114 cp -p $$file $(distdir)$$strip; \ 189 cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ 190 cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
|
/curl/plan9/include/ |
H A D | mkfile | 32 cp curl/*.h $DIR/
|
/curl/tests/certs/ |
H A D | Makefile.am | 64 cp $< $@
|
/curl/scripts/ |
H A D | maketgz | 85 cp "$a" "$a$ext"
|
/curl/.github/workflows/ |
H A D | linux.yml | 350 cp inc/*.h $HOME/bearssl/include 351 cp build/libbearssl.* $HOME/bearssl/lib
|