/dports/www/firefox/firefox-99.0/js/src/proxy/ |
H A D | Wrapper.cpp | 161 InvokeArgs iargs(cx); in call() 180 ConstructArgs cargs(cx); in construct() 185 RootedObject obj(cx); in construct() 264 return Unbox(cx, target, vp); in boxedValue_unbox() 283 ar.emplace(cx, &cx->compartment()->globalForNewCCW()); in New() 388 RootedObject wrapper(cx, obj); in CheckedUnwrapDynamic() 405 MOZ_ASSERT(cx); in UnwrapOneCheckedDynamic() 406 MOZ_ASSERT(cx->realm()); in UnwrapOneCheckedDynamic() 447 cx->isExceptionPending() && !cx->isThrowingDebuggeeWouldRun()) { in ~ErrorCopier() 448 RootedValue exc(cx); in ~ErrorCopier() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/proxy/ |
H A D | Wrapper.cpp | 160 InvokeArgs iargs(cx); in call() 179 ConstructArgs cargs(cx); in construct() 184 RootedObject obj(cx); in construct() 263 return Unbox(cx, target, vp); in boxedValue_unbox() 282 ar.emplace(cx, &cx->compartment()->globalForNewCCW()); in New() 387 RootedObject wrapper(cx, obj); in CheckedUnwrapDynamic() 404 MOZ_ASSERT(cx); in UnwrapOneCheckedDynamic() 405 MOZ_ASSERT(cx->realm()); in UnwrapOneCheckedDynamic() 446 cx->isExceptionPending() && !cx->isThrowingDebuggeeWouldRun()) { in ~ErrorCopier() 447 RootedValue exc(cx); in ~ErrorCopier() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/js/ipc/ |
H A D | WrapperOwner.cpp | 187 if (!ok(cx, status)) in getPropertyDescriptor() 217 if (!ok(cx, status)) in getOwnPropertyDescriptor() 488 RootedFunction qi(cx, JS_NewFunction(cx, CPOWDOMQI, 1, 0, in get() 504 if (!ok(cx, status)) in get() 512 RootedFunction toString(cx, JS_NewFunction(cx, CPOWToString, 0, 0, in get() 636 RootedValue v(cx); in callOrConstruct() 676 if (!ok(cx, status)) in callOrConstruct() 821 if (!ok(cx, status)) in getPrototype() 849 if (!ok(cx, status)) in getPrototypeIfOrdinary() 876 if (!ok(cx, status)) in regexp_toShared() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/js/ipc/ |
H A D | WrapperOwner.cpp | 176 return ipcfail(cx); in getPropertyDescriptor() 202 return ipcfail(cx); in getOwnPropertyDescriptor() 231 return ipcfail(cx); in defineProperty() 293 return ok(cx, status); in has() 564 RootedValue v(cx); in callOrConstruct() 599 return ipcfail(cx); in callOrConstruct() 607 RootedObject obj(cx); in callOrConstruct() 743 return ipcfail(cx); in getPrototypeIfOrdinary() 838 RootedId id(cx); in getPropertyKeys() 930 RootedValue exn(cx); in ok() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/ |
H A D | Interpreter-inl.h | 227 RootedObject obj(cx), pobj(cx); in GetEnvironmentName() 249 RootedId key(cx); in HasOwnProperty() 253 RootedObject obj(cx, ToObject(cx, val)); in HasOwnProperty() 262 RootedPropertyName name(cx, cx->currentScript()->getName(pc)); in GetIntrinsicOperation() 263 return GlobalObject::getIntrinsicValue(cx, cx->global(), name, vp); in GetIntrinsicOperation() 269 return GlobalObject::setIntrinsicValue(cx, cx->global(), name, val); in SetIntrinsicOperation() 361 RootedShape shape(cx, lexicalEnv->lookup(cx, script->getName(pc))); in InitGlobalLexicalOperation() 437 RootedId id(cx); in ToIdOperation() 489 RootedObject boxed(cx, ToObjectFromStack(cx, receiver)); in GetPrimitiveElementOperation() 586 RootedId id(cx); in InitElemOperation() [all …]
|
H A D | Debugger.cpp | 1474 if (!cx->compartment()->wrap(cx, vp)) { in processResumptionValue() 1496 if (!cx->compartment()->wrap(cx, vp)) { in processParsedHandlerResultHelper() 2162 : compartments_(cx), zones_(cx) { in ExecutionObservableCompartments() 3886 : cx(cx), in ScriptQuery() 3895 vector(cx, ScriptVector(cx)), in ScriptQuery() 4404 : objects(cx), cx(cx), dbg(dbg), className(cx) {} in ObjectQuery() 5142 RootedObject obj(cx), s(cx); in DebuggerScript_getChildScripts() 10581 RootedNativeObject objProto(cx), debugCtor(cx), debugProto(cx), in JS_DefineDebuggerObject() 10582 frameProto(cx), scriptProto(cx), sourceProto(cx), objectProto(cx), in JS_DefineDebuggerObject() 10583 envProto(cx), memoryProto(cx); in JS_DefineDebuggerObject() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jsapi-tests/ |
H A D | testProfileStrings.cpp | 33 JS::RootedValue r(cx); in test_fn2() 34 JS::RootedObject global(cx, JS::CurrentGlobalOrNull(cx)); in test_fn2() 63 JS::RootedObject global(cx, JS::CurrentGlobalOrNull(cx)); in initialize() 81 reset(cx); in BEGIN_TEST() 98 reset(cx); in BEGIN_TEST() 125 reset(cx); in BEGIN_TEST() 154 reset(cx); in BEGIN_TEST() 177 reset(cx); in BEGIN_TEST() 190 reset(cx); in BEGIN_TEST() 199 reset(cx); in BEGIN_TEST() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/builtin/streams/ |
H A D | ReadableStreamOperations.cpp | 135 cx, NewObjectWithClassProto<ReadableStream>(cx, proto)); in create() 251 if (!GetProperty(cx, result, result, cx->names().value, &value)) { in TeeReaderReadHandler() 342 if (!cx->compartment()->wrap(cx, &teeState)) { in ReadableStreamTee_Pull() 347 cx, NewHandler(cx, TeeReaderReadHandler, teeState)); in ReadableStreamTee_Pull() 401 if (!cx->compartment()->wrap(cx, &unwrappedReason)) { in ReadableStreamTee_Cancel() 427 if (!cx->compartment()->wrap(cx, &reason1) || in ReadableStreamTee_Cancel() 428 !cx->compartment()->wrap(cx, &reason2)) { in ReadableStreamTee_Cancel() 467 if (!cx->compartment()->wrap(cx, &cancelPromise)) { in ReadableStreamTee_Cancel() 526 cx, CreateReadableStreamDefaultReader(cx, unwrappedStream, in ReadableStreamTee() 598 cx, NewHandler(cx, TeeReaderErroredHandler, teeState)); in ReadableStreamTee() [all …]
|
H A D | ReadableStreamDefaultController.cpp | 220 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_close() 251 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_enqueue() 282 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_error() 369 Rooted<Value> rval(cx); in ReadableStreamControllerCancelSteps() 376 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 386 if (!cx->compartment()->wrap(cx, &rval)) { in ReadableStreamControllerCancelSteps() 410 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 419 if (!cx->compartment()->wrap(cx, &result)) { in ReadableStreamControllerCancelSteps() 439 JSContext* cx, in ReadableStreamDefaultControllerPullSteps() argument 481 cx->check(chunk); in ReadableStreamDefaultControllerPullSteps() [all …]
|
H A D | ReadableStreamDefaultControllerOperations.cpp | 72 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullHandler() 107 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullFailedHandler() 161 if (!cx->compartment()->wrap(cx, &wrappedController)) { in ReadableStreamControllerCallPullIfNeeded() 219 if (!cx->compartment()->wrap(cx, &pullPromise)) { in ReadableStreamControllerCallPullIfNeeded() 231 cx, NewHandler(cx, ControllerPullHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 236 cx, NewHandler(cx, ControllerPullFailedHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 334 JSContext* cx, in ReadableStreamDefaultControllerClose() argument 399 if (!cx->compartment()->wrap(cx, &strategySize)) { in ReadableStreamDefaultControllerEnqueue() 559 cx, NewBuiltinClassInstance<ReadableStreamDefaultController>(cx)); in SetUpReadableStreamDefaultController() 609 cx, PromiseObject::unforgeableResolve(cx, startResult)); in SetUpReadableStreamDefaultController() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/builtin/ |
H A D | Reflect.cpp | 29 RootedObject obj(cx, NonNullObject(cx, args.get(0))); in Reflect_defineProperty() 35 RootedId key(cx); in Reflect_defineProperty() 59 RootedObject target(cx, NonNullObject(cx, args.get(0))); in Reflect_deleteProperty() 65 RootedId key(cx); in Reflect_deleteProperty() 84 RootedObject obj(cx, NonNullObject(cx, args.get(0))); in Reflect_get() 90 RootedId key(cx); in Reflect_get() 122 RootedObject target(cx, NonNullObject(cx, args.get(0))); in Reflect_getPrototypeOf() 141 RootedObject target(cx, NonNullObject(cx, args.get(0))); in Reflect_isExtensible() 174 RootedObject target(cx, NonNullObject(cx, args.get(0))); in Reflect_preventExtensions() 193 RootedObject target(cx, NonNullObject(cx, args.get(0))); in Reflect_set() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/proxy/ |
H A D | Wrapper.cpp | 82 return GetIterator(cx, target); in enumerate() 155 InvokeArgs iargs(cx); in call() 172 ConstructArgs cargs(cx); in construct() 175 RootedObject obj(cx); in construct() 212 ReportIncompatible(cx, args); in nativeCall() 256 return RegExpToShared(cx, target); in regexp_toShared() 262 return Unbox(cx, target, vp); in boxedValue_unbox() 388 JSContext* cx = ac->context(); in ~ErrorCopier() local 392 if (ac->origin() != cx->compartment() && cx->isExceptionPending() && in ~ErrorCopier() 394 RootedValue exc(cx); in ~ErrorCopier() [all …]
|
/dports/www/firefox/firefox-99.0/js/src/debugger/ |
H A D | Debugger.cpp | 278 if (!cx->compartment()->wrap(cx, &rval)) { in ApplyFrameResumeMode() 1006 if (!cx->compartment()->wrap(cx, &rval)) { in slowPathOnNativeCall() 2021 : cx(cx), dbg(dbg), result(result) { in BuildValueMatcher() 2986 explicit ExecutionObservableRealms(JSContext* cx) : realms_(cx), zones_(cx) {} in ExecutionObservableRealms() argument 4063 : cx(cx), args(args), dbg(dbg) {} in CallData() 4904 : cx(cx), in QueryBase() 5595 : QueryBase(cx, dbg), sources(cx, SourceSet(cx->zone())) {} in SourceQuery() 5717 : objects(cx), cx(cx), dbg(dbg), className(cx) {} in ObjectQuery() 6683 RootedNativeObject debugCtor(cx), debugProto(cx), frameProto(cx), in JS_DefineDebuggerObject() 6684 scriptProto(cx), sourceProto(cx), objectProto(cx), envProto(cx), in JS_DefineDebuggerObject() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/js/src/shell/ |
H A D | js.cpp | 965 RootedObject info(cx, JS_NewPlainObject(cx)); in CreateScriptPrivate() 1206 if (!cx->compartment()->wrap(cx, &global)) { in GlobalOfFirstJobInQueue() 2034 if (!cx || cx->isHelperThreadContext()) { in my_LargeAllocFailCallback() 2298 RootedObject callerGlobal(cx, cx->global()); in Evaluate() 3247 RootedScript script(cx, GetTopScript(cx)); in GetScriptAndPCArgs() 3284 RootedScript script(cx, GetTopScript(cx)); in LineToPC() 4503 if (!cx->compartment()->wrap(cx, &obj)) { in NewSandbox() 5763 Rooted<IdVector> ids(cx, IdVector(cx)); in GetModuleEnvironmentNames() 8798 RootedValue fun(cx), dummy(cx); in EntryPoints() 8816 RootedValue objectv(cx), propv(cx), valuev(cx); in EntryPoints() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/shell/ |
H A D | js.cpp | 965 RootedObject info(cx, JS_NewPlainObject(cx)); in CreateScriptPrivate() 1206 if (!cx->compartment()->wrap(cx, &global)) { in GlobalOfFirstJobInQueue() 2034 if (!cx || cx->isHelperThreadContext()) { in my_LargeAllocFailCallback() 2298 RootedObject callerGlobal(cx, cx->global()); in Evaluate() 3247 RootedScript script(cx, GetTopScript(cx)); in GetScriptAndPCArgs() 3284 RootedScript script(cx, GetTopScript(cx)); in LineToPC() 4503 if (!cx->compartment()->wrap(cx, &obj)) { in NewSandbox() 5763 Rooted<IdVector> ids(cx, IdVector(cx)); in GetModuleEnvironmentNames() 8798 RootedValue fun(cx), dummy(cx); in EntryPoints() 8816 RootedValue objectv(cx), propv(cx), valuev(cx); in EntryPoints() [all …]
|
/dports/games/krank/krank-07/levels/ |
H A D | level030.py | 13 pos = k.config.stage < 3 and (cx, cy) or (cx-w*0.42, cy) 37 (cx-w*1/4, cy), 38 (cx+w*1/4, cy), 39 (cx-w*2/6, cy), 60 anchor = [(cx-d, cy-d), 62 (cx+d, cy-d), 63 (cx+d, cy+d), 64 (cx, cy-2*d), 66 (cx+2*d, cy), 67 (cx-2*d, cy), [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/js/src/debugger/ |
H A D | Debugger.cpp | 284 if (!cx->compartment()->wrap(cx, &rval)) { in ApplyFrameResumeMode() 1002 if (!cx->compartment()->wrap(cx, &rval)) { in slowPathOnNativeCall() 1112 cx, Debugger::DebuggerFrameVector(cx)); in slowPathOnLeaveFrame() 2006 : cx(cx), dbg(dbg), result(result) { in BuildValueMatcher() 4053 : cx(cx), args(args), dbg(dbg) {} in CallData() 4894 : cx(cx), in QueryBase() 5585 : QueryBase(cx, dbg), sources(cx, SourceSet(cx->zone())) {} in SourceQuery() 5707 : objects(cx), cx(cx), dbg(dbg), className(cx) {} in ObjectQuery() 6674 RootedNativeObject debugCtor(cx), debugProto(cx), frameProto(cx), in JS_DefineDebuggerObject() 6675 scriptProto(cx), sourceProto(cx), objectProto(cx), envProto(cx), in JS_DefineDebuggerObject() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/debugger/ |
H A D | Debugger.cpp | 284 if (!cx->compartment()->wrap(cx, &rval)) { in ApplyFrameResumeMode() 1002 if (!cx->compartment()->wrap(cx, &rval)) { in slowPathOnNativeCall() 1112 cx, Debugger::DebuggerFrameVector(cx)); in slowPathOnLeaveFrame() 2006 : cx(cx), dbg(dbg), result(result) { in BuildValueMatcher() 4053 : cx(cx), args(args), dbg(dbg) {} in CallData() 4894 : cx(cx), in QueryBase() 5585 : QueryBase(cx, dbg), sources(cx, SourceSet(cx->zone())) {} in SourceQuery() 5707 : objects(cx), cx(cx), dbg(dbg), className(cx) {} in ObjectQuery() 6674 RootedNativeObject debugCtor(cx), debugProto(cx), frameProto(cx), in JS_DefineDebuggerObject() 6675 scriptProto(cx), sourceProto(cx), objectProto(cx), envProto(cx), in JS_DefineDebuggerObject() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/js/src/builtin/streams/ |
H A D | ReadableStreamDefaultController.cpp | 220 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_close() 251 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_enqueue() 282 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_error() 369 Rooted<Value> rval(cx); in ReadableStreamControllerCancelSteps() 376 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 386 if (!cx->compartment()->wrap(cx, &rval)) { in ReadableStreamControllerCancelSteps() 410 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 419 if (!cx->compartment()->wrap(cx, &result)) { in ReadableStreamControllerCancelSteps() 439 JSContext* cx, in ReadableStreamDefaultControllerPullSteps() argument 481 cx->check(chunk); in ReadableStreamDefaultControllerPullSteps() [all …]
|
H A D | ReadableStreamDefaultControllerOperations.cpp | 71 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullHandler() 106 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullFailedHandler() 160 if (!cx->compartment()->wrap(cx, &wrappedController)) { in ReadableStreamControllerCallPullIfNeeded() 218 if (!cx->compartment()->wrap(cx, &pullPromise)) { in ReadableStreamControllerCallPullIfNeeded() 230 cx, NewHandler(cx, ControllerPullHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 235 cx, NewHandler(cx, ControllerPullFailedHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 333 JSContext* cx, in ReadableStreamDefaultControllerClose() argument 398 if (!cx->compartment()->wrap(cx, &strategySize)) { in ReadableStreamDefaultControllerEnqueue() 558 cx, NewBuiltinClassInstance<ReadableStreamDefaultController>(cx)); in SetUpReadableStreamDefaultController() 608 cx, PromiseObject::unforgeableResolve(cx, startResult)); in SetUpReadableStreamDefaultController() [all …]
|
/dports/www/firefox/firefox-99.0/js/src/builtin/streams/ |
H A D | ReadableStreamDefaultController.cpp | 220 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_close() 251 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_enqueue() 282 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_error() 369 Rooted<Value> rval(cx); in ReadableStreamControllerCancelSteps() 376 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 386 if (!cx->compartment()->wrap(cx, &rval)) { in ReadableStreamControllerCancelSteps() 410 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 419 if (!cx->compartment()->wrap(cx, &result)) { in ReadableStreamControllerCancelSteps() 439 JSContext* cx, in ReadableStreamDefaultControllerPullSteps() argument 481 cx->check(chunk); in ReadableStreamDefaultControllerPullSteps() [all …]
|
H A D | ReadableStreamDefaultControllerOperations.cpp | 72 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullHandler() 107 cx, UnwrapCalleeSlot<ReadableStreamController>(cx, args, 0)); in ControllerPullFailedHandler() 161 if (!cx->compartment()->wrap(cx, &wrappedController)) { in ReadableStreamControllerCallPullIfNeeded() 219 if (!cx->compartment()->wrap(cx, &pullPromise)) { in ReadableStreamControllerCallPullIfNeeded() 231 cx, NewHandler(cx, ControllerPullHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 236 cx, NewHandler(cx, ControllerPullFailedHandler, wrappedController)); in ReadableStreamControllerCallPullIfNeeded() 334 JSContext* cx, in ReadableStreamDefaultControllerClose() argument 399 if (!cx->compartment()->wrap(cx, &strategySize)) { in ReadableStreamDefaultControllerEnqueue() 559 cx, NewBuiltinClassInstance<ReadableStreamDefaultController>(cx)); in SetUpReadableStreamDefaultController() 609 cx, PromiseObject::unforgeableResolve(cx, startResult)); in SetUpReadableStreamDefaultController() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/builtin/streams/ |
H A D | ReadableStreamDefaultController.cpp | 220 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_close() 251 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_enqueue() 282 cx, UnwrapAndTypeCheckThis<ReadableStreamDefaultController>(cx, args, in ReadableStreamDefaultController_error() 369 Rooted<Value> rval(cx); in ReadableStreamControllerCancelSteps() 376 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 386 if (!cx->compartment()->wrap(cx, &rval)) { in ReadableStreamControllerCancelSteps() 410 if (!cx->compartment()->wrap(cx, &wrappedReason)) { in ReadableStreamControllerCancelSteps() 419 if (!cx->compartment()->wrap(cx, &result)) { in ReadableStreamControllerCancelSteps() 439 JSContext* cx, in ReadableStreamDefaultControllerPullSteps() argument 481 cx->check(chunk); in ReadableStreamDefaultControllerPullSteps() [all …]
|
/dports/devel/jsl/jsl-0.3.0/src/ |
H A D | jscntxt.c | 72 cx = (JSContext *) malloc(sizeof *cx); in js_NewContext() 73 if (!cx) in js_NewContext() 75 memset(cx, 0, sizeof *cx); in js_NewContext() 116 if (!js_InitRegExpStatics(cx, &cx->regExpStatics)) { in js_NewContext() 214 js_FreeRegExpStatics(cx, &cx->regExpStatics); in js_DestroyContext() 291 JS_free(cx, cx->lint); in js_DestroyContext() 318 if (!cx) in js_ContextIterator() 320 cx = (JSContext *)cx->links.next; in js_ContextIterator() 985 cx->lastMessage = JS_strdup(cx, message); in js_ReportErrorAgain() 997 !hook(cx, cx->lastMessage, reportp, in js_ReportErrorAgain() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/builtin/ |
H A D | Intl.cpp | 457 RootedAtom a(cx, Atomize(cx, lang, strlen(lang))); in intl_availableLocales() 478 if (!GlobalObject::getIntrinsicValue(cx, cx->global(), cx->names().getInternals, in GetInternals() 632 RootedObject proto(cx, cx->global()->getOrCreateCollatorPrototype(cx)); in Collator() 689 RootedFunction ctor(cx, global->createConstructor(cx, &Collator, cx->names().Collator, 0)); in InitCollatorClass() 713 if (!GlobalObject::getIntrinsicValue(cx, cx->global(), cx->names().CollatorCompareGet, &getter)) in InitCollatorClass() 786 RootedObject collations(cx, NewDenseEmptyArray(cx)); in intl_availableCollations() 1126 RootedObject proto(cx, cx->global()->getOrCreateNumberFormatPrototype(cx)); in NumberFormat() 1209 if (!GlobalObject::getIntrinsicValue(cx, cx->global(), cx->names().NumberFormatFormatGet, in InitNumberFormatClass() 1595 RootedObject proto(cx, cx->global()->getOrCreateDateTimeFormatPrototype(cx)); in DateTimeFormat() 1678 if (!GlobalObject::getIntrinsicValue(cx, cx->global(), cx->names().DateTimeFormatFormatGet, in InitDateTimeFormatClass() [all …]
|