Home | History | Annotate | Download | only in cpp

Lines Matching refs:constructor_template

79 Persistent<FunctionTemplate> Buffer::constructor_template;
168 Local<Object> b = constructor_template->GetFunction()->NewInstance(1, &arg);
355 constructor_template->GetFunction()->NewInstance(3, argv);
448 constructor_template->GetFunction()->Set(chars_written_sym,
620 constructor_template = Persistent<FunctionTemplate>::New(t);
621 constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
622 constructor_template->SetClassName(String::NewSymbol("Buffer"));
625 SET_PROTOTYPE_METHOD(constructor_template, "binarySlice", Buffer::BinarySlice);
626 SET_PROTOTYPE_METHOD(constructor_template, "asciiSlice", Buffer::AsciiSlice);
627 SET_PROTOTYPE_METHOD(constructor_template, "slice", Buffer::Slice);
630 SET_PROTOTYPE_METHOD(constructor_template, "utf8Slice", Buffer::Utf8Slice);
632 SET_PROTOTYPE_METHOD(constructor_template, "utf8Write", Buffer::Utf8Write);
633 SET_PROTOTYPE_METHOD(constructor_template, "asciiWrite", Buffer::AsciiWrite);
634 SET_PROTOTYPE_METHOD(constructor_template, "binaryWrite", Buffer::BinaryWrite);
635 SET_PROTOTYPE_METHOD(constructor_template, "unpack", Buffer::Unpack);
636 SET_PROTOTYPE_METHOD(constructor_template, "copy", Buffer::Copy);
638 SET_PROTOTYPE_METHOD(constructor_template, "byteLength", Buffer::ByteLength);
640 target->Set(String::NewSymbol("Buffer"), constructor_template);