Home
last modified time | relevance | path

Searched refs:cx_ (Results 1 – 25 of 544) sorted by relevance

12345678910>>...22

/dports/www/firefox-esr/firefox-91.8.0/js/src/vm/
H A DForOfIterator.cpp22 JSContext* cx = cx_; in init()
105 if (!CheckForInterrupt(cx_)) { in nextFromOptimizedArray()
136 RootedValue v(cx_); in next()
146 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) { in next()
156 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
166 if (cx_->isExceptionPending()) { in closeThrow()
177 RootedValue returnVal(cx_); in closeThrow()
178 if (!GetProperty(cx_, iterator, iterator, cx_->names().return_, &returnVal)) { in closeThrow()
202 RootedValue innerResultValue(cx_); in closeThrow()
204 if (cx_->isExceptionPending()) { in closeThrow()
[all …]
H A DRealm-inl.h63 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
64 cx_->enterRealmOf(target); in AutoRealm()
69 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
70 cx_->enterRealm(target); in AutoRealm()
73 js::AutoRealm::~AutoRealm() { cx_->leaveRealm(origin_); } in ~AutoRealm()
76 : cx_(cx), origin_(cx->realm()) { in AutoAllocInAtomsZone()
77 cx_->enterAtomsZone(); in AutoAllocInAtomsZone()
81 cx_->leaveAtomsZone(origin_); in ~AutoAllocInAtomsZone()
85 : cx_(cx), wasInAtomsZone_(cx->zone() && cx->zone()->isAtomsZone()) { in AutoMaybeLeaveAtomsZone()
87 cx_->leaveAtomsZone(nullptr); in AutoMaybeLeaveAtomsZone()
[all …]
H A DActivation-inl.h25 : cx_(cx), entryMonitor_(cx->entryMonitor) { in ActivationEntryMonitor()
47 entryMonitor_->Exit(cx_); in ~ActivationEntryMonitor()
50 cx_->entryMonitor = entryMonitor_; in ~ActivationEntryMonitor()
54 : cx_(cx), in Activation()
71 MOZ_ASSERT_IF(isProfiling(), this != cx_->profilingActivation_); in ~Activation()
72 MOZ_ASSERT(cx_->activation_ == this); in ~Activation()
74 cx_->activation_ = prev_; in ~Activation()
75 cx_->asyncCauseForNewActivations = asyncCause_; in ~Activation()
76 cx_->asyncStackForNewActivations() = asyncStack_; in ~Activation()
77 cx_->asyncCallIsExplicit = asyncCallIsExplicit_; in ~Activation()
/dports/www/firefox/firefox-99.0/js/src/vm/
H A DForOfIterator.cpp22 JSContext* cx = cx_; in init()
105 if (!CheckForInterrupt(cx_)) { in nextFromOptimizedArray()
136 RootedValue v(cx_); in next()
146 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) { in next()
156 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
166 if (cx_->isExceptionPending()) { in closeThrow()
177 RootedValue returnVal(cx_); in closeThrow()
178 if (!GetProperty(cx_, iterator, iterator, cx_->names().return_, &returnVal)) { in closeThrow()
202 RootedValue innerResultValue(cx_); in closeThrow()
204 if (cx_->isExceptionPending()) { in closeThrow()
[all …]
H A DRealm-inl.h53 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
54 cx_->enterRealmOf(target); in AutoRealm()
59 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
60 cx_->enterRealm(target); in AutoRealm()
63 js::AutoRealm::~AutoRealm() { cx_->leaveRealm(origin_); } in ~AutoRealm()
78 : cx_(cx), origin_(cx->realm()) { in AutoAllocInAtomsZone()
79 cx_->enterAtomsZone(); in AutoAllocInAtomsZone()
83 cx_->leaveAtomsZone(origin_); in ~AutoAllocInAtomsZone()
87 : cx_(cx), wasInAtomsZone_(cx->zone() && cx->zone()->isAtomsZone()) { in AutoMaybeLeaveAtomsZone()
89 cx_->leaveAtomsZone(nullptr); in AutoMaybeLeaveAtomsZone()
[all …]
H A DActivation-inl.h25 : cx_(cx), entryMonitor_(cx->entryMonitor) { in ActivationEntryMonitor()
47 entryMonitor_->Exit(cx_); in ~ActivationEntryMonitor()
50 cx_->entryMonitor = entryMonitor_; in ~ActivationEntryMonitor()
54 : cx_(cx), in Activation()
71 MOZ_ASSERT_IF(isProfiling(), this != cx_->profilingActivation_); in ~Activation()
72 MOZ_ASSERT(cx_->activation_ == this); in ~Activation()
74 cx_->activation_ = prev_; in ~Activation()
75 cx_->asyncCauseForNewActivations = asyncCause_; in ~Activation()
76 cx_->asyncStackForNewActivations() = asyncStack_; in ~Activation()
77 cx_->asyncCallIsExplicit = asyncCallIsExplicit_; in ~Activation()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/vm/
H A DForOfIterator.cpp22 JSContext* cx = cx_; in init()
105 if (!CheckForInterrupt(cx_)) { in nextFromOptimizedArray()
136 RootedValue v(cx_); in next()
146 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) { in next()
156 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
166 if (cx_->isExceptionPending()) { in closeThrow()
177 RootedValue returnVal(cx_); in closeThrow()
178 if (!GetProperty(cx_, iterator, iterator, cx_->names().return_, &returnVal)) { in closeThrow()
202 RootedValue innerResultValue(cx_); in closeThrow()
204 if (cx_->isExceptionPending()) { in closeThrow()
[all …]
H A DRealm-inl.h63 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
64 cx_->enterRealmOf(target); in AutoRealm()
69 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
70 cx_->enterRealm(target); in AutoRealm()
73 js::AutoRealm::~AutoRealm() { cx_->leaveRealm(origin_); } in ~AutoRealm()
76 : cx_(cx), origin_(cx->realm()) { in AutoAllocInAtomsZone()
77 cx_->enterAtomsZone(); in AutoAllocInAtomsZone()
81 cx_->leaveAtomsZone(origin_); in ~AutoAllocInAtomsZone()
85 : cx_(cx), wasInAtomsZone_(cx->zone() && cx->zone()->isAtomsZone()) { in AutoMaybeLeaveAtomsZone()
87 cx_->leaveAtomsZone(nullptr); in AutoMaybeLeaveAtomsZone()
[all …]
H A DActivation-inl.h25 : cx_(cx), entryMonitor_(cx->entryMonitor) { in ActivationEntryMonitor()
47 entryMonitor_->Exit(cx_); in ~ActivationEntryMonitor()
50 cx_->entryMonitor = entryMonitor_; in ~ActivationEntryMonitor()
54 : cx_(cx), in Activation()
71 MOZ_ASSERT_IF(isProfiling(), this != cx_->profilingActivation_); in ~Activation()
72 MOZ_ASSERT(cx_->activation_ == this); in ~Activation()
74 cx_->activation_ = prev_; in ~Activation()
75 cx_->asyncCauseForNewActivations = asyncCause_; in ~Activation()
76 cx_->asyncStackForNewActivations() = asyncStack_; in ~Activation()
77 cx_->asyncCallIsExplicit = asyncCallIsExplicit_; in ~Activation()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DForOfIterator.cpp21 JSContext* cx = cx_; in init()
104 if (!CheckForInterrupt(cx_)) { in nextFromOptimizedArray()
135 RootedValue v(cx_); in next()
145 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) { in next()
155 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
165 if (cx_->isExceptionPending()) { in closeThrow()
176 RootedValue returnVal(cx_); in closeThrow()
177 if (!GetProperty(cx_, iterator, iterator, cx_->names().return_, &returnVal)) { in closeThrow()
201 RootedValue innerResultValue(cx_); in closeThrow()
203 if (cx_->isExceptionPending()) { in closeThrow()
[all …]
H A DRealm-inl.h63 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
64 cx_->enterRealmOf(target); in AutoRealm()
69 : cx_(cx), origin_(cx->realm()) { in AutoRealm()
70 cx_->enterRealm(target); in AutoRealm()
73 js::AutoRealm::~AutoRealm() { cx_->leaveRealm(origin_); } in ~AutoRealm()
76 : cx_(cx), origin_(cx->realm()) { in AutoAllocInAtomsZone()
77 cx_->enterAtomsZone(); in AutoAllocInAtomsZone()
81 cx_->leaveAtomsZone(origin_); in ~AutoAllocInAtomsZone()
85 : cx_(cx), wasInAtomsZone_(cx->zone() && cx->zone()->isAtomsZone()) { in AutoMaybeLeaveAtomsZone()
87 cx_->leaveAtomsZone(nullptr); in AutoMaybeLeaveAtomsZone()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DForOfIterator.cpp22 JSContext* cx = cx_; in init()
92 if (!CheckForInterrupt(cx_)) return false; in nextFromOptimizedArray()
119 RootedValue v(cx_); in next()
126 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) in next()
135 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
143 RootedValue completionException(cx_); in closeThrow()
144 if (cx_->isExceptionPending()) { in closeThrow()
152 RootedValue returnVal(cx_); in closeThrow()
153 if (!GetProperty(cx_, iterator, iterator, cx_->names().return_, &returnVal)) in closeThrow()
176 RootedValue innerResultValue(cx_); in closeThrow()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/debugger/
H A DScript.cpp394 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
847 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
946 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1229 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1731 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1814 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1912 if (!cx_->compartment()->wrap(cx_, &handler_) || in wrapCrossCompartmentEdges()
1940 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
2097 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
2108 if (!cx_->compartment()->wrap(cx_, &handler_)) { in match()
[all …]
/dports/www/firefox/firefox-99.0/js/src/debugger/
H A DScript.cpp394 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
643 RootedPlainObject entry(cx_, NewPlainObject(cx_)); in maybeAppendEntry()
847 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
946 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1229 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1713 RootedPlainObject entry(cx_, NewPlainObject(cx_)); in appendColumnOffsetEntry()
1741 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1824 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1922 if (!cx_->compartment()->wrap(cx_, &handler_) || in wrapCrossCompartmentEdges()
2118 if (!cx_->compartment()->wrap(cx_, &handler_)) { in match()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/debugger/
H A DScript.cpp394 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
847 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
946 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1229 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1731 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1814 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1912 if (!cx_->compartment()->wrap(cx_, &handler_) || in wrapCrossCompartmentEdges()
1940 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
2097 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
2108 if (!cx_->compartment()->wrap(cx_, &handler_)) { in match()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/debugger/
H A DScript.cpp374 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
816 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
915 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1198 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1343 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1788 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1871 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
1969 if (!cx_->compartment()->wrap(cx_, &handler_) || in wrapCrossCompartmentEdges()
1996 RootedScript script(cx_, DelazifyScript(cx_, base)); in match()
2164 if (!cx_->compartment()->wrap(cx_, &handler_)) { in match()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/vm/
H A DForOfIterator.cpp25 JSContext* cx = cx_; in init()
141 if (!GetProperty(cx_, iterator, iterator, cx_->names().next, &method)) in next()
144 InvokeArgs args(cx_); in next()
145 if (!args.init(cx_, 0)) in next()
149 if (!Invoke(cx_, args)) in next()
152 RootedObject resultObj(cx_, ToObject(cx_, args.rval())); in next()
156 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &doneVal)) in next()
163 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
172 RootedValue val(cx_); in materializeArrayIterator()
176 InvokeArgs args(cx_); in materializeArrayIterator()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DForOfIterator.cpp23 JSContext* cx = cx_; in init()
89 if (!CheckForInterrupt(cx_)) in nextFromOptimizedArray()
131 RootedValue v(cx_); in next()
132 if (!GetProperty(cx_, iterator, iterator, cx_->names().next, &v)) in next()
135 if (!js::Call(cx_, v, iterator, &v)) in next()
141 RootedObject resultObj(cx_, &v.toObject()); in next()
142 if (!GetProperty(cx_, resultObj, resultObj, cx_->names().done, &v)) in next()
151 return GetProperty(cx_, resultObj, resultObj, cx_->names().value, vp); in next()
160 RootedValue val(cx_); in materializeArrayIterator()
161 if (!GlobalObject::getSelfHostedFunction(cx_, cx_->global(), name, name, 1, &val)) in materializeArrayIterator()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/recognition/include/pcl/recognition/impl/hv/
H A Docclusion_reasoning.hpp54 f_ (), cx_ (), cy_ (), depth_ (nullptr) in ZBuffering()
82 cx = static_cast<float> (cx_) / 2.f - 0.5f; in filter()
95 if (u >= cx_ || v >= cy_ || u < 0 || v < 0) in filter()
115 cx = static_cast<float> (cx_) / 2.f - 0.5f; in computeDepthMap()
145 depth_ = new float[cx_ * cy_]; in computeDepthMap()
160 depth_[u * cx_ + v] = z; in computeDepthMap()
169 for (int i = 0; i < (cx_ * cy_); i++) in computeDepthMap()
172 for (int u = ws2; u < (cx_ - ws2); u++) in computeDepthMap()
181 if (std::isfinite(depth_[j * cx_ + i]) && (depth_[j * cx_ + i] < min)) in computeDepthMap()
183 min = depth_[j * cx_ + i]; in computeDepthMap()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/jit/
H A DCacheIR.cpp23 : cx_(cx), in GetPropIRGenerator()
47 AutoAssertNoPendingException aanpe(cx_); in tryAttachStub()
237 RootedShape shape(cx_); in tryAttachNative()
238 RootedNativeObject holder(cx_); in tryAttachNative()
240 RootedId id(cx_, NameToId(name_)); in tryAttachNative()
356 if (name_ != cx_->names().length) in tryAttachObjectLength()
404 RootedShape shape(cx_); in tryAttachModuleNamespace()
412 if (IsIonEnabled(cx_)) in tryAttachModuleNamespace()
431 RootedNativeObject proto(cx_); in tryAttachPrimitive()
456 RootedId id(cx_, NameToId(name_)); in tryAttachPrimitive()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jit/
H A DCacheIR.cpp42 cx_(cx), in IRGenerator()
174 RootedId id(cx_); in tryAttachStub()
1014 if (!cx_->compartment()->wrap(cx_, &wrappedTargetGlobal)) return false; in tryAttachCrossCompartmentWrapper()
1626 if (IsIonEnabled(cx_)) EnsureTrackPropertyTypes(cx_, env, shape->propid()); in tryAttachModuleNamespace()
1675 if (IsIonEnabled(cx_)) EnsureTrackPropertyTypes(cx_, holder, id); in tryAttachPrimitive()
2079 if (IsIonEnabled(cx_)) EnsureTrackPropertyTypes(cx_, holder, id); in tryAttachGlobalNameValue()
2137 if (IsIonEnabled(cx_)) EnsureTrackPropertyTypes(cx_, holder, id); in tryAttachGlobalNameGetter()
2652 RootedId id(cx_); in tryAttachStub()
2756 RootedId id(cx_); in tryAttachStub()
3691 RootedId id(cx_); in tryAttachAddSlotStub()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/frontend/
H A DParseNodeVisitor.h55 JSContext* cx_;
57 explicit ParseNodeVisitor(JSContext* cx) : cx_(cx) {} in ParseNodeVisitor()
60 AutoCheckRecursionLimit recursion(cx_); in visit()
61 if (!recursion.check(cx_)) { in visit()
100 JSContext* cx_;
102 explicit RewritingParseNodeVisitor(JSContext* cx) : cx_(cx) {} in RewritingParseNodeVisitor()
105 AutoCheckRecursionLimit recursion(cx_); in visit()
106 if (!recursion.check(cx_)) { in visit()
/dports/www/firefox/firefox-99.0/js/src/frontend/
H A DParseNodeVisitor.h53 JSContext* cx_;
55 explicit ParseNodeVisitor(JSContext* cx) : cx_(cx) {} in ParseNodeVisitor()
58 AutoCheckRecursionLimit recursion(cx_); in visit()
59 if (!recursion.check(cx_)) { in visit()
98 JSContext* cx_;
100 explicit RewritingParseNodeVisitor(JSContext* cx) : cx_(cx) {} in RewritingParseNodeVisitor()
103 AutoCheckRecursionLimit recursion(cx_); in visit()
104 if (!recursion.check(cx_)) { in visit()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/frontend/
H A DParseNodeVisitor.h55 JSContext* cx_;
57 explicit ParseNodeVisitor(JSContext* cx) : cx_(cx) {} in ParseNodeVisitor()
60 AutoCheckRecursionLimit recursion(cx_); in visit()
61 if (!recursion.check(cx_)) { in visit()
100 JSContext* cx_;
102 explicit RewritingParseNodeVisitor(JSContext* cx) : cx_(cx) {} in RewritingParseNodeVisitor()
105 AutoCheckRecursionLimit recursion(cx_); in visit()
106 if (!recursion.check(cx_)) { in visit()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/builtin/
H A DModuleObject.cpp900 : cx_(cx), in ModuleBuilder()
944 RootedExportEntry exp(cx_, e); in buildAndInit()
1042 RootedImportEntry importEntry(cx_); in processImport()
1074 RootedAtom exportName(cx_, isDefault ? cx_->names().default_ : localName.get()); in processExport()
1084 RootedAtom exportName(cx_, isDefault ? cx_->names().default_ : localName.get()); in processExport()
1099 RootedAtom exportName(cx_, isDefault ? cx_->names().default_ : localName.get()); in processExport()
1108 RootedAtom localName(cx_, cx_->names().starDefaultStar); in processExport()
1109 RootedAtom exportName(cx_, cx_->names().default_); in processExport()
1136 RootedAtom importName(cx_, cx_->names().star); in processExportFrom()
1198 RootedArrayObject array(cx_, NewDenseFullyAllocatedArray(cx_, length)); in createArray()
[all …]

12345678910>>...22