Searched refs:sv (Results 1 - 25 of 76) sorted by relevance

1234

/external/quake/quake/src/QW/server/
H A Dsv_init.c24 server_t sv; // local server variable
43 for (i=0 ; i<MAX_MODELS && sv.model_precache[i] ; i++)
44 if (!strcmp(sv.model_precache[i], name))
46 if (i==MAX_MODELS || !sv.model_precache[i])
60 if (sv.signon.cursize < sv.signon.maxsize - 512)
63 if (sv.num_signon_buffers == MAX_SIGNON_BUFFERS-1)
64 SV_Error ("sv.num_signon_buffers == MAX_SIGNON_BUFFERS-1");
66 sv.signon_buffer_size[sv
[all...]
H A Dsv_send.c232 if (!sv.state)
238 MSG_WriteByte (&sv.reliable_datagram, svc_stufftext);
239 MSG_WriteString (&sv.reliable_datagram, string);
247 Sends the contents of sv.multicast to a subset of the clients,
248 then clears sv.multicast.
264 leaf = Mod_PointInLeaf (origin, sv.worldmodel);
268 leafnum = leaf - sv.worldmodel->leafs;
277 mask = sv.pvs; // leaf 0 is everything;
283 mask = sv.phs + leafnum * 4*((sv
[all...]
H A Dpr_cmds.c174 for (i=0, check = sv.model_precache ; *check ; i++, check++)
437 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++)
449 MSG_WriteByte (&sv.signon,svc_spawnstaticsound);
451 MSG_WriteCoord(&sv.signon, pos[i]);
453 MSG_WriteByte (&sv.signon, soundnum);
455 MSG_WriteByte (&sv.signon, vol*255);
456 MSG_WriteByte (&sv.signon, attenuation*64);
542 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts);
606 leaf = Mod_PointInLeaf (org, sv.worldmodel);
607 pvs = Mod_LeafPVS (leaf, sv
[all...]
H A Dsv_user.c69 // SV_FullClientUpdate (host_client, &sv.reliable_datagram);
96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message));
112 MSG_WriteByte (&host_client->netchan.message, sv.edicts->v.sounds);
155 for (s = sv.sound_precache+1 + n ;
205 for (s = sv.model_precache+1+n ;
243 if (buf >= sv.num_signon_buffers)
252 if (sv_mapcheck.value && check != sv.worldmodel->checksum &&
253 check != sv.worldmodel->checksum2) {
257 sv.modelname, check, sv
[all...]
H A Dprogs.h45 float freetime; // sv.time when the object was freed
88 //define EDICT_NUM(n) ((edict_t *)(sv.edicts+ (n)*pr_edict_size))
89 //define NUM_FOR_EDICT(e) (((byte *)(e) - sv.edicts)/pr_edict_size)
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]))
H A Dsv_phys.c70 check = NEXT_EDICT(sv.edicts);
71 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check))
135 if (thinktime > sv.time + host_frametime)
138 if (thinktime < sv.time)
139 thinktime = sv.time; // don't let things stay in the past.
145 pr_global_struct->other = EDICT_TO_PROG(sv.edicts);
169 pr_global_struct->time = sv.time;
453 check = NEXT_EDICT(sv.edicts);
454 for (e=1 ; e<sv.num_edicts ; e++, check = NEXT_EDICT(check))
606 pr_global_struct->time = sv
[all...]
H A Dworld.c142 model = sv.models[ (int)ent->v.modelindex ];
242 SV_CreateAreaNode (0, sv.worldmodel->mins, sv.worldmodel->maxs);
294 pr_global_struct->time = sv.time;
336 leafnum = leaf - sv.worldmodel->leafs - 1;
369 if (ent == sv.edicts)
404 SV_FindTouchedLeafs (ent, sv.worldmodel->nodes);
491 return SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p);
511 return sv.edicts;
833 clip.trace = SV_ClipMoveToEntity ( sv
[all...]
H A Dpr_edict.c83 for ( i=MAX_CLIENTS+1 ; i<sv.num_edicts ; i++)
88 if (e->free && ( e->freetime < 2 || sv.time - e->freetime > 0.5 ) )
103 sv.num_edicts++;
134 ed->freetime = sv.time;
534 Con_Printf ("%i entities\n", sv.num_edicts);
535 for (i=0 ; i<sv.num_edicts ; i++)
572 for (i=0 ; i<sv.num_edicts ; i++)
586 Con_Printf ("num_edicts:%3i\n", sv.num_edicts);
804 if (ent != sv.edicts) // hack
896 pr_global_struct->time = sv
[all...]
/external/quake/quake/src/WinQuake/
H A Dsv_main.cpp24 server_t sv; variable
84 if (sv.datagram.cursize > MAX_DATAGRAM-16)
86 MSG_WriteByte (&sv.datagram, svc_particle);
87 MSG_WriteCoord (&sv.datagram, org[0]);
88 MSG_WriteCoord (&sv.datagram, org[1]);
89 MSG_WriteCoord (&sv.datagram, org[2]);
97 MSG_WriteChar (&sv.datagram, v);
99 MSG_WriteByte (&sv.datagram, count);
100 MSG_WriteByte (&sv.datagram, color);
135 if (sv
[all...]
H A Dpr_cmds.cpp245 for (i=0, check = sv.model_precache ; *check ; i++, check++)
256 mod = sv.models[ (int)e->u.v.modelindex]; // Mod_ForName (m, true);
520 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++)
532 MSG_WriteByte (&sv.signon,svc_spawnstaticsound);
534 MSG_WriteCoord(&sv.signon, pos[i]);
536 MSG_WriteByte (&sv.signon, soundnum);
538 MSG_WriteByte (&sv.signon, (int) (vol*255));
539 MSG_WriteByte (&sv.signon, (int) (attenuation*64));
634 pr_global_struct->trace_ent = EDICT_TO_PROG(sv.edicts);
663 pr_global_struct->trace_ent = EDICT_TO_PROG(sv
[all...]
H A Dhost_cmd.cpp74 if (!sv.active)
90 print ("map: %s\n", sv.name);
294 if (!sv.active)
330 if (!sv.active || cls.demoplayback)
355 if (!sv.active || cls.demoplayback)
380 if (cls.demoplayback || !sv.active)
385 strcpy (mapname, sv.name); // must copy out, because it gets cleared
388 strcpy(startspot, sv.startspot);
482 if (!sv.active)
538 fprintf (f, "%s\n", sv
[all...]
H A Dprogs.h45 float freetime; // sv.time when the object was freed
93 //define EDICT_NUM(n) ((edict_t *)(sv.edicts+ (n)*pr_edict_size))
94 //define NUM_FOR_EDICT(e) (((byte *)(e) - sv.edicts)/pr_edict_size)
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]))
H A Dhost.cpp100 if (sv.active)
138 if (sv.active)
413 if (!sv.active)
416 sv.active = false;
464 memset (&sv, 0, sizeof(sv));
486 memset (&sv, 0, sizeof(sv));
564 if (!sv.paused && (svs.maxclients > 1 || key_dest == key_game) )
616 if (!sv
[all...]
H A Dpr_edict.cpp92 for ( i=svs.maxclients+1 ; i<sv.num_edicts ; i++)
97 if (e->free && ( e->freetime < 2 || sv.time - e->freetime > 0.5 ) )
107 sv.num_edicts++;
138 ed->freetime = sv.time;
541 Con_Printf ("%i entities\n", sv.num_edicts);
542 for (i=0 ; i<sv.num_edicts ; i++)
558 if (i >= sv.num_edicts)
580 for (i=0 ; i<sv.num_edicts ; i++)
594 Con_Printf ("num_edicts:%3i\n", sv.num_edicts);
813 if (ent != sv
[all...]
H A Dpr_exec.cpp492 c->_float = (PROG_TO_EDICT(a->edict) == sv.edicts);
551 ptr = (eval_t *)((byte *)sv.edicts + b->_int);
555 ptr = (eval_t *)((byte *)sv.edicts + b->_int);
566 if (ed == (edict_t *)sv.edicts && sv.state == ss_active)
568 c->_int = (byte *)(ed->u.i + b->_int) - (byte *)sv.edicts;
H A Dnet_loop.cpp49 if (!sv.active)
57 Q_strcpy(hostcache[0].map, sv.name);
/external/webkit/WebKitTools/DumpRenderTree/mac/PerlSupport/
H A DDumpRenderTreeSupport_wrapTiger.c614 # define SWIG_MakePackedObj(sv, p, s, type) \
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) \
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) { argument
714 if (SvGMAGICAL(sv))
771 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) argument
807 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) argument
905 _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) argument
1017 swig_magic_readonly(pTHX_ SV *sv, MAGIC *mg) argument
1019 sv = sv; mg = mg; local
1128 SV *sv; local
1140 SV *sv; local
[all...]
/external/qemu/android/
H A Dhw-qemud.h117 extern void qemud_service_broadcast( QemudService* sv,
H A Dhw-qemud.c831 QemudService* sv; local
835 for (sv = m->services; sv != NULL; sv = sv->next) {
836 if (!strcmp(sv->name, service_name)) {
841 if (sv == NULL) {
847 if (sv->max_clients > 0 && sv->num_clients >= sv
1178 QemudService* sv; local
1195 qemud_service_broadcast( QemudService* sv, const uint8_t* msg, int msglen ) argument
1270 QemudService* sv = opaque; local
1279 _qemud_char_service_connect( void* opaque, QemudService* sv, int channel ) argument
[all...]
/external/openssl/crypto/conf/
H A Dconf_def.c220 CONF_VALUE *sv=NULL; local
246 sv=_CONF_new_section(conf,section);
247 if (sv == NULL)
253 section_sk=(STACK_OF(CONF_VALUE) *)sv->value;
338 if ((sv=_CONF_get_section(conf,section)) == NULL)
339 sv=_CONF_new_section(conf,section);
340 if (sv == NULL)
346 section_sk=(STACK_OF(CONF_VALUE) *)sv->value;
413 tv=sv;
/external/webkit/LayoutTests/http/conf/
H A Dapache2-debian-httpd.conf471 # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs)
498 AddLanguage sv .sv
518 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
H A Dapache2-httpd.conf496 # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs)
523 AddLanguage sv .sv
543 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
H A Dcygwin-httpd.conf530 # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs)
557 AddLanguage sv .sv
577 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
H A Dfedora-httpd.conf581 # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
607 AddLanguage sv .sv
627 LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
/external/libnfc-nxp/Linux_x86/
H A DphOsalNfc_Timer.c103 * \param sv structure storing the expired timer ID.
105 static void phOsalNfc_Timer_Expired(union sigval sv) argument
107 uint32_t timerid = (uint32_t)(sv.sival_int);

Completed in 208 milliseconds

1234