Home
last modified time | relevance | path

Searched refs:IsConstructor (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dtypeannotation_test.py142 self.assertFalse(self._ParseType('').IsConstructor())
143 self.assertFalse(self._ParseType('Array.<number>').IsConstructor())
144 self.assertTrue(self._ParseType('function(new:T)').IsConstructor())
Dtypeannotation.py79 def IsConstructor(self): member in TypeAnnotation
/external/v8/src/debug/
Ddebug-frames.cc77 bool FrameInspector::IsConstructor() { in IsConstructor() function in v8::internal::FrameInspector
80 : frame_->IsConstructor(); in IsConstructor()
Ddebug-frames.h28 bool IsConstructor();
/external/v8/src/js/
Druntime.js152 if (%IsConstructor(species)) {
Darray.js1780 result = %IsConstructor(this) ? new this() : [];
1808 result = %IsConstructor(this) ? new this(len) : new GlobalArray(len);
1831 var array = %IsConstructor(constructor) ? new constructor(length) : [];
/external/v8/src/runtime/
Druntime-function.cc129 RUNTIME_ASSERT(fun->IsConstructor()); in RUNTIME_FUNCTION()
232 return isolate->heap()->ToBoolean(object->IsConstructor()); in RUNTIME_FUNCTION()
Druntime-proxy.cc104 DCHECK(target->IsConstructor()); in RUNTIME_FUNCTION()
Druntime-generator.cc25 if (frame->IsConstructor()) { in RUNTIME_FUNCTION()
Druntime-internal.cc358 CALLSITE_GET(IsConstructor, ReturnBoolean) in CALLSITE_GET()
Druntime-array.cc250 DCHECK(new_target->IsConstructor()); in ArrayConstructorCommon()
Druntime-classes.cc97 } else if (super_class->IsConstructor()) { in DefineClass()
Druntime.h242 F(IsConstructor, 1, 1) \
/external/v8/src/
Dobjects-debug.cc25 CHECK(!IsConstructor() || IsCallable()); in ObjectVerify()
41 CHECK(!IsConstructor()); in SmiVerify()
560 CHECK_EQ(IsConstructor(), bound_target_function()->IsConstructor()); in JSBoundFunctionVerify()
841 CHECK_EQ(target()->IsConstructor(), map()->is_constructor()); in JSProxyVerify()
Dframes.cc744 bool JavaScriptFrame::IsConstructor() const { in IsConstructor() function in v8::internal::JavaScriptFrame
805 IsConstructor()); in Summarize()
858 if (frame->IsConstructor()) PrintF(file, "new "); in PrintTop()
948 bool is_constructor = IsConstructor(); in Summarize()
1197 if (IsConstructor()) accumulator->Add("new "); in Print()
Dmessages.h63 bool IsConstructor();
Dmessages.cc314 bool CallSite::IsConstructor() { in IsConstructor() function in v8::internal::CallSite
Dframes.h591 bool IsConstructor() const;
Dfactory.cc1987 target_function->IsConstructor() in NewJSBoundFunction()
1996 DCHECK_EQ(target_function->IsConstructor(), map->is_constructor()); in NewJSBoundFunction()
2017 if (target->IsConstructor()) { in NewJSProxy()
/external/v8/src/parsing/
Dpreparser.h66 bool IsConstructor() const { return type_ == kConstructorIdentifier; } in IsConstructor() function
636 static bool IsConstructor(PreParserIdentifier identifier) { in IsConstructor() function
637 return identifier.IsConstructor(); in IsConstructor()
Dparser-base.h892 bool IsConstructor() { in IsConstructor() function
1752 if (in_class && !is_static && this->IsConstructor(*name)) { in ParsePropertyDefinition()
3360 } else if (IsConstructor()) { in CheckProperty()
Dparser.h372 bool IsConstructor(const AstRawString* identifier) const;
/external/v8/src/compiler/
Djs-inlining.cc308 !function->IsConstructor()) { in ReduceJSCall()
Djs-call-reducer.cc399 if (!function->IsConstructor()) { in ReduceJSCallConstruct()
/external/clang/lib/Parse/
DParseDecl.cpp4631 bool IsConstructor = false; in isConstructorDeclarator() local
4633 IsConstructor = true; in isConstructorDeclarator()
4666 IsConstructor = true; in isConstructorDeclarator()
4681 IsConstructor = IsUnqualified; in isConstructorDeclarator()
4686 IsConstructor = true; in isConstructorDeclarator()
4692 return IsConstructor; in isConstructorDeclarator()

12