Home | History | Annotate | Download | only in src

Lines Matching refs:extension

13 #include "src/extensions/externalize-string-extension.h"
14 #include "src/extensions/free-buffer-extension.h"
15 #include "src/extensions/gc-extension.h"
16 #include "src/extensions/ignition-statistics-extension.h"
17 #include "src/extensions/statistics-extension.h"
18 #include "src/extensions/trigger-failure-extension.h"
78 v8::Extension* Bootstrapper::free_buffer_extension_ = NULL;
79 v8::Extension* Bootstrapper::gc_extension_ = NULL;
80 v8::Extension* Bootstrapper::externalize_string_extension_ = NULL;
81 v8::Extension* Bootstrapper::statistics_extension_ = NULL;
82 v8::Extension* Bootstrapper::trigger_failure_extension_ = NULL;
83 v8::Extension* Bootstrapper::ignition_statistics_extension_ = NULL;
249 ExtensionTraversalState get_state(RegisteredExtension* extension);
250 void set_state(RegisteredExtension* extension,
292 static bool CompileExtension(Isolate* isolate, v8::Extension* extension);
928 // closure and extension object later (we need the empty function
1082 JSGlobalObject::cast(native_context()->extension()));
1185 // Set extension and global object.
2919 { // --- context extension
2920 // Create a function for the context extension objects.
3080 // For non-extension scripts, run script to get the function wrapper.
3109 bool Genesis::CompileExtension(Isolate* isolate, v8::Extension* extension) {
3116 ->NewExternalStringFromOneByte(extension->source())
3122 Vector<const char> name = CStrVector(extension->name());
3132 context, extension, NULL, ScriptCompiler::kNoCompileOptions,
4439 static uint32_t Hash(RegisteredExtension* extension) {
4440 return v8::internal::ComputePointerHash(extension);
4446 RegisteredExtension* extension) {
4447 base::HashMap::Entry* entry = map_.Lookup(extension, Hash(extension));
4455 void Genesis::ExtensionStates::set_state(RegisteredExtension* extension,
4457 map_.LookupOrInsert(extension, Hash(extension))->value =
4489 if (it->extension()->auto_enable() &&
4508 // Installs a named extension. This methods is unoptimized and does
4516 if (strcmp(name, it->extension()->name()) == 0) {
4522 "Cannot find required extension");
4536 "Circular extension dependency")) {
4541 v8::Extension* extension = current->extension();
4542 // Install the extension's dependencies
4543 for (int i = 0; i < extension->dependency_count(); i++) {
4545 extension->dependencies()[i],
4551 bool result = CompileExtension(isolate, extension);
4554 // We print out the name of the extension that fail to install.
4558 base::OS::PrintError("Error installing extension '%s'.\n",
4559 current->extension()->name());