Searched refs:input (Results 1 - 25 of 891) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
H A Dutf_8_sig.py14 def encode(input, errors='strict'):
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
17 def decode(input, errors='strict'):
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):
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, sel
[all...]
H A Dbase64_codec.py13 def base64_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = base64.encodestring(input)
25 return (output, len(input))
27 def base64_decode(input,errors='strict'):
29 """ Decodes the object input and returns a tuple (output
32 input must be an object which provides the bf_getreadbuf
42 output = base64.decodestring(input)
43 return (output, len(input))
47 def encode(self, input,error
[all...]
H A Dhex_codec.py13 def hex_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = binascii.b2a_hex(input)
25 return (output, len(input))
27 def hex_decode(input,errors='strict'):
29 """ Decodes the object input and returns a tuple (output
32 input must be an object which provides the bf_getreadbuf
42 output = binascii.a2b_hex(input)
43 return (output, len(input))
47 def encode(self, input,error
[all...]
H A Dquopri_codec.py12 def quopri_encode(input, errors='strict'):
13 """Encode the input, returning a tuple (output object, length consumed).
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'):
29 """Decode the input, returning a tuple (output object, length consumed).
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'):
46 return quopri_encode(input,error
[all...]
H A Dzlib_codec.py14 def zlib_encode(input,errors='strict'):
16 """ Encodes the object input and returns a tuple (output
25 output = zlib.compress(input)
26 return (output, len(input))
28 def zlib_decode(input,errors='strict'):
30 """ Decodes the object input and returns a tuple (output
33 input must be an object which provides the bf_getreadbuf
43 output = zlib.decompress(input)
44 return (output, len(input))
48 def encode(self, input, error
[all...]
H A Dbz2_codec.py15 def bz2_encode(input,errors='strict'):
17 """ Encodes the object input and returns a tuple (output
26 output = bz2.compress(input)
27 return (output, len(input))
29 def bz2_decode(input,errors='strict'):
31 """ Decodes the object input and returns a tuple (output
34 input must be an object which provides the bf_getreadbuf
44 output = bz2.decompress(input)
45 return (output, len(input))
49 def encode(self, input, error
[all...]
H A Duu_codec.py15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
17 """ Encodes the object input and returns a tuple (output
29 infile = StringIO(str(input))
42 return (outfile.getvalue(), len(input))
44 def uu_decode(input,errors='strict'):
46 """ Decodes the object input and returns a tuple (output
49 input must be an object which provides the bf_getreadbuf
57 Note: filename and file mode information in the input data is
64 infile = StringIO(str(input))
73 raise ValueError, 'Missing "begin" line in input dat
[all...]
H A Dmbcs.py20 def decode(input, errors='strict'):
21 return mbcs_decode(input, errors, True)
24 def encode(self, input, final=False):
25 return mbcs_encode(input, self.errors)[0]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
H A Dutf_8_sig.py14 def encode(input, errors='strict'):
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
17 def decode(input, errors='strict'):
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):
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, sel
[all...]
H A Dbase64_codec.py13 def base64_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = base64.encodestring(input)
25 return (output, len(input))
27 def base64_decode(input,errors='strict'):
29 """ Decodes the object input and returns a tuple (output
32 input must be an object which provides the bf_getreadbuf
42 output = base64.decodestring(input)
43 return (output, len(input))
47 def encode(self, input,error
[all...]
H A Dhex_codec.py13 def hex_encode(input,errors='strict'):
15 """ Encodes the object input and returns a tuple (output
24 output = binascii.b2a_hex(input)
25 return (output, len(input))
27 def hex_decode(input,errors='strict'):
29 """ Decodes the object input and returns a tuple (output
32 input must be an object which provides the bf_getreadbuf
42 output = binascii.a2b_hex(input)
43 return (output, len(input))
47 def encode(self, input,error
[all...]
H A Dquopri_codec.py12 def quopri_encode(input, errors='strict'):
13 """Encode the input, returning a tuple (output object, length consumed).
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'):
29 """Decode the input, returning a tuple (output object, length consumed).
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'):
46 return quopri_encode(input,error
[all...]
H A Dzlib_codec.py14 def zlib_encode(input,errors='strict'):
16 """ Encodes the object input and returns a tuple (output
25 output = zlib.compress(input)
26 return (output, len(input))
28 def zlib_decode(input,errors='strict'):
30 """ Decodes the object input and returns a tuple (output
33 input must be an object which provides the bf_getreadbuf
43 output = zlib.decompress(input)
44 return (output, len(input))
48 def encode(self, input, error
[all...]
H A Dbz2_codec.py15 def bz2_encode(input,errors='strict'):
17 """ Encodes the object input and returns a tuple (output
26 output = bz2.compress(input)
27 return (output, len(input))
29 def bz2_decode(input,errors='strict'):
31 """ Decodes the object input and returns a tuple (output
34 input must be an object which provides the bf_getreadbuf
44 output = bz2.decompress(input)
45 return (output, len(input))
49 def encode(self, input, error
[all...]
H A Duu_codec.py15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
17 """ Encodes the object input and returns a tuple (output
29 infile = StringIO(str(input))
42 return (outfile.getvalue(), len(input))
44 def uu_decode(input,errors='strict'):
46 """ Decodes the object input and returns a tuple (output
49 input must be an object which provides the bf_getreadbuf
57 Note: filename and file mode information in the input data is
64 infile = StringIO(str(input))
73 raise ValueError, 'Missing "begin" line in input dat
[all...]
H A Dmbcs.py20 def decode(input, errors='strict'):
21 return mbcs_decode(input, errors, True)
24 def encode(self, input, final=False):
25 return mbcs_encode(input, self.errors)[0]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
H A Dinput.h2 * \file include/input.h
38 * The input functions present an interface similar to the stdio functions
39 * on top of different underlying input sources.
41 * The #snd_config_load function uses such an input handle to be able to
49 * \brief Internal structure for an input object.
52 * input object. Applications don't access its contents directly.
67 int snd_input_close(snd_input_t *input);
68 int snd_input_scanf(snd_input_t *input, const char *format, ...)
73 char *snd_input_gets(snd_input_t *input, char *str, size_t size);
74 int snd_input_getc(snd_input_t *input);
[all...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
H A Dinput.h2 * \file include/input.h
38 * The input functions present an interface similar to the stdio functions
39 * on top of different underlying input sources.
41 * The #snd_config_load function uses such an input handle to be able to
49 * \brief Internal structure for an input object.
52 * input object. Applications don't access its contents directly.
67 int snd_input_close(snd_input_t *input);
68 int snd_input_scanf(snd_input_t *input, const char *format, ...)
73 char *snd_input_gets(snd_input_t *input, char *str, size_t size);
74 int snd_input_getc(snd_input_t *input);
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
H A Dinput.h2 * \file include/input.h
38 * The input functions present an interface similar to the stdio functions
39 * on top of different underlying input sources.
41 * The #snd_config_load function uses such an input handle to be able to
49 * \brief Internal structure for an input object.
52 * input object. Applications don't access its contents directly.
67 int snd_input_close(snd_input_t *input);
68 int snd_input_scanf(snd_input_t *input, const char *format, ...)
73 char *snd_input_gets(snd_input_t *input, char *str, size_t size);
74 int snd_input_getc(snd_input_t *input);
[all...]
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
H A Dkeychord.h15 #include <linux/input.h>
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
H A Dkeychord.h15 #include <linux/input.h>
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
H A Dkeychord.h15 #include <linux/input.h>
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/
H A Dalternative_32.h30 #define alternative_input(oldinstr, newinstr, feature, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" " .align 4\n" " .long 661b\n" " .long 663f\n" " .byte %c0\n" " .byte 662b-661b\n" " .byte 664f-663f\n" ".previous\n" ".section .altinstr_replacement,\"ax\"\n" "663:\n\t" newinstr "\n664:\n" ".previous" :: "i" (feature), ##input)
31 #define alternative_io(oldinstr, newinstr, feature, output, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\"\n" " .align 4\n" " .long 661b\n" " .long 663f\n" " .byte %c[feat]\n" " .byte 662b-661b\n" " .byte 664f-663f\n" ".previous\n" ".section .altinstr_replacement,\"ax\"\n" "663:\n\t" newinstr "\n664:\n" ".previous" : output : [feat] "i" (feature), ##input)
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
H A Dkeychord.h15 #include <linux/input.h>
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
H A Dkeychord.h15 #include <linux/input.h>

Completed in 639 milliseconds

1234567891011>>