Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 799) sorted by relevance

12345678910>>...32

/external/quake/quake/src/QW/server/
Dsv_nchan.c25 void ClientReliableCheckBlock(client_t *cl, int maxsize) in ClientReliableCheckBlock() argument
27 if (cl->num_backbuf || in ClientReliableCheckBlock()
28 cl->netchan.message.cursize > in ClientReliableCheckBlock()
29 cl->netchan.message.maxsize - maxsize - 1) { in ClientReliableCheckBlock()
31 if (!cl->num_backbuf) { in ClientReliableCheckBlock()
32 memset(&cl->backbuf, 0, sizeof(cl->backbuf)); in ClientReliableCheckBlock()
33 cl->backbuf.allowoverflow = true; in ClientReliableCheckBlock()
34 cl->backbuf.data = cl->backbuf_data[0]; in ClientReliableCheckBlock()
35 cl->backbuf.maxsize = sizeof(cl->backbuf_data[0]); in ClientReliableCheckBlock()
36 cl->backbuf_size[0] = 0; in ClientReliableCheckBlock()
[all …]
Dsv_ccmds.c167 client_t *cl; in SV_SetPlayer() local
173 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) in SV_SetPlayer()
175 if (!cl->state) in SV_SetPlayer()
177 if (cl->userid == idnum) in SV_SetPlayer()
179 host_client = cl; in SV_SetPlayer()
352 client_t *cl; in SV_Kick_f() local
357 for (i = 0, cl = svs.clients; i < MAX_CLIENTS; i++, cl++) in SV_Kick_f()
359 if (!cl->state) in SV_Kick_f()
361 if (cl->userid == uid) in SV_Kick_f()
363 SV_BroadcastPrintf (PRINT_HIGH, "%s was kicked\n", cl->name); in SV_Kick_f()
[all …]
/external/llvm/tools/llc/
Dllc.cpp45 static cl::opt<std::string>
46 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
48 static cl::opt<std::string>
49 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
52 static cl::opt<char>
54 cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "
56 cl::Prefix,
57 cl::ZeroOrMore,
58 cl::init(' '));
60 static cl::opt<std::string>
[all …]
/external/quake/quake/src/QW/client/
Dview.c117 if (cl.spectator) in V_CalcBob()
134 bob = sqrt(cl.simvel[0]*cl.simvel[0] + cl.simvel[1]*cl.simvel[1]) * cl_bob.value; in V_CalcBob()
155 if (cl.laststop == cl.time) in V_StartPitchDrift()
160 if (cl.nodrift || !cl.pitchvel) in V_StartPitchDrift()
162 cl.pitchvel = v_centerspeed.value; in V_StartPitchDrift()
163 cl.nodrift = false; in V_StartPitchDrift()
164 cl.driftmove = 0; in V_StartPitchDrift()
170 cl.laststop = cl.time; in V_StopPitchDrift()
171 cl.nodrift = true; in V_StopPitchDrift()
172 cl.pitchvel = 0; in V_StopPitchDrift()
[all …]
Dcl_pred.c42 if (PM_HullPointContents (&cl.model_precache[1]->hulls[1], 0, pmove.origin) == CONTENTS_EMPTY) in CL_NudgePosition()
52 if (PM_HullPointContents (&cl.model_precache[1]->hulls[1], 0, pmove.origin) == CONTENTS_EMPTY) in CL_NudgePosition()
87 pmove.dead = cl.stats[STAT_HEALTH] <= 0; in CL_PredictUsercmd()
122 if (cl.paused) in CL_PredictMove()
125 cl.time = realtime - cls.latency - cl_pushlatency.value*0.001; in CL_PredictMove()
126 if (cl.time > realtime) in CL_PredictMove()
127 cl.time = realtime; in CL_PredictMove()
129 if (cl.intermission) in CL_PredictMove()
132 if (!cl.validsequence) in CL_PredictMove()
138 VectorCopy (cl.viewangles, cl.simangles); in CL_PredictMove()
[all …]
Dcl_parse.c125 frame = &cl.frames[i&UPDATE_MASK]; in CL_CalcNet()
218 ; cl.model_name[cls.downloadnumber][0] in Model_NextDownload()
221 s = cl.model_name[cls.downloadnumber]; in Model_NextDownload()
230 if (!cl.model_name[i][0]) in Model_NextDownload()
233 cl.model_precache[i] = Mod_ForName (cl.model_name[i], false); in Model_NextDownload()
235 if (!cl.model_precache[i]) in Model_NextDownload()
238 , cl.model_name[i]); in Model_NextDownload()
247 cl.worldmodel = cl.model_precache[1]; in Model_NextDownload()
254 …MSG_WriteString (&cls.netchan.message, va(prespawn_name, cl.servercount, cl.worldmodel->checksum2)… in Model_NextDownload()
275 ; cl.sound_name[cls.downloadnumber][0] in Sound_NextDownload()
[all …]
/external/llvm/tools/lli/
Dlli.cpp50 cl::opt<std::string>
51 InputFile(cl::desc("<input bitcode>"), cl::Positional, cl::init("-"));
53 cl::list<std::string>
54 InputArgv(cl::ConsumeAfter, cl::desc("<program arguments>..."));
56 cl::opt<bool> ForceInterpreter("force-interpreter",
57 cl::desc("Force interpretation: disable JIT"),
58 cl::init(false));
60 cl::opt<bool> UseMCJIT(
61 "use-mcjit", cl::desc("Enable use of the MC-based JIT (if available)"),
62 cl::init(false));
[all …]
/external/llvm/lib/CodeGen/
DPasses.cpp32 static cl::opt<bool> DisablePostRA("disable-post-ra", cl::Hidden,
33 cl::desc("Disable Post Regalloc"));
34 static cl::opt<bool> DisableBranchFold("disable-branch-fold", cl::Hidden,
35 cl::desc("Disable branch folding"));
36 static cl::opt<bool> DisableTailDuplicate("disable-tail-duplicate", cl::Hidden,
37 cl::desc("Disable tail duplication"));
38 static cl::opt<bool> DisableEarlyTailDup("disable-early-taildup", cl::Hidden,
39 cl::desc("Disable pre-register allocation tail duplication"));
40 static cl::opt<bool> DisableBlockPlacement("disable-block-placement",
41 cl::Hidden, cl::desc("Disable the probability-driven block placement, and "
[all …]
/external/quake/quake/src/WinQuake/
Dview.cpp117 cycle = cl.time - (int)(cl.time/cl_bobcycle.value)*cl_bobcycle.value; in V_CalcBob()
127 bob = sqrt(cl.velocity[0]*cl.velocity[0] + cl.velocity[1]*cl.velocity[1]) * cl_bob.value; in V_CalcBob()
149 if (cl.laststop == cl.time) in V_StartPitchDrift()
154 if (cl.nodrift || !cl.pitchvel) in V_StartPitchDrift()
156 cl.pitchvel = v_centerspeed.value; in V_StartPitchDrift()
157 cl.nodrift = false; in V_StartPitchDrift()
158 cl.driftmove = 0; in V_StartPitchDrift()
164 cl.laststop = cl.time; in V_StopPitchDrift()
165 cl.nodrift = true; in V_StopPitchDrift()
166 cl.pitchvel = 0; in V_StopPitchDrift()
[all …]
Dcl_parse.cpp81 if (num >= cl.num_entities) in CL_EntityNum()
85 while (cl.num_entities<=num) in CL_EntityNum()
87 cl_entities[cl.num_entities].colormap = vid.colormap; in CL_EntityNum()
88 cl.num_entities++; in CL_EntityNum()
135 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket()
227 cl.maxclients = MSG_ReadByte (); in CL_ParseServerInfo()
228 if (cl.maxclients < 1 || cl.maxclients > MAX_SCOREBOARD) in CL_ParseServerInfo()
230 Con_Printf("Bad maxclients (%u) from server\n", cl.maxclients); in CL_ParseServerInfo()
233 cl.scores = (scoreboard_t*) Hunk_AllocName (cl.maxclients*sizeof(*cl.scores), "scores"); in CL_ParseServerInfo()
236 cl.gametype = MSG_ReadByte (); in CL_ParseServerInfo()
[all …]
Dsbar.cpp262 if (cl.gametype == GAME_DEATHMATCH) in Sbar_DrawPic()
275 if (cl.gametype == GAME_DEATHMATCH) in Sbar_DrawTransPic()
290 if (cl.gametype == GAME_DEATHMATCH) in Sbar_DrawCharacter()
303 if (cl.gametype == GAME_DEATHMATCH) in Sbar_DrawString()
397 for (i=0 ; i<cl.maxclients ; i++) in Sbar_SortFrags()
399 if (cl.scores[i].name[0]) in Sbar_SortFrags()
408 if (cl.scores[fragsort[j]].frags < cl.scores[fragsort[j+1]].frags) in Sbar_SortFrags()
440 s = &cl.scores[k]; in Sbar_UpdateScoreboard()
463 sprintf (str,"Monsters:%3i /%3i", cl.stats[STAT_MONSTERS], cl.stats[STAT_TOTALMONSTERS]); in Sbar_SoloScoreboard()
466 sprintf (str,"Secrets :%3i /%3i", cl.stats[STAT_SECRETS], cl.stats[STAT_TOTALSECRETS]); in Sbar_SoloScoreboard()
[all …]
/external/chromium/base/
Dcommand_line_unittest.cc25 CommandLine cl = CommandLine::FromString( in TEST() local
33 EXPECT_FALSE(cl.command_line_string().empty()); in TEST()
42 CommandLine cl(arraysize(argv), argv); in TEST()
44 EXPECT_FALSE(cl.HasSwitch("cruller")); in TEST()
45 EXPECT_FALSE(cl.HasSwitch("flim")); in TEST()
46 EXPECT_FALSE(cl.HasSwitch("program")); in TEST()
47 EXPECT_FALSE(cl.HasSwitch("dog")); in TEST()
48 EXPECT_FALSE(cl.HasSwitch("cat")); in TEST()
49 EXPECT_FALSE(cl.HasSwitch("output-rotation")); in TEST()
50 EXPECT_FALSE(cl.HasSwitch("not-a-switch")); in TEST()
[all …]
/external/llvm/tools/llvm-ld/
DOptimize.cpp30 static cl::list<const PassInfo*, bool, PassNameParser>
31 OptimizationList(cl::desc("Optimizations available:"));
34 static cl::opt<bool> DontVerify("disable-verify", cl::ReallyHidden);
36 static cl::opt<bool> DisableInline("disable-inlining",
37 cl::desc("Do not run the inliner pass"));
39 static cl::opt<bool>
41 cl::desc("Do not run any optimization passes"));
43 static cl::opt<bool> DisableInternalize("disable-internalize",
44 cl::desc("Do not mark all symbols as internal"));
46 static cl::opt<bool> VerifyEach("verify-each",
[all …]
Dllvm-ld.cpp50 static cl::list<std::string> InputFilenames(cl::Positional, cl::OneOrMore,
51 cl::desc("<input bitcode files>"));
53 static cl::opt<std::string> OutputFilename("o", cl::init("a.out"),
54 cl::desc("Override output filename"),
55 cl::value_desc("filename"));
57 static cl::opt<std::string> BitcodeOutputFilename("b", cl::init(""),
58 cl::desc("Override bitcode output filename"),
59 cl::value_desc("filename"));
61 static cl::opt<bool> Verbose("v",
62 cl::desc("Print information about actions taken"));
[all …]
/external/llvm/tools/bugpoint/
Dbugpoint.cpp37 static cl::opt<bool>
38 FindBugs("find-bugs", cl::desc("Run many different optimization sequences "
39 "on program to find bugs"), cl::init(false));
41 static cl::list<std::string>
42 InputFilenames(cl::Positional, cl::OneOrMore,
43 cl::desc("<input llvm ll/bc files>"));
45 static cl::opt<unsigned>
46 TimeoutValue("timeout", cl::init(300), cl::value_desc("seconds"),
47 cl::desc("Number of seconds program is allowed to run before it "
50 static cl::opt<int>
[all …]
DExecutionDriver.cpp34 cl::opt<double>
35 AbsTolerance("abs-tolerance", cl::desc("Absolute error tolerated"),
36 cl::init(0.0));
37 cl::opt<double>
38 RelTolerance("rel-tolerance", cl::desc("Relative error tolerated"),
39 cl::init(0.0));
41 cl::opt<OutputType>
42 InterpreterSel(cl::desc("Specify the \"test\" i.e. suspect back-end:"),
43 cl::values(clEnumValN(AutoPick, "auto", "Use best guess"),
58 cl::init(AutoPick));
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp45 cl::opt<OutputFormatTy>
47 cl::desc("Specify output format"),
48 cl::values(clEnumVal(bsd, "BSD format"),
51 clEnumValEnd), cl::init(bsd));
52 cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
53 cl::aliasopt(OutputFormat));
55 cl::list<std::string>
56 InputFilenames(cl::Positional, cl::desc("<input bitcode files>"),
57 cl::ZeroOrMore);
59 cl::opt<bool> UndefinedOnly("undefined-only",
[all …]
/external/doclava/src/com/google/doclava/
DStubs.java52 for (ClassInfo cl : all) { in writeStubsAndApi()
53 if (cl.checkLevel() && cl.isIncluded()) { in writeStubsAndApi()
54 cantStripThis(cl, notStrippable, "0:0"); in writeStubsAndApi()
60 for (ClassInfo cl : notStrippable) { in writeStubsAndApi()
61 if (!cl.isHidden()) { in writeStubsAndApi()
62 for (MethodInfo m : cl.selfMethods()) { in writeStubsAndApi()
69 Errors.error(Errors.DEPRECATED, m.position(), "Method " + cl.qualifiedName() + "." in writeStubsAndApi()
75 Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Method " + cl.qualifiedName() in writeStubsAndApi()
84 + t.fullName() + " in " + cl.qualifiedName() + "." + m.name() + "()"); in writeStubsAndApi()
91 for (MethodInfo m : cl.annotationElements()) { in writeStubsAndApi()
[all …]
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp47 static cl::opt<std::string>
48 InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
50 static cl::opt<std::string>
51 OutputFilename("o", cl::desc("Output filename"),
52 cl::value_desc("filename"));
54 static cl::opt<bool>
55 ShowEncoding("show-encoding", cl::desc("Show instruction encodings"));
57 static cl::opt<bool>
58 ShowInst("show-inst", cl::desc("Show internal instruction representation"));
60 static cl::opt<bool>
[all …]
/external/llvm/utils/fpcmp/
Dfpcmp.cpp21 cl::opt<std::string>
22 File1(cl::Positional, cl::desc("<input file #1>"), cl::Required);
23 cl::opt<std::string>
24 File2(cl::Positional, cl::desc("<input file #2>"), cl::Required);
26 cl::opt<double>
27 RelTolerance("r", cl::desc("Relative error tolerated"), cl::init(0));
28 cl::opt<double>
29 AbsTolerance("a", cl::desc("Absolute error tolerated"), cl::init(0));
33 cl::ParseCommandLineOptions(argc, argv); in main()
/external/qemu/android/
Dhw-sensors.c188 _hwSensorClient_free( HwSensorClient* cl ) in _hwSensorClient_free() argument
191 if (cl->sensors) { in _hwSensorClient_free()
192 HwSensorClient** pnode = &cl->sensors->clients; in _hwSensorClient_free()
197 if (node == cl) { in _hwSensorClient_free()
198 *pnode = cl->next; in _hwSensorClient_free()
203 cl->next = NULL; in _hwSensorClient_free()
204 cl->sensors = NULL; in _hwSensorClient_free()
208 if (cl->client) { in _hwSensorClient_free()
209 qemud_client_close(cl->client); in _hwSensorClient_free()
210 cl->client = NULL; in _hwSensorClient_free()
[all …]
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp36 static cl::opt<std::string>
37 InputFilename(cl::Positional, cl::desc("<input bitcode file>"),
38 cl::init("-"), cl::value_desc("filename"));
40 static cl::opt<std::string>
41 OutputFilename("o", cl::desc("Specify output filename"),
42 cl::value_desc("filename"), cl::init("-"));
44 static cl::opt<bool>
45 Force("f", cl::desc("Enable binary output on terminals"));
47 static cl::opt<bool>
48 DeleteFn("delete", cl::desc("Delete specified Globals from Module"));
[all …]
/external/llvm/tools/opt/
Dopt.cpp50 static cl::list<const PassInfo*, bool, PassNameParser>
51 PassList(cl::desc("Optimizations available:"));
55 static cl::opt<std::string>
56 InputFilename(cl::Positional, cl::desc("<input bitcode file>"),
57 cl::init("-"), cl::value_desc("filename"));
59 static cl::opt<std::string>
60 OutputFilename("o", cl::desc("Override output filename"),
61 cl::value_desc("filename"));
63 static cl::opt<bool>
64 Force("f", cl::desc("Enable binary output on terminals"));
[all …]
/external/llvm/tools/llvm-as/
Dllvm-as.cpp33 static cl::opt<std::string>
34 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));
36 static cl::opt<std::string>
37 OutputFilename("o", cl::desc("Override output filename"),
38 cl::value_desc("filename"));
40 static cl::opt<bool>
41 Force("f", cl::desc("Enable binary output on terminals"));
43 static cl::opt<bool>
44 DisableOutput("disable-output", cl::desc("Disable output"), cl::init(false));
46 static cl::opt<bool>
[all …]
/external/fsck_msdos/
Dfat.c138 checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next) in checkclnum() argument
153 cl, fat, in checkclnum()
211 cl_t cl; in readfat() local
286 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()
289 fat[cl].next = p[0] + (p[1] << 8) in readfat()
291 fat[cl].next &= boot->ClustMask; in readfat()
292 ret |= checkclnum(boot, no, cl, &fat[cl].next); in readfat()
293 cl++; in readfat()
297 fat[cl].next = p[0] + (p[1] << 8); in readfat()
298 ret |= checkclnum(boot, no, cl, &fat[cl].next); in readfat()
[all …]

12345678910>>...32