/ndk/tests/device/test-gnustl-full/unit/ |
times_test.cpp | 31 int input [4] = { 1, 5, 7, 2 }; local 32 int total = accumulate(input, input + 4, 1, multiplies<int>());
|
/ndk/tests/device/test-stlport/unit/ |
divides_test.cpp | 30 int input [3] = { 2, 3, 4 }; local 31 int result = accumulate(input, input + 3, 48, divides<int>());
|
times_test.cpp | 31 int input [4] = { 1, 5, 7, 2 }; local 32 int total = accumulate(input, input + 4, 1, multiplies<int>());
|
/external/icu4c/i18n/ |
csrucode.cpp | 34 const uint8_t *input = textIn->fRawInput; local 37 if (input[0] == 0xFE && input[1] == 0xFF) { 58 const uint8_t *input = textIn->fRawInput; local 61 if (input[0] == 0xFF && input[1] == 0xFE && (input[2] != 0x00 || input[3] != 0x00)) { 77 const uint8_t *input = textIn->fRawInput; local 84 if (getChar(input, 0) == 0x0000FEFFUL) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/output1/ |
Testlexer.m | 103 NSInteger LA1_0 = [input LA:1]; 113 if (([input LA:1]>='0' && [input LA:1]<='9')||([input LA:1]>='A' && [input LA:1]<='Z')||([input LA:1]>='a' && [input LA:1]<='z')) { 114 [input consume]; 117 ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException exceptionWithSet:nil stream:input]; 179 if (([input LA:1]>='A' && [input LA:1]<='Z')||([input LA:1]>='a' && [input LA:1]<='z')) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/ |
__scan_keyword.pass.cpp | 19 // If one keyword is a prefix of another, and the next CharT in the input 29 // If the input is "a", the first keyword matches and eofbit is set. 30 // If the input is "abc", no match is found and "ab" are consumed. 47 const char input[] = "a"; local 48 const char* in = input; 51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, 55 assert(in == input+1); 59 const char input[] = "abc"; local 60 const char* in = input; 71 const char input[] = "abb"; local 83 const char input[] = "Tue "; local 95 const char input[] = "tue "; local 107 const char input[] = "tue "; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
bz2_codec.py | 15 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, errors='strict') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
bz2_codec.py | 15 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, errors='strict') [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognitionException.as | 55 * problem occurred and/or what was the expected input. While the parser 56 * knows its state (such as current input symbol and line info) that 59 * perhaps print an entire line of input not just a single token, for example. 64 /** What input stream did the error occur in? */ 65 public var input:IntStream; 99 public function RecognitionException(input:IntStream = null) { 100 if (input == null) { 103 this.input = input; 104 this.index = input.index [all...] |
/external/guava/guava/src/com/google/common/hash/ |
HashFunction.java | 31 * <li><b>block of data:</b> the input for a hash function is always, in concept, an 42 * <li><b>pure function:</b> the value produced must depend only on the input bytes, in 43 * the order they appear. Input data is never modified. 64 * input. The true test of a hash function is how it performs on representative 76 * designed to make it as infeasible as possible to reverse-engineer the input that 88 * <h3>Providing input to a hash function</h3> 146 * expected size of the input (in bytes). This is only important for non-streaming hash 147 * functions (hash functions that need to buffer their whole input before processing any 153 * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the 157 HashCode hashLong(long input); [all...] |
/external/libvpx/libvpx/vp8/common/ |
dequantize.c | 29 void vp8_dequant_idct_add_c(short *input, short *dq, 36 input[i] = dq[i] * input[i]; 39 vp8_short_idct4x4llm_c(input, dest, stride, dest, stride); 41 vpx_memset(input, 0, 32);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
CopyUtils.java | 82 * Method Input Output Dependency
132 * @param input the byte array to read from
136 public static void copy(byte[] input, OutputStream output)
138 output.write(input);
149 * @param input the byte array to read from
153 public static void copy(byte[] input, Writer output)
155 ByteArrayInputStream in = new ByteArrayInputStream(input);
163 * @param input the byte array to read from
171 byte[] input,
175 ByteArrayInputStream in = new ByteArrayInputStream(input);
[all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
input.h | 2 * \file include/input.h 36 * \defgroup Input Input Interface 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. 56 /** Input type. */ 58 /** Input from a stdio stream. * [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
input.h | 2 * \file include/input.h 36 * \defgroup Input Input Interface 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. 56 /** Input type. */ 58 /** Input from a stdio stream. * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
input.h | 2 * \file include/input.h 36 * \defgroup Input Input Interface 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. 56 /** Input type. */ 58 /** Input from a stdio stream. * [all...] |
/external/chromium_org/ppapi/shared_impl/ |
array_writer.h | 54 bool StoreArray(const T* input, uint32_t count) { 70 if (input) 71 memcpy(dest, input, sizeof(T) * count); 78 bool StoreVector(const std::vector<T>& input) { 79 return StoreArray(input.size() ? &input[0] : NULL, input.size()); 93 bool StoreResourceVector(const std::vector< scoped_refptr<Resource> >& input); 97 bool StoreResourceVector(const std::vector<PP_Resource>& input); 106 bool StoreVarVector(const std::vector< scoped_refptr<Var> >& input); [all...] |
/external/harfbuzz_ng/util/ |
main-font-text.hh | 40 input (&options), 50 if (argc && !input.text && !input.text_file) input.text = argv[0], argc--, argv++; 55 if (!input.text && !input.text_file) 56 input.text_file = "-"; 63 while ((text = input.get_line (&text_len))) 64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after) 75 text_options_t input; member in struct:main_font_text_t [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.java | 41 public SimpleCTP(TreeNodeStream input) { 42 this(input, new RecognizerSharedState()); 44 public SimpleCTP(TreeNodeStream input, RecognizerSharedState state) { 45 super(input, state); 67 int LA1_0 = input.LA(1); 90 new EarlyExitException(1, input); 102 recover(input,re); 117 switch ( input.LA(1) ) { 135 new NoViableAltException("", 2, 0, input); 155 match(input,FUNC_DECL,FOLLOW_FUNC_DECL_in_declaration74); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCTP.java | 41 public SimpleCTP(TreeNodeStream input) { 42 this(input, new RecognizerSharedState()); 44 public SimpleCTP(TreeNodeStream input, RecognizerSharedState state) { 45 super(input, state); 67 int LA1_0 = input.LA(1); 90 new EarlyExitException(1, input); 102 recover(input,re); 117 switch ( input.LA(1) ) { 135 new NoViableAltException("", 2, 0, input); 155 match(input,FUNC_DECL,FOLLOW_FUNC_DECL_in_declaration74); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
Tracer.cs | 47 public IIntStream input; field in class:Antlr.Runtime.Debug.Tracer 50 public Tracer( IIntStream input ) 52 this.input = input; 77 if ( input is ITokenStream ) 79 return ( (ITokenStream)input ).LT( k ); 81 return (char)input.LA( k );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
Tracer.java | 38 public IntStream input; field in class:Tracer 41 public Tracer(IntStream input) { 42 this.input = input; 58 if ( input instanceof TokenStream ) { 59 return ((TokenStream)input).LT(k); 61 return new Character((char)input.LA(k));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 10 private final InputStream input; field in class:TeeInputStream 13 public TeeInputStream(InputStream input, OutputStream output) 15 this.input = input; 28 int i = input.read(buf, off, len); 41 int i = input.read(); 54 this.input.close();
|
/external/compiler-rt/lib/ |
ashrdi3.c | 27 dwords input; local 29 input.all = a; 32 /* result.s.high = input.s.high < 0 ? -1 : 0 */ 33 result.s.high = input.s.high >> (bits_in_word - 1); 34 result.s.low = input.s.high >> (b - bits_in_word); 40 result.s.high = input.s.high >> b; 41 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
|
ashrti3.c | 27 twords input; local 29 input.all = a; 32 /* result.s.high = input.s.high < 0 ? -1 : 0 */ 33 result.s.high = input.s.high >> (bits_in_dword - 1); 34 result.s.low = input.s.high >> (b - bits_in_dword); 40 result.s.high = input.s.high >> b; 41 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
RecognitionException.pm | 11 has 'input' => ( 64 my $input = $args->{input}; 65 $new_args->{input} = $input; 66 $new_args->{index} = $input->index(); 68 if ($input->does('ANTLR::Runtime::TokenStream')) { 69 my $token = $input->LT(1); 75 if ($input->does('ANTLR::Runtime::TreeNodeStream')) { 76 # extract_information_from_tree_node_stream($input); [all...] |