Home
last modified time | relevance | path

Searched refs:crlf (Results 1 - 25 of 34) sorted by relevance

12

/third_party/jerryscript/tests/jerry/es2015/
H A Dtemplate_string.js97 var crlf = eval("`a" + String.fromCharCode(13,10) + "b`"); variable
101 assert(crlf.length === 3);
103 assert(lf[1] === crlf[1]);
104 assert(crlf[1] === '\n');
/third_party/python/Modules/
H A Dbinascii.c1077 int crlf = 0; in binascii_b2a_qp_impl() local
1089 crlf = 1; in binascii_b2a_qp_impl()
1109 if (crlf) in binascii_b2a_qp_impl()
1128 if (crlf) in binascii_b2a_qp_impl()
1142 if (crlf) in binascii_b2a_qp_impl()
1183 if (crlf) odata[out++] = '\r'; in binascii_b2a_qp_impl()
1208 if (crlf) odata[out++] = '\r'; in binascii_b2a_qp_impl()
1220 if (crlf) odata[out++] = '\r'; in binascii_b2a_qp_impl()
/third_party/lwip/src/apps/smtp/
H A Dsmtp.c990 u16_t crlf; in smtp_is_response_finished() local
1007 crlf = pbuf_memfind(s->p, SMTP_CRLF, SMTP_CRLF_LEN, (u16_t)(offset + 4)); in smtp_is_response_finished()
1008 if (crlf == 0xFFFF) { in smtp_is_response_finished()
1015 offset = (u16_t)(crlf + 2); in smtp_is_response_finished()
1016 if (offset < crlf) { in smtp_is_response_finished()
1062 u16_t crlf = pbuf_memfind(s->p, SMTP_CRLF, SMTP_CRLF_LEN, auth); in smtp_prepare_auth_or_mail() local
1063 if ((crlf != 0xFFFF) && (crlf > auth)) { in smtp_prepare_auth_or_mail()
1065 u16_t copied = pbuf_copy_partial(s->p, s->tx_buf, (u16_t)(crlf - auth), auth); in smtp_prepare_auth_or_mail()
/third_party/rust/crates/nom/src/character/
H A Dstreaming.rs135 /// # use nom::character::streaming::crlf;
136 /// assert_eq!(crlf::<_, (_, ErrorKind)>("\r\nc"), Ok(("c", "\r\n")));
137 /// assert_eq!(crlf::<_, (_, ErrorKind)>("ab\r\nc"), Err(Err::Error(("ab\r\nc", ErrorKind::CrLf))));
138 /// assert_eq!(crlf::<_, (_, ErrorKind)>(""), Err(Err::Incomplete(Needed::new(2))));
140 pub fn crlf<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in crlf() functions
1085 assert_parse!(crlf(&b"\r\na"[..]), Ok((&b"a"[..], &b"\r\n"[..]))); in cr_lf()
1086 assert_parse!(crlf(&b"\r"[..]), Err(Err::Incomplete(Needed::new(2)))); in cr_lf()
1088 crlf(&b"\ra"[..]), in cr_lf()
1092 assert_parse!(crlf("\r\na"), Ok(("a", "\r\n"))); in cr_lf()
1093 assert_parse!(crlf("\ in cr_lf()
[all...]
H A Dcomplete.rs132 /// # use nom::character::complete::crlf;
134 /// crlf(input)
141 pub fn crlf<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in crlf() functions
1121 assert_parse!(crlf(&b"\r\na"[..]), Ok((&b"a"[..], &b"\r\n"[..]))); in cr_lf()
1123 crlf(&b"\r"[..]), in cr_lf()
1127 crlf(&b"\ra"[..]), in cr_lf()
1131 assert_parse!(crlf("\r\na"), Ok(("a", "\r\n"))); in cr_lf()
1133 crlf("\r"), in cr_lf()
1137 crlf("\ra"), in cr_lf()
/third_party/curl/scripts/
H A Dnroff2cd43 open(F, "<:crlf", "$f") ||
67 open(F, "<:crlf", "$f") || return 1;
/third_party/icu/icu4c/source/test/cintltst/
H A Dbocu1tst.c938 static const UChar crlf[]={ 0xd, 0xa, 0x20 }; variable
958 { crlf, UPRV_LENGTHOF(crlf) },
/third_party/curl/src/
H A Dtool_cfgable.h161 bool crlf; member
H A Dtool_getparam.c385 {"crlf", ARG_BOOL, ' ', C_CRLF},
1526 case C_CRLF: /* --crlf */ in getparameter()
1528 config->crlf = toggle; in getparameter()
H A Dtool_operate.c1826 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L); in single_transfer()
/third_party/curl/docs/cmdline-opts/
H A Dgen.pl34 We open *input* files in :crlf translation (a no-op on many platforms) in
37 :crlf so it has to be specified on each file open for text input.
325 open($fh, "<:crlf", "$f") ||
634 open(F, "<:crlf", "$f");
694 open($fh, "<:crlf", "$f");
809 open(F, "<:crlf", "$f") ||
854 open($fh, "<:crlf", "mainpage.idx") ||
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUnicodeSetStringSpanTest.java1095 UnicodeSet crlf = new UnicodeSet().add('\n').add('\r').add("\r\n"); in TestSpanAndCount()
1107 crlf.spanAndCount(s, 2, SpanCondition.CONTAINED, count)); in TestSpanAndCount()
1120 crlf.freeze(); in TestSpanAndCount()
1129 crlf.spanAndCount(s, 2, SpanCondition.CONTAINED, count)); in TestSpanAndCount()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetStringSpanTest.java1092 UnicodeSet crlf = new UnicodeSet().add('\n').add('\r').add("\r\n"); in TestSpanAndCount()
1104 crlf.spanAndCount(s, 2, SpanCondition.CONTAINED, count)); in TestSpanAndCount()
1117 crlf.freeze(); in TestSpanAndCount()
1126 crlf.spanAndCount(s, 2, SpanCondition.CONTAINED, count)); in TestSpanAndCount()
/third_party/python/Lib/
H A D_pyio.py1932 crlf = output.count('\r\n')
1933 cr = output.count('\r') - crlf
1934 lf = output.count('\n') - crlf
1936 | (crlf and self._CRLF)
1939 if crlf:
/third_party/curl/lib/
H A Dtransfer.c304 (data->set.crlf)) { in Curl_fillreadbuffer()
708 (data->set.crlf))) { in readwrite_upload()
731 if(!data->set.crlf) { in readwrite_upload()
H A Dsmtp.c180 512 - 8, /* Max line len - strlen("AUTH ") - 1 space - crlf */
436 if(ir) { /* AUTH <mech> ...<crlf> */ in smtp_perform_auth()
1840 if(!scratch || data->set.crlf) { in Curl_smtp_escape_eob()
H A Durldata.h1857 BIT(crlf); /* convert crlf on ftp upload(?) */
H A Dsetopt.c1861 data->set.crlf = (0 != va_arg(param, long)); in Curl_vsetopt()
/third_party/ffmpeg/libavformat/
H A Dhttp.c1823 char crlf[] = "\r\n"; in http_write() local
1839 (ret = ffurl_write(s->hd, crlf, sizeof(crlf) - 1)) < 0) in http_write()
/third_party/lwip/src/apps/http/
H A Dhttpd.c1880 /* If we come here, headers are fully received (double-crlf), but Content-Length
1971 char *crlf; local
2027 crlf = lwip_strnstr(data, CRLF, data_len);
2028 if (crlf != NULL) {
/third_party/curl/tests/
H A Drunner.pm357 if($1 =~ /crlf="yes"/ ||
/third_party/node/deps/openssl/openssl/apps/
H A Ds_client.c559 {"crlf", OPT_CRLF, '-', "Convert LF from terminal into CRLF"},
818 int key_format = FORMAT_UNDEF, crlf = 0, full_log = 1, mbuf_len = 0; in s_client_main() local
1076 crlf = 1; in s_client_main()
2999 if (crlf) { in s_client_main()
/third_party/openssl/apps/
H A Ds_client.c559 {"crlf", OPT_CRLF, '-', "Convert LF from terminal into CRLF"},
818 int key_format = FORMAT_UNDEF, crlf = 0, full_log = 1, mbuf_len = 0; in s_client_main() local
1076 crlf = 1; in s_client_main()
2999 if (crlf) { in s_client_main()
/third_party/pcre2/pcre2/
H A DRunGrepTest919 $valgrind $vjs $pcre2grep -n --newline=crlf "^(abc|def|ghi|jkl)" testNinputgrep >>testtrygrep
927 $valgrind $vjs $pcre2grep -n --newline=crlf -F -f $srcdir/testdata/greppatN4 testNinputgrep >>testtrygrep
H A DRunGrepTest.bat636 %pcre2grep% -n --newline=crlf "^(abc|def|ghi|jkl)" testNinputgrep >>testtrygrep
643 %pcre2grep% -n --newline=crlf -F -f %srcdir%/testdata/greppatN4 testNinputgrep >>testtrygrep

Completed in 70 milliseconds

12