Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 4813) sorted by relevance

12345678910>>...193

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestDtdData.java239 if (child.equals(special) || child.isDeprecated()) { in checkEmpty()
430 return attribute.equals("_q") in isDistinguishingOld()
431 || attribute.equals("key") in isDistinguishingOld()
432 || attribute.equals("indexSource") in isDistinguishingOld()
433 || attribute.equals("request") in isDistinguishingOld()
434 || attribute.equals("count") in isDistinguishingOld()
435 || attribute.equals("id") in isDistinguishingOld()
436 || attribute.equals("registry") in isDistinguishingOld()
437 || attribute.equals("alt") in isDistinguishingOld()
438 || attribute.equals("mzone") in isDistinguishingOld()
[all …]
/external/jdiff/src/jdiff/
DOptions.java39 if (opt.equals("-authorid")) return 2; in optionLength()
40 if (opt.equals("-versionid")) return 2; in optionLength()
41 if (opt.equals("-d")) return 2; in optionLength()
42 if (opt.equals("-classlist")) return 1; in optionLength()
43 if (opt.equals("-title")) return 2; in optionLength()
44 if (opt.equals("-docletid")) return 1; in optionLength()
45 if (opt.equals("-evident")) return 2; in optionLength()
46 if (opt.equals("-skippkg")) return 2; in optionLength()
47 if (opt.equals("-skipclass")) return 2; in optionLength()
48 if (opt.equals("-execdepth")) return 2; in optionLength()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java193 TestFmwk.assertTrue("con001", (android.icu.math.BigDecimal.ZERO.toString()).equals("0")); in diagconstructors()
194 TestFmwk.assertTrue("con002", (android.icu.math.BigDecimal.ONE.toString()).equals("1")); in diagconstructors()
195 TestFmwk.assertTrue("con003", (android.icu.math.BigDecimal.TEN.toString()).equals("10")); in diagconstructors()
201 …bd001", ((new android.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0")); in diagconstructors()
202 …bd002", ((new android.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1")); in diagconstructors()
203 …003", ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10")); in diagconstructors()
204 …, ((new android.icu.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000")); in diagconstructors()
205 …, ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0")); in diagconstructors()
206 …, ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1")); in diagconstructors()
207 …, ((new android.icu.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1")); in diagconstructors()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java190 TestFmwk.assertTrue("con001", (com.ibm.icu.math.BigDecimal.ZERO.toString()).equals("0")); in diagconstructors()
191 TestFmwk.assertTrue("con002", (com.ibm.icu.math.BigDecimal.ONE.toString()).equals("1")); in diagconstructors()
192 TestFmwk.assertTrue("con003", (com.ibm.icu.math.BigDecimal.TEN.toString()).equals("10")); in diagconstructors()
198 …bd001", ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0")); in diagconstructors()
199 …bd002", ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1")); in diagconstructors()
200 …003", ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10")); in diagconstructors()
201 …, ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000")); in diagconstructors()
202 …, ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0")); in diagconstructors()
203 …, ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1")); in diagconstructors()
204 …, ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1")); in diagconstructors()
[all …]
/external/skia/tests/
DStringTest.cpp37 REPORTER_ASSERT(reporter, a.equals("hello", 5)); in DEF_TEST()
38 REPORTER_ASSERT(reporter, a.equals("hello")); in DEF_TEST()
39 REPORTER_ASSERT(reporter, !a.equals("help")); in DEF_TEST()
75 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f); in DEF_TEST()
88 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
91 REPORTER_ASSERT(reporter, a.equals("-2147483647")); in DEF_TEST()
94 REPORTER_ASSERT(reporter, a.equals("-2147483648")); in DEF_TEST()
98 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
101 REPORTER_ASSERT(reporter, a.equals("2147483649")); in DEF_TEST()
104 REPORTER_ASSERT(reporter, a.equals("4294967295")); in DEF_TEST()
[all …]
/external/skqp/tests/
DStringTest.cpp37 REPORTER_ASSERT(reporter, a.equals("hello", 5)); in DEF_TEST()
38 REPORTER_ASSERT(reporter, a.equals("hello")); in DEF_TEST()
39 REPORTER_ASSERT(reporter, !a.equals("help")); in DEF_TEST()
75 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f); in DEF_TEST()
88 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
91 REPORTER_ASSERT(reporter, a.equals("-2147483647")); in DEF_TEST()
94 REPORTER_ASSERT(reporter, a.equals("-2147483648")); in DEF_TEST()
98 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
101 REPORTER_ASSERT(reporter, a.equals("2147483649")); in DEF_TEST()
104 REPORTER_ASSERT(reporter, a.equals("4294967295")); in DEF_TEST()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DStylesheetPIHandler.java144 if (target.equals("xml-stylesheet")) in processingInstruction()
164 (token.equals(" ") || token.equals("\t") || token.equals("="))) in processingInstruction()
168 if (name.equals("type")) in processingInstruction()
172 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
177 else if (name.equals("href")) in processingInstruction()
181 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
195 while ( token.equals("=") && tokenizer.hasMoreTokens()) in processingInstruction()
228 else if (name.equals("title")) in processingInstruction()
232 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
236 else if (name.equals("media")) in processingInstruction()
[all …]
/external/doclava/src/com/google/doclava/apicheck/
DApiFile.java78 if ("package".equals(token)) { in parseApi()
102 if (!"{".equals(token)) { in parsePackage()
107 if ("}".equals(token)) { in parsePackage()
132 if ("public".equals(token)) { in parseClass()
135 } else if ("protected".equals(token)) { in parseClass()
138 } else if ("private".equals(token)) { in parseClass()
144 if ("static".equals(token)) { in parseClass()
148 if ("final".equals(token)) { in parseClass()
152 if ("abstract".equals(token)) { in parseClass()
156 if ("deprecated".equals(token)) { in parseClass()
[all …]
DXmlApiFile.java73 if (qName.equals("package")) { in startElement()
77 } else if (qName.equals("class") || qName.equals("interface")) { in startElement()
86 boolean isPublic = "public".equals(visibility); in startElement()
87 boolean isProtected = "protected".equals(visibility); in startElement()
88 boolean isPrivate = "private".equals(visibility); in startElement()
91 boolean isInterface = qName.equals("interface"); in startElement()
93 boolean isOrdinaryClass = qName.equals("class"); in startElement()
111 mCurrentClass.setDeprecated("deprecated".equals(attributes.getValue("deprecated"))); in startElement()
114 if (superclass == null && !isInterface && !"java.lang.Object".equals(qualifiedName)) { in startElement()
124 } else if (qName.equals("method")) { in startElement()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DUtils.java65 if (XMPConst.X_DEFAULT.equals(value)) in normalizeLangValue()
165 if (NS_DC.equals(schema)) in isInternalProperty()
167 if ("dc:format".equals(prop) || "dc:language".equals(prop)) in isInternalProperty()
172 else if (NS_XMP.equals(schema)) in isInternalProperty()
174 if ("xmp:BaseURL".equals(prop) || "xmp:CreatorTool".equals(prop) in isInternalProperty()
175 || "xmp:Format".equals(prop) || "xmp:Locale".equals(prop) in isInternalProperty()
176 || "xmp:MetadataDate".equals(prop) || "xmp:ModifyDate".equals(prop)) in isInternalProperty()
181 else if (NS_PDF.equals(schema)) in isInternalProperty()
183 if ("pdf:BaseURL".equals(prop) || "pdf:Creator".equals(prop) in isInternalProperty()
184 || "pdf:ModDate".equals(prop) || "pdf:PDFVersion".equals(prop) in isInternalProperty()
[all …]
DParseRDF.java216 if ("xmlns".equals(attribute.getPrefix()) || in rdf_NodeElementAttrs()
217 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_NodeElementAttrs()
245 if (!xmpParent.getName().equals(attribute.getNodeValue())) in rdf_NodeElementAttrs()
376 if ("xmlns".equals(attribute.getPrefix()) || in rdf_PropertyElement()
377 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_PropertyElement()
413 if (!(XML_LANG.equals(attribute.getNodeName()) && in rdf_PropertyElement()
414 !("ID".equals(attrLocal) && NS_RDF.equals(attrNS)))) in rdf_PropertyElement()
416 if ("datatype".equals(attrLocal) && NS_RDF.equals(attrNS)) in rdf_PropertyElement()
420 else if (!("parseType".equals(attrLocal) && NS_RDF.equals(attrNS))) in rdf_PropertyElement()
424 else if ("Literal".equals(attrValue)) in rdf_PropertyElement()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCompactArrayTest.java34 if (cba.equals(cba2)) { in TestByteArrayCoverage()
39 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage()
40 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage()
41 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
42 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage()
56 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
57 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage()
60 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
63 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
66 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
[all …]
DLocaleBuilderTest.java124 if (method.equals("L")) { in TestLocaleBuilder()
126 } else if (method.equals("S")) { in TestLocaleBuilder()
128 } else if (method.equals("R")) { in TestLocaleBuilder()
130 } else if (method.equals("V")) { in TestLocaleBuilder()
132 } else if (method.equals("K")) { in TestLocaleBuilder()
136 } else if (method.equals("A")) { in TestLocaleBuilder()
138 } else if (method.equals("E")) { in TestLocaleBuilder()
142 } else if (method.equals("P")) { in TestLocaleBuilder()
144 } else if (method.equals("U")) { in TestLocaleBuilder()
146 } else if (method.equals("B")) { in TestLocaleBuilder()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCompactArrayTest.java37 if (cba.equals(cba2)) { in TestByteArrayCoverage()
42 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage()
43 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage()
44 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
45 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage()
59 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
60 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage()
63 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
66 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
69 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
[all …]
DLocaleBuilderTest.java127 if (method.equals("L")) { in TestLocaleBuilder()
129 } else if (method.equals("S")) { in TestLocaleBuilder()
131 } else if (method.equals("R")) { in TestLocaleBuilder()
133 } else if (method.equals("V")) { in TestLocaleBuilder()
135 } else if (method.equals("K")) { in TestLocaleBuilder()
139 } else if (method.equals("A")) { in TestLocaleBuilder()
141 } else if (method.equals("E")) { in TestLocaleBuilder()
145 } else if (method.equals("P")) { in TestLocaleBuilder()
147 } else if (method.equals("U")) { in TestLocaleBuilder()
149 } else if (method.equals("B")) { in TestLocaleBuilder()
[all …]
/external/doclava/src/com/google/doclava/
DDoclava.java205 if (a[0].equals("-d")) { in start()
207 } else if (a[0].equals("-templatedir")) { in start()
209 } else if (a[0].equals("-hdf")) { in start()
211 } else if (a[0].equals("-knowntags")) { in start()
213 } else if (a[0].equals("-apidocsdir")) { in start()
215 } else if (a[0].equals("-toroot")) { in start()
217 } else if (a[0].equals("-samplecode")) { in start()
219 } else if (a[0].equals("-samplegroup")) { in start()
221 } else if (a[0].equals("-samplesdir")) { in start()
224 } else if (a[0].equals("-htmldir")) { in start()
[all …]
DInfoBuilder.java348 if ("block".equals(payload) || in parseFile()
349 "blockStatement".equals(payload) || in parseFile()
350 "explicitConstructorInvocation".equals(payload)) { in parseFile()
356 if ("packageDeclaration".equals(payload)) { in parseFile()
360 } else if ("importDeclaration".equals(payload)) { in parseFile()
364 } else if ("normalClassDeclaration".equals(payload)) { in parseFile()
368 } else if ("enumDeclaration".equals(payload)) { in parseFile()
372 } else if ("normalInterfaceDeclaration".equals(payload)) { in parseFile()
376 } else if ("annotationTypeDeclaration".equals(payload)) { in parseFile()
397 if (child.payload != null && "qualifiedName".equals(child.payload.toString())) { in buildPackage()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpMethod.java20 return method.equals("POST") in invalidatesCache()
21 || method.equals("PATCH") in invalidatesCache()
22 || method.equals("PUT") in invalidatesCache()
23 || method.equals("DELETE") in invalidatesCache()
24 || method.equals("MOVE"); // WebDAV in invalidatesCache()
28 return method.equals("POST") in requiresRequestBody()
29 || method.equals("PUT") in requiresRequestBody()
30 || method.equals("PATCH") in requiresRequestBody()
31 || method.equals("PROPPATCH") // WebDAV in requiresRequestBody()
32 || method.equals("REPORT"); // CalDAV/CardDAV (defined in WebDAV Versioning) in requiresRequestBody()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpMethod.java24 return method.equals("POST") in invalidatesCache()
25 || method.equals("PATCH") in invalidatesCache()
26 || method.equals("PUT") in invalidatesCache()
27 || method.equals("DELETE") in invalidatesCache()
28 || method.equals("MOVE"); // WebDAV in invalidatesCache()
32 return method.equals("POST") in requiresRequestBody()
33 || method.equals("PUT") in requiresRequestBody()
34 || method.equals("PATCH") in requiresRequestBody()
35 || method.equals("PROPPATCH") // WebDAV in requiresRequestBody()
36 || method.equals("REPORT"); // CalDAV/CardDAV (defined in WebDAV Versioning) in requiresRequestBody()
[all …]
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCppTarget.java82 if( pairs.getValue().equals("EOF") ) in genRecognizerHeaderFile()
123 if (scope.equals("lexer")) { in isValidActionScope()
126 if (scope.equals("header")) { in isValidActionScope()
129 if (scope.equals("includes")) { in isValidActionScope()
132 if (scope.equals("preincludes")) { in isValidActionScope()
135 if (scope.equals("overrides")) { in isValidActionScope()
138 if (scope.equals("namespace")) { in isValidActionScope()
144 if (scope.equals("parser")) { in isValidActionScope()
147 if (scope.equals("header")) { in isValidActionScope()
150 if (scope.equals("includes")) { in isValidActionScope()
[all …]
DCTarget.java92 if (scope.equals("lexer")) { in isValidActionScope()
95 if (scope.equals("header")) { in isValidActionScope()
98 if (scope.equals("includes")) { in isValidActionScope()
101 if (scope.equals("preincludes")) { in isValidActionScope()
104 if (scope.equals("overrides")) { in isValidActionScope()
109 if (scope.equals("parser")) { in isValidActionScope()
112 if (scope.equals("header")) { in isValidActionScope()
115 if (scope.equals("includes")) { in isValidActionScope()
118 if (scope.equals("preincludes")) { in isValidActionScope()
121 if (scope.equals("overrides")) { in isValidActionScope()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DConfigDescription.java164 !Objects.equals(part, "car")) { in initFromParts()
386 if (Objects.equals(name, kWildcardName)) { in parseLayoutDirection()
393 } else if (Objects.equals(name, "ldltr")) { in parseLayoutDirection()
400 } else if (Objects.equals(name, "ldrtl")) { in parseLayoutDirection()
413 if (Objects.equals(name, kWildcardName)) { in parseSmallestScreenWidthDp()
429 if (Objects.equals(name, kWildcardName)) { in parseScreenWidthDp()
445 if (Objects.equals(name, kWildcardName)) { in parseScreenHeightDp()
461 if (Objects.equals(name, kWildcardName)) { in parseScreenLayoutSize()
468 } else if (Objects.equals(name, "small")) { in parseScreenLayoutSize()
475 } else if (Objects.equals(name, "normal")) { in parseScreenLayoutSize()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_equals.cpp37 return a->equals(b, ignore); in possibly_null_equals()
45 ir_instruction::equals(const ir_instruction *, enum ir_node_type) const in equals() function in ir_instruction
51 ir_constant::equals(const ir_instruction *ir, enum ir_node_type) const in equals() function in ir_constant
74 ir_dereference_variable::equals(const ir_instruction *ir, in equals() function in ir_dereference_variable
85 ir_dereference_array::equals(const ir_instruction *ir, in equals() function in ir_dereference_array
95 if (!array->equals(other->array, ignore)) in equals()
98 if (!array_index->equals(other->array_index, ignore)) in equals()
105 ir_swizzle::equals(const ir_instruction *ir, in equals() function in ir_swizzle
124 return val->equals(other->val, ignore); in equals()
128 ir_texture::equals(const ir_instruction *ir, enum ir_node_type ignore) const in equals() function in ir_texture
[all …]
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DInteropTask.java84 if ("empty_unary".equals(testCase)) { in runTest()
86 } else if ("large_unary".equals(testCase)) { in runTest()
93 } else if ("client_streaming".equals(testCase)) { in runTest()
95 } else if ("server_streaming".equals(testCase)) { in runTest()
97 } else if ("ping_pong".equals(testCase)) { in runTest()
99 } else if ("empty_stream".equals(testCase)) { in runTest()
101 } else if ("cancel_after_begin".equals(testCase)) { in runTest()
103 } else if ("cancel_after_first_response".equals(testCase)) { in runTest()
105 } else if ("full_duplex_call_should_succeed".equals(testCase)) { in runTest()
107 } else if ("half_duplex_call_should_succeed".equals(testCase)) { in runTest()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DEvpMdRef.java36 if (SHA256.JCA_NAME.equals(algorithmUpper) || SHA256.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
38 } else if (SHA512.JCA_NAME.equals(algorithmUpper) || SHA512.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
40 } else if (SHA1.JCA_NAME.equals(algorithmUpper) || SHA1.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
42 } else if (SHA384.JCA_NAME.equals(algorithmUpper) || SHA384.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
44 } else if (SHA224.JCA_NAME.equals(algorithmUpper) || SHA224.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
54 if (SHA256.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
56 } else if (SHA512.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
58 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
60 } else if (SHA384.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
62 } else if (SHA224.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
[all …]

12345678910>>...193