Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
string.cc File Reference
#include "vm/bootstrap_natives.h"
#include "include/dart_api.h"
#include "platform/unicode.h"
#include "vm/dart_api_impl.h"
#include "vm/exceptions.h"
#include "vm/isolate.h"
#include "vm/native_entry.h"
#include "vm/object.h"
#include "vm/object_store.h"
#include "vm/symbols.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Functions

 dart::DEFINE_NATIVE_ENTRY (String_fromEnvironment, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (StringBase_createFromCodePoints, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (StringBase_substringUnchecked, 0, 3)
 
static uint16_t dart::CharacterLimit (const String &string, intptr_t start, intptr_t end)
 
static bool dart::CheckSlicesOneByte (const String &base, const Array &matches, const int len)
 
 dart::DEFINE_NATIVE_ENTRY (StringBase_joinReplaceAllResult, 0, 4)
 
 dart::DEFINE_NATIVE_ENTRY (StringBase_intern, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (OneByteString_substringUnchecked, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (Internal_allocateOneByteString, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (Internal_allocateTwoByteString, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (OneByteString_allocateFromOneByteList, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (Internal_writeIntoOneByteString, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (Internal_writeIntoTwoByteString, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (TwoByteString_allocateFromTwoByteList, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (String_getHashCode, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (String_getLength, 0, 1)
 
static uint16_t dart::StringValueAt (const String &str, const Integer &index)
 
 dart::DEFINE_NATIVE_ENTRY (String_charAt, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (String_concat, 0, 2)
 
 dart::DEFINE_NATIVE_ENTRY (String_toLowerCase, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (String_toUpperCase, 0, 1)
 
 dart::DEFINE_NATIVE_ENTRY (String_concatRange, 0, 3)
 
 dart::DEFINE_NATIVE_ENTRY (StringBuffer_createStringFromUint16Array, 0, 3)
 

Variables

static constexpr intptr_t dart::kLengthSize = 11
 
static constexpr intptr_t dart::kLengthMask = (1 << kLengthSize) - 1