Home
last modified time | relevance | path

Searched refs:Peek (Results 1 – 25 of 95) sorted by relevance

1234

/external/v8/src/date/
Ddateparser-inl.h92 if (scanner.Peek().IsSymbol('.')) scanner.Next(); in Parse()
96 if (!scanner.Peek().IsNumber()) return false; in Parse()
106 DateToken peek = scanner.Peek(); in Parse()
131 if (scanner.Peek().IsNumber()) return false; in Parse()
140 if (scanner.Peek().IsNumber()) { in Parse()
147 if (scanner.Peek().IsSymbol(':')) { in Parse()
245 if (scanner->Peek().IsAsciiSign()) { in ParseES5DateTime()
249 if (!scanner->Peek().IsFixedLengthNumber(6)) return sign_token; in ParseES5DateTime()
254 } else if (scanner->Peek().IsFixedLengthNumber(4)) { in ParseES5DateTime()
260 if (!scanner->Peek().IsFixedLengthNumber(2) || in ParseES5DateTime()
[all …]
/external/libchrome/base/
Dsync_socket_unittest.cc37 ASSERT_EQ(socket_->Peek(), 0u); in Run()
76 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek()
77 ASSERT_EQ(0u, socket_b->Peek()); in SendReceivePeek()
82 ASSERT_EQ(sizeof(kSending), socket_b->Peek()); in SendReceivePeek()
86 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek()
87 ASSERT_EQ(0u, socket_b->Peek()); in SendReceivePeek()
92 ASSERT_EQ(sizeof(kSending), socket_a->Peek()); in SendReceivePeek()
96 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek()
97 ASSERT_EQ(0u, socket_b->Peek()); in SendReceivePeek()
/external/v8/src/asmjs/
Dasm-parser.cc269 } else if (!Peek('}') && !scanner_.IsPrecededByNewline()) { in SkipSemicolon()
341 while (Peek(TOK(function))) { in ValidateModule()
344 while (Peek(TOK(var))) { in ValidateModule()
388 if (!Peek(')')) { in ValidateModuleParameters()
393 if (!Peek(')')) { in ValidateModuleParameters()
399 if (!Peek(')')) { in ValidateModuleParameters()
413 while (Peek(TOK(var)) || Peek(TOK(const))) { in ValidateModuleVars()
479 } else if (Peek(foreign_name_) || Peek('+')) { in ValidateModuleVar()
644 if (!Peek('}')) { in ValidateExport()
704 if (!Peek(']')) { in ValidateFunctionTable()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParseTreeBuilder.cs95 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
105 ParseTree ruleNode = callStack.Peek(); in ExitRule()
117 ParseTree ruleNode = callStack.Peek(); in ConsumeToken()
135 ParseTree ruleNode = callStack.Peek(); in RecognitionException()
DProfiler.cs178 string g = currentGrammarFileName.Peek(); in EnterDecision()
185 descriptor.fileName = currentGrammarFileName.Peek(); in EnterDecision()
186 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision()
187 descriptor.line = currentLine.Peek(); in EnterDecision()
188 descriptor.pos = currentPos.Peek(); in EnterDecision()
363 return decisionStack.Peek(); in CurrentDecision()
714 currentGrammarFileName.Peek(), in LocationDescription()
715 currentRuleName.Peek(), in LocationDescription()
716 currentLine.Peek(), in LocationDescription()
717 currentPos.Peek()); in LocationDescription()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DParseTreeBuilder.cs84 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
93 ParseTree ruleNode = callStack.Peek(); in ExitRule()
103 ParseTree ruleNode = callStack.Peek(); in ConsumeToken()
119 ParseTree ruleNode = callStack.Peek(); in RecognitionException()
DProfiler.cs166 string g = currentGrammarFileName.Peek(); in EnterDecision()
172 descriptor.fileName = currentGrammarFileName.Peek(); in EnterDecision()
173 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision()
174 descriptor.line = currentLine.Peek(); in EnterDecision()
175 descriptor.pos = currentPos.Peek(); in EnterDecision()
330 return decisionStack.Peek(); in CurrentDecision()
654 currentGrammarFileName.Peek(), in LocationDescription()
655 currentRuleName.Peek(), in LocationDescription()
656 currentLine.Peek(), in LocationDescription()
657 currentPos.Peek()); in LocationDescription()
/external/v8/src/torque/
Dcsa-generator.cc21 parameters.Peek(i)); in EmitGraph()
31 if (block->InputDefinitions().Peek(i).IsPhiFromBlock(block)) { in EmitGraph()
33 out() << block->InputTypes().Peek(i)->GetGeneratedTNodeTypeName(); in EmitGraph()
74 const auto& def = block->InputDefinitions().Peek(i); in EmitBlock()
78 << block->InputTypes().Peek(i)->GetGeneratedTNodeTypeName() in EmitBlock()
446 if (input_definitions.Peek(i).IsPhiFromBlock( in EmitInstruction()
449 << (i < stack->AboveTop() ? stack->Peek(i) : results[i.offset]); in EmitInstruction()
466 if (label_definitions.Peek(i).IsPhiFromBlock( in EmitInstruction()
468 out() << ", " << stack->Peek(i); in EmitInstruction()
472 if (label_definitions.Peek(i).IsPhiFromBlock( in EmitInstruction()
[all …]
Dcc-generator.cc21 parameters.Peek(i)); in EmitGraph()
32 DefinitionLocation input_def = block->InputDefinitions().Peek(i); in EmitGraph()
33 if (block->InputDefinitions().Peek(i).IsPhiFromBlock(block)) { in EmitGraph()
34 out() << " " << block->InputTypes().Peek(i)->GetRuntimeType() << " " in EmitGraph()
74 const auto& def = block->InputDefinitions().Peek(i); in EmitBlock()
77 decls() << " " << block->InputTypes().Peek(i)->GetRuntimeType() << " " in EmitBlock()
293 DefinitionLocation def = destination_definitions.Peek(i); in EmitGoto()
296 << stack->Peek(i) << ";\n"; in EmitGoto()
454 out << values.Peek(result.stack_range().begin()); in EmitCCValue()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/
DListStack`1.cs40 public T Peek() in Peek() method in Antlr.Runtime.Misc.ListStack
42 return Peek(0); in Peek()
45 public T Peek(int depth) in Peek() method in Antlr.Runtime.Misc.ListStack
/external/libchrome/ipc/
Dsync_socket_unittest.cc147 EXPECT_EQ(kHelloStringLength, socket_->Peek()); in OnMsgClassResponse()
152 EXPECT_EQ(0U, socket_->Peek()); in OnMsgClassResponse()
175 EXPECT_EQ(0U, pair[0].Peek()); in TEST_F()
176 EXPECT_EQ(0U, pair[1].Peek()); in TEST_F()
290 size_t bytes_in_buffer = pair[1].Peek(); in TEST_F()
296 EXPECT_EQ(bytes_in_buffer, pair[1].Peek()); in TEST_F()
/external/libchrome/base/message_loop/
Dincoming_task_queue.h55 virtual const PendingTask& Peek() = 0;
158 const PendingTask& Peek() override;
179 const PendingTask& Peek() override;
208 const PendingTask& Peek() override;
Dincoming_task_queue.cc97 const PendingTask& IncomingTaskQueue::TriageQueue::Peek() { in Peek() function in base::internal::IncomingTaskQueue::TriageQueue
175 const PendingTask& IncomingTaskQueue::DelayedQueue::Peek() { in Peek() function in base::internal::IncomingTaskQueue::DelayedQueue
197 while (!queue_.empty() && Peek().task.IsCancelled()) in HasTasks()
225 const PendingTask& IncomingTaskQueue::DeferredQueue::Peek() { in Peek() function in base::internal::IncomingTaskQueue::DeferredQueue
/external/tensorflow/tensorflow/core/platform/
Dscanner_test.cc316 TEST_F(ScannerTest, Peek) { in TEST_F() argument
317 EXPECT_EQ('a', Scanner("abc").Peek()); in TEST_F()
318 EXPECT_EQ('a', Scanner("abc").Peek('b')); in TEST_F()
319 EXPECT_EQ('\0', Scanner("").Peek()); in TEST_F()
320 EXPECT_EQ('z', Scanner("").Peek('z')); in TEST_F()
321 EXPECT_EQ('A', Scanner("0123A").Any(Scanner::DIGIT).Peek()); in TEST_F()
322 EXPECT_EQ('\0', Scanner("0123A").Any(Scanner::LETTER_DIGIT).Peek()); in TEST_F()
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc44 StringPiece fragment = Peek(); in CopyTo()
152 StringPiece ArrayByteSource::Peek() { in Peek() function in google::protobuf::strings::ArrayByteSource
175 StringPiece LimitByteSource::Peek() { in Peek() function in google::protobuf::strings::LimitByteSource
176 StringPiece piece(source_->Peek()); in Peek()
Dbytestream.h128 virtual StringPiece Peek() = 0;
301 virtual StringPiece Peek() override;
333 virtual StringPiece Peek() override;
/external/rust/crates/syn/0.15.42/src/
Dlookahead.rs102 pub fn peek<T: Peek>(&self, token: T) -> bool { in peek()
146 pub trait Peek: Sealed { trait
152 impl<F: Copy + FnOnce(TokenMarker) -> T, T: Token> Peek for F {
Dext.rs12 use parse::Peek;
115 impl Peek for private::PeekFn {
/external/rust/crates/syn/1.0.7/src/
Dlookahead.rs102 pub fn peek<T: Peek>(&self, token: T) -> bool { in peek()
146 pub trait Peek: Sealed { trait
152 impl<F: Copy + FnOnce(TokenMarker) -> T, T: Token> Peek for F {
Dext.rs10 use crate::parse::Peek;
109 impl Peek for private::PeekFn {
/external/vixl/examples/aarch64/
Dswap-int32.cc48 __ Peek(w1, 0); in GenerateSwapInt32() local
49 __ Peek(w0, 4); in GenerateSwapInt32() local
Dswap4.cc43 __ Peek(x3, 0); in GenerateSwap4() local
44 __ Peek(x2, 8); in GenerateSwap4() local
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DUnbufferedTokenStream.cs101 return _realTokens.Peek();
115 _realTokens.Push(_realTokens.Peek()); in Mark()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_testutil.cc240 while (scanner.Peek() != ']') { in MakeShapeFromString()
241 if (scanner.Peek() == '?') { in MakeShapeFromString()
257 if (scanner.Peek() == ',') { in MakeShapeFromString()
259 } else if (scanner.Peek() != ']') { in MakeShapeFromString()
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_text_util.h125 if (scanner->Peek() != '#') return; in ProtoSpaceAndComments()
127 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL); in ProtoSpaceAndComments()

1234