Searched refs:input (Results 276 - 300 of 1820) sorted by relevance

<<11121314151617181920>>

/external/protobuf/java/src/main/java/com/google/protobuf/
H A DMessageLite.java122 * of the message before the data, then making sure to limit the input to
124 * which limits the input). Alternatively, just use
196 * Parses a message of this type from the input and merges it with this
200 * the input message. If you call {@link #build()} without setting all
221 Builder mergeFrom(CodedInputStream input) throws IOException; argument
229 Builder mergeFrom(CodedInputStream input, argument
292 * Parse a message of this type from {@code input} and merge it with the
295 * reads the <i>entire</i> input (unless it throws an exception). If you
296 * want it to stop earlier, you will need to wrap your input in some
301 * Despite usually reading the entire input, thi
303 mergeFrom(InputStream input) argument
310 mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) argument
325 mergeDelimitedFrom(InputStream input) argument
331 mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) argument
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
H A DMessageMicro.java65 * Parse {@code input} as a message of this type and merge it with the
68 abstract public MessageMicro mergeFrom(final CodedInputStreamMicro input) throws IOException; argument
115 final CodedInputStreamMicro input = CodedInputStreamMicro.newInstance(data, off, len);
116 mergeFrom(input);
117 input.checkLastTagWas(0);
132 final CodedInputStreamMicro input,
134 return input.skipField(tag);
131 parseUnknownField( final CodedInputStreamMicro input, final int tag) argument
/external/stlport/test/unit/
H A Dunary_test.cpp76 int input [3] = { -1, -4, -16 }; local
79 transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_root(), negate<int>()));
89 int input [3] = { -1, -4, -16 }; local
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>()));
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
H A DRegExp_input_as_array.js33 var TITLE = 'RegExp: input';
53 // RegExp['$_'] = "abcd12357efg"; /\d+/.exec(RegExp.input)
55 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.exec(RegExp.input)",
56 String(["12357"]), String(/\d+/.exec(RegExp.input)));
58 // RegExp['$_'] = "abcd12357efg"; /[h-z]+/.exec(RegExp.input)
60 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /[h-z]+/.exec(RegExp.input)",
61 null, /[h-z]+/.exec(RegExp.input));
68 // RegExp['$_'] = "abcd12357efg"; /\d+/.test(RegExp.input)
70 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.test(RegExp.input)",
71 true, /\d+/.test(RegExp.input));
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DBaseRecognizer.pm65 Readonly my $usage => 'void match(IntStream input, int ttype, BitSet follow)';
67 my ($self, $input, $ttype, $follow) = @_;
69 my $matched_symbol = $self->get_current_input_symbol($input);
70 if ($input->LA(1) eq $ttype) {
71 $input->consume();
82 return $self->recover_from_mismatched_token($input, $ttype, $follow);
86 Readonly my $usage => 'void match_any(IntStream input)';
88 my ($self, $input) = @_;
92 $input->consume();
96 my ($self, $input,
[all...]
/external/chromium/base/
H A Dsha1_unittest.cc14 std::string input = "abc"; local
22 std::string output = base::SHA1HashString(input);
29 std::string input = local
38 std::string output = base::SHA1HashString(input);
45 std::string input(1000000, 'a');
53 std::string output = base::SHA1HashString(input);
60 std::string input = "abc"; local
69 base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()),
70 input.length(), output);
77 std::string input local
[all...]
/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DGenericParser.java31 * <p>Provides methods for parsing input and ensuring that all in-state,
77 * @param input the {@code String} to parse
81 public void parse(String input) throws ParseException { argument
82 for (int i = 0; i < input.length(); i++)
83 parse(input.charAt(i));
87 * Main loop for parsing of input.
103 * @param input the input character to parse (process)
107 public void parse(char input) throws ParseException { argument
109 parserStateTable.getNextState(currentState, input);
225 handleEnterState(InternalState currentState, InternalState expectedNextState, char input) argument
242 handleExitState(InternalState currentState, InternalState expectedNextState, char input) argument
257 handleInState(InternalState currentState, char input) argument
270 record(char input) argument
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
H A DTParser.m136 NSInteger LA1_0 = [input LA:1];
142 NSInteger LA1_2 = [input LA:2];
151 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newException:1 state:2 stream:input];
158 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newException:1 state:0 stream:input];
203 [self recover:input Exception:re];
226 NSInteger LA2_0 = [input LA:1];
235 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newException:2 state:0 stream:input];
244 [self match:input TokenType:ID Follow:FOLLOW_ID_in_identifier66];
268 [self recover:input Exception:re];
293 @throw [ANTLRFailedPredicateException newException:@"enumAsKeyword" predicate:@"enableEnum" stream:input];
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt053hetero.py29 def recover(self, input, re):
56 def recover(self, input, re):
63 def execParser(self, grammar, grammarEntry, input):
66 cStream = antlr3.StringStream(input)
78 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input):
82 cStream = antlr3.StringStream(input)
122 input="a"
143 input="a")
169 input="a"
194 found = self.execParser(grammar, 'a', input
[all...]
/external/chromium/chrome/browser/automation/
H A Dui_controls_win.cc142 bool FillKeyboardInput(ui::KeyboardCode key, INPUT* input, bool key_up) { argument
143 memset(input, 0, sizeof(INPUT));
144 input->type = INPUT_KEYBOARD;
145 input->ki.wVk = ui::WindowsKeyCodeForKeyboardCode(key);
146 input->ki.dwFlags = key_up ? KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP :
154 INPUT input = { 0 }; local
156 if (!FillKeyboardInput(key, &input, up))
159 if (!::SendInput(1, &input, sizeof(INPUT)))
186 INPUT input[8] = { 0 }; // 8, assuming all the modifiers are activated. local
190 if (!FillKeyboardInput(ui::VKEY_CONTROL, &input[
252 INPUT input = { 0 }; local
308 INPUT input = { 0 }; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DCommonToken.cs47 ICharStream input; field in class:Antlr.Runtime.CommonToken
60 /** <summary>The char position into the input buffer where this token starts</summary> */
63 /** <summary>The char position into the input buffer where this token stops</summary> */
75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) argument
77 this.input = input;
99 input = oldToken.InputStream;
114 if ( input == null )
117 if (start <= stop && stop < input.Count)
118 return input
[all...]
/external/protobuf/src/google/protobuf/
H A Dwire_format_lite.cc112 io::CodedInputStream* input, uint32 tag) {
116 if (!input->ReadVarint64(&value)) return false;
121 if (!input->ReadLittleEndian64(&value)) return false;
126 if (!input->ReadVarint32(&length)) return false;
127 if (!input->Skip(length)) return false;
131 if (!input->IncrementRecursionDepth()) return false;
132 if (!SkipMessage(input)) return false;
133 input->DecrementRecursionDepth();
135 if (!input->LastTagWas(WireFormatLite::MakeTag(
147 if (!input
111 SkipField( io::CodedInputStream* input, uint32 tag) argument
156 SkipMessage(io::CodedInputStream* input) argument
175 SkipField( io::CodedInputStream* input, uint32 tag) argument
180 SkipMessage(io::CodedInputStream* input) argument
189 ReadPackedEnumNoInline(io::CodedInputStream* input, bool (*is_valid)(int), RepeatedField<int>* values) argument
342 ReadString(io::CodedInputStream* input, string* value) argument
350 ReadBytes(io::CodedInputStream* input, string* value) argument
[all...]
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DSplitTest.java44 String input = "poodle zoo";
47 tokens = p.split(input, 1);
49 assertTrue(tokens[0].equals(input));
50 tokens = p.split(input, 2);
54 tokens = p.split(input, 5);
58 tokens = p.split(input, -2);
62 tokens = p.split(input, 0);
66 tokens = p.split(input);
73 tokens = p.split(input, 1);
75 assertTrue(tokens[0].equals(input));
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DInterpreter.java44 * You create an interpreter for a grammar and an input stream. This object
51 protected IntStream input; field in class:Interpreter
69 token = new CommonToken((CharStream)input,type,channel,0,0);
74 public Interpreter(Grammar grammar, IntStream input) { argument
76 this.input = input;
83 if ( input.LA(1)==CharStream.EOF ) {
84 return new CommonToken((CharStream)input,Token.EOF,Token.DEFAULT_CHANNEL,input.index(),input
211 parseEngine(String startRule, NFAState start, NFAState stop, IntStream input, Stack ruleInvocationStack, DebugEventListener actions, List visitedStates) argument
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
H A DSimpleCLexer.m528 if ((([input LA:1] >= 'A') && ([input LA:1] <= 'Z'))||[input LA:1] == '_'||(([input LA:1] >= 'a') && ([input LA:1] <= 'z'))) {
529 [input consume];
532 ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException exceptionWithSet:nil stream:input];
538 NSInteger LA1_0 = [input LA:1];
548 if ((([input LA:1] >= '0') && ([input L
[all...]
H A DSimpleCTP.m287 NSInteger LA1_0 = [input LA:1];
309 ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:1];
324 [self recover:input Exception:re];
341 switch ([input LA:1]) {
359 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newANTLRNoViableAltException:2 state:0 stream:input];
378 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; /* element() */
380 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil];
387 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */
394 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; /* element() */
396 [self match:input TokenTyp
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/
H A DFilters.java122 public boolean apply( T input )
124 return value == input || (value != null && value.equals(input));
137 public boolean apply( T input )
139 return collection.contains(input);
152 public boolean apply( T input )
154 return !delegate.apply(input);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DDbg.stg65 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
66 int stopIndex = getRuleMemoization(ruleIndex, input.index());
67 ((Profiler)dbg).examineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]);
68 return super.alreadyParsedRule(input, ruleIndex);
70 public void memoize(IntStream input,
74 ((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]);
75 super.memoize(input, ruleIndex, ruleStartIndex);
87 public <name>(<inputStreamType> input) {
88 this(input, DebugEventSocketProxy.DEFAULT_DEBUGGER_PORT, new RecognizerSharedState());
90 public <name>(<inputStreamType> input, in
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
H A DSimpleCTP.m291 NSInteger LA1_0 = [input LA:1];
316 [ANTLREarlyExitException newException:input decisionNumber:1];
331 [self recover:input Exception:re];
354 unichar charLA2 = [input LA:1];
373 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newException:2 state:0 stream:input];
396 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87];
398 [self match:input TokenType:DOWN Follow:nil];
407 [self match:input TokenType:UP Follow:nil];
415 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101];
417 [self match:input TokenTyp
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
H A Dmain-scripts.rb38 input_path = local_path( 'input.txt' )
51 input = File.open( input_path )
52 LexerMainWithSourceFile::Lexer.main( [], :input => input, :output => output )
61 example 'using Lexer.main to run the built-in lexer utility script on input from $stdin' do
62 input = StringIO.new( "yada yada" ) # <- used to simulate $stdin
73 LexerMainFromStdIO::Lexer.main( [], :input => input, :output => output )
89 input = StringIO.new( 'yada yada' )
93 :input
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dproxy_config_service_impl_unittest.cc53 Input input; member in struct:chromeos::__anon1876::__anon1877
283 const Input& input, ProxyConfigServiceImpl::ProxyConfig::Source source,
285 switch (input.mode) {
289 SetAutomaticProxy(input.mode, source, input.pac_url, init_config,
293 SetManualProxy(input.mode, source, input.single_uri, MK_SCHM(HTTP),
297 SetManualProxy(input.mode, source, input.http_uri, MK_SCHM(HTTP),
299 SetManualProxy(input
282 InitConfigWithTestInput( const Input& input, ProxyConfigServiceImpl::ProxyConfig::Source source, ProxyConfigServiceImpl::ProxyConfig* init_config) argument
313 TestReadWriteAccessForMode(const Input& input, ProxyConfigServiceImpl::ProxyConfig::Source source) argument
455 const Input& input = tests[i].input; local
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/output1/
H A DFuzzy.m126 id<ANTLRIntStream> input = anInput;
130 NSInteger LA38_1 = [input LA:1];
133 NSInteger index38_1 = [input getIndex];
134 [input rewind];
146 [input seek:index38_1];
152 NSInteger LA38_5 = [input LA:1];
155 NSInteger index38_5 = [input getIndex];
156 [input rewind];
171 [input seek:index38_5];
177 NSInteger LA38_7 = [input L
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DProfileTreeGrammar.cs60 public ProfileTreeGrammar( ITreeNodeStream input )
61 : this( input, new Profiler(null), new RecognizerSharedState() )
64 public ProfileTreeGrammar( ITreeNodeStream input, IDebugEventListener dbg, RecognizerSharedState state ) argument
65 : base( input, dbg, state )
71 public ProfileTreeGrammar( ITreeNodeStream input, IDebugEventListener dbg ) argument
72 : base( input, dbg, new RecognizerSharedState() )
77 public virtual bool AlreadyParsedRule( IIntStream input, int ruleIndex ) argument
79 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, ProfileTreeGrammar.ruleNames[ruleIndex]);
80 return super.AlreadyParsedRule(input, ruleIndex);
83 public virtual void Memoize( IIntStream input, in argument
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DInterp.java44 CharStream input = null;
45 /** If the input source is a testsuite file, where is it? */
52 input = new ANTLRFileStream(gunitFile);
57 input = new ANTLRInputStream(System.in);
59 GrammarInfo grammarInfo = parse(input);
67 input = new ANTLRFileStream(gunitFile);
72 input = new ANTLRInputStream(System.in);
74 gUnitExecutor executer = new gUnitExecutor(parse(input), testsuiteDir);
99 public static GrammarInfo parse(CharStream input) throws RecognitionException { argument
100 gUnitLexer lexer = new gUnitLexer(input);
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Derror.rb59 the input to the point at which it started the decision
88 # problem occurred and/or what was the expected input. While the parser
89 # knows its state (such as current input symbol and line info) that
92 # perhaps print an entire line of input not just a single token, for example.
100 to the recognizer by the rules of a grammar and an input symbol which failed to
107 attr_accessor :input, :index, :line, :column, :symbol, :token, :source_name
109 def initialize( input = nil )
112 if @input = input
113 @index = input
[all...]

Completed in 505 milliseconds

<<11121314151617181920>>