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/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,
/external/perfetto/src/base/
Dgetopt_compat.cc164 const char cur_char = *nextchar; in getopt_long() local
165 PERFETTO_CHECK(cur_char != '\0'); in getopt_long()
175 const option* opt = LookupShortOpt(opts, cur_char); in getopt_long()
177 fprintf(stderr, "invalid option -- '%c'\n", cur_char); in getopt_long()
181 return cur_char; in getopt_long()
192 fprintf(stderr, "option requires an argument -- '%c'\n", cur_char); in getopt_long()
196 return cur_char; in getopt_long()
203 return cur_char; in getopt_long()