Lines Matching refs:posix
23 def __init__(self, instream=None, infile=None, posix=False): argument
32 self.posix = posix
33 if posix:
40 if self.posix:
140 if self.token or (self.posix and quoted):
147 elif self.posix and nextchar in self.escape:
154 if not self.posix:
162 if self.token or (self.posix and quoted):
174 if not self.posix:
180 elif self.posix and nextchar in self.escape and \
207 if self.token or (self.posix and quoted):
214 if self.posix:
216 if self.token or (self.posix and quoted):
220 elif self.posix and nextchar in self.quotes:
222 elif self.posix and nextchar in self.escape:
233 if self.token or (self.posix and quoted):
239 if self.posix and not quoted and result == '':
274 def split(s, comments=False, posix=True): argument
275 lex = shlex(s, posix=posix)