v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-strings.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "api.h"
#include "factory.h"
#include "objects.h"
#include "cctest.h"
#include "zone-inl.h"
Include dependency graph for test-strings.cc:

Go to the source code of this file.

Data Structures

class  Resource
 
class  AsciiResource
 
class  AsciiVectorResource
 

Functions

 TEST (Traverse)
 
 TEST (DeepAscii)
 
 TEST (Utf8Conversion)
 
 TEST (ExternalShortStringAdd)
 
 TEST (CachedHashOverflow)
 
 TEST (SliceFromCons)
 
 TEST (SliceFromExternal)
 
 TEST (TrivialSlice)
 
 TEST (SliceFromSlice)
 
 TEST (AsciiArrayJoin)
 
 TEST (RobustSubStringStub)
 
 TEST (RegExpOverflow)
 
 TEST (StringReplaceAtomTwoByteResult)
 
 TEST (IsAscii)
 

Variables

unsigned int seed = 123
 

Function Documentation

TEST ( Traverse  )

Definition at line 233 of file test-strings.cc.

References v8::internal::DELETE_ON_EXIT, and v8::internal::FlattenString().

TEST ( DeepAscii  )
TEST ( Utf8Conversion  )
TEST ( SliceFromExternal  )

Definition at line 520 of file test-strings.cc.

References SlicedString::cast(), CHECK, CHECK_EQ, FACTORY, and SlicedString::parent().

TEST ( TrivialSlice  )

Definition at line 537 of file test-strings.cc.

References String::Cast(), CHECK, check(), CHECK_EQ, FACTORY, and Value::IsString().

TEST ( SliceFromSlice  )
TEST ( RobustSubStringStub  )

Definition at line 634 of file test-strings.cc.

References String::Cast(), and CHECK_EQ.

TEST ( RegExpOverflow  )
TEST ( StringReplaceAtomTwoByteResult  )

Definition at line 697 of file test-strings.cc.

References String::Cast(), CHECK, and Value::IsString().

TEST ( IsAscii  )

Definition at line 714 of file test-strings.cc.

References CHECK, String::IsAscii(), and v8::internal::NULL.

Variable Documentation