Home
last modified time | relevance | path

Searched refs:newcontext (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/dports/textproc/p5-Text-Tmpl/Text-Tmpl-0.33/
H A Dparser.c160 context_p newcontext; in parser() local
162 newcontext = tagplist_exec(tag_pairs,token->tag_argv[0], in parser()
167 if ((newcontext != NULL) && (newtokens != NULL)) in parser()
172 parsed_result_length = parser(newcontext, 1, in parser()
181 if (ctx_is_anonymous(newcontext)) in parser()
183 context_destroy(newcontext); in parser()
195 if (ctx_is_anonymous(newcontext)) in parser()
197 context_destroy(newcontext); in parser()
/dports/databases/postgis30/postgis-3.0.4/postgis/
H A Dlwgeom_dump.c81 MemoryContext oldcontext, newcontext; in LWGEOM_dump() local
91 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
93 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
135 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
185 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
227 MemoryContext oldcontext, newcontext; in LWGEOM_dump_rings() local
235 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
237 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
274 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
288 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
/dports/databases/postgis32/postgis-3.2.0/postgis/
H A Dlwgeom_dump.c81 MemoryContext oldcontext, newcontext; in LWGEOM_dump() local
91 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
93 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
135 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
185 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
227 MemoryContext oldcontext, newcontext; in LWGEOM_dump_rings() local
235 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
237 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
274 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
288 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
H A Dlwgeom_dumppoints.c78 MemoryContext oldcontext, newcontext; in LWGEOM_dumppoints() local
94 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dumppoints()
95 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dumppoints()
144 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dumppoints()
298 MemoryContext oldcontext, newcontext; in LWGEOM_dumpsegments() local
315 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dumpsegments()
316 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dumpsegments()
366 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dumpsegments()
/dports/databases/postgis31/postgis-3.1.4/postgis/
H A Dlwgeom_dump.c81 MemoryContext oldcontext, newcontext; in LWGEOM_dump() local
91 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
93 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
135 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
185 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
227 MemoryContext oldcontext, newcontext; in LWGEOM_dump_rings() local
235 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
237 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
274 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
288 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
/dports/databases/postgis25/postgis-2.5.5/postgis/
H A Dlwgeom_dump.c82 MemoryContext oldcontext, newcontext; in LWGEOM_dump() local
92 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
94 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
136 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump()
186 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump()
228 MemoryContext oldcontext, newcontext; in LWGEOM_dump_rings() local
236 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
238 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
275 newcontext = funcctx->multi_call_memory_ctx; in LWGEOM_dump_rings()
289 oldcontext = MemoryContextSwitchTo(newcontext); in LWGEOM_dump_rings()
/dports/graphics/embree/embree-3.13.2/kernels/geometry/
H A Dinstance_intersector.cpp65 IntersectContext newcontext((Scene*)instance->object, user_context); in intersect() local
66 instance->object->intersectors.intersect((RTCRayHit&)ray, &newcontext); in intersect()
92 IntersectContext newcontext((Scene*)instance->object, user_context); in occluded() local
93 instance->object->intersectors.occluded((RTCRay&)ray, &newcontext); in occluded()
154 IntersectContext newcontext((Scene*)instance->object, user_context); in intersect() local
181 IntersectContext newcontext((Scene*)instance->object, user_context); in occluded() local
182 instance->object->intersectors.occluded((RTCRay&)ray, &newcontext); in occluded()
246 instance->object->intersectors.intersect(valid, ray, &newcontext); in intersect()
275 instance->object->intersectors.occluded(valid, ray, &newcontext); in occluded()
305 instance->object->intersectors.intersect(valid, ray, &newcontext); in intersect()
[all …]
/dports/news/trn4/trn-4.0-test77/
H A Dscan.c135 s_change_context(newcontext) in s_change_context() argument
136 int newcontext; /* context number to activate */ in s_change_context()
140 if (newcontext < 0 || newcontext >= s_num_contexts) {
141 printf("s_change_context: bad context number %d!\n",newcontext) FLUSH;
144 s_cur_context = newcontext;
145 p = s_contexts + newcontext;
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/display/
H A Ddisplay.cpp167 newcontext->base.left = 0.0; in RegisterNewContext()
168 newcontext->base.bottom = 0.0; in RegisterNewContext()
169 newcontext->base.top = 1.0; in RegisterNewContext()
170 newcontext->base.right = 1.0; in RegisterNewContext()
171 newcontext->base.aspect = 0; in RegisterNewContext()
173 newcontext->is_fullscreen = false; in RegisterNewContext()
179 contexts[name] = newcontext; in RegisterNewContext()
183 context = newcontext.get(); in RegisterNewContext()
185 newcontext->windowed_size[0], in RegisterNewContext()
186 newcontext->windowed_size[1] in RegisterNewContext()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.ComponentModel/
H A DLicenseManagerTests.cs130 LicenseContext newcontext = new DesigntimeLicenseContext(); in Test()
131 LicenseManager.CurrentContext = newcontext; in Test()
132 Assert.AreEqual (newcontext, LicenseManager.CurrentContext, "LicenseManager #3"); in Test()
134 Assert.AreEqual (newcontext.UsageMode, LicenseManager.UsageMode, "LicenseManager #4"); in Test()
149 LicenseManager.CurrentContext=newcontext; in Test()
163 LicenseManager.CurrentContext=newcontext; in Test()
164 Assert.AreEqual (newcontext, LicenseManager.CurrentContext, "LicenseManager #10"); in Test()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/tests/
H A DLicenseManagerTests.cs123 LicenseContext newcontext = new DesigntimeLicenseContext(); in Test()
124 LicenseManager.CurrentContext = newcontext; in Test()
125 Assert.Equal(newcontext, LicenseManager.CurrentContext); in Test()
127 Assert.Equal(newcontext.UsageMode, LicenseManager.UsageMode); in Test()
142 LicenseManager.CurrentContext = newcontext; in Test()
156 LicenseManager.CurrentContext = newcontext; in Test()
157 Assert.Equal(newcontext, LicenseManager.CurrentContext); in Test()
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/selinux/ss/
H A Dmls.c493 struct context *newcontext, in mls_compute_sid() argument
512 return mls_range_set(newcontext, r); in mls_compute_sid()
522 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
524 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
526 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
528 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
532 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
534 return mls_context_glblub(newcontext, in mls_compute_sid()
542 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
545 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/security/selinux/ss/
H A Dmls.c493 struct context *newcontext, in mls_compute_sid() argument
512 return mls_range_set(newcontext, r); in mls_compute_sid()
522 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
524 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
526 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
528 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
532 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
534 return mls_context_glblub(newcontext, in mls_compute_sid()
542 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
545 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/security/selinux/ss/
H A Dmls.c493 struct context *newcontext, in mls_compute_sid() argument
512 return mls_range_set(newcontext, r); in mls_compute_sid()
522 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
524 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
526 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
528 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
532 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
534 return mls_context_glblub(newcontext, in mls_compute_sid()
542 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
545 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
/dports/www/moodle310/moodle/lib/tests/
H A Dquestionlib_test.php914 $newcontext = context_coursecat::instance($category->id);
986 $newcontext = context_system::instance();
1019 $newcontext = context_system::instance();
1059 $newcontext = $coursecontext;
1101 $newcontext = $coursecontext;
1222 $newcontext = context_module::instance($quiz->cmid);
1261 $newcontext = context_module::instance($quiz->cmid);
1305 $newcontext = context_module::instance($quiz->cmid);
1335 $newcontext = context_course::instance($course->id);
1937 'contextid' => $newcontext->id,
[all …]
/dports/www/moodle311/moodle/lib/tests/
H A Dquestionlib_test.php914 $newcontext = context_coursecat::instance($category->id);
986 $newcontext = context_system::instance();
1019 $newcontext = context_system::instance();
1059 $newcontext = $coursecontext;
1101 $newcontext = $coursecontext;
1222 $newcontext = context_module::instance($quiz->cmid);
1261 $newcontext = context_module::instance($quiz->cmid);
1305 $newcontext = context_module::instance($quiz->cmid);
1335 $newcontext = context_course::instance($course->id);
1937 'contextid' => $newcontext->id,
[all …]
/dports/www/moodle39/moodle/lib/tests/
H A Dquestionlib_test.php914 $newcontext = context_coursecat::instance($category->id);
986 $newcontext = context_system::instance();
1019 $newcontext = context_system::instance();
1059 $newcontext = $coursecontext;
1101 $newcontext = $coursecontext;
1222 $newcontext = context_module::instance($quiz->cmid);
1261 $newcontext = context_module::instance($quiz->cmid);
1305 $newcontext = context_module::instance($quiz->cmid);
1335 $newcontext = context_course::instance($course->id);
1937 'contextid' => $newcontext->id,
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.p2/bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/
H A DActivator.java31 public void start(BundleContext newcontext) throws Exception { in start() argument
32 Activator.context = newcontext; in start()
36 public void stop(BundleContext newcontext) throws Exception { in stop() argument
/dports/security/luasec/luasec-1.0.2/samples/key/
H A Dloadkey.lua15 ctx, err = ssl.newcontext(cfg)
21 ctx, err = ssl.newcontext(cfg)
27 ctx, err = ssl.newcontext(cfg)
/dports/www/moodle39/moodle/contentbank/tests/
H A Dcontent_test.php174 $newcontext = \context_course::instance($course->id);
186 $this->assertNotEquals($newcontext->id, $oldcontextid);
188 $content->set_contextid($newcontext->id);
191 $this->assertEquals($newcontext->id, $content->get_contextid());
192 $this->assertEquals($newcontext->id, $file->get_contextid());
/dports/www/moodle310/moodle/contentbank/tests/
H A Dcontent_test.php174 $newcontext = \context_course::instance($course->id);
186 $this->assertNotEquals($newcontext->id, $oldcontextid);
188 $content->set_contextid($newcontext->id);
191 $this->assertEquals($newcontext->id, $content->get_contextid());
192 $this->assertEquals($newcontext->id, $file->get_contextid());
/dports/devel/py-zope.configuration/zope.configuration-4.1.0/src/zope/configuration/
H A Dconfig.py437 newcontext = GroupingContextDecorator(context)
438 newcontext.info = info
439 self.context = newcontext
536 newcontext = GroupingContextDecorator(context)
537 newcontext.info = info
538 self.context = newcontext
542 args = toargs(newcontext, meta.schema, data)
543 self.handler = self.meta.handler(newcontext, **args)
707 newcontext = handler(context, **args)
708 newcontext.info = info
[all …]
/dports/security/luasec/luasec-1.0.2/samples/sni/
H A Dserver.lua27 local ctx01 = ssl.newcontext(params01)
28 local ctx02 = ssl.newcontext(params02)
/dports/www/moodle39/moodle/tag/classes/
H A Dtag.php968 * @param context $newcontext
970 public static function move_context($component, $itemtype, $oldcontext, $newcontext) { argument
975 if ($newcontext instanceof context) {
976 $newcontext = $newcontext->id;
978 $DB->set_field('tag_instance', 'contextid', $newcontext,
988 * @param context|int $newcontext target context to move tags to
990 public static function change_items_context($component, $itemtype, $itemids, $newcontext) { argument
1001 if ($newcontext instanceof context) {
1002 $newcontext = $newcontext->id;
1005 $DB->set_field_select('tag_instance', 'contextid', $newcontext,
[all …]
/dports/www/moodle310/moodle/tag/classes/
H A Dtag.php968 * @param context $newcontext
970 public static function move_context($component, $itemtype, $oldcontext, $newcontext) { argument
975 if ($newcontext instanceof context) {
976 $newcontext = $newcontext->id;
978 $DB->set_field('tag_instance', 'contextid', $newcontext,
988 * @param context|int $newcontext target context to move tags to
990 public static function change_items_context($component, $itemtype, $itemids, $newcontext) { argument
1001 if ($newcontext instanceof context) {
1002 $newcontext = $newcontext->id;
1005 $DB->set_field_select('tag_instance', 'contextid', $newcontext,
[all …]

12345678910>>...12