29 #include "../include/v8stdint.h"
51 ASSERT(static_cast<size_t>(n) <= strlen(s));
58 for (
int i = 0; i < count; i++) {
65 uint32_t number =
static_cast<uint32_t
>(value);
68 number =
static_cast<uint32_t
>(-value);
71 for (uint32_t factor = 10; digits < 10; digits++, factor *= 10) {
72 if (factor > number)
break;
75 for (
int i = 1; i <= digits; i++) {
void AddString(const char *s)
#define ASSERT(condition)
SimpleStringBuilder(int size)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size
static void MemCopy(void *dest, const void *src, size_t size)
bool is_finalized() const
static Vector< T > New(int length)
int StrLength(const char *string)
void AddSubstring(const char *s, int n)
void AddCharacter(char c)
void AddDecimalInteger(int value)
void AddPadding(char c, int count)