Home
last modified time | relevance | path

Searched refs:cur_char (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Lib/fontTools/feaLib/
Dlexer.py70 cur_char = text[start]
73 if cur_char == "\n":
78 if cur_char == "\r":
83 if cur_char == "#":
88 if cur_char != "(":
91 cur_char = text[self.pos_] if self.pos_ < limit else None
92 if cur_char != ")":
98 if cur_char == "\\" and next_char in Lexer.CHAR_DIGIT_:
102 if cur_char == "@":
119 if cur_char in Lexer.CHAR_NAME_START_:
[all …]
/external/perfetto/src/base/
Dgetopt_compat.cc172 const char cur_char = *nextchar; in getopt_long() local
173 PERFETTO_CHECK(cur_char != '\0'); in getopt_long()
183 const option* opt = LookupShortOpt(opts, cur_char); in getopt_long()
184 optopt = cur_char; in getopt_long()
187 fprintf(stderr, "invalid option -- '%c'\n", cur_char); in getopt_long()
191 return cur_char; in getopt_long()
203 fprintf(stderr, "option requires an argument -- '%c'\n", cur_char); in getopt_long()
207 return cur_char; in getopt_long()
214 return cur_char; in getopt_long()
/external/fonttools/Lib/fontTools/voltLib/
Dlexer.py52 cur_char = text[start]
55 if cur_char == "\n":
60 if cur_char == "\r":
65 if cur_char == '"':
74 if cur_char in Lexer.CHAR_NAME_START_:
79 if cur_char in Lexer.CHAR_DIGIT_:
82 if cur_char == "-" and next_char in Lexer.CHAR_DIGIT_:
86 raise VoltLibError("Unexpected character: '%s'" % cur_char,