Home
last modified time | relevance | path

Searched refs:pdict (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
Dcgi.py149 ctype, pdict = parse_header(environ['CONTENT_TYPE'])
151 return parse_multipart(fp, pdict)
193 def parse_multipart(fp, pdict): argument
219 if 'boundary' in pdict:
220 boundary = pdict['boundary']
311 pdict = {}
320 pdict[name] = value
321 return key, pdict
457 cdisp, pdict = "", {}
459 cdisp, pdict = parse_header(self.headers['content-disposition'])
[all …]
/external/python/cpython3/Lib/
Dcgi.py157 ctype, pdict = parse_header(environ['CONTENT_TYPE'])
159 return parse_multipart(fp, pdict)
201 def parse_multipart(fp, pdict, encoding="utf-8", errors="replace"): argument
216 boundary = pdict['boundary'].decode('ascii')
220 headers['Content-Length'] = pdict['CONTENT-LENGTH']
245 pdict = {}
254 pdict[name] = value
255 return key, pdict
433 cdisp, pdict = "", {}
435 cdisp, pdict = parse_header(self.headers['content-disposition'])
[all …]
/external/ply/ply/ply/
Dyacc.py1375 def bind(self, pdict): argument
1377 self.callable = pdict[self.func]
1400 def bind(self, pdict): argument
1402 self.callable = pdict[self.func]
2028 def bind_callables(self, pdict): argument
2030 p.bind(pdict)
2939 def __init__(self, pdict, log=None): argument
2940 self.pdict = pdict
3025 self.start = self.pdict.get('start')
3035 self.error_func = self.pdict.get('p_error')
[all …]
/external/selinux/python/sepolgen/src/sepolgen/
Dyacc.py1375 def bind(self, pdict): argument
1377 self.callable = pdict[self.func]
1400 def bind(self, pdict): argument
1402 self.callable = pdict[self.func]
2028 def bind_callables(self, pdict): argument
2030 p.bind(pdict)
2939 def __init__(self, pdict, log=None): argument
2940 self.pdict = pdict
3025 self.start = self.pdict.get('start')
3035 self.error_func = self.pdict.get('p_error')
[all …]
/external/libchrome/third_party/ply/
Dyacc.py1217 def bind(self,pdict): argument
1219 self.callable = pdict[self.func]
1240 def bind(self,pdict): argument
1242 self.callable = pdict[self.func]
1870 def bind_callables(self,pdict): argument
1872 p.bind(pdict)
2763 def __init__(self,pdict,log=None): argument
2764 self.pdict = pdict
2856 self.start = self.pdict.get('start')
2866 self.error_func = self.pdict.get('p_error')
[all …]
/external/python/cpython3/Doc/library/
Dcgi.rst299 .. function:: parse_multipart(fp, pdict, encoding="utf-8", errors="replace")
302 Arguments are *fp* for the input file, *pdict* for a dictionary containing
/external/python/cpython2/Doc/library/
Dcgi.rst305 .. function:: parse_multipart(fp, pdict)
308 Arguments are *fp* for the input file and *pdict* for a dictionary containing
/external/python/cpython3/Lib/test/
Dtest_decimal.py5518 pdict = {C: {'other': C.Decimal(1),
5550 args.append(pdict[module][name])
5552 kwargs[name] = pdict[module][name]