Lines Matching defs:const

193 Local<PrimitiveArray> ScriptOrigin::HostDefinedOptions() const {
206 void i::FatalProcessOutOfMemory(i::Isolate* isolate, const char* location) {
212 void i::V8::FatalProcessOutOfMemory(i::Isolate* isolate, const char* location,
311 void Utils::ReportApiFailure(const char* location, const char* message) {
327 void Utils::ReportOOMFailure(i::Isolate* isolate, const char* location,
386 const size_t page_size_ = page_allocator_->AllocatePageSize();
457 const intptr_t* external_references,
465 const StartupData* blob = existing_snapshot
479 SnapshotCreator::SnapshotCreator(const intptr_t* external_references,
599 const int num_additional_contexts = static_cast<int>(data->contexts_.Size());
600 const int num_contexts = num_additional_contexts + 1; // The default context.
686 bool StartupData::CanBeRehashed() const {
691 bool StartupData::IsValid() const { return i::Snapshot::VersionIsValid(this); }
697 void V8::SetFlagsFromString(const char* str) {
701 void V8::SetFlagsFromString(const char* str, size_t length) {
740 ExtensionResource(const char* data, size_t length)
742 const char* data() const override { return data_; }
743 size_t length() const override { return length_; }
747 const char* data_;
756 Extension::Extension(const char* name, const char* source, int dep_count,
757 const char** deps, int source_length)
835 void CopyTracedReference(const internal::Address* const* from,
882 void AnnotateStrongRetainer(i::Address* location, const char* label) {
1005 bool Data::IsModule() const { return Utils::OpenHandle(this)->IsModule(); }
1006 bool Data::IsFixedArray() const {
1010 bool Data::IsValue() const {
1022 bool Data::IsPrivate() const {
1026 bool Data::IsObjectTemplate() const {
1030 bool Data::IsFunctionTemplate() const {
1034 bool Data::IsContext() const { return Utils::OpenHandle(this)->IsContext(); }
1087 const char* location) {
1120 const char* location = "v8::Context::GetEmbedderData()";
1131 const char* location = "v8::Context::SetEmbedderData()";
1142 const char* location = "v8::Context::GetAlignedPointerFromEmbedderData()";
1156 const char* location = "v8::Context::SetAlignedPointerInEmbedderData()";
1269 const char* func) {
1293 const MemorySpan<const CFunction>& c_function_overloads = {},
1334 SideEffectType side_effect_type, const CFunction* c_function,
1353 c_function ? MemorySpan<const CFunction>{c_function, 1}
1354 : MemorySpan<const CFunction>{},
1363 const MemorySpan<const CFunction>& c_function_overloads) {
1412 const MemorySpan<const CFunction>& c_function_overloads) {
1435 const CFunction& c_function = c_function_overloads.data()[i];
1840 const NamedPropertyHandlerConfiguration& config) {
1884 const NamedPropertyHandlerConfiguration& named_handler,
1885 const IndexedPropertyHandlerConfiguration& indexed_handler,
1922 const IndexedPropertyHandlerConfiguration& config) {
1952 int ObjectTemplate::InternalFieldCount() const {
1973 bool ObjectTemplate::IsImmutableProto() const {
1984 bool ObjectTemplate::IsCodeLike() const {
2000 ScriptCompiler::CachedData::CachedData(const uint8_t* data_, int length_,
2031 int UnboundScript::GetId() const {
2214 int PrimitiveArray::Length() const {
2252 int FixedArray::Length() const {
2257 Local<Data> FixedArray::Get(Local<Context> context, int i) const {
2265 Local<String> ModuleRequest::GetSpecifier() const {
2271 int ModuleRequest::GetSourceOffset() const {
2275 Local<FixedArray> ModuleRequest::GetImportAssertions() const {
2281 Module::Status Module::GetStatus() const {
2302 Local<Value> Module::GetException() const {
2311 Local<FixedArray> Module::GetModuleRequests() const {
2327 Location Module::SourceOffsetToLocation(int offset) const {
2366 int Module::ScriptId() const {
2374 bool Module::IsGraphAsync() const {
2384 bool Module::IsSourceTextModule() const {
2388 bool Module::IsSyntheticModule() const {
2392 int Module::GetIdentityHash() const { return Utils::OpenHandle(this)->hash(); }
2427 const std::vector<Local<v8::String>>& export_names,
2735 Local<String> full_source_string, const ScriptOrigin& origin) {
2751 const ScriptOrigin& origin) {
2771 Local<String> full_source_string, const ScriptOrigin& origin) {
2888 bool v8::TryCatch::HasCaught() const {
2893 bool v8::TryCatch::CanContinue() const { return can_continue_; }
2895 bool v8::TryCatch::HasTerminated() const { return has_terminated_; }
2903 v8::Local<Value> v8::TryCatch::Exception() const {
2931 MaybeLocal<Value> v8::TryCatch::StackTrace(Local<Context> context) const {
2936 v8::Local<v8::Message> v8::TryCatch::Message() const {
2964 bool v8::TryCatch::IsVerbose() const { return is_verbose_; }
2970 Local<String> Message::Get() const {
2981 v8::Isolate* Message::GetIsolate() const {
2986 ScriptOrigin Message::GetScriptOrigin() const {
2994 void ScriptOrigin::VerifyHostDefinedOptions() const {
3009 v8::Local<Value> Message::GetScriptResourceName() const {
3014 v8::Local<v8::StackTrace> Message::GetStackTrace() const {
3025 Maybe<int> Message::GetLineNumber(Local<Context> context) const {
3034 int Message::GetStartPosition() const {
3043 int Message::GetEndPosition() const {
3052 int Message::ErrorLevel() const {
3058 int Message::GetStartColumn() const {
3067 int Message::GetWasmFunctionIndex() const {
3091 Maybe<int> Message::GetStartColumn(Local<Context> context) const {
3095 int Message::GetEndColumn() const {
3101 const int column_number = self->GetColumnNumber();
3103 const int start = self->GetStartPosition();
3104 const int end = self->GetEndPosition();
3108 Maybe<int> Message::GetEndColumn(Local<Context> context) const {
3112 bool Message::IsSharedCrossOrigin() const {
3119 bool Message::IsOpaque() const {
3126 MaybeLocal<String> Message::GetSource(Local<Context> context) const {
3135 MaybeLocal<String> Message::GetSourceLine(Local<Context> context) const {
3153 uint32_t index) const {
3160 int StackTrace::GetFrameCount() const {
3184 Location StackFrame::GetLocation() const {
3201 int StackFrame::GetScriptId() const {
3205 Local<String> StackFrame::GetScriptName() const {
3213 Local<String> StackFrame::GetScriptNameOrSourceURL() const {
3222 Local<String> StackFrame::GetScriptSource() const {
3231 Local<String> StackFrame::GetScriptSourceMappingURL() const {
3240 Local<String> StackFrame::GetFunctionName() const {
3248 bool StackFrame::IsEval() const {
3253 bool StackFrame::IsConstructor() const {
3257 bool StackFrame::IsWasm() const { return !IsUserJavaScript(); }
3259 bool StackFrame::IsUserJavaScript() const {
3325 bool ValueSerializer::Delegate::SupportsSharedValues() const { return false; }
3403 void ValueSerializer::WriteRawBytes(const void* source, size_t length) {
3425 bool ValueDeserializer::Delegate::SupportsSharedValues() const { return false; }
3447 PrivateData(i::Isolate* i, base::Vector<const uint8_t> data,
3455 ValueDeserializer::ValueDeserializer(Isolate* isolate, const uint8_t* data,
3459 ValueDeserializer::ValueDeserializer(Isolate* isolate, const uint8_t* data,
3462 base::Vector<const uint8_t>(data, size), delegate);
3477 static const uint32_t kMinimumNonLegacyVersion = 13;
3494 uint32_t ValueDeserializer::GetWireFormatVersion() const {
3537 bool ValueDeserializer::ReadRawBytes(size_t length, const void** data) {
3543 bool Value::FullIsUndefined() const {
3550 bool Value::FullIsNull() const {
3557 bool Value::IsTrue() const {
3563 bool Value::IsFalse() const {
3569 bool Value::IsFunction() const { return Utils::OpenHandle(this)->IsCallable(); }
3571 bool Value::IsName() const { return Utils::OpenHandle(this)->IsName(); }
3573 bool Value::FullIsString() const {
3579 bool Value::IsSymbol() const {
3583 bool Value::IsArray() const { return Utils::OpenHandle(this)->IsJSArray(); }
3585 bool Value::IsArrayBuffer() const {
3591 bool Value::IsArrayBufferView() const {
3595 bool Value::IsTypedArray() const {
3600 bool Value::Is##Type##Array() const { \
3610 bool Value::IsDataView() const {
3614 bool Value::IsSharedArrayBuffer() const {
3620 bool Value::IsObject() const { return Utils::OpenHandle(this)->IsJSReceiver(); }
3622 bool Value::IsNumber() const { return Utils::OpenHandle(this)->IsNumber(); }
3624 bool Value::IsBigInt() const { return Utils::OpenHandle(this)->IsBigInt(); }
3626 bool Value::IsProxy() const { return Utils::OpenHandle(this)->IsJSProxy(); }
3629 bool Value::Is##Type() const { \
3647 bool Value::IsWasmMemoryObject() const { return false; }
3648 bool Value::IsWasmModuleObject() const { return false; }
3655 bool Value::IsBoolean() const { return Utils::OpenHandle(this)->IsBoolean(); }
3657 bool Value::IsExternal() const {
3662 bool Value::IsInt32() const {
3671 bool Value::IsUint32() const {
3682 bool Value::IsNativeError() const {
3686 bool Value::IsRegExp() const {
3691 bool Value::IsAsyncFunction() const {
3698 bool Value::IsGeneratorFunction() const {
3706 bool Value::IsGeneratorObject() const {
3710 bool Value::IsMapIterator() const {
3714 bool Value::IsSetIterator() const {
3718 bool Value::IsPromise() const { return Utils::OpenHandle(this)->IsJSPromise(); }
3720 bool Value::IsModuleNamespaceObject() const {
3724 MaybeLocal<String> Value::ToString(Local<Context> context) const {
3735 MaybeLocal<String> Value::ToDetailString(Local<Context> context) const {
3745 MaybeLocal<Object> Value::ToObject(Local<Context> context) const {
3756 MaybeLocal<BigInt> Value::ToBigInt(Local<Context> context) const {
3767 bool Value::BooleanValue(Isolate* v8_isolate) const {
3772 Local<Boolean> Value::ToBoolean(Isolate* v8_isolate) const {
3779 MaybeLocal<Number> Value::ToNumber(Local<Context> context) const {
3790 MaybeLocal<Integer> Value::ToInteger(Local<Context> context) const {
3801 MaybeLocal<Int32> Value::ToInt32(Local<Context> context) const {
3812 MaybeLocal<Uint32> Value::ToUint32(Local<Context> context) const {
3823 i::Address i::DecodeExternalPointerImpl(const i::Isolate* isolate,
3991 auto i_this = reinterpret_cast<const i::BackingStore*>(this);
3995 void* v8::BackingStore::Data() const {
3996 return reinterpret_cast<const i::BackingStore*>(this)->buffer_start();
3999 size_t v8::BackingStore::ByteLength() const {
4000 return reinterpret_cast<const i::BackingStore*>(this)->byte_length();
4003 bool v8::BackingStore::IsShared() const {
4004 return reinterpret_cast<const i::BackingStore*>(this)->is_shared();
4041 void* v8::ArrayBuffer::Data() const {
4056 void* v8::SharedArrayBuffer::Data() const {
4149 Maybe<double> Value::NumberValue(Local<Context> context) const {
4161 Maybe<int64_t> Value::IntegerValue(Local<Context> context) const {
4175 Maybe<int32_t> Value::Int32Value(Local<Context> context) const {
4188 Maybe<uint32_t> Value::Uint32Value(Local<Context> context) const {
4201 MaybeLocal<Uint32> Value::ToArrayIndex(Local<Context> context) const {
4226 Maybe<bool> Value::Equals(Local<Context> context, Local<Value> that) const {
4237 bool Value::StrictEquals(Local<Value> that) const {
4243 bool Value::SameValue(Local<Value> that) const {
4388 v8::Local<Value> v8::PropertyDescriptor::value() const {
4393 v8::Local<Value> v8::PropertyDescriptor::get() const {
4398 v8::Local<Value> v8::PropertyDescriptor::set() const {
4403 bool v8::PropertyDescriptor::has_value() const {
4406 bool v8::PropertyDescriptor::has_get() const {
4409 bool v8::PropertyDescriptor::has_set() const {
4413 bool v8::PropertyDescriptor::writable() const {
4418 bool v8::PropertyDescriptor::has_writable() const {
4426 bool v8::PropertyDescriptor::enumerable() const {
4431 bool v8::PropertyDescriptor::has_enumerable() const {
4439 bool v8::PropertyDescriptor::configurable() const {
4444 bool v8::PropertyDescriptor::has_configurable() const {
4965 bool v8::Object::HasNamedLookupInterceptor() const {
4971 bool v8::Object::HasIndexedLookupInterceptor() const {
5085 const PersistentBase<Object>& object) {
5116 bool v8::Object::IsCallable() const {
5121 bool v8::Object::IsConstructor() const {
5126 bool v8::Object::IsApiWrapper() const {
5132 bool v8::Object::IsUndetectable() const {
5191 v8::Local<v8::Value> argv[]) const {
5198 SideEffectType side_effect_type) const {
5278 Local<Value> Function::GetName() const {
5296 Local<Value> Function::GetInferredName() const {
5307 Local<Value> Function::GetDebugName() const {
5318 ScriptOrigin Function::GetScriptOrigin() const {
5331 const int Function::kLineOffsetNotFound = -1;
5333 int Function::GetScriptLineNumber() const {
5347 int Function::GetScriptColumnNumber() const {
5361 MaybeLocal<UnboundScript> Function::GetUnboundScript() const {
5369 int Function::ScriptId() const {
5377 Local<v8::Value> Function::GetBoundFunction() const {
5405 int String::Length() const {
5410 bool String::IsOneByte() const {
5420 static const uint32_t value = 0xFF00FF00;
5424 static const uint64_t value = 0xFF00'FF00'FF00'FF00;
5426 static const uintptr_t kOneByteMask = OneByteMask<sizeof(uintptr_t)>::value;
5427 static const uintptr_t kAlignmentMask = sizeof(uintptr_t) - 1;
5428 static inline bool Unaligned(const uint16_t* chars) {
5429 return reinterpret_cast<const uintptr_t>(chars) & kAlignmentMask;
5432 static inline const uint16_t* Align(const uint16_t* chars) {
5440 ContainsOnlyOneByteHelper(const ContainsOnlyOneByteHelper&) = delete;
5441 ContainsOnlyOneByteHelper& operator=(const ContainsOnlyOneByteHelper&) =
5448 void VisitOneByteString(const uint8_t* chars, int length) {
5451 void VisitTwoByteString(const uint16_t* chars, int length) {
5455 const uint16_t* end = chars + length;
5461 const uint16_t* aligned_end = Align(end);
5462 const int increment = sizeof(uintptr_t) / sizeof(uint16_t);
5463 const int inner_loops = 16;
5466 acc |= *reinterpret_cast<const uintptr_t*>(chars);
5525 bool String::ContainsOnlyOneByte() const {
5532 int String::Utf8Length(Isolate* isolate) const {
5567 static int WriteUtf8Impl(base::Vector<const Char> string, char* write_start,
5573 const Char* read_start = string.begin();
5580 static const int kMaxSizePerChar = sizeof(Char) == 1 ? 2 : 3;
5641 static const int kSurrogatePairEncodedSize =
5685 int* nchars_ref, int options) const {
5703 static inline int WriteHelper(i::Isolate* isolate, const String* string,
5724 int length, int options) const {
5730 int options) const {
5735 bool v8::String::IsExternal() const {
5740 bool v8::String::IsExternalTwoByte() const {
5745 bool v8::String::IsExternalOneByte() const {
5751 v8::String::ExternalStringResource* value) const {
5754 const v8::String::ExternalStringResource* expected;
5761 const void* resource = i::ExternalTwoByteString::cast(str).resource();
5762 expected = reinterpret_cast<const ExternalStringResource*>(resource);
5770 v8::String::ExternalStringResourceBase* value, Encoding encoding) const {
5773 const v8::String::ExternalStringResourceBase* expected;
5781 const void* resource = i::ExternalOneByteString::cast(str).resource();
5782 expected = reinterpret_cast<const ExternalStringResourceBase*>(resource);
5785 const void* resource = i::ExternalTwoByteString::cast(str).resource();
5786 expected = reinterpret_cast<const ExternalStringResourceBase*>(resource);
5797 String::ExternalStringResource* String::GetExternalStringResourceSlow() const {
5821 void String::ExternalStringResource::CheckCachedDataInvariants() const {
5830 void String::ExternalOneByteStringResource::CheckCachedDataInvariants() const {
5835 String::Encoding* encoding_out) const {
5860 const v8::String::ExternalOneByteStringResource*
5861 v8::String::GetExternalOneByteStringResource() const {
5875 Local<Value> Symbol::Description(Isolate* isolate) const {
5882 Local<Value> Private::Name() const {
5883 const Symbol* sym = reinterpret_cast<const Symbol*>(this);
5891 double Number::Value() const {
5896 bool Boolean::Value() const {
5901 int64_t Integer::Value() const {
5910 int32_t Int32::Value() const {
5919 uint32_t Uint32::Value() const {
5928 int v8::Object::InternalFieldCount() const {
5935 const char* location) {
5944 const char* location = "v8::Object::GetInternalField()";
5954 const char* location = "v8::Object::SetInternalField()";
5980 const char* location = "v8::Object::GetAlignedPointerFromInternalField()";
5991 const char* location = "v8::Object::SetAlignedPointerInInternalField()";
6022 const char* location = "v8::Object::SetAlignedPointerInInternalFields()";
6056 bool v8::V8::Initialize(const int build_config) {
6057 const bool kEmbedderPointerCompression =
6067 const int kEmbedderSmiValueSize = (build_config & k31BitSmis) ? 31 : 32;
6075 const bool kEmbedderSandboxedExternalPointers =
6086 const bool kEmbedderSandbox = (build_config & kSandbox) != 0;
6197 bool v8::V8::InitializeICU(const char* icu_data_file) {
6201 bool v8::V8::InitializeICUDefaultLocation(const char* exec_path,
6202 const char* icu_data_file) {
6206 void v8::V8::InitializeExternalStartupData(const char* directory_path) {
6211 void v8::V8::InitializeExternalStartupDataFromFile(const char* snapshot_blob) {
6215 const char* v8::V8::GetVersion() { return i::Version::GetVersion(); }
6541 bool Context::IsCodeGenerationFromStringsAllowed() const {
6565 Local<Value> Context::GetContinuationPreservedEmbedderData() const {
6765 v8::Local<v8::Value> value) const {
6788 void* External::Value() const {
6796 inline int StringLength(const char* string) {
6802 inline int StringLength(const uint8_t* string) {
6803 return StringLength(reinterpret_cast<const char*>(string));
6806 inline int StringLength(const uint16_t* string) {
6816 base::Vector<const char> string) {
6826 base::Vector<const uint8_t> string) {
6836 base::Vector<const uint16_t> string) {
6862 base::Vector<const Char>(data, length)) \
6867 Local<String> String::NewFromUtf8Literal(Isolate* isolate, const char* literal,
6875 base::Vector<const char>(literal, length))
6880 MaybeLocal<String> String::NewFromUtf8(Isolate* isolate, const char* data,
6886 MaybeLocal<String> String::NewFromOneByte(Isolate* isolate, const uint8_t* data,
6893 const uint16_t* data,
7013 bool v8::String::CanMakeExternal() const {
7028 bool v8::String::StringEquals(Local<String> that) const {
7090 i::InternalIndex const entry = properties->FindEntry(i_isolate, name);
7156 double v8::NumberObject::ValueOf() const {
7174 Local<v8::BigInt> v8::BigIntObject::ValueOf() const {
7197 bool v8::BooleanObject::ValueOf() const {
7216 Local<v8::String> v8::StringObject::ValueOf() const {
7236 Local<v8::Symbol> v8::SymbolObject::ValueOf() const {
7260 double v8::Date::ValueOf() const {
7308 Local<v8::String> v8::RegExp::GetSource() const {
7328 v8::RegExp::Flags v8::RegExp::GetFlags() const {
7384 uint32_t v8::Array::Length() const {
7402 size_t v8::Map::Size() const {
7489 const bool collect_keys =
7491 const bool collect_values =
7518 Local<Array> Map::AsArray() const {
7535 size_t v8::Set::Size() const {
7597 const bool collect_key_values = kind == SetAsArrayKind::kEntries;
7621 Local<Array> Set::AsArray() const {
7728 bool Promise::HasHandler() const {
7777 bool Proxy::IsRevoked() const {
7801 const char* source_url, size_t url_length)
7821 MemorySpan<const uint8_t> CompiledWasmModule::GetWireBytesRef() {
7823 base::Vector<const uint8_t> bytes_vec = native_module_->wire_bytes();
7856 Isolate* isolate, const CompiledWasmModule& compiled_module) {
7871 Isolate* isolate, MemorySpan<const uint8_t> wire_bytes) {
7873 const uint8_t* start = wire_bytes.data();
7908 void WasmModuleObjectBuilderStreaming::OnBytesReceived(const uint8_t* bytes,
7935 bool v8::ArrayBuffer::IsDetachable() const {
7939 bool v8::ArrayBuffer::WasDetached() const {
7960 size_t v8::ArrayBuffer::ByteLength() const {
8050 const char* source;
8064 bool v8::ArrayBufferView::HasBuffer() const {
8155 size_t v8::SharedArrayBuffer::ByteLength() const {
8341 const uint64_t* words) {
8352 uint64_t v8::BigInt::Uint64Value(bool* lossless) const {
8357 int64_t v8::BigInt::Int64Value(bool* lossless) const {
8362 int BigInt::WordCount() const {
8368 uint64_t* words) const {
8522 CppHeap* Isolate::GetCppHeap() const {
8523 const i::Isolate* isolate = reinterpret_cast<const i::Isolate*>(this);
8601 bool Isolate::IsCurrent() const {
8602 return reinterpret_cast<const i::Isolate*>(this)->IsCurrent();
8617 const v8::Isolate::CreateParams& params) {
8712 Isolate* Isolate::New(const Isolate::CreateParams& params) {
8992 const char* object_type;
8993 const char* object_sub_type;
9047 void Isolate::GetStackSample(const RegisterState& state, void** frames,
9069 const int64_t kMaxReasonableBytes = int64_t(1) << 60;
9070 const int64_t kMinReasonableBytes = -kMaxReasonableBytes;
9164 MicrotasksPolicy Isolate::GetMicrotasksPolicy() const {
9207 const std::shared_ptr<metrics::Recorder>& metrics_recorder) {
9325 const base::AddressRegion& code_region = isolate->heap()->code_region();
9330 void Isolate::GetEmbeddedCodeRange(const void** start,
9334 *start = reinterpret_cast<const void*>(d.code());
9350 reinterpret_cast<const void*>(js_entry.InstructionStart());
9559 bool v8::Object::IsCodeLike(v8::Isolate* isolate) const {
9732 MapAsArrayKind const kind =
9741 SetAsArrayKind const kind =
9751 Local<String> CpuProfileNode::GetFunctionName() const {
9752 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9754 const i::CodeEntry* entry = node->entry();
9760 const char* CpuProfileNode::GetFunctionNameStr() const {
9761 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9765 int CpuProfileNode::GetScriptId() const {
9766 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9767 const i::CodeEntry* entry = node->entry();
9771 Local<String> CpuProfileNode::GetScriptResourceName() const {
9772 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9778 const char* CpuProfileNode::GetScriptResourceNameStr() const {
9779 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9783 bool CpuProfileNode::IsScriptSharedCrossOrigin() const {
9784 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9788 int CpuProfileNode::GetLineNumber() const {
9789 return reinterpret_cast<const i::ProfileNode*>(this)->line_number();
9792 int CpuProfileNode::GetColumnNumber() const {
9793 return reinterpret_cast<const i::ProfileNode*>(this)
9798 unsigned int CpuProfileNode::GetHitLineCount() const {
9799 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9804 unsigned int length) const {
9805 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9809 const char* CpuProfileNode::GetBailoutReason() const {
9810 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9814 unsigned CpuProfileNode::GetHitCount() const {
9815 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks();
9818 unsigned CpuProfileNode::GetNodeId() const {
9819 return reinterpret_cast<const i::ProfileNode*>(this)->id();
9822 CpuProfileNode::SourceType CpuProfileNode::GetSourceType() const {
9823 return reinterpret_cast<const i::ProfileNode*>(this)->source_type();
9826 int CpuProfileNode::GetChildrenCount() const {
9828 reinterpret_cast<const i::ProfileNode*>(this)->children()->size());
9831 const CpuProfileNode* CpuProfileNode::GetChild(int index) const {
9832 const i::ProfileNode* child =
9833 reinterpret_cast<const i::ProfileNode*>(this)->children()->at(index);
9834 return reinterpret_cast<const CpuProfileNode*>(child);
9837 const CpuProfileNode* CpuProfileNode::GetParent() const {
9838 const i::ProfileNode* parent =
9839 reinterpret_cast<const i::ProfileNode*>(this)->parent();
9840 return reinterpret_cast<const CpuProfileNode*>(parent);
9843 const std::vector<CpuProfileDeoptInfo>& CpuProfileNode::GetDeoptInfos() const {
9844 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
9855 Local<String> CpuProfile::GetTitle() const {
9856 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9862 const CpuProfileNode* CpuProfile::GetTopDownRoot() const {
9863 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9864 return reinterpret_cast<const CpuProfileNode*>(profile->top_down()->root());
9867 const CpuProfileNode* CpuProfile::GetSample(int index) const {
9868 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9869 return reinterpret_cast<const CpuProfileNode*>(profile->sample(index).node);
9872 const int CpuProfileNode::kNoLineNumberInfo;
9873 const int CpuProfileNode::kNoColumnNumberInfo;
9875 int64_t CpuProfile::GetSampleTimestamp(int index) const {
9876 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9880 StateTag CpuProfile::GetSampleState(int index) const {
9881 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9885 EmbedderStateTag CpuProfile::GetSampleEmbedderState(int index) const {
9886 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9890 int64_t CpuProfile::GetStartTime() const {
9891 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9895 int64_t CpuProfile::GetEndTime() const {
9896 const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this);
9900 static i::CpuProfile* ToInternal(const CpuProfile* profile) {
9902 reinterpret_cast<const i::CpuProfile*>(profile));
9906 CpuProfile::SerializationFormat format) const {
9915 int CpuProfile::GetSamplesCount() const {
9916 return reinterpret_cast<const i::CpuProfile*>(this)->samples_count();
9941 void* CpuProfilingOptions::raw_filter_context() const {
10062 const char* CodeEvent::GetComment() {
10070 const char* CodeEvent::GetCodeEventTypeName(CodeEventType code_event_type) {
10103 static i::HeapGraphEdge* ToInternal(const HeapGraphEdge* edge) {
10105 reinterpret_cast<const i::HeapGraphEdge*>(edge));
10108 HeapGraphEdge::Type HeapGraphEdge::GetType() const {
10112 Local<Value> HeapGraphEdge::GetName() const {
10132 const HeapGraphNode* HeapGraphEdge::GetFromNode() const {
10133 const i::HeapEntry* from = ToInternal(this)->from();
10134 return reinterpret_cast<const HeapGraphNode*>(from);
10137 const HeapGraphNode* HeapGraphEdge::GetToNode() const {
10138 const i::HeapEntry* to = ToInternal(this)->to();
10139 return reinterpret_cast<const HeapGraphNode*>(to);
10142 static i::HeapEntry* ToInternal(const HeapGraphNode* entry) {
10144 reinterpret_cast<const i::HeapEntry*>(entry));
10147 HeapGraphNode::Type HeapGraphNode::GetType() const {
10151 Local<String> HeapGraphNode::GetName() const {
10157 SnapshotObjectId HeapGraphNode::GetId() const { return ToInternal(this)->id(); }
10159 size_t HeapGraphNode::GetShallowSize() const {
10163 int HeapGraphNode::GetChildrenCount() const {
10167 const HeapGraphEdge* HeapGraphNode::GetChild(int index) const {
10168 return reinterpret_cast<const HeapGraphEdge*>(ToInternal(this)->child(index));
10171 static i::HeapSnapshot* ToInternal(const HeapSnapshot* snapshot) {
10173 reinterpret_cast<const i::HeapSnapshot*>(snapshot));
10187 const HeapGraphNode* HeapSnapshot::GetRoot() const {
10188 return reinterpret_cast<const HeapGraphNode*>(ToInternal(this)->root());
10191 const HeapGraphNode* HeapSnapshot::GetNodeById(SnapshotObjectId id) const {
10192 return reinterpret_cast<const HeapGraphNode*>(
10196 int HeapSnapshot::GetNodesCount() const {
10200 const HeapGraphNode* HeapSnapshot::GetNode(int index) const {
10201 return reinterpret_cast<const HeapGraphNode*>(
10205 SnapshotObjectId HeapSnapshot::GetMaxSnapshotJSObjectId() const {
10210 HeapSnapshot::SerializationFormat format) const {
10220 STATIC_CONST_MEMBER_DEFINITION const SnapshotObjectId
10227 const HeapSnapshot* HeapProfiler::GetHeapSnapshot(int index) {
10228 return reinterpret_cast<const HeapSnapshot*>(
10252 const HeapSnapshot* HeapProfiler::TakeHeapSnapshot(
10255 return reinterpret_cast<const HeapSnapshot*>(
10331 i::LocalEmbedderHeapTracer* const tracer =
10342 i::LocalEmbedderHeapTracer* const tracer =
10352 const BasicTracedReference<v8::Data>& ref) {
10355 i::Heap* const heap = reinterpret_cast<i::Isolate*>(isolate_)->heap();
10368 const v8::TracedReference<v8::Value>& handle) {
10373 const v8::TracedReference<v8::Value>& handle) {
10387 void TracedReferenceBase::CheckValue() const {
10395 CFunction::CFunction(const void* address, const CFunctionInfo* type_info)
10401 CFunctionInfo::CFunctionInfo(const CTypeInfo& return_info,
10402 unsigned int arg_count, const CTypeInfo* arg_info)
10411 const CTypeInfo& CFunctionInfo::ArgumentInfo(unsigned int index) const {
10416 void FastApiTypedArrayBase::ValidateIndex(size_t index) const {
10424 RegisterState::RegisterState(const RegisterState& other) { *this = other; }
10426 RegisterState& RegisterState::operator=(const RegisterState& other) {
10457 void WasmStreaming::OnBytesReceived(const uint8_t* bytes, size_t size) {
10465 bool WasmStreaming::SetCompiledModuleBytes(const uint8_t* bytes, size_t size) {
10471 void WasmStreaming::SetUrl(const char* url, size_t length) { UNREACHABLE(); }
10482 const size_t HandleScopeImplementer::kEnteredContextsOffset =
10484 const size_t HandleScopeImplementer::kIsMicrotaskContextOffset =
10619 const v8::PropertyCallbackInfo<v8::Value>& info,
10629 void InvokeFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>& info,