Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCParser.py97 def __init__(self, input): argument
98 Parser.__init__(self, input)
149 translation_unit_StartIndex = self.input.index()
152 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 1):
160 LA1_0 = self.input.LA(1)
185 self.recover(self.input, re)
188 self.memoize(self.input, 1, translation_unit_StartIndex)
201 external_declaration_StartIndex = self.input.index()
204 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 2):
209 LA3_0 = self.input.LA(1)
[all …]
DCLexer.py152 def __init__(self, input=None): argument
153 Lexer.__init__(self, input)
2308 LA1_0 = self.input.LA(1)
2316 …lf.input.LA(1) == u'$' or (u'0' <= self.input.LA(1) <= u'9') or (u'A' <= self.input.LA(1) <= u'Z')…
2317 self.input.consume();
2320 mse = MismatchedSetException(None, self.input)
2349 …if self.input.LA(1) == u'$' or (u'A' <= self.input.LA(1) <= u'Z') or self.input.LA(1) == u'_' or (…
2350 self.input.consume();
2353 mse = MismatchedSetException(None, self.input)
2380 LA2_0 = self.input.LA(1)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCParser.py97 def __init__(self, input): argument
98 Parser.__init__(self, input)
149 translation_unit_StartIndex = self.input.index()
152 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 1):
160 LA1_0 = self.input.LA(1)
185 self.recover(self.input, re)
188 self.memoize(self.input, 1, translation_unit_StartIndex)
201 external_declaration_StartIndex = self.input.index()
204 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 2):
209 LA3_0 = self.input.LA(1)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
Dutf_8_sig.py14 def encode(input, errors='strict'): argument
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
17 def decode(input, errors='strict'): argument
19 if input[:3] == codecs.BOM_UTF8:
20 input = input[3:]
22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
30 def encode(self, input, final=False): argument
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0]
35 return codecs.utf_8_encode(input, self.errors)[0]
52 def _buffer_decode(self, input, errors, final): argument
[all …]
Dbase64_codec.py13 def base64_encode(input,errors='strict'): argument
24 output = base64.encodestring(input)
25 return (output, len(input))
27 def base64_decode(input,errors='strict'): argument
42 output = base64.decodestring(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'): argument
48 return base64_encode(input,errors)
49 def decode(self, input,errors='strict'): argument
50 return base64_decode(input,errors)
[all …]
Dhex_codec.py13 def hex_encode(input,errors='strict'): argument
24 output = binascii.b2a_hex(input)
25 return (output, len(input))
27 def hex_decode(input,errors='strict'): argument
42 output = binascii.a2b_hex(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'): argument
48 return hex_encode(input,errors)
49 def decode(self, input,errors='strict'): argument
50 return hex_decode(input,errors)
[all …]
Dzlib_codec.py14 def zlib_encode(input,errors='strict'): argument
25 output = zlib.compress(input)
26 return (output, len(input))
28 def zlib_decode(input,errors='strict'): argument
43 output = zlib.decompress(input)
44 return (output, len(input))
48 def encode(self, input, errors='strict'): argument
49 return zlib_encode(input, errors)
50 def decode(self, input, errors='strict'): argument
51 return zlib_decode(input, errors)
[all …]
Dbz2_codec.py15 def bz2_encode(input,errors='strict'): argument
26 output = bz2.compress(input)
27 return (output, len(input))
29 def bz2_decode(input,errors='strict'): argument
44 output = bz2.decompress(input)
45 return (output, len(input))
49 def encode(self, input, errors='strict'): argument
50 return bz2_encode(input, errors)
51 def decode(self, input, errors='strict'): argument
52 return bz2_decode(input, errors)
[all …]
Dquopri_codec.py12 def quopri_encode(input, errors='strict'): argument
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'): argument
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'): argument
46 return quopri_encode(input,errors)
47 def decode(self, input,errors='strict'): argument
48 return quopri_decode(input,errors)
[all …]
Duu_codec.py15 def uu_encode(input,errors='strict',filename='<data>',mode=0666): argument
29 infile = StringIO(str(input))
42 return (outfile.getvalue(), len(input))
44 def uu_decode(input,errors='strict'): argument
64 infile = StringIO(str(input))
94 return (outfile.getvalue(), len(input))
98 def encode(self,input,errors='strict'): argument
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'): argument
102 return uu_decode(input,errors)
[all …]
Didna.py147 def encode(self,input,errors='strict'): argument
153 if not input:
157 labels = dots.split(input)
166 return ".".join(result)+trailing_dot, len(input)
168 def decode(self,input,errors='strict'): argument
173 if not input:
177 if isinstance(input, unicode):
178 labels = dots.split(input)
181 input = str(input)
182 unicode(input, "ascii")
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
Dutf_8_sig.py14 def encode(input, errors='strict'): argument
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
17 def decode(input, errors='strict'): argument
19 if input[:3] == codecs.BOM_UTF8:
20 input = input[3:]
22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
30 def encode(self, input, final=False): argument
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0]
35 return codecs.utf_8_encode(input, self.errors)[0]
52 def _buffer_decode(self, input, errors, final): argument
[all …]
Dbase64_codec.py13 def base64_encode(input,errors='strict'): argument
24 output = base64.encodestring(input)
25 return (output, len(input))
27 def base64_decode(input,errors='strict'): argument
42 output = base64.decodestring(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'): argument
48 return base64_encode(input,errors)
49 def decode(self, input,errors='strict'): argument
50 return base64_decode(input,errors)
[all …]
Dhex_codec.py13 def hex_encode(input,errors='strict'): argument
24 output = binascii.b2a_hex(input)
25 return (output, len(input))
27 def hex_decode(input,errors='strict'): argument
42 output = binascii.a2b_hex(input)
43 return (output, len(input))
47 def encode(self, input,errors='strict'): argument
48 return hex_encode(input,errors)
49 def decode(self, input,errors='strict'): argument
50 return hex_decode(input,errors)
[all …]
Dzlib_codec.py14 def zlib_encode(input,errors='strict'): argument
25 output = zlib.compress(input)
26 return (output, len(input))
28 def zlib_decode(input,errors='strict'): argument
43 output = zlib.decompress(input)
44 return (output, len(input))
48 def encode(self, input, errors='strict'): argument
49 return zlib_encode(input, errors)
50 def decode(self, input, errors='strict'): argument
51 return zlib_decode(input, errors)
[all …]
Dbz2_codec.py15 def bz2_encode(input,errors='strict'): argument
26 output = bz2.compress(input)
27 return (output, len(input))
29 def bz2_decode(input,errors='strict'): argument
44 output = bz2.decompress(input)
45 return (output, len(input))
49 def encode(self, input, errors='strict'): argument
50 return bz2_encode(input, errors)
51 def decode(self, input, errors='strict'): argument
52 return bz2_decode(input, errors)
[all …]
Dquopri_codec.py12 def quopri_encode(input, errors='strict'): argument
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'): argument
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'): argument
46 return quopri_encode(input,errors)
47 def decode(self, input,errors='strict'): argument
48 return quopri_decode(input,errors)
[all …]
Duu_codec.py15 def uu_encode(input,errors='strict',filename='<data>',mode=0666): argument
29 infile = StringIO(str(input))
42 return (outfile.getvalue(), len(input))
44 def uu_decode(input,errors='strict'): argument
64 infile = StringIO(str(input))
94 return (outfile.getvalue(), len(input))
98 def encode(self,input,errors='strict'): argument
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'): argument
102 return uu_decode(input,errors)
[all …]
Didna.py147 def encode(self,input,errors='strict'): argument
153 if not input:
157 labels = dots.split(input)
166 return ".".join(result)+trailing_dot, len(input)
168 def decode(self,input,errors='strict'): argument
173 if not input:
177 if isinstance(input, unicode):
178 labels = dots.split(input)
181 input = str(input)
182 unicode(input, "ascii")
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
Dminigzip.py18 def read32(input): argument
19 v = ord(input.read(1))
20 v += (ord(input.read(1)) << 8 )
21 v += (ord(input.read(1)) << 16)
22 v += (ord(input.read(1)) << 24)
25 def compress (filename, input, output): argument
40 data = input.read(1024)
49 def decompress (input, output): argument
50 magic = input.read(2)
54 if ord(input.read(1)) != 8:
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dbase64.c170 u_char input[3]; in b64_ntop() local
174 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
176 input[0] = *src++; in b64_ntop()
177 input[1] = *src++; in b64_ntop()
178 input[2] = *src++; in b64_ntop()
181 output[0] = input[0] >> 2; in b64_ntop()
182 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
183 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop()
184 output[3] = input[2] & 0x3f; in b64_ntop()
201 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DDLG_stream_input.h43 : input(p_input_stream) in DLG_stream_input()
49 : input(a_recopier.input) in DLG_stream_input()
63 input = a_affecter.input;
73 input->get(extracted_stuff); in nextChar()
75 if (*input) in nextChar()
87 ::std::basic_istream<E,T> * input;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DDLG_stream_input.h43 : input(p_input_stream) in DLG_stream_input()
49 : input(a_recopier.input) in DLG_stream_input()
63 input = a_affecter.input;
73 input->get(extracted_stuff); in nextChar()
75 if (*input) in nextChar()
87 ::std::basic_istream<E,T> * input;
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/
Dashrdi3.c67 dwords input; in __ashrdi3() local
69 input.all = a; in __ashrdi3()
73 result.high = input.high >> (bits_in_word - 1); in __ashrdi3()
74 result.low = input.high >> (b - bits_in_word); in __ashrdi3()
80 result.high = input.high >> b; in __ashrdi3()
81 result.low = (input.high << (bits_in_word - b)) | (input.low >> b); in __ashrdi3()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmimetools.py157 def decode(input, output, encoding): argument
161 return base64.decode(input, output)
164 return quopri.decode(input, output)
167 return uu.decode(input, output)
169 return output.write(input.read())
171 pipethrough(input, decodetab[encoding], output)
176 def encode(input, output, encoding): argument
180 return base64.encode(input, output)
183 return quopri.encode(input, output, 0)
186 return uu.encode(input, output)
[all …]

12345678910>>...24