Lines Matching defs:context
409 if (!t->NewInstance(env->context()).ToLocal(&obj)) return;
413 int flags = args[1]->Uint32Value(env->context()).ToChecked();
453 int flags = args[2]->Uint32Value(env->context()).ToChecked();
864 Local<Context> context,
866 Environment* env = Environment::GetCurrent(context);
867 SetMethod(context, target, "toUnicode", ToUnicode);
868 SetMethod(context, target, "toASCII", ToASCII);
869 SetMethod(context, target, "getStringWidth", GetStringWidth);
872 SetMethod(context, target, "icuErrName", ICUErrorName);
873 SetMethod(context, target, "transcode", Transcode);
887 SetMethod(context, target, "getConverter", ConverterObject::Create);
888 SetMethod(context, target, "decode", ConverterObject::Decode);
889 SetMethod(context, target, "hasConverter", ConverterObject::Has);