Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 19 of 19) sorted by relevance

/curl/lib/vssh/
H A Dcurl_path.c133 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 Dlibssh.c2646 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 Dlibssh2.c966 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 Dunit2604.c39 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 Dos400sys.c123 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 Dccsidcurl.c166 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 DREADME.OS400283 cp initscript.sh makelog): this is intended to create the makelog file with
/curl/tests/server/
H A Dsocksd.c659 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 Dtftpd.c892 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 Dstrtoofft.c187 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 Ddoh.c1062 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 DMakefile.mk285 COPY = -cp -afv $1 $2
H A Dftp.c358 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 Dtest118222 mkdir %LOGDIR/data ; mkdir %LOGDIR/log; cp %SRCDIR/data/test1 %LOGDIR/data; echo 'test:1:Test shoul…
/curl/
H A DMakefile.am114 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 Dmkfile32 cp curl/*.h $DIR/
/curl/tests/certs/
H A DMakefile.am64 cp $< $@
/curl/scripts/
H A Dmaketgz85 cp "$a" "$a$ext"
/curl/.github/workflows/
H A Dlinux.yml350 cp inc/*.h $HOME/bearssl/include
351 cp build/libbearssl.* $HOME/bearssl/lib

Completed in 73 milliseconds