Home
last modified time | relevance | path

Searched refs:eol (Results 1 - 25 of 59) sorted by relevance

123

/third_party/python/Lib/email/
H A Dquoprimime.py153 def body_encode(body, maxlinelen=76, eol=NL):
156 Each line of encoded text will end with eol, which defaults to "\\n". Set
161 eol string (maxlinelen defaults to 76 characters, the maximum value
180 soft_break = '=' + eol
226 return eol.join(encoded_body)
232 def decode(encoded, eol=NL):
235 Lines are separated with eol, which defaults to \\n.
247 decoded += eol
272 decoded += eol
273 # Special case if original string did not end with eol
[all...]
H A Dbase64mime.py79 def body_encode(s, maxlinelen=76, eol=NL):
85 Each line of encoded text will end with eol, which defaults to "\n". Set
98 if enc.endswith(NL) and eol != NL:
99 enc = enc[:-1] + eol
/third_party/libunwind/libunwind/src/
H A Dos-linux.h217 char *eol = NULL; in maps_next() local
223 eol = mi->buf + i; in maps_next()
229 if (!eol) in maps_next()
250 eol = mi->buf + bytes_left + nread - 1; in maps_next()
255 eol = mi->buf + i; in maps_next()
260 mi->buf = eol + 1; in maps_next()
261 *eol = '\0'; in maps_next()
/third_party/node/deps/npm/node_modules/ini/lib/
H A Dini.js17 const eol = opt.platform === 'win32' ? '\r\n' : '\n'
50 out += safe(`${k}${arraySuffix}`).padEnd(padToChars, ' ') + separator + safe(item) + eol
55 out += safe(k).padEnd(padToChars, ' ') + separator + safe(val) + eol
60 out = '[' + safe(opt.section) + ']' + (opt.newline ? eol + eol : eol) + out
71 out += eol
/third_party/toybox/toys/posix/
H A Duniq.c62 char *thisline = 0, *prevline = 0, *tmpline, eol = '\n'; in uniq_main() local
68 if (FLAG(z)) eol = 0; in uniq_main()
71 if (getdelim(&prevline, &prevsize, eol, infile) < 0) return; in uniq_main()
73 while (getdelim(&thisline, &thissize, eol, infile) > 0) { in uniq_main()
H A Dsed.c207 // Write out line with potential embedded NUL, handling eol/noeol
208 static int emit(char *line, long len, int eol) in emit() argument
213 TT.noeol = !eol; in emit()
214 if (eol) line[len++] = '\n'; in emit()
217 if (eol) line[len-1] = old; in emit()
265 int eol = 0, tea = 0; in sed_line() local
282 if (line[len-1] == '\n') line[--len] = eol++; in sed_line()
465 if (emit(line, l ? l-line : len, eol)) break; in sed_line()
575 if (command->sflags & 4) emit(line, len, eol); in sed_line()
596 if (emit(line, len, eol)) in sed_line()
[all...]
/third_party/nghttp2/src/
H A Dshrpx_api_downstream_connection.cc381 auto eol = std::find(first, last, '\n'); in handle_backendconfig() local
382 if (eol == last) { in handle_backendconfig()
386 if (first == eol || *first == '#') { in handle_backendconfig()
387 first = ++eol; in handle_backendconfig()
391 auto eq = std::find(first, eol, '='); in handle_backendconfig()
392 if (eq == eol) { in handle_backendconfig()
398 auto optval = StringRef{eq + 1, eol}; in handle_backendconfig()
406 first = ++eol; in handle_backendconfig()
416 first = ++eol; in handle_backendconfig()
/third_party/pulseaudio/src/pulse/
H A Dintrospect.h55 * without an information structure and the eol parameter set to a positive
62 * structure and eol set to a negative value..
295 typedef void (*pa_sink_info_cb_t)(pa_context *c, const pa_sink_info *i, int eol, void *userdata);
400 typedef void (*pa_source_info_cb_t)(pa_context *c, const pa_source_info *i, int eol, void *userdata);
479 typedef void (*pa_module_info_cb_t) (pa_context *c, const pa_module_info*i, int eol, void *userdata);
523 typedef void (*pa_client_info_cb_t) (pa_context *c, const pa_client_info*i, int eol, void *userdata);
619 typedef void (*pa_card_info_cb_t) (pa_context *c, const pa_card_info*i, int eol, void *userdata);
668 typedef void (*pa_sink_input_info_cb_t) (pa_context *c, const pa_sink_input_info *i, int eol, void *userdata);
720 typedef void (*pa_source_output_info_cb_t) (pa_context *c, const pa_source_output_info *i, int eol, void *userdata);
785 typedef void (*pa_sample_info_cb_t)(pa_context *c, const pa_sample_info *i, int eol, voi
[all...]
H A Dintrospect.c138 int eol = 1; in context_get_sink_info_callback() local
156 eol = -1; in context_get_sink_info_callback()
286 cb(o->context, NULL, eol, o->userdata); in context_get_sink_info_callback()
418 int eol = 1; in context_get_source_info_callback() local
436 eol = -1; in context_get_source_info_callback()
565 cb(o->context, NULL, eol, o->userdata); in context_get_source_info_callback()
697 int eol = 1; in context_get_client_info_callback() local
710 eol = -1; in context_get_client_info_callback()
741 cb(o->context, NULL, eol, o->userdata); in context_get_client_info_callback()
929 int eol in context_get_card_info_callback() local
1123 int eol = 1; context_get_module_info_callback() local
1208 int eol = 1; context_get_sink_input_info_callback() local
1313 int eol = 1; context_get_source_output_info_callback() local
1719 int eol = 1; context_get_sample_info_callback() local
[all...]
/third_party/lwip/src/netif/ppp/
H A Dutils.c526 char *p, *eol;
534 eol = strchr(buf, '\n');
536 l = (eol == NULL)? n: eol - buf;
542 if (eol == NULL)
544 p = eol + 1;
545 eol = strchr(p, '\n');
552 while (eol != NULL) {
553 *eol = 0;
555 p = eol
[all...]
/third_party/rust/crates/nom/tests/
H A Dmultiline.rs2 character::complete::{alphanumeric1 as alphanumeric, line_ending as eol},
12 eol(input) in end_of_line()
/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_common.c173 int eol, void *userdata) in pulse_audio_source_device_cb()
175 if (!eol) in pulse_audio_source_device_cb()
180 int eol, void *userdata) in pulse_audio_sink_device_cb()
182 if (!eol) in pulse_audio_sink_device_cb()
172 pulse_audio_source_device_cb(pa_context *c, const pa_source_info *dev, int eol, void *userdata) pulse_audio_source_device_cb() argument
179 pulse_audio_sink_device_cb(pa_context *c, const pa_sink_info *dev, int eol, void *userdata) pulse_audio_sink_device_cb() argument
/third_party/python/Objects/stringlib/
H A Dsplit.h357 Py_ssize_t eol; in splitlines() local
364 eol = i; in splitlines()
371 eol = i; in splitlines()
374 if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in splitlines()
381 SPLIT_APPEND(str, j, eol); in splitlines()
/third_party/node/deps/v8/third_party/zlib/
H A Dgzread.c552 unsigned char *eol; local
588 eol = (unsigned char *)memchr(state->x.next, '\n', n);
589 if (eol != NULL)
590 n = (unsigned)(eol - state->x.next) + 1;
599 } while (left && eol == NULL);
/third_party/node/deps/zlib/
H A Dgzread.c502 unsigned char *eol; in gzgets() local
538 eol = (unsigned char *)memchr(state->x.next, '\n', n); in gzgets()
539 if (eol != NULL) in gzgets()
540 n = (unsigned)(eol - state->x.next) + 1; in gzgets()
549 } while (left && eol == NULL); in gzgets()
/third_party/libwebsockets/win32port/zlib/
H A Dgzread.c546 unsigned char *eol; local
584 eol = memchr(state->next, '\n', n);
585 if (eol != NULL)
586 n = (unsigned)(eol - state->next) + 1;
595 } while (left && eol == NULL);
/third_party/skia/third_party/externals/zlib/
H A Dgzread.c554 unsigned char *eol; local
590 eol = (unsigned char *)memchr(state->x.next, '\n', n);
591 if (eol != NULL)
592 n = (unsigned)(eol - state->x.next) + 1;
601 } while (left && eol == NULL);
/third_party/zlib/
H A Dgzread.c584 unsigned char *eol; in gzgets() local
628 eol = (unsigned char *)memchr(state->x.next, '\n', n); in gzgets()
629 if (eol != NULL) in gzgets()
631 n = (unsigned)(eol - state->x.next) + 1; in gzgets()
641 } while (left && eol == NULL); in gzgets()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DTextFormat.java263 generator.eol(); in printUnknownFieldValue()
397 generator.eol(); in printAny()
402 generator.eol(); in printAny()
679 generator.eol(); in printUnknownFieldValue()
734 generator.eol(); in printSingleField()
746 generator.eol(); in printSingleField()
765 generator.eol(); in printUnknownFields()
770 generator.eol(); in printUnknownFields()
782 generator.eol(); in printUnknownField()
850 * method; to indicate the end of a line, call "eol()"
865 public void eol() throws IOException { eol() method in TextFormat.TextGenerator
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn_mime.c515 char eol; in SMIME_crlf_copy() local
543 eol = strip_eol(linebuf, &len, flags); in SMIME_crlf_copy()
553 if (eol) in SMIME_crlf_copy()
557 } else if (eol) { in SMIME_crlf_copy()
612 int eol = 0, next_eol = 0; in multi_split() local
650 } else if (eol) { in multi_split()
662 eol = next_eol; in multi_split()
/third_party/openssl/crypto/asn1/
H A Dasn_mime.c515 char eol; in SMIME_crlf_copy() local
537 eol = strip_eol(linebuf, &len, flags); in SMIME_crlf_copy()
547 if (eol) in SMIME_crlf_copy()
551 } else if (eol) { in SMIME_crlf_copy()
606 int eol = 0, next_eol = 0; in multi_split() local
644 } else if (eol) { in multi_split()
656 eol = next_eol; in multi_split()
/third_party/python/Tools/scripts/
H A Dgenerate_global_objects.py150 eol = '\n'
152 eol = f' \\{eol}' if arg else f'\\{eol}'
153 self.file.writelines((" "*self.level, arg, eol))
/third_party/cJSON/tests/unity/auto/
H A Dunity_to_junit.py45 eol = LineEnd().suppress()
47 blank_line = sol + eol
/third_party/python/Lib/distutils/
H A Dtext_file.py202 eol = (line[-1] == '\n') and '\n' or ''
203 line = line[0:pos] + eol
/third_party/unity/auto/
H A Dstylize_as_junit.py57 eol = LineEnd().suppress()
59 blank_line = sol + eol

Completed in 25 milliseconds

123