Lines Matching refs:internal
25 namespace internal {
82 V8_INLINE static int SmiToInt(const internal::Address value) {
107 V8_INLINE static int SmiToInt(const internal::Address value) {
151 V8_INLINE static constexpr internal::Address IntToSmi(int value) {
321 V8_EXPORT internal::Isolate* IsolateFromNeverReadOnlySpaceObject(Address obj);
326 V8_EXPORT bool ShouldThrowOnError(v8::internal::Isolate* isolate);
337 V8_INLINE static constexpr internal::Address UnpackMapWord(
338 internal::Address mapword) {
450 V8_INLINE static bool HasHeapObjectTag(const internal::Address value) {
454 V8_INLINE static int SmiValue(const internal::Address value) {
458 V8_INLINE static constexpr internal::Address IntToSmi(int value) {
459 return internal::IntToSmi(value);
466 V8_INLINE static int GetInstanceType(const internal::Address obj) {
467 typedef internal::Address A;
475 V8_INLINE static int GetOddballKind(const internal::Address obj) {
484 V8_INLINE static uint8_t GetNodeFlag(internal::Address* obj, int shift) {
489 V8_INLINE static void UpdateNodeFlag(internal::Address* obj, bool value,
496 V8_INLINE static uint8_t GetNodeState(internal::Address* obj) {
501 V8_INLINE static void UpdateNodeState(internal::Address* obj, uint8_t value) {
508 internal::Address addr = reinterpret_cast<internal::Address>(isolate) +
516 internal::Address addr = reinterpret_cast<internal::Address>(isolate) +
523 internal::Address addr = reinterpret_cast<internal::Address>(isolate) +
528 V8_INLINE static internal::Address* GetRoot(v8::Isolate* isolate, int index) {
529 internal::Address addr = reinterpret_cast<internal::Address>(isolate) +
532 return reinterpret_cast<internal::Address*>(addr);
536 V8_INLINE static T ReadRawField(internal::Address heap_object_ptr,
538 internal::Address addr = heap_object_ptr + offset - kHeapObjectTag;
553 V8_INLINE static internal::Address ReadTaggedPointerField(
554 internal::Address heap_object_ptr, int offset) {
557 internal::Address base =
559 return base + static_cast<internal::Address>(static_cast<uintptr_t>(value));
561 return ReadRawField<internal::Address>(heap_object_ptr, offset);
565 V8_INLINE static internal::Address ReadTaggedSignedField(
566 internal::Address heap_object_ptr, int offset) {
569 return static_cast<internal::Address>(static_cast<uintptr_t>(value));
571 return ReadRawField<internal::Address>(heap_object_ptr, offset);
575 V8_INLINE static internal::Isolate* GetIsolateForSandbox(
576 internal::Address obj) {
578 return internal::IsolateFromNeverReadOnlySpaceObject(obj);
589 return internal::DecodeExternalPointerImpl(isolate, encoded_pointer, tag);
595 V8_INLINE static internal::Address ReadExternalPointerField(
596 internal::Isolate* isolate, internal::Address heap_object_ptr, int offset,
599 internal::ExternalPointer_t encoded_value =
610 V8_INLINE static internal::Address GetPtrComprCageBaseFromOnHeapAddress(
611 internal::Address addr) {
615 V8_INLINE static internal::Address DecompressTaggedAnyField(
616 internal::Address heap_object_ptr, uint32_t value) {
617 internal::Address base =
619 return base + static_cast<internal::Address>(static_cast<uintptr_t>(value));
657 } // namespace internal