/external/quake/quake/src/QW/server/ |
D | sv_init.c | 24 server_t sv; // local server variable 43 for (i=0 ; i<MAX_MODELS && sv.model_precache[i] ; i++) in SV_ModelIndex() 44 if (!strcmp(sv.model_precache[i], name)) in SV_ModelIndex() 46 if (i==MAX_MODELS || !sv.model_precache[i]) in SV_ModelIndex() 60 if (sv.signon.cursize < sv.signon.maxsize - 512) in SV_FlushSignon() 63 if (sv.num_signon_buffers == MAX_SIGNON_BUFFERS-1) in SV_FlushSignon() 66 sv.signon_buffer_size[sv.num_signon_buffers-1] = sv.signon.cursize; in SV_FlushSignon() 67 sv.signon.data = sv.signon_buffers[sv.num_signon_buffers]; in SV_FlushSignon() 68 sv.num_signon_buffers++; in SV_FlushSignon() 69 sv.signon.cursize = 0; in SV_FlushSignon() [all …]
|
D | sv_send.c | 232 if (!sv.state) in SV_BroadcastCommand() 238 MSG_WriteByte (&sv.reliable_datagram, svc_stufftext); in SV_BroadcastCommand() 239 MSG_WriteString (&sv.reliable_datagram, string); in SV_BroadcastCommand() 264 leaf = Mod_PointInLeaf (origin, sv.worldmodel); in SV_Multicast() 268 leafnum = leaf - sv.worldmodel->leafs; in SV_Multicast() 277 mask = sv.pvs; // leaf 0 is everything; in SV_Multicast() 283 mask = sv.phs + leafnum * 4*((sv.worldmodel->numleafs+31)>>5); in SV_Multicast() 289 mask = sv.pvs + leafnum * 4*((sv.worldmodel->numleafs+31)>>5); in SV_Multicast() 310 leaf = Mod_PointInLeaf (client->edict->v.origin, sv.worldmodel); in SV_Multicast() 314 leafnum = leaf - sv.worldmodel->leafs - 1; in SV_Multicast() [all …]
|
D | pr_cmds.c | 174 for (i=0, check = sv.model_precache ; *check ; i++, check++) in PF_setmodel() 437 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++) in PF_ambientsound() 449 MSG_WriteByte (&sv.signon,svc_spawnstaticsound); in PF_ambientsound() 451 MSG_WriteCoord(&sv.signon, pos[i]); in PF_ambientsound() 453 MSG_WriteByte (&sv.signon, soundnum); in PF_ambientsound() 455 MSG_WriteByte (&sv.signon, vol*255); in PF_ambientsound() 456 MSG_WriteByte (&sv.signon, attenuation*64); in PF_ambientsound() 542 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_traceline() 606 leaf = Mod_PointInLeaf (org, sv.worldmodel); in PF_newcheckclient() 607 pvs = Mod_LeafPVS (leaf, sv.worldmodel); in PF_newcheckclient() [all …]
|
D | sv_user.c | 96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message)); in SV_New_f() 112 MSG_WriteByte (&host_client->netchan.message, sv.edicts->v.sounds); in SV_New_f() 155 for (s = sv.sound_precache+1 + n ; in SV_Soundlist_f() 205 for (s = sv.model_precache+1+n ; in SV_Modellist_f() 243 if (buf >= sv.num_signon_buffers) in SV_PreSpawn_f() 252 if (sv_mapcheck.value && check != sv.worldmodel->checksum && in SV_PreSpawn_f() 253 check != sv.worldmodel->checksum2) { in SV_PreSpawn_f() 257 sv.modelname, check, sv.worldmodel->checksum, sv.worldmodel->checksum2); in SV_PreSpawn_f() 273 sv.signon_buffers[buf], in SV_PreSpawn_f() 274 sv.signon_buffer_size[buf]); in SV_PreSpawn_f() [all …]
|
D | sv_phys.c | 70 check = NEXT_EDICT(sv.edicts); in SV_CheckAllEnts() 71 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check)) in SV_CheckAllEnts() 135 if (thinktime > sv.time + host_frametime) in SV_RunThink() 138 if (thinktime < sv.time) in SV_RunThink() 139 thinktime = sv.time; // don't let things stay in the past. in SV_RunThink() 145 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_RunThink() 169 pr_global_struct->time = sv.time; in SV_Impact() 453 check = NEXT_EDICT(sv.edicts); in SV_Push() 454 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check)) in SV_Push() 606 pr_global_struct->time = sv.time; in SV_Physics_Pusher() [all …]
|
D | pr_edict.c | 83 for ( i=MAX_CLIENTS+1 ; i<sv.num_edicts ; i++) in ED_Alloc() 88 if (e->free && ( e->freetime < 2 || sv.time - e->freetime > 0.5 ) ) in ED_Alloc() 103 sv.num_edicts++; in ED_Alloc() 134 ed->freetime = sv.time; in ED_Free() 534 Con_Printf ("%i entities\n", sv.num_edicts); in ED_PrintEdicts() 535 for (i=0 ; i<sv.num_edicts ; i++) in ED_PrintEdicts() 572 for (i=0 ; i<sv.num_edicts ; i++) in ED_Count() 586 Con_Printf ("num_edicts:%3i\n", sv.num_edicts); in ED_Count() 804 if (ent != sv.edicts) // hack in ED_ParseEdict() 896 pr_global_struct->time = sv.time; in ED_LoadFromFile() [all …]
|
D | world.c | 142 model = sv.models[ (int)ent->v.modelindex ]; in SV_HullForEntity() 242 SV_CreateAreaNode (0, sv.worldmodel->mins, sv.worldmodel->maxs); in SV_ClearWorld() 294 pr_global_struct->time = sv.time; in SV_TouchLinks() 336 leafnum = leaf - sv.worldmodel->leafs - 1; in SV_FindTouchedLeafs() 369 if (ent == sv.edicts) in SV_LinkEdict() 404 SV_FindTouchedLeafs (ent, sv.worldmodel->nodes); in SV_LinkEdict() 491 return SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_PointContents() 511 return sv.edicts; in SV_TestEntityPosition() 833 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end ); in SV_Move() 882 hull = &sv.worldmodel->hulls[1]; in SV_TestPlayerPosition() [all …]
|
D | progs.h | 96 #define EDICT_TO_PROG(e) ((byte *)e - (byte *)sv.edicts) 97 #define PROG_TO_EDICT(e) ((edict_t *)((byte *)sv.edicts + e)) 103 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o]))
|
D | pr_exec.c | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); in PR_ExecuteProgram() 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) in PR_ExecuteProgram() 568 c->_int = (byte *)((int *)&ed->v + b->_int) - (byte *)sv.edicts; in PR_ExecuteProgram()
|
/external/quake/quake/src/WinQuake/ |
D | sv_main.cpp | 24 server_t sv; variable 84 if (sv.datagram.cursize > MAX_DATAGRAM-16) in SV_StartParticle() 86 MSG_WriteByte (&sv.datagram, svc_particle); in SV_StartParticle() 87 MSG_WriteCoord (&sv.datagram, org[0]); in SV_StartParticle() 88 MSG_WriteCoord (&sv.datagram, org[1]); in SV_StartParticle() 89 MSG_WriteCoord (&sv.datagram, org[2]); in SV_StartParticle() 97 MSG_WriteChar (&sv.datagram, v); in SV_StartParticle() 99 MSG_WriteByte (&sv.datagram, count); in SV_StartParticle() 100 MSG_WriteByte (&sv.datagram, color); in SV_StartParticle() 135 if (sv.datagram.cursize > MAX_DATAGRAM-16) in SV_StartSound() [all …]
|
D | pr_cmds.cpp | 245 for (i=0, check = sv.model_precache ; *check ; i++, check++) in PF_setmodel() 256 mod = sv.models[ (int)e->u.v.modelindex]; // Mod_ForName (m, true); in PF_setmodel() 520 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++) in PF_ambientsound() 532 MSG_WriteByte (&sv.signon,svc_spawnstaticsound); in PF_ambientsound() 534 MSG_WriteCoord(&sv.signon, pos[i]); in PF_ambientsound() 536 MSG_WriteByte (&sv.signon, soundnum); in PF_ambientsound() 538 MSG_WriteByte (&sv.signon, (int) (vol*255)); in PF_ambientsound() 539 MSG_WriteByte (&sv.signon, (int) (attenuation*64)); in PF_ambientsound() 634 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_traceline() 663 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts); in PF_TraceToss() [all …]
|
D | host_cmd.cpp | 74 if (!sv.active) in Host_Status_f() 90 print ("map: %s\n", sv.name); in Host_Status_f() 294 if (!sv.active) in Host_Map_f() 330 if (!sv.active || cls.demoplayback) in Host_Changelevel_f() 355 if (!sv.active || cls.demoplayback) in Host_Changelevel_f() 380 if (cls.demoplayback || !sv.active) in Host_Restart_f() 385 strcpy (mapname, sv.name); // must copy out, because it gets cleared in Host_Restart_f() 388 strcpy(startspot, sv.startspot); in Host_Restart_f() 482 if (!sv.active) in Host_Savegame_f() 538 fprintf (f, "%s\n", sv.name); in Host_Savegame_f() [all …]
|
D | host.cpp | 101 if (sv.active) in Host_EndGame() 139 if (sv.active) in Host_Error() 414 if (!sv.active) in Host_ShutdownServer() 417 sv.active = false; in Host_ShutdownServer() 465 memset (&sv, 0, sizeof(sv)); in Host_ShutdownServer() 487 memset (&sv, 0, sizeof(sv)); in Host_ClearMemory() 565 if (!sv.paused && (svs.maxclients > 1 || key_dest == key_game) ) in _Host_ServerFrame() 617 if (!sv.paused && (svs.maxclients > 1 || key_dest == key_game) ) in Host_ServerFrame() 664 if (sv.active) in _Host_Frame() 676 if (sv.active) in _Host_Frame() [all …]
|
D | pr_edict.cpp | 92 for ( i=svs.maxclients+1 ; i<sv.num_edicts ; i++) in ED_Alloc() 97 if (e->free && ( e->freetime < 2 || sv.time - e->freetime > 0.5 ) ) in ED_Alloc() 107 sv.num_edicts++; in ED_Alloc() 138 ed->freetime = sv.time; in ED_Free() 541 Con_Printf ("%i entities\n", sv.num_edicts); in ED_PrintEdicts() 542 for (i=0 ; i<sv.num_edicts ; i++) in ED_PrintEdicts() 558 if (i >= sv.num_edicts) in ED_PrintEdict_f() 580 for (i=0 ; i<sv.num_edicts ; i++) in ED_Count() 594 Con_Printf ("num_edicts:%3i\n", sv.num_edicts); in ED_Count() 813 if (ent != sv.edicts) // hack in ED_ParseEdict() [all …]
|
D | progs.h | 101 #define EDICT_TO_PROG(e) ((byte *)e - (byte *)sv.edicts) 102 #define PROG_TO_EDICT(e) ((edict_t *)((byte *)sv.edicts + e)) 108 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o]))
|
D | sv_phys.cpp | 67 check = NEXT_EDICT(sv.edicts); in SV_CheckAllEnts() 68 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check)) in SV_CheckAllEnts() 131 if (thinktime <= 0 || thinktime > sv.time + host_frametime) in SV_RunThink() 134 if (thinktime < sv.time) in SV_RunThink() 135 thinktime = sv.time; // don't let things stay in the past. in SV_RunThink() 141 pr_global_struct->other = EDICT_TO_PROG(sv.edicts); in SV_RunThink() 160 pr_global_struct->time = sv.time; in SV_Impact() 473 check = NEXT_EDICT(sv.edicts); in SV_PushMove() 474 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check)) in SV_PushMove() 601 check = NEXT_EDICT(sv.edicts); in SV_PushRotate() [all …]
|
D | world.cpp | 142 model = sv.models[ (int)ent->u.v.modelindex ]; in SV_HullForEntity() 253 SV_CreateAreaNode (0, sv.worldmodel->mins, sv.worldmodel->maxs); in SV_ClearWorld() 304 pr_global_struct->time = sv.time; in SV_TouchLinks() 346 leafnum = leaf - sv.worldmodel->leafs - 1; in SV_FindTouchedLeafs() 379 if (ent == sv.edicts) in SV_LinkEdict() 442 SV_FindTouchedLeafs (ent, sv.worldmodel->nodes); in SV_LinkEdict() 531 cont = SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_PointContents() 539 return SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_TruePointContents() 558 return sv.edicts; in SV_TestEntityPosition() 931 clip.trace = SV_ClipMoveToEntity ( sv.edicts, start, mins, maxs, end ); in SV_Move()
|
D | pr_exec.cpp | 492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts); in PR_ExecuteProgram() 551 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 555 ptr = (eval_t *)((byte *)sv.edicts + b->_int); in PR_ExecuteProgram() 566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active) in PR_ExecuteProgram() 568 c->_int = (byte *)(ed->u.i + b->_int) - (byte *)sv.edicts; in PR_ExecuteProgram()
|
/external/webkit/Tools/DumpRenderTree/mac/PerlSupport/ |
D | DumpRenderTreeSupport_wrapPregenerated.c | 614 # define SWIG_MakePackedObj(sv, p, s, type) \ argument 615 SWIG_Perl_MakePackedObj(pPerl, sv, p, s, type) 624 # define SWIG_MakePackedObj(sv, p, s, type) \ 625 SWIG_Perl_MakePackedObj(sv, p, s, type ) 632 # define SWIG_MakePtr(sv, ptr, type, flags) \ argument 633 SWIG_Perl_MakePtr(pPerl, sv, ptr, type, flags) 637 # define SWIG_MakePtr(sv, ptr, type, flags) \ 638 SWIG_Perl_MakePtr(sv, ptr, type, flags) 709 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) { in SWIG_Perl_ConvertPtr() argument 714 if (SvGMAGICAL(sv)) in SWIG_Perl_ConvertPtr() [all …]
|
/external/qemu/android/ |
D | hw-qemud.c | 925 static QemudClient* qemud_service_connect_client( QemudService *sv, 969 QemudService *sv = qemud_service_find(current_services, service_name); in qemud_client_load() local 970 if (sv == NULL) { in qemud_client_load() 996 QemudClient* c = qemud_service_connect_client(sv, channel, NULL); in qemud_client_load() 1143 qemud_service_connect_client(QemudService *sv, in qemud_service_connect_client() argument 1148 sv->serv_connect( sv->serv_opaque, sv, channel_id, client_param ); in qemud_service_connect_client() 1151 __FUNCTION__, sv->name); in qemud_service_connect_client() 1155 __FUNCTION__, channel_id, sv->name); in qemud_service_connect_client() 1164 QemudService* sv = NULL; in qemud_service_find() local 1165 for (sv = service_list; sv != NULL; sv = sv->next) { in qemud_service_find() [all …]
|
/external/clang/test/SemaCXX/ |
D | overload-call.cpp | 38 void test_i(short sv, int iv, long lv, unsigned char ucv) { in test_i() argument 39 int* ip1 = i(sv); in test_i() 133 void test_multiparm(long lv, short sv, int iv) { in test_multiparm() argument 135 int* ip2 = multiparm(lv, sv, lv); in test_multiparm() 137 float* fp2 = multiparm(sv, iv, iv); in test_multiparm() 138 double* dp1 = multiparm(sv, sv, sv); in test_multiparm() 139 double* dp2 = multiparm(iv, sv, sv); in test_multiparm() 140 multiparm(sv, sv, lv); // expected-error {{ call to 'multiparm' is ambiguous; candidates are: }} in test_multiparm()
|
/external/javassist/sample/vector/ |
D | Test.j | 32 StringVector sv = new StringVector(); 33 sv.add("foo"); 34 sv.add("bar"); 35 for (int i = 0; i < sv.size(); ++i) 36 System.out.println(sv.at(i));
|
/external/icu4c/data/coll/ |
D | sv.txt | 6 // * Source File:<path>/common/collation/sv.xml 10 * ICU <specials> source: <path>/xml/collation/sv.xml 12 sv{
|
/external/openssl/crypto/conf/ |
D | conf_def.c | 220 CONF_VALUE *sv=NULL; in def_load_bio() local 245 sv=_CONF_new_section(conf,section); in def_load_bio() 246 if (sv == NULL) in def_load_bio() 335 if ((sv=_CONF_get_section(conf,section)) == NULL) in def_load_bio() 336 sv=_CONF_new_section(conf,section); in def_load_bio() 337 if (sv == NULL) in def_load_bio() 407 tv=sv; in def_load_bio()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/style/ |
D | IETFUtils.java | 54 String sv = vTok.nextToken(); in rDNsFromString() local 55 int ndx = sv.indexOf('='); in rDNsFromString() 57 String nm = sv.substring(0, ndx); in rDNsFromString() 58 String vl = sv.substring(ndx + 1); in rDNsFromString()
|