HomeSort by relevance Sort by last modified time
    Searched defs:ParenState (Results 1 - 2 of 2) sorted by null

  /external/openfst/src/include/fst/extensions/pdt/
paren.h 43 // ParenState: Pair of an open (close) parenthesis and
48 class ParenState {
54 size_t operator()(const ParenState<A> &p) const {
62 ParenState() : paren_id(kNoLabel), state_id(kNoStateId) {}
64 ParenState(Label p, StateId s) : paren_id(p), state_id(s) {}
66 bool operator==(const ParenState<A> &p) const {
72 bool operator!=(const ParenState<A> &p) const { return !(p == *this); }
74 bool operator<(const ParenState<A> &p) const {
84 const size_t ParenState<A>::kPrime = 7853;
127 typedef unordered_map<ParenState<A>, ssize_t
    [all...]
  /external/clang/lib/Format/
Format.cpp 332 State.Stack.push_back(ParenState(FirstIndent, FirstIndent,
378 struct ParenState {
379 ParenState(unsigned Indent, unsigned LastSpace, bool AvoidBinPacking,
449 /// \brief \c true if this \c ParenState already contains a line-break.
451 /// The first line break in a certain \c ParenState causes extra penalty so
456 bool operator<(const ParenState &Other) const {
517 std::vector<ParenState> Stack;
527 /// ParenState stack (in an otherwise identical state) and these different
    [all...]

Completed in 139 milliseconds