Home
last modified time | relevance | path

Searched refs:ctoken (Results 1 – 4 of 4) sorted by relevance

/external/antlr/runtime/Cpp/include/
Dantlr3commontoken.inl46 CommonToken<ImplTraits>::CommonToken( const CommonToken& ctoken ) argument
47 :m_tokText( ctoken.m_tokText )
49 m_type = ctoken.m_type;
50 m_channel = ctoken.m_channel;
51 m_lineStart = ctoken.m_lineStart;
52 m_line = ctoken.m_line;
53 m_charPositionInLine = ctoken.m_charPositionInLine;
54 m_input = ctoken.m_input;
55 m_index = ctoken.m_index;
56 m_startIndex = ctoken.m_startIndex;
[all …]
Dantlr3commontoken.hpp135 CommonToken( const CommonToken& ctoken );
137 CommonToken& operator=( const CommonToken& ctoken );
138 bool operator==( const CommonToken& ctoken ) const;
139 bool operator<( const CommonToken& ctoken ) const;
/external/toybox/toys/pending/
Dcrontab.c89 char *ctoken = strsep(&src, ","), *dtoken; in validate_component() local
91 if (!ctoken) break; in validate_component()
92 if (!*ctoken) return 1; in validate_component()
95 dtoken = strsep(&ctoken, "-"); in validate_component()
101 if (!ctoken) { in validate_component()
104 else if (*ctoken) {// e.g. N-M in validate_component()
105 if (isdigit(*ctoken)) { in validate_component()
106 if (getval(ctoken, min, (min ? max : max-1)) < 0) return 1; in validate_component()
107 } else if (getindex(ctoken, max) < 0) return 1; in validate_component()
Dcrond.c165 char *ctoken = strsep(&src, ","), *dtoken; in parse_and_fillarray() local
167 if (!ctoken) break; in parse_and_fillarray()
168 if (!*ctoken) goto ERROR; in parse_and_fillarray()
171 dtoken = strsep(&ctoken, "-"); in parse_and_fillarray()
178 if (!ctoken) end = -1; // e.g. N1,N2,N3 in parse_and_fillarray()
179 else if (*ctoken) {// e.g. N-M in parse_and_fillarray()
180 if (isdigit(*ctoken)) { in parse_and_fillarray()
181 if ((end = getval(ctoken, min, (min ? max : max-1))) < 0) goto ERROR; in parse_and_fillarray()
183 } else if ((end = getindex(ctoken, max)) < 0) goto ERROR; in parse_and_fillarray()