/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
D | test_refactor.py | 77 inp = "from __future__ import generators, print_function" 78 self.assertEqual(run(inp), fs(("generators", "print_function"))) 79 inp ="from __future__ import print_function, generators" 80 self.assertEqual(run(inp), fs(("print_function", "generators"))) 81 inp = "from __future__ import (print_function,)" 82 self.assertEqual(run(inp), fs(("print_function",))) 83 inp = "from __future__ import (generators, print_function)" 84 self.assertEqual(run(inp), fs(("generators", "print_function"))) 85 inp = "from __future__ import (generators, nested_scopes)" 86 self.assertEqual(run(inp), fs(("generators", "nested_scopes"))) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_uu.py | 23 inp = cStringIO.StringIO(plaintext) 25 uu.encode(inp, out, "t1") 27 inp = cStringIO.StringIO(plaintext) 29 uu.encode(inp, out, "t1", 0644) 33 inp = cStringIO.StringIO(encodedtextwrapped % (0666, "t1")) 35 uu.decode(inp, out) 37 inp = cStringIO.StringIO( 43 uu.decode(inp, out) 47 inp = cStringIO.StringIO("begin 644 t1\n" + encodedtext) 50 uu.decode(inp, out) [all …]
|
D | test_wsgiref.py | 54 inp, out, err, olderr = StringIO(data), StringIO(), StringIO(), sys.stderr 58 server.finish_request((inp,out), ("127.0.0.1",8888))
|
D | test_builtin.py | 600 for (inp, exp) in inps.iteritems(): 604 filter(funcs[0], cls(inp)), 605 filter(funcs[1], cls(inp)) 608 outp = filter(func, cls(inp))
|
D | test_float.py | 1068 for inp, expected in value_pairs: 1071 got = fromHex(lead + inp + trail)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | tokenizer.c | 104 tok->buf = tok->cur = tok->end = tok->inp = tok->start = NULL; in tok_new() 742 tok->buf = tok->cur = tok->end = tok->inp = (char*)str; in PyTokenizer_FromString() 759 tok->cur = tok->inp = tok->buf; in PyTokenizer_FromFile() 788 tok_stdin_decode(struct tok_state *tok, char **inp) in tok_stdin_decode() argument 806 decoded = PyUnicode_Decode(*inp, strlen(*inp), encoding, NULL); in tok_stdin_decode() 822 PyMem_FREE(*inp); in tok_stdin_decode() 823 *inp = converted; in tok_stdin_decode() 856 if (tok->cur != tok->inp) { in tok_nextc() 862 char *end = strchr(tok->inp, '\n'); in tok_nextc() 866 end = strchr(tok->inp, '\0'); in tok_nextc() [all …]
|
D | tokenizer.h | 21 char *inp; /* End of data in buffer */ member
|
D | parsetok.c | 229 len = tok->inp - tok->buf; in parsetok()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | tokenizer.c | 104 tok->buf = tok->cur = tok->end = tok->inp = tok->start = NULL; in tok_new() 722 tok->buf = tok->cur = tok->end = tok->inp = (char*)str; in PyTokenizer_FromString() 739 tok->cur = tok->inp = tok->buf; in PyTokenizer_FromFile() 768 tok_stdin_decode(struct tok_state *tok, char **inp) in tok_stdin_decode() argument 786 decoded = PyUnicode_Decode(*inp, strlen(*inp), encoding, NULL); in tok_stdin_decode() 802 PyMem_FREE(*inp); in tok_stdin_decode() 803 *inp = converted; in tok_stdin_decode() 836 if (tok->cur != tok->inp) { in tok_nextc() 842 char *end = strchr(tok->inp, '\n'); in tok_nextc() 846 end = strchr(tok->inp, '\0'); in tok_nextc() [all …]
|
D | tokenizer.h | 21 char *inp; /* End of data in buffer */ member
|
D | parsetok.c | 242 len = tok->inp - tok->buf; in parsetok()
|
/device/google/marlin/dataservices/datatop/src/ |
D | datatop.c | 95 int inp, quit = 0; in dtop_poll_periodically() local 130 inp = select(1, &rfds, NULL, NULL, &timeout); in dtop_poll_periodically() 132 if (inp) { in dtop_poll_periodically()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | binhex.py | 250 def binhex(inp, out): argument 252 finfo = getfileinfo(inp) 255 ifp = open(inp, 'rb') 264 ifp = openrsrc(inp, 'rb') 472 def hexbin(inp, out): argument 474 ifp = HexBin(inp)
|
D | imaplib.py | 1281 def encode(self, inp): argument 1291 while inp: 1292 if len(inp) > 48: 1293 t = inp[:48] 1294 inp = inp[48:] 1296 t = inp 1297 inp = '' 1303 def decode(self, inp): argument 1304 if not inp: 1306 return binascii.a2b_base64(inp)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | binhex.py | 256 def binhex(inp, out): argument 258 finfo = getfileinfo(inp) 261 ifp = open(inp, 'rb') 270 ifp = openrsrc(inp, 'rb') 482 def hexbin(inp, out): argument 484 ifp = HexBin(inp)
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | res_send.c | 211 const struct sockaddr_in *inp in res_isourserver() argument 217 ina = *inp; in res_isourserver()
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | gscan.cpp | 1162 wifi_gscan_result_t *inp = (wifi_gscan_result_t *)event.get_vendor_data(); in handleEvent() local 1164 for (int i = 0; i < num; i++, inp++) { in handleEvent() 1165 convert_to_hal_result(&(mResults[i]), inp); in handleEvent()
|