Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 260) sorted by relevance

1234567891011

/third_party/ffmpeg/libavformat/
Dlrcenc.c69 char *delim; in lrc_write_header() local
73 while((delim = strchr(metadata_item->value, '\n'))) { in lrc_write_header()
74 *delim = ' '; in lrc_write_header()
76 while((delim = strchr(metadata_item->value, '\r'))) { in lrc_write_header()
77 *delim = ' '; in lrc_write_header()
91 char *delim; in lrc_write_packet() local
99 for(delim = data + pkt->size - 1; in lrc_write_packet()
100 delim >= data && (delim[0] == '\n' || delim[0] == '\r'); delim--) { in lrc_write_packet()
101 delim[0] = '\0'; // Strip last empty lines in lrc_write_packet()
109 delim = strchr(line, '\n'); in lrc_write_packet()
[all …]
/third_party/boost/boost/io/detail/
Dquoted_manip.hpp33 Char escape='\\', Char delim='\"');
39 Char escape='\\', Char delim='\"');
44 quoted(const Char* s, Char escape='\\', Char delim='\"');
56 Char delim; member
59 : string(s_), escape(escape_), delim(delim_) {} in quoted_proxy()
69 std::basic_string<Char, Traits, Alloc> const & string, Char escape, Char delim) in basic_string_inserter_imp() argument
71 os << delim; in basic_string_inserter_imp()
79 if (*it == delim || *it == escape) in basic_string_inserter_imp()
83 os << delim; in basic_string_inserter_imp()
93 return basic_string_inserter_imp(os, proxy.string, proxy.escape, proxy.delim); in operator <<()
[all …]
/third_party/boost/boost/spirit/home/classic/utility/impl/
Dlists.ipp45 ItemT const &item, DelimT const &delim, EndT const &end)
51 refactor_item_d[item - (end | delim)]
52 >> *(delim >> refactor_item_d[item - (end | delim)])
53 >> !(delim >> end)
68 ItemT const &item, DelimT const &delim, no_list_endtoken const&)
74 refactor_item_d[item - delim]
75 >> *(delim >> refactor_item_d[item - delim])
96 ItemT const &item, DelimT const &delim, EndT const &end)
99 (item - (end | delim))
100 >> *(delim >> (item - (end | delim)))
[all …]
/third_party/boost/boost/io/
Dquoted.hpp25 Char delim; member
37 quoted_start(const Char* string, Char escape, Char delim) in quoted_start() argument
42 count += 1 + (ch == escape || ch == delim); in quoted_start()
51 quoted_start(const String* string, Char escape, Char delim) in quoted_start() argument
58 count += 1 + (ch == escape || ch == delim); in quoted_start()
67 std::size_t size, std::size_t count, Char escape, Char delim) in quoted_put() argument
69 if (buf.sputc(delim) == Traits::eof()) { in quoted_put()
79 if ((ch == escape || ch == delim) && in quoted_put()
88 return buf.sputc(delim) != Traits::eof(); in quoted_put()
94 Char delim) in quoted_out() argument
[all …]
Dostream_joiner.hpp56 ostream_joiner(ostream_type& output, const Delim& delim) in ostream_joiner() argument
58 , delim_(delim) in ostream_joiner()
62 ostream_joiner(ostream_type& output, Delim&& delim) in ostream_joiner() argument
64 , delim_(std::move(delim)) in ostream_joiner()
100 make_ostream_joiner(std::basic_ostream<Char, Traits>& output, Delim&& delim) in make_ostream_joiner() argument
103 Traits>(output, std::forward<Delim>(delim)); in make_ostream_joiner()
109 const Delim& delim) in make_ostream_joiner() argument
111 return ostream_joiner<Delim, Char, Traits>(output, delim); in make_ostream_joiner()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DStringTokenizer.java117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument
119 this(str, delim, returndelims, false); in StringTokenizer()
145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
149 if (delim == null) { in StringTokenizer()
153 m_delimiters_ = delim; in StringTokenizer()
180 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument
182 this(str, delim, false, false); in StringTokenizer()
199 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument
201 this(str, delim, returndelims, false); // java default behavior in StringTokenizer()
227 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTokenizer.java117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument
119 this(str, delim, returndelims, false); in StringTokenizer()
145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
149 if (delim == null) { in StringTokenizer()
153 m_delimiters_ = delim; in StringTokenizer()
181 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument
183 this(str, delim, false, false); in StringTokenizer()
201 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument
203 this(str, delim, returndelims, false); // java default behavior in StringTokenizer()
229 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
[all …]
/third_party/boost/boost/spirit/home/karma/nonterminal/detail/
Dgenerator_binder.hpp29 , Delimiter const& delim, mpl::true_) const in call()
33 return g.generate(sink, context, delim, unused); in call()
38 , Delimiter const& delim, mpl::false_) const in call()
42 return g.generate(sink, context, delim in call()
48 , Delimiter const& delim) const in operator ()()
52 return call(sink, context, delim, auto_rule()); in operator ()()
67 , Delimiter const& delim) const in operator ()()
70 return g.generate(sink, context, delim in operator ()()
/third_party/iptables/extensions/
Dlibxt_limit.c50 const char *delim; in parse_rate() local
54 delim = strchr(rate, '/'); in parse_rate()
55 if (delim) { in parse_rate()
56 if (strlen(delim+1) == 0) in parse_rate()
59 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate()
61 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate()
63 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate()
65 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspurl.c104 gchar *p, *delim, *at, *col; in gst_rtsp_url_parse() local
130 delim = strpbrk (p, "/?"); in gst_rtsp_url_parse()
133 if (at && delim && at > delim) in gst_rtsp_url_parse()
157 if (!host_end || (delim && host_end >= delim)) in gst_rtsp_url_parse()
169 if (col && delim && col >= delim) in gst_rtsp_url_parse()
172 host_end = col ? col : delim; in gst_rtsp_url_parse()
188 p = delim; in gst_rtsp_url_parse()
191 delim = strchr (p, '?'); in gst_rtsp_url_parse()
192 if (!delim) in gst_rtsp_url_parse()
195 res->abspath = g_strndup (p, delim - p); in gst_rtsp_url_parse()
[all …]
/third_party/ltp/testcases/lib/
Dtst_check_kconfigs.c12 char *delim = argv[2]; in main() local
17 delim = ","; in main()
20 if (strlen(delim) > 1) { in main()
32 if (str[i] == delim[0]) in main()
43 kconfigs[i] = strtok_r(str, delim, &str); in main()
/third_party/boost/boost/spirit/home/karma/stream/detail/
Dformat_manip.hpp35 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
39 : expr(xpr), delim(d), pre(pre_delimit), attr(a) {} in format_manip()
42 Delimiter const& delim; member
54 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
58 : expr(xpr), delim(d), pre(pre_delimit), attr(a) {} in format_manip()
61 Delimiter const& delim; member
73 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
77 : expr(xpr), delim(d), pre(pre_delimit), attr(a) {} in format_manip()
80 Delimiter const& delim; member
180 if (!karma::generate_delimited(sink, fm.expr, fm.delim, fm.pre)) in operator <<()
[all …]
/third_party/boost/boost/spirit/home/karma/
Dreference.hpp44 , Delimiter const& delim, Attribute const& attr) const in generate()
46 return ref.get().generate(sink, context, delim, attr); in generate()
54 , Delimiter const& delim, unused_type) const in generate()
56 return ref.get().generate(sink, context, delim, context.attributes); in generate()
63 , Delimiter const& delim, unused_type) const in generate()
65 return ref.get().generate(sink, unused, delim, unused); in generate()
/third_party/python/Lib/
Dcsv.py255 delim = max(delims, key=delims.get)
256 skipinitialspace = delims[delim] == spaces
257 if delim == '\n': # most likely a file with a single column
258 delim = ''
261 delim = ''
268 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE)
277 return (quotechar, doublequote, delim, skipinitialspace)
352 delim = list(delims.keys())[0]
353 skipinitialspace = (data[0].count(delim) ==
354 data[0].count("%c " % delim))
[all …]
/third_party/gettext/gettext-tools/src/
Dx-perl.c674 extract_quotelike_pass1 (int delim) in extract_quotelike_pass1() argument
685 buffer[bufpos++] = delim; in extract_quotelike_pass1()
688 switch (delim) in extract_quotelike_pass1()
704 counter_delim = delim; in extract_quotelike_pass1()
729 if (nested && c == delim) in extract_quotelike_pass1()
731 char *inner = extract_quotelike_pass1 (delim); in extract_quotelike_pass1()
754 else if (c == delim || c == counter_delim) in extract_quotelike_pass1()
775 extract_quotelike_pass1_utf8 (int delim) in extract_quotelike_pass1_utf8() argument
777 char *string = extract_quotelike_pass1 (delim); in extract_quotelike_pass1_utf8()
800 token_type_ty delim, bool eat_delim,
[all …]
/third_party/boost/boost/regex/v4/
Dprimary_transform.hpp64 unsigned find_sort_syntax(const traits* pt, charT* delim) in find_sort_syntax() argument
80 *delim = 0; in find_sort_syntax()
93 *delim = 0; in find_sort_syntax()
103 *delim = maybe_delim; in find_sort_syntax()
114 *delim = static_cast<charT>(++pos); in find_sort_syntax()
120 *delim = 0; in find_sort_syntax()
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcstok.c30 wchar_t delim[] = L","; in wcstok_0100() local
34 wchar_t *token = wcstok(str, delim, &ptr); in wcstok_0100()
39 token = wcstok(NULL, delim, &ptr); in wcstok_0100()
56 wchar_t delim[] = L",."; in wcstok_0200() local
58 wchar_t *result = wcstok(str, delim, &ptr); in wcstok_0200()
/third_party/boost/libs/io/doc/
Dostream_joiner.adoc65 ostream_joiner(ostream_type& output, const Delim& delim);
66 ostream_joiner(ostream_type& output, Delim&& delim);
78 make_ostream_joiner(std::basic_ostream<Char, Traits>& output, Delim&& delim);
87 ostream_joiner(ostream_type& output, const Delim& delim);
92 `std::addressof(output)` and the stored delimiter with `delim`.
95 ostream_joiner(ostream_type& output, Delim&& delim);
100 `std::addressof(output)` and the stored delimiter with `std::move(delim)`.
133 make_ostream_joiner(std::basic_ostream<Char, Traits>& output, Delim&& delim);
138 std::forward<Delim>(delim))`.
Dquoted.adoc69 Char escape='\\', Char delim='\"');
73 quoted(const Char* string, Char escape='\\', Char delim='\"');
78 Char escape='\\', Char delim='\"');
96 * `delim`
98 `escape` or `delim`, as determined by `operator==`, first output `escape`.
99 * `delim`
100 Remarks:: `string`, `escape`, and `delim` have the type and value of the
117 * If the first character extracted is equal to `delim`, as determined by
121 ** Until an unescaped `delim` character is reached or `is.not_good()`, extract
124 ** Discard the final `delim` character.
[all …]
/third_party/flutter/skia/third_party/externals/sdl/premake/util/
Dsdl_string.lua47 function explode(str, delim)
48 return str:explode(delim)
54 string.explode = function(str, delim)
56 local needle = string.find(str, delim)
60 needle = string.find(str, delim)
/third_party/boost/libs/asio/include/boost/asio/
Dread_until.hpp136 BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
181 char delim, boost::system::error_code& ec,
243 BOOST_ASIO_STRING_VIEW_PARAM delim,
288 BOOST_ASIO_STRING_VIEW_PARAM delim,
653 boost::asio::basic_streambuf<Allocator>& b, char delim);
687 boost::asio::basic_streambuf<Allocator>& b, char delim,
741 BOOST_ASIO_STRING_VIEW_PARAM delim);
776 BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec);
1096 std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
1137 char delim, boost::system::error_code& ec,
[all …]
/third_party/boost/boost/asio/
Dread_until.hpp136 BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
181 char delim, boost::system::error_code& ec,
243 BOOST_ASIO_STRING_VIEW_PARAM delim,
288 BOOST_ASIO_STRING_VIEW_PARAM delim,
653 boost::asio::basic_streambuf<Allocator>& b, char delim);
687 boost::asio::basic_streambuf<Allocator>& b, char delim,
741 BOOST_ASIO_STRING_VIEW_PARAM delim);
776 BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec);
1096 std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
1137 char delim, boost::system::error_code& ec,
[all …]
/third_party/toybox/toys/posix/
Dsed.c187 char delim;
666 do_lines(fd, TT.delim, sed_line); in do_sed_file()
685 static char *unescape_delimited_string(char **pstr, char *delim) in unescape_delimited_string() argument
691 if (!delim || !*delim) { in unescape_delimited_string()
695 if (delim) *delim = d; in unescape_delimited_string()
696 } else d = *delim; in unescape_delimited_string()
697 to = delim = xmalloc(strlen(*pstr)+1); in unescape_delimited_string()
743 return delim; in unescape_delimited_string()
846 char *end, delim = 0; in parse_pattern() local
856 if (!(TT.remember = unescape_delimited_string(&line, &delim))) in parse_pattern()
[all …]
/third_party/boost/boost/spirit/home/karma/detail/
Dfail_function.hpp26 : sink(sink_), ctx(context_), delim(delim_) in fail_function()
36 return !component.generate(sink, ctx, delim, attr); in operator ()()
46 return !component.generate(sink, ctx, delim, unused); in operator ()()
51 Delimiter const& delim; member
/third_party/node/deps/icu-small/source/tools/pkgdata/
Dpkgtypes.c30 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i… in pkg_writeCharListWrap() argument
62 if(l->next && delim) in pkg_writeCharListWrap()
68 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap()
76 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) in pkg_writeCharList() argument
110 if(l->next && delim) in pkg_writeCharList()
112 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharList()

1234567891011