Home | History | Annotate | Download | only in cpp

Lines Matching refs:v8

31 #include <v8.h>
54 using namespace v8;
59 v8::String::New("Bad argument."))); \
65 v8::String::New("Bad argument."))); \
69 v8::String::New("Must have start <= end"))); \
73 v8::String::New("end cannot be longer than parent.length"))); \
105 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Blob) + length);
123 V8::AdjustAmountOfExternalAllocatedMemory(-(sizeof(Blob) + blob->length));
131 // When someone calls buffer.asciiSlice, data is not copied. Instead V8
248 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Buffer));
264 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Buffer));
274 V8::AdjustAmountOfExternalAllocatedMemory(-static_cast<long int>(sizeof(Buffer)));
294 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Buffer));