Home
last modified time | relevance | path

Searched refs:new_cs (Results 1 – 25 of 112) sorted by relevance

12345

/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dzone.c626 if (new_cs) in Cache_Move()
632 Q_memcpy (new_cs->name, c->name, sizeof(new_cs->name)); in Cache_Move()
634 new_cs->user->data = (void *)(new_cs+1); in Cache_Move()
737 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
738 new_cs->size = size; in Cache_TryAlloc()
741 new_cs->prev = new_cs->next = &cache_head; in Cache_TryAlloc()
744 return new_cs; in Cache_TryAlloc()
758 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
768 return new_cs; in Cache_TryAlloc()
781 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
[all …]
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dx86_ops_call.h63 uint16_t new_cs, new_pc; in opCALL_far_w() local
69 CALL_FAR_w(new_cs, new_pc); in opCALL_far_w()
79 uint32_t new_cs, new_pc; in opCALL_far_l() local
85 CALL_FAR_l(new_cs, new_pc); in opCALL_far_l()
96 uint16_t old_cs, new_cs; in opFF_w_a16() local
134 CALL_FAR_w(new_cs, new_pc); in opFF_w_a16()
173 uint16_t old_cs, new_cs; in opFF_w_a32() local
211 CALL_FAR_w(new_cs, new_pc); in opFF_w_a32()
251 uint16_t old_cs, new_cs; in opFF_l_a16() local
289 CALL_FAR_l(new_cs, new_pc); in opFF_l_a16()
[all …]
H A Dx86_ops_ret.h110 uint16_t new_cs; in opIRET_286() local
115 new_cs = readmemw(ss, ESP + 2); in opIRET_286()
126 loadcs(new_cs); in opIRET_286()
146 uint16_t new_pc, new_cs, new_flags; in opIRET() local
165 loadcs(new_cs); in opIRET()
186 uint16_t new_cs; in opIRET() local
191 new_cs = readmemw(ss, ESP + 2); in opIRET()
202 loadcs(new_cs); in opIRET()
232 uint16_t new_cs; in opIRETD() local
237 new_cs = readmemw(ss, ESP + 4); in opIRETD()
[all …]
H A Dx86seg.c2539 new_cs=readmemw(base,0x4C); in taskswitch286()
2577 loadcs(new_cs); in taskswitch286()
2583 if (!(new_cs&~3)) in taskswitch286()
2589 addr=new_cs&~7; in taskswitch286()
2590 if (new_cs&4) in taskswitch286()
2645 CS=new_cs; in taskswitch286()
2752 new_cs=readmemw(base,0x24); in taskswitch286()
2782 if (!(new_cs&~3)) in taskswitch286()
2788 addr=new_cs&~7; in taskswitch286()
2789 if (new_cs&4) in taskswitch286()
[all …]
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/
H A Dzone.c592 if (new_cs) in Cache_Move()
597 memcpy (new_cs->name, c->name, sizeof(new_cs->name)); in Cache_Move()
599 new_cs->user->data = (void *)(new_cs + 1); in Cache_Move()
700 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
701 new_cs->size = size; in Cache_TryAlloc()
704 new_cs->prev = new_cs->next = &cache_head; in Cache_TryAlloc()
707 return new_cs; in Cache_TryAlloc()
720 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
730 return new_cs; in Cache_TryAlloc()
743 memset (new_cs, 0, sizeof(*new_cs)); in Cache_TryAlloc()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/tcg/
H A Dseg_helper.c1325 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1344 rpl = new_cs & 3; in helper_ljmp_protected()
1366 rpl = new_cs & 3; in helper_ljmp_protected()
1496 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1516 rpl = new_cs & 3; in helper_lcall_protected()
1571 rpl = new_cs & 3; in helper_lcall_protected()
1795 new_cs &= 0xffff; in helper_iret_real()
1873 new_cs &= 0xffff; in helper_ret_protected()
1884 new_cs &= 0xffff; in helper_ret_protected()
1903 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu/qemu-6.2.0/target/i386/tcg/
H A Dseg_helper.c1325 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1344 rpl = new_cs & 3; in helper_ljmp_protected()
1366 rpl = new_cs & 3; in helper_ljmp_protected()
1496 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1516 rpl = new_cs & 3; in helper_lcall_protected()
1571 rpl = new_cs & 3; in helper_lcall_protected()
1795 new_cs &= 0xffff; in helper_iret_real()
1873 new_cs &= 0xffff; in helper_ret_protected()
1884 new_cs &= 0xffff; in helper_ret_protected()
1903 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/security/snort3/snort3-3.1.19.0/src/trace/
H A Dtrace_api.cc41 static void update_constraints(PacketConstraints* new_cs) in update_constraints() argument
43 if (!g_packet_constraints and !new_cs) in update_constraints()
46 bool different_constraints = g_packet_constraints and new_cs and in update_constraints()
47 !(*g_packet_constraints == *new_cs); in update_constraints()
49 if ( !g_packet_constraints or !new_cs or different_constraints ) in update_constraints()
52 g_packet_constraints = new_cs; in update_constraints()
/dports/emulators/qemu-utils/qemu-4.2.1/target/i386/
H A Dseg_helper.c1596 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1615 rpl = new_cs & 3; in helper_ljmp_protected()
1637 rpl = new_cs & 3; in helper_ljmp_protected()
1767 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1787 rpl = new_cs & 3; in helper_lcall_protected()
1842 rpl = new_cs & 3; in helper_lcall_protected()
2066 new_cs &= 0xffff; in helper_iret_real()
2141 new_cs &= 0xffff; in helper_ret_protected()
2152 new_cs &= 0xffff; in helper_ret_protected()
2171 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/target/i386/
H A Dseg_helper.c1596 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1615 rpl = new_cs & 3; in helper_ljmp_protected()
1637 rpl = new_cs & 3; in helper_ljmp_protected()
1767 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1787 rpl = new_cs & 3; in helper_lcall_protected()
1842 rpl = new_cs & 3; in helper_lcall_protected()
2066 new_cs &= 0xffff; in helper_iret_real()
2141 new_cs &= 0xffff; in helper_ret_protected()
2152 new_cs &= 0xffff; in helper_ret_protected()
2171 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/i386/
H A Dseg_helper.c1596 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1615 rpl = new_cs & 3; in helper_ljmp_protected()
1637 rpl = new_cs & 3; in helper_ljmp_protected()
1767 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1787 rpl = new_cs & 3; in helper_lcall_protected()
1842 rpl = new_cs & 3; in helper_lcall_protected()
2066 new_cs &= 0xffff; in helper_iret_real()
2141 new_cs &= 0xffff; in helper_ret_protected()
2152 new_cs &= 0xffff; in helper_ret_protected()
2171 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/multimedia/libva/libva-2.13.0/va/glx/
H A Dva_glx_impl.c453 if (!new_cs->display) in gl_set_current_context()
454 return !new_cs->window && !new_cs->context; in gl_set_current_context()
457 if (old_cs == new_cs) in gl_set_current_context()
465 return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context); in gl_set_current_context()
918 new_cs = gl_create_context(ctx, &old_cs); in vaCreateSurfaceGLX_impl_libva()
919 if (!new_cs) in vaCreateSurfaceGLX_impl_libva()
928 pSurfaceGLX->gl_context = new_cs; in vaCreateSurfaceGLX_impl_libva()
935 if (new_cs) in vaCreateSurfaceGLX_impl_libva()
936 gl_destroy_context(new_cs); in vaCreateSurfaceGLX_impl_libva()
949 new_cs = pSurfaceGLX->gl_context; in vaDestroySurfaceGLX_impl_libva()
[all …]
/dports/multimedia/libva-glx/libva-2.13.0/va/glx/
H A Dva_glx_impl.c453 if (!new_cs->display) in gl_set_current_context()
454 return !new_cs->window && !new_cs->context; in gl_set_current_context()
457 if (old_cs == new_cs) in gl_set_current_context()
465 return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context); in gl_set_current_context()
918 new_cs = gl_create_context(ctx, &old_cs); in vaCreateSurfaceGLX_impl_libva()
919 if (!new_cs) in vaCreateSurfaceGLX_impl_libva()
928 pSurfaceGLX->gl_context = new_cs; in vaCreateSurfaceGLX_impl_libva()
935 if (new_cs) in vaCreateSurfaceGLX_impl_libva()
936 gl_destroy_context(new_cs); in vaCreateSurfaceGLX_impl_libva()
949 new_cs = pSurfaceGLX->gl_context; in vaDestroySurfaceGLX_impl_libva()
[all …]
/dports/games/openttd/openttd-12.1/src/network/
H A Dnetwork_server.cpp267 if (new_cs->status > STATUS_AUTHORIZED && this != new_cs) { in CloseConnection()
393 if (new_cs->status >= STATUS_AUTHORIZED && new_cs != this) { in SendError()
486 if (new_cs != this && new_cs->status >= STATUS_AUTHORIZED) { in SendWelcome()
503 …if (new_cs->GetInfo()->join_date < this->GetInfo()->join_date || (new_cs->GetInfo()->join_date == … in SendWait()
517 if (ignore_cs == new_cs) continue; in CheckNextClientToSendMap()
521 best = new_cs; in CheckNextClientToSendMap()
534 if (new_cs->status == STATUS_MAP_WAIT) new_cs->SendWait(); in CheckNextClientToSendMap()
953 if (new_cs->status == STATUS_MAP) { in Receive_CLIENT_GETMAP()
990 new_cs->SendJoin(this->client_id); in Receive_CLIENT_MAP_OK()
1116 if (new_cs->status >= STATUS_AUTHORIZED && new_cs != this) { in Receive_CLIENT_QUIT()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/target/i386/
H A Dseg_helper.c1597 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1616 rpl = new_cs & 3; in helper_ljmp_protected()
1638 rpl = new_cs & 3; in helper_ljmp_protected()
1768 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1788 rpl = new_cs & 3; in helper_lcall_protected()
1843 rpl = new_cs & 3; in helper_lcall_protected()
2067 new_cs &= 0xffff; in helper_iret_real()
2142 new_cs &= 0xffff; in helper_ret_protected()
2153 new_cs &= 0xffff; in helper_ret_protected()
2172 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/i386/
H A Dseg_helper.c1596 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1615 rpl = new_cs & 3; in helper_ljmp_protected()
1637 rpl = new_cs & 3; in helper_ljmp_protected()
1767 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1787 rpl = new_cs & 3; in helper_lcall_protected()
1842 rpl = new_cs & 3; in helper_lcall_protected()
2066 new_cs &= 0xffff; in helper_iret_real()
2141 new_cs &= 0xffff; in helper_ret_protected()
2152 new_cs &= 0xffff; in helper_ret_protected()
2171 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/i386/
H A Dseg_helper.c1596 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1615 rpl = new_cs & 3; in helper_ljmp_protected()
1637 rpl = new_cs & 3; in helper_ljmp_protected()
1767 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1787 rpl = new_cs & 3; in helper_lcall_protected()
1842 rpl = new_cs & 3; in helper_lcall_protected()
2066 new_cs &= 0xffff; in helper_iret_real()
2141 new_cs &= 0xffff; in helper_ret_protected()
2152 new_cs &= 0xffff; in helper_ret_protected()
2171 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/target/i386/tcg/
H A Dseg_helper.c1605 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1624 rpl = new_cs & 3; in helper_ljmp_protected()
1646 rpl = new_cs & 3; in helper_ljmp_protected()
1776 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1796 rpl = new_cs & 3; in helper_lcall_protected()
1851 rpl = new_cs & 3; in helper_lcall_protected()
2075 new_cs &= 0xffff; in helper_iret_real()
2153 new_cs &= 0xffff; in helper_ret_protected()
2164 new_cs &= 0xffff; in helper_ret_protected()
2183 if ((new_cs & 0xfffc) == 0) { in helper_ret_protected()
[all …]
/dports/emulators/unicorn/unicorn-1.0.2/qemu/target-i386/
H A Dseg_helper.c1718 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1737 rpl = new_cs & 3; in helper_ljmp_protected()
1759 rpl = new_cs & 3; in helper_ljmp_protected()
1855 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1875 rpl = new_cs & 3; in helper_lcall_protected()
1930 rpl = new_cs & 3; in helper_lcall_protected()
2083 new_cs &= 0xffff; in helper_iret_real()
2156 POPQ(sp, new_cs); in helper_ret_protected()
2157 new_cs &= 0xffff; in helper_ret_protected()
2168 new_cs &= 0xffff; in helper_ret_protected()
[all …]
/dports/emulators/py-unicorn/unicorn-1.0.2/qemu/target-i386/
H A Dseg_helper.c1718 if ((new_cs & 0xfffc) == 0) { in helper_ljmp_protected()
1737 rpl = new_cs & 3; in helper_ljmp_protected()
1759 rpl = new_cs & 3; in helper_ljmp_protected()
1855 if ((new_cs & 0xfffc) == 0) { in helper_lcall_protected()
1875 rpl = new_cs & 3; in helper_lcall_protected()
1930 rpl = new_cs & 3; in helper_lcall_protected()
2083 new_cs &= 0xffff; in helper_iret_real()
2156 POPQ(sp, new_cs); in helper_ret_protected()
2157 new_cs &= 0xffff; in helper_ret_protected()
2168 new_cs &= 0xffff; in helper_ret_protected()
[all …]
/dports/multimedia/gstreamer1-vaapi/gstreamer-vaapi-1.16.2/gst-libs/gst/vaapi/
H A Dgstvaapiutils_egl.c1020 if (!new_cs->display) in egl_context_state_set_current()
1021 return !new_cs->context && !new_cs->read_surface && !new_cs->draw_surface; in egl_context_state_set_current()
1024 if (old_cs == new_cs) in egl_context_state_set_current()
1033 return eglMakeCurrent (new_cs->display, new_cs->draw_surface, in egl_context_state_set_current()
1034 new_cs->read_surface, new_cs->context); in egl_context_state_set_current()
1167 EglContextState cs, *new_cs; in egl_context_set_current() local
1173 new_cs = &cs; in egl_context_set_current()
1175 new_cs->context = ctx->base.handle.p; in egl_context_set_current()
1181 new_cs = old_cs; in egl_context_set_current()
1184 new_cs = &cs; in egl_context_set_current()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/testing/
H A DUnitTestExternalFaces.cxx120 vtkm::cont::CellSetExplicit<> new_cs; in TestExternalFaces1() local
121 new_ds.GetCellSet(0).CopyTo(new_cs); in TestExternalFaces1()
123 vtkm::Id numExtFaces_out = new_cs.GetNumberOfCells(); in TestExternalFaces1()
194 vtkm::cont::CellSetExplicit<> new_cs; in TestExternalFaces3() local
195 new_ds.GetCellSet(0).CopyTo(new_cs); in TestExternalFaces3()
197 vtkm::Id numExtFaces_out = new_cs.GetNumberOfCells(); in TestExternalFaces3()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/testing/
H A DUnitTestExternalFaces.cxx99 vtkm::cont::CellSetExplicit<> new_cs; in TestExternalFaces1() local
100 new_ds.GetCellSet().CopyTo(new_cs); in TestExternalFaces1()
102 vtkm::Id numExtFaces_out = new_cs.GetNumberOfCells(); in TestExternalFaces1()
170 vtkm::cont::CellSetExplicit<> new_cs; in TestExternalFaces3() local
171 new_ds.GetCellSet().CopyTo(new_cs); in TestExternalFaces3()
173 vtkm::Id numExtFaces_out = new_cs.GetNumberOfCells(); in TestExternalFaces3()
/dports/devel/ppl/ppl-1.2/src/
H A DPolyhedron_widenings.cc368 Constraint_System new_cs; in limited_H79_extrapolation_assign() local
377 new_cs.insert(c); in limited_H79_extrapolation_assign()
381 x.add_recycled_constraints(new_cs); in limited_H79_extrapolation_assign()
432 Constraint_System new_cs(topol); in BHRZ03_combining_constraints() local
470 new_cs.insert(combining_cs[0]); in BHRZ03_combining_constraints()
484 new_cs.insert(e > 0); in BHRZ03_combining_constraints()
487 new_cs.insert(e >= 0); in BHRZ03_combining_constraints()
512 result.add_recycled_constraints(new_cs); in BHRZ03_combining_constraints()
909 Constraint_System new_cs; in limited_BHRZ03_extrapolation_assign() local
918 new_cs.insert(c); in limited_BHRZ03_extrapolation_assign()
[all …]
/dports/multimedia/libva-vdpau-driver/libva-vdpau-driver-0.7.4/src/
H A Dvdpau_video_glx.c288 GLContextState old_cs, *new_cs; in vdpau_CreateSurfaceGLX() local
290 new_cs = gl_create_context(driver_data->x11_dpy, driver_data->x11_screen, &old_cs); in vdpau_CreateSurfaceGLX()
291 if (!new_cs) in vdpau_CreateSurfaceGLX()
293 if (!gl_set_current_context(new_cs, NULL)) in vdpau_CreateSurfaceGLX()
295 gl_init_context(new_cs); in vdpau_CreateSurfaceGLX()
303 obj_glx_surface->gl_context = new_cs; in vdpau_CreateSurfaceGLX()
328 GLContextState old_cs, *new_cs = obj_glx_surface->gl_context; in vdpau_DestroySurfaceGLX() local
329 if (!gl_set_current_context(new_cs, &old_cs)) in vdpau_DestroySurfaceGLX()
334 gl_destroy_context(new_cs); in vdpau_DestroySurfaceGLX()

12345