/external/quake/quake/src/QW/server/ |
sv_init.c | 24 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.num_signon_buffers-1] = sv.signon.cursize [all...] |
sv_send.c | 232 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.worldmodel->numleafs+31)>>5) [all...] |
pr_cmds.c | 174 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.worldmodel) [all...] |
sv_user.c | 69 // 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.worldmodel->checksum, sv.worldmodel->checksum2) [all...] |
progs.h | 45 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]))
|
sv_phys.c | 70 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.time [all...] |
world.c | 142 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.edicts, start, mins, maxs, end ) [all...] |
/external/quake/quake/src/WinQuake/ |
sv_main.cpp | 24 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.datagram.cursize > MAX_DATAGRAM-16 [all...] |
pr_cmds.cpp | 245 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.edicts) [all...] |
host_cmd.cpp | 74 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.name) [all...] |
progs.h | 45 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]))
|
host.cpp | 100 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.paused && (svs.maxclients > 1 || key_dest == key_game) [all...] |
pr_edict.cpp | 92 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.edicts) // hac [all...] |
pr_exec.cpp | 492 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;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionScroll.java | 45 ScrollView sv = new ScrollView(this); local 52 sv.addView(ll); 62 setContentView(sv);
|
List4.java | 93 SpeechView sv; local 95 sv = new SpeechView(mContext, mTitles[position], 98 sv = (SpeechView) convertView; 99 sv.setTitle(mTitles[position]); 100 sv.setDialogue(mDialogue[position]); 103 return sv;
|
List6.java | 102 SpeechView sv; local 104 sv = new SpeechView(mContext, mTitles[position], mDialogue[position], mExpanded[position]); 106 sv = (SpeechView)convertView; 107 sv.setTitle(mTitles[position]); 108 sv.setDialogue(mDialogue[position]); 109 sv.setExpanded(mExpanded[position]); 112 return sv;
|
/external/webkit/WebKitTools/DumpRenderTree/mac/PerlSupport/ |
DumpRenderTreeSupport_wrapTiger.c | 538 typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *); 543 typedef int (CPerlObj::*SwigMagicFuncHack)(SV *, MAGIC *); 548 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b) 554 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b) 555 typedef int (*SwigMagicFunc)(SV *, MAGIC *); 560 typedef int (*SwigMagicFuncHack)(SV *, MAGIC *); 567 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b) 568 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *); 572 typedef int (*SwigMagicFuncHack)(struct interpreter *, SV *, MAGIC *); 614 # define SWIG_MakePackedObj(sv, p, s, type) 1019 sv = sv; mg = mg; local 1128 SV *sv; local 1140 SV *sv; local [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
RenameClassAdapter.java | 366 public RenameSignatureAdapter(SignatureVisitor sv) { 367 mSv = sv; 381 SignatureVisitor sv = mSv.visitArrayType(); local 382 return new RenameSignatureAdapter(sv); 390 SignatureVisitor sv = mSv.visitClassBound(); local 391 return new RenameSignatureAdapter(sv); 399 SignatureVisitor sv = mSv.visitExceptionType(); local 400 return new RenameSignatureAdapter(sv); 408 SignatureVisitor sv = mSv.visitInterface(); local 409 return new RenameSignatureAdapter(sv); 413 SignatureVisitor sv = mSv.visitInterfaceBound(); local 418 SignatureVisitor sv = mSv.visitParameterType(); local 423 SignatureVisitor sv = mSv.visitReturnType(); local 428 SignatureVisitor sv = mSv.visitSuperclass(); local 437 SignatureVisitor sv = mSv.visitTypeArgument(wildcard); local [all...] |
/system/core/sh/ |
redir.c | 110 struct redirtab *sv = NULL; local 123 sv = ckmalloc(sizeof (struct redirtab)); 125 sv->renamed[i] = EMPTY; 126 sv->next = redirlist; 127 redirlist = sv; 136 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) { 155 sv->renamed[fd] = i;
|
/external/qemu/android/ |
hw-qemud.h | 117 extern void qemud_service_broadcast( QemudService* sv,
|
hw-qemud.c | 831 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->max_clients) 1178 QemudService* sv; local 1270 QemudService* sv = opaque; local [all...] |
/system/core/adb/ |
sysdeps.h | 221 extern int adb_socketpair( int sv[2] ); 427 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) 429 return socketpair( d, type, protocol, sv ); 432 static __inline__ int adb_socketpair( int sv[2] ) 436 rc = unix_socketpair( AF_UNIX, SOCK_STREAM, 0, sv ); 440 close_on_exec( sv[0] ); 441 close_on_exec( sv[1] );
|
/external/openssl/crypto/conf/ |
conf_def.c | 220 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/ |
apache2-debian-httpd.conf | 471 # 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
|