Home
last modified time | relevance | path

Searched refs:parens (Results 1 – 25 of 65) sorted by relevance

123

/external/openfst/src/include/fst/extensions/pdt/
Dpdtscript.h60 vector<pair<typename Arc::Label, typename Arc::Label> > parens( in PdtCompose()
63 for (size_t i = 0; i < parens.size(); ++i) { in PdtCompose()
64 parens[i].first = args->arg3[i].first; in PdtCompose()
65 parens[i].second = args->arg3[i].second; in PdtCompose()
69 Compose(ifst1, parens, ifst2, ofst, args->arg5); in PdtCompose()
71 Compose(ifst1, ifst2, parens, ofst, args->arg5); in PdtCompose()
77 const vector<pair<int64, int64> > &parens,
103 vector<pair<typename Arc::Label, typename Arc::Label> > parens( in PdtExpand()
105 for (size_t i = 0; i < parens.size(); ++i) { in PdtExpand()
106 parens[i].first = args->arg2[i].first; in PdtExpand()
[all …]
Dreverse.h40 typename Arc::Label> > &parens, in Reverse()
49 for (size_t i = 0; i < parens.size(); ++i) { in Reverse()
50 relabel_pairs.push_back(make_pair(parens[i].first, parens[i].second)); in Reverse()
51 relabel_pairs.push_back(make_pair(parens[i].second, parens[i].first)); in Reverse()
Dcompose.h296 const vector<pair<Label, Label> > *parens = 0,
299 parens_(parens ? *parens : vector<pair<Label, Label> >()), in filter_()
305 if (parens) { in filter_()
306 for (size_t i = 0; i < parens->size(); ++i) { in filter_()
307 const pair<Label, Label> &p = (*parens)[i]; in filter_()
433 const vector<pair<Label, Label> > &parens,
439 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, &parens,
463 const vector<pair<Label, Label> > &parens,
468 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, &parens,
497 typename Arc::Label> > &parens,
[all …]
Dinfo.h48 typename A::Label> > &parens);
79 typename A::Label> > &parens) in PdtInfo()
94 for (size_t i = 0; i < parens.size(); ++i) { in PdtInfo()
95 const pair<Label, Label> &p = parens[i]; in PdtInfo()
113 Label open_paren = parens[pit->second].first; in PdtInfo()
114 Label close_paren = parens[pit->second].second; in PdtInfo()
Dreplace.h55 typename Arc::Label> > *parens, in Replace()
62 parens->clear(); in Replace()
166 open_paren = (*parens)[paren_id].first; in Replace()
167 close_paren = (*parens)[paren_id].second; in Replace()
173 if (paren_id >= parens->size()) in Replace()
174 parens->push_back(make_pair(open_paren, close_paren)); in Replace()
Dexpand.h87 typename Arc::Label> > &parens, in ExpandFstImpl()
90 stack_(opts.stack ? opts.stack: new PdtStack<StateId, Label>(parens)), in ExpandFstImpl()
240 typename Arc::Label> > &parens) in ExpandFst()
241 : ImplToFst<Impl>(new Impl(fst, parens, ExpandFstOptions<A>())) {} in ExpandFst()
245 typename Arc::Label> > &parens, in ExpandFst()
247 : ImplToFst<Impl>(new Impl(fst, parens, opts)) {} in ExpandFst()
351 const vector<pair<Label, Label> > &parens,
356 stack_(parens),
357 efst_(ifst, parens,
360 Reverse(*ifst_, parens, &rfst_);
[all …]
Dpdt.h58 PdtStack(const vector<pair<Label, Label> > &parens) in PdtStack() argument
59 : parens_(parens), min_paren_(kNoLabel), max_paren_(kNoLabel) { in PdtStack()
60 for (size_t i = 0; i < parens.size(); ++i) { in PdtStack()
61 const pair<Label, Label> &p = parens[i]; in PdtStack()
/external/openfst/src/extensions/pdt/
Dpdtscript.cc42 const vector<pair<int64, int64> > &parens, in PdtCompose()
49 PdtComposeArgs args(ifst1, ifst2, parens, ofst, copts, left_pdt); in PdtCompose()
55 const vector<pair<int64, int64> > &parens, in PdtExpand()
57 PdtExpandArgs args(ifst, parens, ofst, opts); in PdtExpand()
63 const vector<pair<int64, int64> > &parens, in PdtExpand()
65 PdtExpand(ifst, parens, ofst, PdtExpandOptions(connect)); in PdtExpand()
70 vector<pair<int64, int64> > *parens, in PdtReplace()
79 PdtReplaceArgs args(fst_tuples, ofst, parens, root); in PdtReplace()
85 const vector<pair<int64, int64> > &parens, in PdtReverse()
87 PdtReverseArgs args(ifst, parens, ofst); in PdtReverse()
[all …]
Dpdtinfo.cc53 vector<pair<int64, int64> > parens; in main() local
54 fst::ReadLabelPairs(FLAGS_pdt_parentheses, &parens, false); in main()
56 s::PrintPdtInfo(*ifst, parens); in main()
Dpdtreverse.cc52 vector<pair<int64, int64> > parens, rparens; in main() local
53 fst::ReadLabelPairs(FLAGS_pdt_parentheses, &parens, false); in main()
56 s::PdtReverse(*ifst, parens, &ofst); in main()
Dpdtexpand.cc57 vector<pair<int64, int64> > parens; in main() local
58 fst::ReadLabelPairs(FLAGS_pdt_parentheses, &parens, false); in main()
65 s::PdtExpand(*ifst, parens, &ofst, s::PdtExpandOptions( in main()
Dpdtshortestpath.cc58 vector<pair<int64, int64> > parens, rparens; in main() local
59 fst::ReadLabelPairs(FLAGS_pdt_parentheses, &parens, false); in main()
77 s::PdtShortestPath(*ifst, parens, &ofst, opts); in main()
Dpdtreplace.cc66 vector<pair<int64, int64> > parens; in main() local
67 s::PdtReplace(fst_tuples, &ofst, &parens, root); in main()
70 fst::WriteLabelPairs(FLAGS_pdt_parentheses, parens); in main()
Dpdtcompose.cc72 vector<pair<int64, int64> > parens; in main() local
73 fst::ReadLabelPairs(FLAGS_pdt_parentheses, &parens, false); in main()
93 s::PdtCompose(*ifst1, *ifst2, parens, &ofst, copts, FLAGS_left_pdt); in main()
/external/markdown/MarkdownTest/Tests_2007/
DLinks, inline style.text17 [With parens in the URL](http://en.wikipedia.org/wiki/WIMP_(computing))
19 (With outer parens and [parens in url](/foo(bar)))
22 [With parens in the URL](/foo(bar) "and a title")
24 (With outer parens and [parens in url](/foo(bar) "and a title"))
/external/openfst/src/include/fst/
Dsparse-tuple-weight.h514 stack<int> parens; in ReadWithParen() local
516 while (c != separator || !parens.empty()) { in ReadWithParen()
524 parens.push(1); in ReadWithParen()
527 if (parens.empty()) { in ReadWithParen()
531 parens.pop(); in ReadWithParen()
564 stack<int> parens; in ReadWithParen() local
566 while (c != separator || !parens.empty()) { in ReadWithParen()
574 parens.push(1); in ReadWithParen()
577 if (parens.empty()) { in ReadWithParen()
581 parens.pop(); in ReadWithParen()
[all …]
Dpair-weight.h159 stack<int> parens; in ReadWithParen() local
161 while (c != separator || !parens.empty()) { in ReadWithParen()
169 parens.push(1); in ReadWithParen()
172 if (parens.empty()) { in ReadWithParen()
176 parens.pop(); in ReadWithParen()
Dtuple-weight.h189 stack<int> parens; in ReadWithParen() local
192 while (c != separator || !parens.empty()) { in ReadWithParen()
200 parens.push(1); in ReadWithParen()
203 if (parens.empty()) { in ReadWithParen()
207 parens.pop(); in ReadWithParen()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
Dpep8.py414 parens = [0] * nrows
504 if (parens[row] and token_type not in (tokenize.NL, tokenize.COMMENT)
529 parens[row] += 1
548 if parens[idx]:
549 parens[idx] -= 1
652 parens = 0
660 parens += 1
662 parens -= 1
688 if text == '=' and parens:
750 parens = 0
[all …]
/external/lldb/source/Core/
DConstString.cpp296 const char *parens = cstr ? "\"" : ""; in DumpDebug() local
297 …tring = %s%s%s, length = %" PRIu64, (int)sizeof(void*) * 2, this, parens, cstr, parens, (uint64_t)… in DumpDebug()
/external/mesa3d/src/glsl/glcpp/tests/
D022-define-func-arg-with-parens.c.expected2 (argument(including parens)for the win)
D022-define-func-arg-with-parens.c2 foo(argument(including parens)for the win)
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/
D022-define-func-arg-with-parens.c.expected2 (argument(including parens)for the win)
D022-define-func-arg-with-parens.c2 foo(argument(including parens)for the win)
/external/chromium_org/tools/gyp/test/mac/xcode-env-order/
Dtest.gyp46 'action_name': 'Action copy parens $(PRODUCT_NAME) $(FOO)',
47 'description': 'Action copy parens $(PRODUCT_NAME) $(FOO)',
99 'message': 'Rule parens $(PRODUCT_NAME) $(FOO) <(RULE_INPUT_NAME)',

123