Home
last modified time | relevance | path

Searched refs:aCx (Results 1 – 25 of 4729) sorted by relevance

12345678910>>...190

/dports/www/firefox/firefox-99.0/toolkit/components/telemetry/tests/gtest/
H A DTelemetryTestHelpers.cpp27 JS::RootedValue value(aCx); in CheckUintScalar()
44 JS::RootedValue value(aCx); in CheckBoolScalar()
57 JS::RootedValue value(aCx); in CheckStringScalar()
74 JS::RootedValue keyedScalar(aCx); in CheckKeyedUintScalar()
85 JS::RootedValue keyedScalar(aCx); in CheckKeyedBoolScalar()
97 JS::RootedValue keyedScalar(aCx); in CheckNumberOfProperties()
104 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in CheckNumberOfProperties()
291 JS::RootedValue snapshot(aCx); in GetEncodedOriginStrings()
330 JS::RootedValue prioVal(aCx); in GetEncodedOriginStrings()
337 JS::RootedValue aVal(aCx); in GetEncodedOriginStrings()
[all …]
H A DTestOrigins.cpp59 JS::RootedValue origins(aCx); in TEST_F()
66 JS::RootedValue count(aCx); in TEST_F()
77 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
99 JS::RootedValue origins(aCx); in TEST_F()
106 JS::RootedValue count(aCx); in TEST_F()
116 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
147 JS::RootedValue origins(aCx); in TEST_F()
154 JS::RootedValue count(aCx); in TEST_F()
175 JS::RootedValue origins(aCx); in TEST_F()
182 JS::RootedValue count(aCx); in TEST_F()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/telemetry/tests/gtest/
H A DTelemetryTestHelpers.cpp24 JS::RootedValue value(aCx); in CheckUintScalar()
41 JS::RootedValue value(aCx); in CheckBoolScalar()
54 JS::RootedValue value(aCx); in CheckStringScalar()
71 JS::RootedValue keyedScalar(aCx); in CheckKeyedUintScalar()
82 JS::RootedValue keyedScalar(aCx); in CheckKeyedBoolScalar()
94 JS::RootedValue keyedScalar(aCx); in CheckNumberOfProperties()
101 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in CheckNumberOfProperties()
204 JS::RootedValue snapshot(aCx); in GetEncodedOriginStrings()
243 JS::RootedValue prioVal(aCx); in GetEncodedOriginStrings()
250 JS::RootedValue aVal(aCx); in GetEncodedOriginStrings()
[all …]
H A DTestOrigins.cpp59 JS::RootedValue origins(aCx); in TEST_F()
66 JS::RootedValue count(aCx); in TEST_F()
77 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
99 JS::RootedValue origins(aCx); in TEST_F()
106 JS::RootedValue count(aCx); in TEST_F()
116 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
147 JS::RootedValue origins(aCx); in TEST_F()
154 JS::RootedValue count(aCx); in TEST_F()
175 JS::RootedValue origins(aCx); in TEST_F()
182 JS::RootedValue count(aCx); in TEST_F()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/telemetry/tests/gtest/
H A DTelemetryTestHelpers.cpp24 JS::RootedValue value(aCx); in CheckUintScalar()
41 JS::RootedValue value(aCx); in CheckBoolScalar()
54 JS::RootedValue value(aCx); in CheckStringScalar()
71 JS::RootedValue keyedScalar(aCx); in CheckKeyedUintScalar()
82 JS::RootedValue keyedScalar(aCx); in CheckKeyedBoolScalar()
94 JS::RootedValue keyedScalar(aCx); in CheckNumberOfProperties()
101 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in CheckNumberOfProperties()
204 JS::RootedValue snapshot(aCx); in GetEncodedOriginStrings()
243 JS::RootedValue prioVal(aCx); in GetEncodedOriginStrings()
250 JS::RootedValue aVal(aCx); in GetEncodedOriginStrings()
[all …]
H A DTestOrigins.cpp58 JS::RootedValue origins(aCx); in TEST_F()
65 JS::RootedValue count(aCx); in TEST_F()
76 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
98 JS::RootedValue origins(aCx); in TEST_F()
105 JS::RootedValue count(aCx); in TEST_F()
115 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
146 JS::RootedValue origins(aCx); in TEST_F()
153 JS::RootedValue count(aCx); in TEST_F()
174 JS::RootedValue origins(aCx); in TEST_F()
181 JS::RootedValue count(aCx); in TEST_F()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/telemetry/tests/gtest/
H A DTelemetryTestHelpers.cpp24 JS::RootedValue value(aCx); in CheckUintScalar()
41 JS::RootedValue value(aCx); in CheckBoolScalar()
54 JS::RootedValue value(aCx); in CheckStringScalar()
71 JS::RootedValue keyedScalar(aCx); in CheckKeyedUintScalar()
82 JS::RootedValue keyedScalar(aCx); in CheckKeyedBoolScalar()
94 JS::RootedValue keyedScalar(aCx); in CheckNumberOfProperties()
101 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in CheckNumberOfProperties()
204 JS::RootedValue snapshot(aCx); in GetEncodedOriginStrings()
243 JS::RootedValue prioVal(aCx); in GetEncodedOriginStrings()
250 JS::RootedValue aVal(aCx); in GetEncodedOriginStrings()
[all …]
H A DTestOrigins.cpp58 JS::RootedValue origins(aCx); in TEST_F()
65 JS::RootedValue count(aCx); in TEST_F()
76 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
98 JS::RootedValue origins(aCx); in TEST_F()
105 JS::RootedValue count(aCx); in TEST_F()
115 JS::Rooted<JS::IdVector> ids(aCx, JS::IdVector(aCx)); in TEST_F()
146 JS::RootedValue origins(aCx); in TEST_F()
153 JS::RootedValue count(aCx); in TEST_F()
174 JS::RootedValue origins(aCx); in TEST_F()
181 JS::RootedValue count(aCx); in TEST_F()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/bindings/
H A DToJSValue.h40 MOZ_ASSERT(JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
50 MOZ_ASSERT(JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
59 MOZ_ASSERT(JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
110 return MaybeWrapValue(aCx, aValue); in ToJSValue()
135 JSObject* obj = aArgument.Create(aCx); in ToJSValue()
155 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
191 return MaybeWrapValue(aCx, aValue); in ToJSValue()
200 return MaybeWrapValue(aCx, aValue); in ToJSValue()
208 return MaybeWrapValue(aCx, aValue); in ToJSValue()
237 JS::Rooted<JSObject*> global(aCx, JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
[all …]
H A DExceptions.cpp69 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
108 JS_ClearPendingException(aCx); in Throw()
112 if (JS_IsExceptionPending(aCx)) { in Throw()
310 GetFilename(aCx, aFilename); in GetFilenameXPCOM()
331 if (!str.init(aCx, filename)) { in GetFilename()
346 GetName(aCx, aFunction); in GetNameXPCOM()
368 if (!str.init(aCx, name)) { in GetName()
554 GetFormattedStack(aCx, aStack); in GetFormattedStackXPCOM()
610 ToString(aCx, _retval); in ToStringXPCOM()
618 GetFilename(aCx, filename); in ToString()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/bindings/
H A DToJSValue.h44 MOZ_ASSERT(JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
114 return MaybeWrapValue(aCx, aValue); in ToJSValue()
148 JS::Rooted<JSObject*> obj(aCx); in ToJSValueFromPointerHelper()
185 JSObject* obj = aArgument.Create(aCx); in ToJSValue()
205 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
243 return MaybeWrapValue(aCx, aValue); in ToJSValue()
249 return MaybeWrapValue(aCx, aValue); in ToJSValue()
258 return MaybeWrapValue(aCx, aValue); in ToJSValue()
266 return MaybeWrapValue(aCx, aValue); in ToJSValue()
295 JS::Rooted<JSObject*> global(aCx, JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
[all …]
H A DExceptions.cpp73 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
112 JS_ClearPendingException(aCx); in Throw()
116 if (JS_IsExceptionPending(aCx)) { in Throw()
384 GetFilename(aCx, aFilename); in GetFilenameXPCOM()
405 if (!str.init(aCx, filename)) { in GetFilename()
420 GetName(aCx, aFunction); in GetNameXPCOM()
442 if (!str.init(aCx, name)) { in GetName()
482 *aSourceId = GetSourceId(aCx); in GetSourceIdXPCOM()
710 ToString(aCx, _retval); in ToStringXPCOM()
718 GetFilename(aCx, filename); in ToString()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/bindings/
H A DToJSValue.h29 ToJSValue(JSContext* aCx,
41 ToJSValue(JSContext* aCx, in ToJSValue() argument
54 ToJSValue(JSContext* aCx, in ToJSValue() argument
66 ToJSValue(JSContext* aCx, in ToJSValue() argument
78 ToJSValue(JSContext* aCx, in ToJSValue() argument
90 ToJSValue(JSContext* aCx, in ToJSValue() argument
103 ToJSValue(JSContext* aCx, in ToJSValue() argument
115 ToJSValue(JSContext* aCx, in ToJSValue() argument
128 ToJSValue(JSContext* aCx, in ToJSValue() argument
191 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx)); in ToJSValue()
[all …]
H A DExceptions.cpp86 JS::Rooted<JS::Value> val(aCx); in ThrowExceptionObject()
97 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
139 JS_ClearPendingException(aCx); in Throw()
143 if (JS_IsExceptionPending(aCx)) { in Throw()
389 if (!str.init(aCx, filename)) { in GetFilename()
390 JS_ClearPendingException(aCx); in GetFilename()
411 JS::Rooted<JSString*> name(aCx); in GetName()
424 if (!str.init(aCx, name)) { in GetName()
468 *aLineNumber = GetLineno(aCx); in GetLineNumber()
499 *aColumnNumber = GetColNo(aCx); in GetColumnNumber()
[all …]
/dports/www/firefox/firefox-99.0/toolkit/components/extensions/webidl-api/
H A DExtensionTest.cpp72 ThrowUnexpectedError(aCx, aRv); in CallWebExtMethodAssertEq()
76 JS::RootedString expectedJSString(aCx, JS::ToString(aCx, expectedVal)); in CallWebExtMethodAssertEq()
77 JS::RootedString actualJSString(aCx, JS::ToString(aCx, actualVal)); in CallWebExtMethodAssertEq()
78 JS::RootedString messageJSString(aCx, JS::ToString(aCx, messageVal)); in CallWebExtMethodAssertEq()
87 ThrowUnexpectedError(aCx, aRv); in CallWebExtMethodAssertEq()
122 JS::Rooted<JSString*> actualToString(aCx, JS::ToString(aCx, aActualValue)); in AssertMatchInternal()
184 aCx, JS::ToString(aCx, aExpectedMatchValue)); in AssertMatchInternal()
227 aCx, JS_ValueToSource(aCx, aExpectedMatchValue)); in AssertMatchInternal()
278 if (erv.MaybeSetPendingException(aCx) && JS_GetPendingException(aCx, &exn)) { in AssertThrows()
287 aCx, JS_ValueToSource(aCx, aExpectedError)); in AssertThrows()
[all …]
/dports/www/firefox/firefox-99.0/dom/bindings/
H A DToJSValue.h133 return MaybeWrapValue(aCx, aValue); in ToJSValue()
167 JS::Rooted<JSObject*> obj(aCx); in ToJSValueFromPointerHelper()
250 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx));
290 return MaybeWrapValue(aCx, aValue);
296 return MaybeWrapValue(aCx, aValue);
305 return MaybeWrapValue(aCx, aValue);
313 return MaybeWrapValue(aCx, aValue);
342 JS::Rooted<JSObject*> global(aCx, JS::CurrentGlobalOrNull(aCx));
387 JS::RootedVector<JS::Value> v(aCx);
409 JS::RootedObject recordObj(aCx, JS_NewPlainObject(aCx));
[all …]
H A DExceptions.cpp74 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
113 JS_ClearPendingException(aCx); in Throw()
117 if (JS_IsExceptionPending(aCx)) { in Throw()
386 GetFilename(aCx, aFilename); in GetFilenameXPCOM()
407 if (!str.init(aCx, filename)) { in GetFilename()
422 GetName(aCx, aFunction); in GetNameXPCOM()
444 if (!str.init(aCx, name)) { in GetName()
484 *aSourceId = GetSourceId(aCx); in GetSourceIdXPCOM()
712 ToString(aCx, _retval); in ToStringXPCOM()
720 GetFilename(aCx, filename); in ToString()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/xpconnect/src/
H A DXPCJSID.cpp88 RootedObject idProto(aCx, JS_NewPlainObject(aCx)); in GetIDPrototype()
89 RootedObject iidProto(aCx, in GetIDPrototype()
91 RootedObject cidProto(aCx, in GetIDPrototype()
94 aCx, SYMBOL_TO_JSID(GetWellKnownSymbol(aCx, SymbolCode::hasInstance))); in GetIDPrototype()
223 RootedObject proto(aCx, GetIDPrototype(aCx, aClass)); in NewIDObjectHelper()
231 RootedObject obj(aCx, NewIDObjectHelper(aCx, &sID_Class)); in ID2JSValue()
251 RootedObject obj(aCx, NewIDObjectHelper(aCx, &sIID_Class)); in IfaceID2JSValue()
262 RootedValue constant(aCx); in IfaceID2JSValue()
280 RootedString jsContract(aCx, aContract); in ContractID2JSValue()
299 RootedObject obj(aCx, NewIDObjectHelper(aCx, &sCID_Class)); in ContractID2JSValue()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/bindings/
H A DToJSValue.h132 return MaybeWrapValue(aCx, aValue); in ToJSValue()
166 JS::Rooted<JSObject*> obj(aCx); in ToJSValueFromPointerHelper()
249 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx));
289 return MaybeWrapValue(aCx, aValue);
295 return MaybeWrapValue(aCx, aValue);
304 return MaybeWrapValue(aCx, aValue);
312 return MaybeWrapValue(aCx, aValue);
341 JS::Rooted<JSObject*> global(aCx, JS::CurrentGlobalOrNull(aCx));
386 JS::RootedVector<JS::Value> v(aCx);
408 JS::RootedObject recordObj(aCx, JS_NewPlainObject(aCx));
[all …]
H A DExceptions.cpp74 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
113 JS_ClearPendingException(aCx); in Throw()
117 if (JS_IsExceptionPending(aCx)) { in Throw()
386 GetFilename(aCx, aFilename); in GetFilenameXPCOM()
407 if (!str.init(aCx, filename)) { in GetFilename()
422 GetName(aCx, aFunction); in GetNameXPCOM()
444 if (!str.init(aCx, name)) { in GetName()
484 *aSourceId = GetSourceId(aCx); in GetSourceIdXPCOM()
712 ToString(aCx, _retval); in ToStringXPCOM()
720 GetFilename(aCx, filename); in ToString()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/bindings/
H A DToJSValue.h132 return MaybeWrapValue(aCx, aValue); in ToJSValue()
166 JS::Rooted<JSObject*> obj(aCx); in ToJSValueFromPointerHelper()
249 JS::Rooted<JSObject*> scope(aCx, JS::CurrentGlobalOrNull(aCx));
289 return MaybeWrapValue(aCx, aValue);
295 return MaybeWrapValue(aCx, aValue);
304 return MaybeWrapValue(aCx, aValue);
312 return MaybeWrapValue(aCx, aValue);
341 JS::Rooted<JSObject*> global(aCx, JS::CurrentGlobalOrNull(aCx));
386 JS::RootedVector<JS::Value> v(aCx);
408 JS::RootedObject recordObj(aCx, JS_NewPlainObject(aCx));
[all …]
H A DExceptions.cpp74 JS::Rooted<JS::Value> thrown(aCx); in ThrowExceptionObject()
113 JS_ClearPendingException(aCx); in Throw()
117 if (JS_IsExceptionPending(aCx)) { in Throw()
386 GetFilename(aCx, aFilename); in GetFilenameXPCOM()
407 if (!str.init(aCx, filename)) { in GetFilename()
422 GetName(aCx, aFunction); in GetNameXPCOM()
444 if (!str.init(aCx, name)) { in GetName()
484 *aSourceId = GetSourceId(aCx); in GetSourceIdXPCOM()
712 ToString(aCx, _retval); in ToStringXPCOM()
720 GetFilename(aCx, filename); in ToString()
[all …]
/dports/www/firefox/firefox-99.0/dom/streams/
H A DReadableStreamPipeTo.cpp333 Read(aCx); in Start()
372 WriteFinished(aCx); in ResolvedCallback()
378 WriteFinished(aCx); in RejectedCallback()
611 Read(aCx); in OnReadFulfilled()
616 Read(aCx); in OnWriterReady()
723 aCx, in OnSourceClosed()
782 aCx, in OnSourceErrored()
793 Shutdown(aCx, error); in OnSourceErrored()
827 aCx, in OnDestClosed()
852 aCx, in OnDestErrored()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/extensions/webidl-api/
H A DExtensionAPIRequestForwarder.cpp69 JS::RootedValue v(aCx); in JSArrayToSequence()
138 ThrowUnexpectedError(aCx, aRv); in Run()
295 SerializeArgs(aCx, aArgs, rv); in Init()
301 SerializeCallerStack(aCx); in Init()
338 JS::RootedObject savedFrame(aCx, mStackHolder->get()->ReadStack(aCx)); in DeserializeCallerStack()
370 mArgsHolder->get()->Read(xpc::CurrentNativeGlobal(aCx), aCx, &jsvalue, rv); in DeserializeArgs()
397 JSContext* aCx) { in CreateAPIRequest() argument
477 JS::RootedObject obj(aCx); in HandleAPIRequest()
583 mResultHolder->get()->Read(xpc::CurrentNativeGlobal(aCx), aCx, aResult, in ReadResult()
587 JS::RootedValue exn(aCx); in ReadResult()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/extensions/webidl-api/
H A DExtensionAPIRequestForwarder.cpp69 JS::RootedValue v(aCx); in JSArrayToSequence()
138 ThrowUnexpectedError(aCx, aRv); in Run()
295 SerializeArgs(aCx, aArgs, rv); in Init()
301 SerializeCallerStack(aCx); in Init()
338 JS::RootedObject savedFrame(aCx, mStackHolder->get()->ReadStack(aCx)); in DeserializeCallerStack()
370 mArgsHolder->get()->Read(xpc::CurrentNativeGlobal(aCx), aCx, &jsvalue, rv); in DeserializeArgs()
397 JSContext* aCx) { in CreateAPIRequest() argument
477 JS::RootedObject obj(aCx); in HandleAPIRequest()
583 mResultHolder->get()->Read(xpc::CurrentNativeGlobal(aCx), aCx, aResult, in ReadResult()
587 JS::RootedValue exn(aCx); in ReadResult()
[all …]

12345678910>>...190