Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/webkit/Tools/Scripts/webkitpy/common/config/
Dports.py42 def script_path(cls, script_name): argument
46 def script_shell_command(cls, script_name): argument
47 script_path = cls.script_path(script_name)
81 def name(cls): argument
85 def flag(cls): argument
89 def update_webkit_command(cls): argument
90 return cls.script_shell_command("update-webkit")
93 def check_webkit_style_command(cls): argument
94 return cls.script_shell_command("check-webkit-style")
97 def prepare_changelog_command(cls): argument
[all …]
/external/quake/quake/src/WinQuake/
Dcl_demo.cpp47 if (!cls.demoplayback) in CL_StopPlayback()
50 fclose (cls.demofile); in CL_StopPlayback()
51 cls.demoplayback = false; in CL_StopPlayback()
52 cls.demofile = NULL; in CL_StopPlayback()
53 cls.state = ca_disconnected; in CL_StopPlayback()
55 if (cls.timedemo) in CL_StopPlayback()
73 fwrite (&len, 4, 1, cls.demofile); in CL_WriteDemoMessage()
77 fwrite (&f, 4, 1, cls.demofile); in CL_WriteDemoMessage()
79 fwrite (net_message.data, net_message.cursize, 1, cls.demofile); in CL_WriteDemoMessage()
80 fflush (cls.demofile); in CL_WriteDemoMessage()
[all …]
Dcl_main.cpp44 client_static_t cls; variable
72 SZ_Clear (&cls.message); in CL_ClearState()
108 if (cls.demoplayback) in CL_Disconnect()
110 else if (cls.state == ca_connected) in CL_Disconnect()
112 if (cls.demorecording) in CL_Disconnect()
116 SZ_Clear (&cls.message); in CL_Disconnect()
117 MSG_WriteByte (&cls.message, clc_disconnect); in CL_Disconnect()
118 NET_SendUnreliableMessage (cls.netcon, &cls.message); in CL_Disconnect()
119 SZ_Clear (&cls.message); in CL_Disconnect()
120 NET_Close (cls.netcon); in CL_Disconnect()
[all …]
/external/quake/quake/src/QW/client/
Dcl_demo.c47 if (!cls.demoplayback) in CL_StopPlayback()
50 fclose (cls.demofile); in CL_StopPlayback()
51 cls.demofile = NULL; in CL_StopPlayback()
52 cls.state = ca_disconnected; in CL_StopPlayback()
53 cls.demoplayback = 0; in CL_StopPlayback()
55 if (cls.timedemo) in CL_StopPlayback()
80 fwrite (&fl, sizeof(fl), 1, cls.demofile); in CL_WriteDemoCmd()
83 fwrite (&c, sizeof(c), 1, cls.demofile); in CL_WriteDemoCmd()
94 fwrite(&cmd, sizeof(cmd), 1, cls.demofile); in CL_WriteDemoCmd()
99 fwrite (&fl, 4, 1, cls.demofile); in CL_WriteDemoCmd()
[all …]
Dcl_main.c84 client_static_t cls; variable
189 if (cls.state != ca_disconnected) in CL_SendConnectPacket()
194 if (!NET_StringToAdr (cls.servername, &adr)) in CL_SendConnectPacket()
214 cls.qport = Cvar_VariableValue("qport"); in CL_SendConnectPacket()
216 Info_SetValueForStarKey (cls.userinfo, "*ip", NET_AdrToString(adr), MAX_INFO_STRING); in CL_SendConnectPacket()
220 255, 255, 255, 255, PROTOCOL_VERSION, cls.qport, cls.challenge, cls.userinfo); in CL_SendConnectPacket()
240 if (cls.state != ca_disconnected) in CL_CheckForResend()
246 if (!NET_StringToAdr (cls.servername, &adr)) in CL_CheckForResend()
265 Con_Printf ("Connecting to %s...\n", cls.servername); in CL_CheckForResend()
296 strncpy (cls.servername, server, sizeof(cls.servername)-1); in CL_Connect_f()
[all …]
Dcl_parse.c121 for (i=cls.netchan.outgoing_sequence-UPDATE_BACKUP+1 in CL_CalcNet()
122 ; i <= cls.netchan.outgoing_sequence in CL_CalcNet()
139 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK; in CL_CalcNet()
174 if (cls.demorecording) { in CL_CheckOrDownloadFile()
175 Con_Printf("Unable to download %s in record mode.\n", cls.downloadname); in CL_CheckOrDownloadFile()
179 if (cls.demoplayback) in CL_CheckOrDownloadFile()
182 strcpy (cls.downloadname, filename); in CL_CheckOrDownloadFile()
183 Con_Printf ("Downloading %s...\n", cls.downloadname); in CL_CheckOrDownloadFile()
188 COM_StripExtension (cls.downloadname, cls.downloadtempname); in CL_CheckOrDownloadFile()
189 strcat (cls.downloadtempname, ".tmp"); in CL_CheckOrDownloadFile()
[all …]
Dskin.c104 if (cls.downloadtype == dl_skin) in Skin_Cache()
224 if (cls.downloadnumber == 0) in Skin_NextDownload()
226 cls.downloadtype = dl_skin; in Skin_NextDownload()
229 ; cls.downloadnumber != MAX_CLIENTS in Skin_NextDownload()
230 ; cls.downloadnumber++) in Skin_NextDownload()
232 sc = &cl.players[cls.downloadnumber]; in Skin_NextDownload()
242 cls.downloadtype = dl_none; in Skin_NextDownload()
256 if (cls.state != ca_active) in Skin_NextDownload()
258 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Skin_NextDownload()
259 MSG_WriteString (&cls.netchan.message, in Skin_NextDownload()
[all …]
/external/protobuf/python/google/protobuf/
Dreflection.py101 def __new__(cls, name, bases, dictionary): argument
125 superclass = super(GeneratedProtocolMessageType, cls)
126 return superclass.__new__(cls, name, bases, dictionary)
128 def __init__(cls, name, bases, dictionary): argument
147 cls._decoders_by_tag = {}
148 cls._extensions_by_name = {}
149 cls._extensions_by_number = {}
152 cls._decoders_by_tag[decoder.MESSAGE_SET_ITEM_TAG] = (
153 decoder.MessageSetItemDecoder(cls._extensions_by_number))
162 setattr(descriptor, concrete_class_attr_name, cls)
[all …]
Dservice_reflection.py64 def __init__(cls, name, bases, dictionary): argument
81 service_builder.BuildService(cls)
94 def __init__(cls, name, bases, dictionary): argument
104 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary)
111 service_stub_builder.BuildServiceStub(cls)
133 def BuildService(self, cls): argument
147 self.cls = cls
148 cls.CallMethod = _WrapCallMethod
149 cls.GetDescriptor = staticmethod(lambda: self.descriptor)
150 cls.GetDescriptor.__doc__ = "Returns the service descriptor."
[all …]
/external/webkit/Tools/TestResultServer/model/
Djsonresults.py54 def _strip_prefix_suffix(cls, data): argument
71 def _generate_file_data(cls, json, sort_keys=False): argument
87 def _load_json(cls, file_data): argument
98 json_results_str = cls._strip_prefix_suffix(file_data)
111 def _merge_json(cls, aggregated_json, incremental_json, num_runs): argument
126 if not cls._merge_non_test_data(aggregated_json, incremental_json, num_runs):
133 cls._merge_tests(aggregated_tests, incremental_tests, num_runs)
138 def _merge_non_test_data(cls, aggregated_json, incremental_json, num_runs): argument
180 cls._merge_one_build(aggregated_json, incremental_json, index, num_runs)
185 def _merge_one_build(cls, aggregated_json, incremental_json, argument
[all …]
Ddashboardfile.py46 def get_files(cls, name, limit=1): argument
53 def add_file(cls, name, data): argument
64 def grab_file_from_svn(cls, name): argument
85 def update_file(cls, name): argument
86 data = cls.grab_file_from_svn(name)
92 files = cls.get_files(name)
95 if cls.add_file(name, data):
110 def delete_file(cls, name): argument
111 files = cls.get_files(name)
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
D__init__.py109 allow_nan=True, cls=None, indent=None, separators=None, argument
151 cls is None and indent is None and separators is None and
155 if cls is None:
156 cls = JSONEncoder
157 iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
167 allow_nan=True, cls=None, indent=None, separators=None, argument
207 cls is None and indent is None and separators is None and
210 if cls is None:
211 cls = JSONEncoder
212 return cls(
[all …]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/
DSerializer.java164 public static SerializerRegistration registerClass(Class cls) { in registerClass() argument
165 return registerClass(cls, true); in registerClass()
179 public static SerializerRegistration registerClass(Class cls, boolean failOnMiss) { in registerClass() argument
180 if (cls.isAnnotationPresent(Serializable.class)) { in registerClass()
181 Serializable serializable = (Serializable)cls.getAnnotation(Serializable.class); in registerClass()
191 SerializerRegistration existingReg = getExactSerializerRegistration(cls); in registerClass()
194 SerializerRegistration reg = new SerializerRegistration(serializer, cls, classId); in registerClass()
197 classRegistrations.put(cls, reg); in registerClass()
199 serializer.initialize(cls); in registerClass()
201 log.log( Level.INFO, "Registered class[" + classId + "]:{0}.", cls ); in registerClass()
[all …]
/external/webkit/Tools/Scripts/webkitpy/common/net/
Dlayouttestresults.py87 def _failures_from_row(cls, row, table_title): argument
88 if table_title == cls.fail_key:
89 return cls._failures_from_fail_row(row)
90 if table_title == cls.crash_key:
92 if table_title == cls.webprocess_crash_key:
94 if table_title == cls.timeout_key:
96 if table_title == cls.missing_key:
101 def _test_result_from_row(cls, row, table_title): argument
103 failures = cls._failures_from_row(row, table_title)
110 def _parse_results_table(cls, table): argument
[all …]
/external/opencv/ml/src/
Dmlnbayes.cpp63 for( int cls = 0; cls < cls_labels->cols; cls++ ) in clear() local
65 cvReleaseMat( &count[cls] ); in clear()
66 cvReleaseMat( &sum[cls] ); in clear()
67 cvReleaseMat( &productsum[cls] ); in clear()
68 cvReleaseMat( &avg[cls] ); in clear()
69 cvReleaseMat( &inv_eigen_values[cls] ); in clear()
70 cvReleaseMat( &cov_rotate_mats[cls] ); in clear()
122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; in train() local
159 for( cls = 0; cls < nclasses; cls++ ) in train()
161 CV_CALL(count[cls] = cvCreateMat( 1, var_count, CV_32SC1 )); in train()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DClassResourceLoader.java53 private final Class<?> cls; field in ClassResourceLoader
56 public ClassResourceLoader(Class<?> cls) { in ClassResourceLoader() argument
57 this.cls = cls; in ClassResourceLoader()
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/'); in ClassResourceLoader()
65 public ClassResourceLoader(Class<?> cls, String basePath) { in ClassResourceLoader() argument
66 this.cls = cls; in ClassResourceLoader()
72 InputStream stream = cls.getResourceAsStream(basePath + '/' + name); in open()
81 + cls.getName()); in openOrFail()
/external/doclava/src/com/google/doclava/
DPackageInfo.java200 ClassInfo cls = mInterfacesMap.get(className); in getClass() local
202 if (cls != null) { in getClass()
203 return cls; in getClass()
206 cls = mOrdinaryClassesMap.get(className); in getClass()
208 if (cls != null) { in getClass()
209 return cls; in getClass()
212 cls = mEnumsMap.get(className); in getClass()
214 if (cls != null) { in getClass()
215 return cls; in getClass()
218 cls = mEnumsMap.get(className); in getClass()
[all …]
DInfoBuilder.java135 for (ClassInfo cls : cl.realInterfaces()) { in printClassInfo()
137 if (cls == null) { in printClassInfo()
140 System.out.print(cls.qualifiedName()); in printClassInfo()
453 ClassInfo cls = null; in buildClass() local
466 cls = buildClassName(child, containingClass, modifiers, in buildClass()
475 cls.type().setTypeArguments(buildTypeVariables(child)); in buildClass()
485 cls.setSuperclassType(type); in buildClass()
489 addFutureResolution(cls, "superclassQualifiedName", type.simpleTypeName(), this); in buildClass()
492 cls.setSuperClass(type.asClassInfo()); in buildClass()
503 parseInterfaces(child, cls); in buildClass()
[all …]
/external/emma/core/java12/com/vladium/jcd/cls/
DAbstractClassDefVisitor.java9 package com.vladium.jcd.cls;
22 public Object visit (final ClassDef cls, final Object ctx) in visit() argument
24 visit (cls.getConstants (), ctx); in visit()
25 visit (cls.getInterfaces (), ctx); in visit()
26 visit (cls.getFields (), ctx); in visit()
27 visit (cls.getMethods (), ctx); in visit()
28 visit (cls.getAttributes (), ctx); in visit()
DField_info.java9 package com.vladium.jcd.cls;
13 import com.vladium.jcd.cls.attribute.*;
14 import com.vladium.jcd.cls.constant.CONSTANT_Utf8_info;
102 public String getName (final ClassDef cls) in getName() argument
104 return ((CONSTANT_Utf8_info) cls.getConstants ().get (m_name_index)).m_value; in getName()
114 public String getDescriptor (final ClassDef cls) in getDescriptor() argument
116 return ((CONSTANT_Utf8_info) cls.getConstants ().get (m_descriptor_index)).m_value; in getDescriptor()
/external/emma/core/java12/com/vladium/emma/data/
DMetaData.java108 public boolean add (final ClassDescriptor cls, final boolean overwrite) in add() argument
110 if ($assert.ENABLED) $assert.ASSERT (cls != null, "cls is null"); in add()
112 final String classVMName = cls.getClassVMName (); in add()
116 m_classMap.put (classVMName, cls); in add()
120 if (! cls.hasSrcFileInfo ()) in add()
126 if (! cls.hasCompleteLineNumberInfo ()) in add()
141 final String packageVMName = cls.getPackageVMName (); in add()
145 …log.info ("package [" + packageVMName + "] contains classes [" + cls.getName () + "] without full … in add()
228 final ClassDescriptor cls = ClassDescriptor.readExternal (in); in readExternal() local
230 classMap.put (classVMName, cls); in readExternal()
[all …]
/external/emma/core/java12/com/vladium/jcd/cls/constant/
DCONSTANT_NameAndType_info.java9 package com.vladium.jcd.cls.constant;
13 import com.vladium.jcd.cls.ClassDef;
56 public String getName (final ClassDef cls) in getName() argument
58 return ((CONSTANT_Utf8_info) cls.getConstants ().get (m_name_index)).m_value; in getName()
61 public String getDescriptor (final ClassDef cls) in getDescriptor() argument
63 return ((CONSTANT_Utf8_info) cls.getConstants ().get (m_descriptor_index)).m_value; in getDescriptor()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java18 import com.vladium.jcd.cls.*;
19 import com.vladium.jcd.cls.attribute.*;
20 import com.vladium.jcd.cls.constant.CONSTANT_Class_info;
21 import com.vladium.jcd.cls.constant.CONSTANT_Long_info;
22 import com.vladium.jcd.cls.constant.CONSTANT_Methodref_info;
23 import com.vladium.jcd.cls.constant.CONSTANT_String_info;
86 public void process (final ClassDef cls, in process() argument
96 if (cls.isInterface ()) in process()
102 m_cls = cls; in process()
115 setClassName (cls.getName ()); in process()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/
DP.java33 private String findProp(Class cls, String key) { in findProp() argument
36 ResourceBundle b = ResourceBundle.getBundle(cls.getName()); in findProp()
40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
41 ret = findProp(cls.getSuperclass(), key); in findProp()
/external/emma/core/java12/com/vladium/emma/report/
DReportDataModel.java57 final ClassDescriptor cls = (ClassDescriptor) descriptors.next (); in getView() local
58 String packageVMName = cls.getPackageVMName (); in getView()
73 final String srcFileName = cls.getSrcFileName (); in getView()
88 final ICoverageData.DataHolder data = m_cdata.getCoverage (cls); in getView()
94 if (data.m_stamp != cls.getStamp ()) in getView()
96 … new Object [] { Descriptors.vmNameToJavaName (cls.getClassVMName ()) }); in getView()
103 …m classItem = srcView ? new ClassItem (srcfileItem, cls, coverage) : new ClassItem (packageItem, c… in getView()
104 final MethodDescriptor [] methods = cls.getMethods (); in getView()

1234567891011