Home
last modified time | relevance | path

Searched refs:start_position (Results 1 – 25 of 61) sorted by relevance

123

/external/grpc-grpc/examples/cpp/route_guide/
Dhelper.cc35 size_t start_position = argv_1.find(arg_str); in GetDbFileContent() local
36 if (start_position != std::string::npos) { in GetDbFileContent()
37 start_position += arg_str.size(); in GetDbFileContent()
38 if (argv_1[start_position] == ' ' || in GetDbFileContent()
39 argv_1[start_position] == '=') { in GetDbFileContent()
40 db_path = argv_1.substr(start_position + 1); in GetDbFileContent()
/external/v8/src/parsing/
Dpreparser.cc105 int start_position = scanner()->peek_location().beg_pos; in PreParseProgram() local
113 CheckStrictOctalLiteral(start_position, scanner()->location().end_pos, &ok); in PreParseProgram()
174 formals.arity, kind, formals.has_rest, function_scope->start_position(), in PreParseFunction()
245 CheckStrictOctalLiteral(function_scope->start_position(), end_pos, ok); in PreParseFunction()
310 int start_position = scanner()->location().beg_pos; in ParseFunctionLiteral() local
311 function_scope->set_start_position(start_position); in ParseFunctionLiteral()
317 CheckArityRestrictions(formals.arity, kind, formals.has_rest, start_position, in ParseFunctionLiteral()
346 CheckStrictOctalLiteral(start_position, end_position, CHECK_OK); in ParseFunctionLiteral()
368 event_name, script_id(), ms, function_scope->start_position(), in ParseFunctionLiteral()
417 const PreParserIdentifier& name, int start_position, InferName infer) { in ExpressionFromIdentifier() argument
[all …]
Dpreparsed-scope-data.cc218 function_scope_->start_position(), end_position, in MarkFunctionAsSkippable()
224 int start_position, int end_position, int num_parameters, in AddSkippableFunction() argument
237 byte_data_->WriteUint32(start_position); in AddSkippableFunction()
275 byte_data_->WriteUint32(scope->start_position()); in SaveScopeAllocationData()
512 Zone* zone, int start_position, int* end_position, int* num_parameters, in GetDataForSkippableFunction() argument
520 CHECK_EQ(start_position, start_position_from_data); in GetDataForSkippableFunction()
523 DCHECK_GT(*end_position, start_position); in GetDataForSkippableFunction()
559 DCHECK_EQ(start_position_from_data, scope->start_position()); in RestoreScopeAllocationData()
Dscanner-inl.h15 int start_position = source_pos(); in SkipWhiteSpace() local
32 if (source_pos() == start_position) { in SkipWhiteSpace()
Dparse-info.h144 int start_position() const { return start_position_; } in start_position() function
145 void set_start_position(int start_position) { in set_start_position() argument
146 start_position_ = start_position; in set_start_position()
Dpreparsed-scope-data.h160 void AddSkippableFunction(int start_position, int end_position,
231 Zone* zone, int start_position, int* end_position, int* num_parameters,
/external/v8/src/
Dpending-compilation-error-handler.h32 void ReportMessageAt(int start_position, int end_position,
37 void ReportMessageAt(int start_position, int end_position,
42 void ReportWarningAt(int start_position, int end_position,
75 MessageDetails(int start_position, int end_position, in MessageDetails() argument
78 : start_position_(start_position), in MessageDetails()
Dpending-compilation-error-handler.cc34 int start_position, int end_position, MessageTemplate::Template message, in ReportMessageAt() argument
40 MessageDetails(start_position, end_position, message, nullptr, arg); in ReportMessageAt()
45 int start_position, int end_position, MessageTemplate::Template message, in ReportMessageAt() argument
51 MessageDetails(start_position, end_position, message, arg, nullptr); in ReportMessageAt()
56 int start_position, int end_position, MessageTemplate::Template message, in ReportWarningAt() argument
59 MessageDetails(start_position, end_position, message, nullptr, arg)); in ReportWarningAt()
Djson-parser.cc381 int start_position = position_; in ParseJsonObject() local
391 position_ = start_position; in ParseJsonObject()
478 int start_position = position_; in ParseJsonObject() local
488 position_ = start_position; in ParseJsonObject()
/external/v8/src/profiler/
Dsampling-heap-profiler.h76 int start_position) in AllocationNode() argument
79 script_position_(start_position), in AllocationNode()
90 static FunctionId function_id(int script_id, int start_position, in function_id() argument
102 DCHECK(static_cast<unsigned>(start_position) < (1u << 31)); in function_id()
103 return (static_cast<uint64_t>(script_id) << 32) + (start_position << 1); in function_id()
106 int start_position);
Dsampling-heap-profiler.cc145 int start_position) { in FindOrAddChildNode() argument
146 FunctionId id = function_id(script_id, start_position, name); in FindOrAddChildNode()
152 auto child = new AllocationNode(this, name, script_id, start_position); in FindOrAddChildNode()
/external/v8/src/debug/
Dliveedit.cc531 : position(is_start ? literal->start_position() in SourcePositionEvent()
536 : position(is_start ? change.start_position : change.end_position), in SourcePositionEvent()
539 (change.end_position - change.start_position)) {} in SourcePositionEvent()
558 if (a.literal->start_position() != b.literal->start_position()) { in LessThan()
559 return a.literal->start_position() > b.literal->start_position(); in LessThan()
628 : event.literal->start_position() + delta, in CalculateFunctionLiteralChanges()
683 DCHECK(literal->start_position() != kNoSourcePosition); in MapLiterals()
688 : std::make_pair(literal->start_position(), in MapLiterals()
813 int start_position = sfi->StartPosition(); in Lookup() local
814 if (!sfi->script()->IsScript() || start_position == -1) { in Lookup()
[all …]
Ddebug.cc1278 void GetBreakablePositions(Iterator* it, int start_position, int end_position, in GetBreakablePositions() argument
1281 if (it->position() >= start_position && it->position() < end_position) { in GetBreakablePositions()
1288 void FindBreakablePositions(Handle<DebugInfo> debug_info, int start_position, in FindBreakablePositions() argument
1293 GetBreakablePositions(&it, start_position, end_position, locations); in FindBreakablePositions()
1297 bool Debug::GetPossibleBreakpoints(Handle<Script> script, int start_position, in GetPossibleBreakpoints() argument
1302 FindSharedFunctionInfoInScript(script, start_position); in GetPossibleBreakpoints()
1312 FindBreakablePositions(debug_info, start_position, end_position, locations); in GetPossibleBreakpoints()
1322 if (info->EndPosition() < start_position || in GetPossibleBreakpoints()
1350 FindBreakablePositions(debug_info, start_position, end_position, in GetPossibleBreakpoints()
1368 int start_position = shared->function_token_position(); in NewCandidate() local
[all …]
Dliveedit.h25 int start_position; member
Ddebug-scopes.cc207 Smi::FromInt(start_position())); in MaterializeScopeDetails()
220 int ScopeIterator::start_position() { in start_position() function in v8::internal::ScopeIterator
221 if (InInnerScope()) return current_scope_->start_position(); in start_position()
524 int beg_pos = inner_scope->start_position(); in RetrieveScopeChain()
/external/v8/src/regexp/
Dinterpreter-irregexp.cc595 int start_position) { in Match() argument
604 if (start_position != 0) previous_char = subject_vector[start_position - 1]; in Match()
609 start_position, in Match()
614 if (start_position != 0) previous_char = subject_vector[start_position - 1]; in Match()
619 start_position, in Match()
Dinterpreter-irregexp.h23 int start_position);
/external/v8/src/objects/
Dshared-function-info-inl.h57 INT32_ACCESSORS(UncompiledData, start_position, kStartPositionOffset) in ACCESSORS()
294 return uncompiled_data()->start_position(); in StartPosition()
319 void SharedFunctionInfo::SetPosition(int start_position, int end_position) { in SetPosition() argument
324 info->SetPositionInfo(start_position, end_position); in SetPosition()
332 uncompiled_data()->set_start_position(start_position); in SetPosition()
719 int start_position = shared_info->StartPosition(); in DiscardCompiled() local
751 handle(shared_info->inferred_name(), isolate), start_position, in DiscardCompiled()
Dshared-function-info.h72 DECL_INT32_ACCESSORS(start_position)
240 inline void SetPosition(int start_position, int end_position);
532 int start_position);
Dliteral-objects.cc490 Handle<Smi> start_position(Smi::FromInt(expr->start_position()), isolate); in BuildClassBoilerplate() local
493 factory->NewTuple2(start_position, end_position, NOT_TENURED); in BuildClassBoilerplate()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc311 size_t start_position, size_t input_length, in CorrelateAndPeakSearch() argument
346 start_index = std::max(start_position, start_index); in CorrelateAndPeakSearch()
371 ((best_correlation_index + input_length) < start_position)) { in CorrelateAndPeakSearch()
Dmerge.h88 size_t start_position, size_t input_length,
/external/v8/src/builtins/
Dbuiltins-string-gen.cc99 Node* const start_position) { in CallSearchStringRaw() argument
111 search_ptr, search_length, start_position); in CallSearchStringRaw()
828 TNode<IntPtrT> const start_position = IntPtrMax(SmiUntag(position), int_zero); in StringIndexOf() local
836 IntPtrSub(subject_length, start_position)), in StringIndexOf()
869 CSA_ASSERT(this, IntPtrGreaterThanOrEqual(start_position, int_zero)); in StringIndexOf()
870 CSA_ASSERT(this, IntPtrGreaterThanOrEqual(subject_length, start_position)); in StringIndexOf()
873 IntPtrSub(subject_length, start_position))); in StringIndexOf()
898 Node* const string_addr = IntPtrAdd(adjusted_subject_ptr, start_position); in StringIndexOf()
899 Node* const search_length = IntPtrSub(subject_length, start_position); in StringIndexOf()
911 IntPtrAdd(IntPtrSub(result_address, string_addr), start_position); in StringIndexOf()
[all …]
/external/v8/src/ast/
Dast.h1587 VariableProxy(Variable* var, int start_position);
1590 int start_position) in VariableProxy() argument
1591 : Expression(start_position, kVariableProxy), in VariableProxy()
2239 int start_position() const;
2337 start_position(), in return_position()
2481 int start_position() const { return position(); } in start_position() function
2512 int start_position, int end_position, in ClassLiteral() argument
2515 : Expression(start_position, kClassLiteral), in ClassLiteral()
3055 int start_position = kNoSourcePosition) {
3056 return new (zone_) VariableProxy(var, start_position);
[all …]
Dast.cc188 VariableProxy::VariableProxy(Variable* var, int start_position) in VariableProxy() argument
189 : Expression(start_position, kVariableProxy), in VariableProxy()
254 int FunctionLiteral::start_position() const { in start_position() function in v8::internal::FunctionLiteral
255 return scope()->start_position(); in start_position()

123