Lines Matching defs:descriptor
1140 thrower.TypeError("Argument 0 must be a table descriptor");
1144 Local<v8::Object> descriptor = Local<Object>::Cast(args[0]);
1146 // The descriptor's 'element'.
1149 descriptor->Get(context, v8_str(isolate, "element"));
1174 if (!GetInitialOrMinimumProperty(isolate, &thrower, context, descriptor,
1179 // The descriptor's 'maximum'.
1182 if (!GetOptionalIntegerProperty(isolate, &thrower, context, descriptor,
1239 thrower.TypeError("Argument 0 must be a memory descriptor");
1243 Local<v8::Object> descriptor = Local<Object>::Cast(args[0]);
1246 if (!GetInitialOrMinimumProperty(isolate, &thrower, context, descriptor,
1250 // The descriptor's 'maximum'.
1252 if (!GetOptionalIntegerProperty(isolate, &thrower, context, descriptor,
1261 // Shared property of descriptor
1264 descriptor->Get(context, shared_key);
1274 // Throw TypeError if shared is true, and the descriptor has no "maximum"
1409 thrower.TypeError("Argument 0 must be a global descriptor");
1413 Local<v8::Object> descriptor = Local<Object>::Cast(args[0]);
1416 // The descriptor's 'mutable'.
1420 v8::MaybeLocal<v8::Value> maybe = descriptor->Get(context, mutable_key);
1430 // The descriptor's type, called 'value'. It is called 'value' because this
1431 // descriptor is planned to be re-used as the global's type for reflection,
1436 descriptor->Get(context, v8_str(isolate, "value"));