Home
last modified time | relevance | path

Searched refs:clasp (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DProxyObject.cpp24 MOZ_ASSERT(clasp->isProxy()); in GetProxyGCObjectKind()
26 uint32_t nreserved = JSCLASS_RESERVED_SLOTS(clasp); in GetProxyGCObjectKind()
72 MOZ_ASSERT(clasp->isProxy()); in New()
73 MOZ_ASSERT(isValidProxyClass(clasp)); in New()
74 MOZ_ASSERT(clasp->shouldDelayMetadataBuilder()); in New()
77 MOZ_ASSERT(clasp->hasFinalize()); in New()
92 if (proto.isObject() && !clasp->isDOMClass()) { in New()
162 if (!clasp->isDOMClass()) { in New()
176 MOZ_ASSERT(clasp->isProxy()); in NewSingleton()
177 MOZ_ASSERT(isValidProxyClass(clasp)); in NewSingleton()
[all …]
H A DCaches.h95 const JSClass* clasp; member
146 inline bool lookupProto(const JSClass* clasp, JSObject* proto,
153 return lookup(group->clasp(), group, kind, pentry); in lookupGroup()
168 inline void fillGlobal(EntryIndex entry, const JSClass* clasp,
175 return fill(entry, group->clasp(), group, kind, obj); in fillGroup()
183 EntryIndex makeIndex(const JSClass* clasp, gc::Cell* key, in makeIndex() argument
191 *pentry = makeIndex(clasp, key, kind); in lookup()
196 return entry->clasp == clasp && entry->key == key; in lookup()
199 void fill(EntryIndex entry_, const JSClass* clasp, gc::Cell* key, in fill() argument
202 MOZ_ASSERT(entry_ == makeIndex(clasp, key, kind)); in fill()
[all …]
H A DJSObject-inl.h30 if (clasp == &ArrayObject::class_) { in NewObjectGCKind()
33 if (clasp == &JSFunction::class_) { in NewObjectGCKind()
81 const JSClass* clasp = getClass(); in finalize() local
83 if (clasp->isNative()) { in finalize()
86 if (clasp->hasFinalize()) { in finalize()
87 clasp->doFinalize(fop, this); in finalize()
188 return !clasp->isNative() || clasp == &js::ArrayBufferObject::class_ || in ClassCanHaveFixedData()
189 js::IsTypedArrayClass(clasp); in ClassCanHaveFixedData()
385 if (clasp->hasFinalize() && !CanNurseryAllocateFinalizedClass(clasp)) { in GetInitialHeap()
398 return GetInitialHeap(newKind, group->clasp()); in GetInitialHeap()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DProxyObject.cpp20 static gc::AllocKind GetProxyGCObjectKind(const Class* clasp, in GetProxyGCObjectKind() argument
23 MOZ_ASSERT(clasp->isProxy()); in GetProxyGCObjectKind()
25 uint32_t nreserved = JSCLASS_RESERVED_SLOTS(clasp); in GetProxyGCObjectKind()
52 const Class* clasp = options.clasp(); in New() local
54 MOZ_ASSERT(isValidProxyClass(clasp)); in New()
55 MOZ_ASSERT(clasp->shouldDelayMetadataBuilder()); in New()
58 MOZ_ASSERT(clasp->hasFinalize()); in New()
115 if (!clasp->isDOMClass()) in New()
161 MOZ_ASSERT(clasp->isProxy()); in create()
183 heap, clasp); in create()
[all …]
H A DCaches.h107 const Class* clasp; member
152 inline bool lookupProto(const Class* clasp, JSObject* proto,
159 return lookup(group->clasp(), group, kind, pentry); in lookupGroup()
174 inline void fillGlobal(EntryIndex entry, const Class* clasp,
181 return fill(entry, group->clasp(), group, kind, obj); in fillGroup()
194 bool lookup(const Class* clasp, gc::Cell* key, gc::AllocKind kind, in lookup() argument
196 *pentry = makeIndex(clasp, key, kind); in lookup()
201 return entry->clasp == clasp && entry->key == key; in lookup()
204 void fill(EntryIndex entry_, const Class* clasp, gc::Cell* key, in fill() argument
207 MOZ_ASSERT(entry_ == makeIndex(clasp, key, kind)); in fill()
[all …]
/dports/devel/cl-asdf/asdf-a58828745a610c1af841a86587ba197707c89eb3/tools/
H A Dinstall-asdf.lisp62 #+(or clasp ecl mkcl) #p"sys:"
93 #-(or clasp ecl mkcl) (progn name type (assert nil))
94 #+(or clasp ecl) (compile-file-pathname name :type type)
116 #+(or clasp ecl mkcl) (with-file-replacement (asdf.o))
117 #+(or clasp ecl mkcl) (with-file-replacement (asdf.a))
120 #+(or clasp ecl mkcl) :object-file #+(or clasp ecl mkcl) asdf.o)
140 #+(or clasp ecl mkcl)
152 #+(or clasp ecl mkcl) (with-file-replacement (asdf.o))
153 #+(or clasp ecl mkcl) (with-file-replacement (asdf.a))
161 #+(or clasp ecl mkcl) :object-file #+(or clasp ecl mkcl) asdf.o)
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/
H A Djsobjinlines.h84 if (clasp->isNative()) in finalize()
86 if (clasp->hasFinalize()) in finalize()
87 clasp->doFinalize(fop, this); in finalize()
284 return !clasp->isNative() in ClassCanHaveFixedData()
328 const js::Class* clasp = group->clasp(); in create() local
344 if (clasp->hasFinalize() && !clasp->isProxy()) { in create()
363 MOZ_ASSERT_IF(!clasp->isNative(), JSCLASS_RESERVED_SLOTS(clasp) == 0); in create()
364 MOZ_ASSERT_IF(!clasp->isNative(), !clasp->hasPrivate()); in create()
369 if (clasp->isNative()) { in create()
394 if (clasp->hasPrivate()) in create()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/
H A Djsobjinlines.h80 const js::Class* clasp = getClass(); in finalize() local
81 if (clasp->finalize) in finalize()
82 clasp->finalize(fop, this); in finalize()
84 if (!clasp->isNative()) in finalize()
266 ClassCanHaveFixedData(const Class* clasp) in ClassCanHaveFixedData() argument
273 return !clasp->isNative() in ClassCanHaveFixedData()
275 || js::IsTypedArrayClass(clasp); in ClassCanHaveFixedData()
323 MOZ_ASSERT_IF(!group->clasp()->isNative(), JSCLASS_RESERVED_SLOTS(group->clasp()) == 0); in create()
324 MOZ_ASSERT_IF(!group->clasp()->isNative(), !group->clasp()->hasPrivate()); in create()
328 const js::Class* clasp = group->clasp(); in create() local
[all …]
/dports/math/clingo/clingo-5.5.1/clasp/
H A DREADME.md1 # clasp chapter
24 clasp is distributed under the MIT License.
35 clasp/ - Header directory of the clasp library
37 tests/ - Unit tests of the clasp library
60 To install clasp afterwards:
68 clasp executable to a directory of your choice.
77 doxygen clasp.doxy
84 cat problem | clasp
88 clasp problem
92 clasp --help
[all …]
/dports/math/clasp/clasp-3.3.5/
H A DREADME.md1 # clasp chapter
24 clasp is distributed under the MIT License.
35 clasp/ - Header directory of the clasp library
37 tests/ - Unit tests of the clasp library
60 To install clasp afterwards:
68 clasp executable to a directory of your choice.
77 doxygen clasp.doxy
84 cat problem | clasp
88 clasp problem
92 clasp --help
[all …]
/dports/math/clingo/clingo-5.5.1/clasp/clasp-da10954/
H A DREADME.md1 # clasp chapter
24 clasp is distributed under the MIT License.
35 clasp/ - Header directory of the clasp library
37 tests/ - Unit tests of the clasp library
60 To install clasp afterwards:
68 clasp executable to a directory of your choice.
77 doxygen clasp.doxy
84 cat problem | clasp
88 clasp problem
92 clasp --help
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/gc/
H A DObjectKind-inl.h21 const Class* clasp) { in CanBeFinalizedInBackground() argument
32 (!clasp->hasFinalize() || (clasp->flags & JSCLASS_BACKGROUND_FINALIZE))); in CanBeFinalizedInBackground()
52 static inline AllocKind GetGCObjectKind(const Class* clasp) { in GetGCObjectKind() argument
53 if (clasp == FunctionClassPtr) return AllocKind::FUNCTION; in GetGCObjectKind()
55 MOZ_ASSERT(!clasp->isProxy(), "Proxies should use GetProxyGCObjectKind"); in GetGCObjectKind()
57 uint32_t nslots = JSCLASS_RESERVED_SLOTS(clasp); in GetGCObjectKind()
58 if (clasp->flags & JSCLASS_HAS_PRIVATE) nslots++; in GetGCObjectKind()
127 static inline size_t GetGCKindSlots(AllocKind thingKind, const Class* clasp) { in GetGCKindSlots() argument
131 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCKindSlots()
140 if (clasp == FunctionClassPtr) nslots = 0; in GetGCKindSlots()
/dports/www/firefox-esr/firefox-91.8.0/js/src/vm/
H A DJSObject-inl.h47 uint32_t nfixed, uint32_t span, const JSClass* clasp) { in calculateDynamicSlots() argument
86 const JSClass* clasp = getClass(); in finalize() local
90 if (clasp->hasFinalize()) { in finalize()
91 clasp->doFinalize(fop, this); in finalize()
135 inline bool ClassCanHaveFixedData(const JSClass* clasp) { in ClassCanHaveFixedData() argument
141 return !clasp->isNativeObject() || clasp == &js::ArrayBufferObject::class_ || in ClassCanHaveFixedData()
142 js::IsTypedArrayClass(clasp); in ClassCanHaveFixedData()
327 if (clasp->hasFinalize() && !CanNurseryAllocateFinalizedClass(clasp)) {
350 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp); in NewObjectWithGivenTaggedProto()
422 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp);
[all …]
H A DProxyObject.cpp20 static gc::AllocKind GetProxyGCObjectKind(const JSClass* clasp, in GetProxyGCObjectKind() argument
23 MOZ_ASSERT(clasp->isProxyObject()); in GetProxyGCObjectKind()
25 uint32_t nreserved = JSCLASS_RESERVED_SLOTS(clasp); in GetProxyGCObjectKind()
72 const JSClass* clasp) { in New() argument
75 MOZ_ASSERT(!clasp->isNativeObject()); in New()
76 MOZ_ASSERT(clasp->isProxyObject()); in New()
77 MOZ_ASSERT(isValidProxyClass(clasp)); in New()
78 MOZ_ASSERT(clasp->shouldDelayMetadataBuilder()); in New()
81 MOZ_ASSERT(clasp->hasFinalize()); in New()
97 shape = SharedShape::getInitialShape(cx, clasp, realm, proto, in New()
[all …]
H A DCaches.h92 const JSClass* clasp; member
139 inline bool lookupProto(const JSClass* clasp, JSObject* proto,
157 inline void fillGlobal(EntryIndex entry, const JSClass* clasp,
165 EntryIndex makeIndex(const JSClass* clasp, gc::Cell* key, in makeIndex() argument
167 uintptr_t hash = (uintptr_t(clasp) ^ uintptr_t(key)) + size_t(kind); in makeIndex()
171 bool lookup(const JSClass* clasp, JSObject* key, gc::AllocKind kind, in lookup() argument
173 *pentry = makeIndex(clasp, key, kind); in lookup()
178 return entry->clasp == clasp && entry->key == key; in lookup()
181 void fill(EntryIndex entry_, const JSClass* clasp, JSObject* key, in fill() argument
184 MOZ_ASSERT(entry_ == makeIndex(clasp, key, kind)); in fill()
[all …]
/dports/www/firefox/firefox-99.0/js/src/vm/
H A DJSObject-inl.h53 uint32_t nfixed, uint32_t span, const JSClass* clasp) { in calculateDynamicSlots() argument
92 const JSClass* clasp = getClass(); in finalize() local
96 if (clasp->hasFinalize()) { in finalize()
97 clasp->doFinalize(fop, this); in finalize()
142 inline bool ClassCanHaveFixedData(const JSClass* clasp) { in ClassCanHaveFixedData() argument
148 return !clasp->isNativeObject() || clasp == &js::ArrayBufferObject::class_ || in ClassCanHaveFixedData()
149 js::IsTypedArrayClass(clasp); in ClassCanHaveFixedData()
340 if (clasp->hasFinalize() && !CanNurseryAllocateFinalizedClass(clasp)) {
362 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp); in NewObjectWithGivenTaggedProto()
436 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp);
[all …]
H A DProxyObject.cpp20 static gc::AllocKind GetProxyGCObjectKind(const JSClass* clasp, in GetProxyGCObjectKind() argument
23 MOZ_ASSERT(clasp->isProxyObject()); in GetProxyGCObjectKind()
25 uint32_t nreserved = JSCLASS_RESERVED_SLOTS(clasp); in GetProxyGCObjectKind()
72 const JSClass* clasp) { in New() argument
75 MOZ_ASSERT(!clasp->isNativeObject()); in New()
76 MOZ_ASSERT(clasp->isProxyObject()); in New()
77 MOZ_ASSERT(isValidProxyClass(clasp)); in New()
78 MOZ_ASSERT(clasp->shouldDelayMetadataBuilder()); in New()
81 MOZ_ASSERT(clasp->hasFinalize()); in New()
97 shape = SharedShape::getInitialShape(cx, clasp, realm, proto, in New()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/vm/
H A DJSObject-inl.h47 uint32_t nfixed, uint32_t span, const JSClass* clasp) { in calculateDynamicSlots() argument
86 const JSClass* clasp = getClass(); in finalize() local
90 if (clasp->hasFinalize()) { in finalize()
91 clasp->doFinalize(fop, this); in finalize()
135 inline bool ClassCanHaveFixedData(const JSClass* clasp) { in ClassCanHaveFixedData() argument
141 return !clasp->isNativeObject() || clasp == &js::ArrayBufferObject::class_ || in ClassCanHaveFixedData()
142 js::IsTypedArrayClass(clasp); in ClassCanHaveFixedData()
327 if (clasp->hasFinalize() && !CanNurseryAllocateFinalizedClass(clasp)) {
350 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp); in NewObjectWithGivenTaggedProto()
422 gc::AllocKind allocKind = gc::GetGCObjectKind(clasp);
[all …]
H A DProxyObject.cpp20 static gc::AllocKind GetProxyGCObjectKind(const JSClass* clasp, in GetProxyGCObjectKind() argument
23 MOZ_ASSERT(clasp->isProxyObject()); in GetProxyGCObjectKind()
25 uint32_t nreserved = JSCLASS_RESERVED_SLOTS(clasp); in GetProxyGCObjectKind()
72 const JSClass* clasp) { in New() argument
75 MOZ_ASSERT(!clasp->isNativeObject()); in New()
76 MOZ_ASSERT(clasp->isProxyObject()); in New()
77 MOZ_ASSERT(isValidProxyClass(clasp)); in New()
78 MOZ_ASSERT(clasp->shouldDelayMetadataBuilder()); in New()
81 MOZ_ASSERT(clasp->hasFinalize()); in New()
97 shape = SharedShape::getInitialShape(cx, clasp, realm, proto, in New()
[all …]
H A DCaches.h92 const JSClass* clasp; member
139 inline bool lookupProto(const JSClass* clasp, JSObject* proto,
157 inline void fillGlobal(EntryIndex entry, const JSClass* clasp,
165 EntryIndex makeIndex(const JSClass* clasp, gc::Cell* key, in makeIndex() argument
167 uintptr_t hash = (uintptr_t(clasp) ^ uintptr_t(key)) + size_t(kind); in makeIndex()
171 bool lookup(const JSClass* clasp, JSObject* key, gc::AllocKind kind, in lookup() argument
173 *pentry = makeIndex(clasp, key, kind); in lookup()
178 return entry->clasp == clasp && entry->key == key; in lookup()
181 void fill(EntryIndex entry_, const JSClass* clasp, JSObject* key, in fill() argument
184 MOZ_ASSERT(entry_ == makeIndex(clasp, key, kind)); in fill()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/gc/
H A DObjectKind-inl.h34 static inline AllocKind GetGCObjectKind(const JSClass* clasp) { in GetGCObjectKind() argument
35 if (clasp == FunctionClassPtr) { in GetGCObjectKind()
39 MOZ_ASSERT(!clasp->isProxyObject(), in GetGCObjectKind()
42 uint32_t nslots = JSCLASS_RESERVED_SLOTS(clasp); in GetGCObjectKind()
43 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCObjectKind()
122 static inline size_t GetGCKindSlots(AllocKind thingKind, const JSClass* clasp) { in GetGCKindSlots() argument
126 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCKindSlots()
135 if (clasp == FunctionClassPtr) { in GetGCKindSlots()
147 const JSClass* clasp) { in CanChangeToBackgroundAllocKind() argument
161 return !clasp->hasFinalize() || (clasp->flags & JSCLASS_BACKGROUND_FINALIZE); in CanChangeToBackgroundAllocKind()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/gc/
H A DObjectKind-inl.h34 static inline AllocKind GetGCObjectKind(const JSClass* clasp) { in GetGCObjectKind() argument
35 if (clasp == FunctionClassPtr) { in GetGCObjectKind()
39 MOZ_ASSERT(!clasp->isProxy(), "Proxies should use GetProxyGCObjectKind"); in GetGCObjectKind()
41 uint32_t nslots = JSCLASS_RESERVED_SLOTS(clasp); in GetGCObjectKind()
42 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCObjectKind()
115 static inline size_t GetGCKindSlots(AllocKind thingKind, const JSClass* clasp) { in GetGCKindSlots() argument
119 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCKindSlots()
128 if (clasp == FunctionClassPtr) { in GetGCKindSlots()
140 const JSClass* clasp) { in CanChangeToBackgroundAllocKind() argument
154 return !clasp->hasFinalize() || (clasp->flags & JSCLASS_BACKGROUND_FINALIZE); in CanChangeToBackgroundAllocKind()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/gc/
H A DObjectKind-inl.h34 static inline AllocKind GetGCObjectKind(const JSClass* clasp) { in GetGCObjectKind() argument
35 if (clasp == FunctionClassPtr) { in GetGCObjectKind()
39 MOZ_ASSERT(!clasp->isProxyObject(), in GetGCObjectKind()
42 uint32_t nslots = JSCLASS_RESERVED_SLOTS(clasp); in GetGCObjectKind()
43 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCObjectKind()
122 static inline size_t GetGCKindSlots(AllocKind thingKind, const JSClass* clasp) { in GetGCKindSlots() argument
126 if (clasp->flags & JSCLASS_HAS_PRIVATE) { in GetGCKindSlots()
135 if (clasp == FunctionClassPtr) { in GetGCKindSlots()
147 const JSClass* clasp) { in CanChangeToBackgroundAllocKind() argument
161 return !clasp->hasFinalize() || (clasp->flags & JSCLASS_BACKGROUND_FINALIZE); in CanChangeToBackgroundAllocKind()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/vm/
H A DGlobalObject.cpp48 const Class* clasp; member
68 #define INIT_FUNC(name,code,init,clasp) { clasp, init }, argument
79 return protoTable[key].clasp; in JS_FRIEND_API()
114 const Class* clasp = ProtoKeyToClass(key); in resolveConstructor() local
115 if (!init && !clasp) in resolveConstructor()
124 bool haveSpec = clasp && clasp->spec.defined(); in resolveConstructor()
157 if (clasp->spec.createPrototypeHook()) { in resolveConstructor()
171 if (clasp->spec.shouldDefineConstructor()) { in resolveConstructor()
205 if (clasp->spec.finishInitHook() && !clasp->spec.finishInitHook()(cx, ctor, proto)) in resolveConstructor()
255 if (clasp->flags & JSCLASS_HAS_PRIVATE) in createInternal()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DCaches.h164 const Class* clasp; member
215 return lookup(group->clasp(), group, kind, pentry); in lookupGroup()
226 void fillProto(EntryIndex entry, const Class* clasp, js::TaggedProto proto,
236 return fill(entry, group->clasp(), group, kind, obj); in fillGroup()
243 EntryIndex makeIndex(const Class* clasp, gc::Cell* key, gc::AllocKind kind) { in makeIndex() argument
244 uintptr_t hash = (uintptr_t(clasp) ^ uintptr_t(key)) + size_t(kind); in makeIndex()
249 *pentry = makeIndex(clasp, key, kind); in lookup()
253 return entry->clasp == clasp && entry->key == key; in lookup()
256 void fill(EntryIndex entry_, const Class* clasp, gc::Cell* key, gc::AllocKind kind, in fill() argument
259 MOZ_ASSERT(entry_ == makeIndex(clasp, key, kind)); in fill()
[all …]

12345678910>>...48