Lines Matching refs:base
10 #include "src/base/bits.h"
11 #include "src/base/export-template.h"
12 #include "src/base/strings.h"
130 base::Vector<const uint8_t> ToOneByteVector() const {
132 return base::Vector<const uint8_t>(onebyte_start, length_);
136 base::Vector<const base::uc16> ToUC16Vector() const {
138 return base::Vector<const base::uc16>(twobyte_start, length_);
141 base::uc16 Get(int i) const {
171 inline FlatContent(const base::uc16* start, int length,
178 const base::uc16* twobyte_start;
201 V8_INLINE base::Vector<const Char> GetCharVector(
280 // a flat vector of char or of base::uc16.
372 inline bool IsEqualTo(base::Vector<const Char> str, Isolate* isolate) const;
380 inline bool IsEqualTo(base::Vector<const Char> str) const;
388 inline bool IsEqualTo(base::Vector<const Char> str,
391 V8_EXPORT_PRIVATE bool HasOneBytePrefix(base::Vector<const char> str);
392 V8_EXPORT_PRIVATE inline bool IsOneByteEqualTo(base::Vector<const char> str);
480 static const base::uc32 kMaxCodePoint = 0x10ffff;
530 static inline int NonOneByteStart(const base::uc16* chars, int length) {
531 DCHECK(IsAligned(reinterpret_cast<Address>(chars), sizeof(base::uc16)));
555 chars += (sizeof(uintptr_t) / sizeof(base::uc16));
570 static inline bool IsOneByte(const base::uc16* chars, int length) {
613 base::Vector<const Char> str, PtrComprCageBase cage_base,
619 ConsString string, int slice_offset, base::Vector<const Char> str,
626 V8_EXPORT_PRIVATE V8_INLINE static base::Optional<FlatContent>
779 inline base::uc16* GetChars(const DisallowGarbageCollection& no_gc) const;
782 inline base::uc16* GetChars(
1035 inline base::uc32 Get(int index) const;
1075 static_assert(base::bits::IsPowerOfTwo(kStackSize),