/third_party/jerryscript/tests/jerry/es2015/ |
H A D | template_string.js | 97 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 D | binascii.c | 1077 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 D | smtp.c | 990 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 D | streaming.rs | 135 /// # 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 D | complete.rs | 132 /// # 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 D | nroff2cd | 43 open(F, "<:crlf", "$f") || 67 open(F, "<:crlf", "$f") || return 1;
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | bocu1tst.c | 938 static const UChar crlf[]={ 0xd, 0xa, 0x20 }; variable 958 { crlf, UPRV_LENGTHOF(crlf) },
|
/third_party/curl/src/ |
H A D | tool_cfgable.h | 161 bool crlf; member
|
H A D | tool_getparam.c | 385 {"crlf", ARG_BOOL, ' ', C_CRLF}, 1526 case C_CRLF: /* --crlf */ in getparameter() 1528 config->crlf = toggle; in getparameter()
|
H A D | tool_operate.c | 1826 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L); in single_transfer()
|
/third_party/curl/docs/cmdline-opts/ |
H A D | gen.pl | 34 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 D | UnicodeSetStringSpanTest.java | 1095 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 D | UnicodeSetStringSpanTest.java | 1092 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.py | 1932 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 D | transfer.c | 304 (data->set.crlf)) { in Curl_fillreadbuffer() 708 (data->set.crlf))) { in readwrite_upload() 731 if(!data->set.crlf) { in readwrite_upload()
|
H A D | smtp.c | 180 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 D | urldata.h | 1857 BIT(crlf); /* convert crlf on ftp upload(?) */
|
H A D | setopt.c | 1861 data->set.crlf = (0 != va_arg(param, long)); in Curl_vsetopt()
|
/third_party/ffmpeg/libavformat/ |
H A D | http.c | 1823 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 D | httpd.c | 1880 /* 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 D | runner.pm | 357 if($1 =~ /crlf="yes"/ ||
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | s_client.c | 559 {"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 D | s_client.c | 559 {"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 D | RunGrepTest | 919 $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 D | RunGrepTest.bat | 636 %pcre2grep% -n --newline=crlf "^(abc|def|ghi|jkl)" testNinputgrep >>testtrygrep
643 %pcre2grep% -n --newline=crlf -F -f %srcdir%/testdata/greppatN4 testNinputgrep >>testtrygrep
|