/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 37 # check that relative difference < eps 56 # both zero; check that signs match 69 """Compute complex z=x*y, and check that z/x==y and z/y==x.""" 144 def check(n, deltas, is_equal, imag = 0.0): function in function:ComplexTest.test_richcompare_boundaries 156 check(2 ** pow, range(1, 101), lambda delta: delta % mult == 0) 157 check(2 ** pow, range(1, 101), lambda delta: False, float(i)) 158 check(2 ** 53, range(-100, 0), lambda delta: True) 285 # check that the sign of a zero in the real or imaginary part 340 # check that complex accepts long unicode strings 442 x /= 3.0 # now check against floating poin [all...] |
test_py3kwarn.py | 49 def check(s): function in function:TestPy3KWarnings.test_paren_arg_names 52 check("def f((x)): pass") 53 check("def f((((x))), (y)): pass") 54 check("def f((x), (((y))), m=32): pass") 370 # For extension modules, check the __warningregistry__.
|
test_pyexpat.py | 291 def check(self, expected, label): member in class:BufferTextTest
|
/system/core/logd/tests/ |
logd_test.cpp | 86 bool check = ret <= len; local 88 if (check) { 304 // check if we can read any logs from logd 334 // check if we can read any logs from kernel logger 383 // thresholds are tuned on a per-target basis. Here we check if the values 388 // being the worst) and check to make sure the logger can deal with it 401 " false OK for prune by worst UID check\n"); 478 // Check how effective the SPAM filter is, parse out Now size.
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-crx.c | 443 bfd_vma reloc_bits, check; local 499 check = Rvalue >> howto->rightshift; 506 if (((bfd_vma) check & ~reloc_bits) != 0 507 && (((bfd_vma) check & ~reloc_bits) 515 check |= ((bfd_vma) - 1 518 if (((bfd_vma) check & ~reloc_bits) 685 This check is only relevant when symbols are being wrapped. */ [all...] |
/bionic/libc/kernel/uapi/linux/ |
ip.h | 105 __sum16 check; member in struct:iphdr
|
/cts/tests/app/src/android/app/cts/ |
AlertDialog_BuilderTest.java | 279 protected boolean check() { method 287 protected boolean check() { method
|
DownloadManagerTest.java | 430 protected boolean check() { method
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimationDrawableTest.java | 76 // Check the values set in the constructor 298 // Check that animation drawable stays on the same frame 307 // Check that animation drawable stays on the same frame 393 * Polling check specific frame should be current one in timeout. 401 protected boolean check() { method
|
/cts/tests/tests/text/src/android/text/method/cts/ |
PasswordTransformationMethodTest.java | 79 protected boolean check() { method 194 protected boolean check() { method
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 61 protected boolean check() { method 160 protected boolean check() { method 211 protected boolean check() { method 242 protected boolean check() { method 294 // It is sufficient to check the surrounding text up to source.length() characters, because 372 // It is sufficient to check the surrounding text up to source.length() characters, because
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 166 protected boolean check() { method 249 protected boolean check() { method 260 protected boolean check() { method 334 // different origins) but Chrome is not strict about this and does not check the 395 protected boolean check() { method
|
/development/ndk/platforms/android-21/include/linux/ |
ip.h | 107 __sum16 check; member in struct:iphdr
|
/development/ndk/platforms/android-3/include/linux/ |
tcp.h | 49 __u16 check; member in struct:tcphdr
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | 681 /* Check that the allocation was good 824 /* Nothing to check, we just free it. 1531 pANTLR3_VECTOR check; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DOMHelper.java | 420 // TODO: Check performance of alternate solution: 1204 Attr check=elem.getAttributeNode(attr.getNodeName()); local [all...] |
/external/autotest/client/deps/iwcap/src/ |
iwcap.c | 158 struct check { struct 163 static const struct check checks[] = { 199 static const struct check *find_check_byname(const char *name) 201 const struct check *p; 210 static const struct check *find_check_bybits(int bits) 212 const struct check *p; 462 const struct check *p = find_check_byname(argv[0]); 464 fprintf(stderr, "invalid check %s\n", argv[0]);
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
validators.py | 20 """Validator to check ... 23 To check ... 32 def check(self, packets, variation=None): 33 """Check ...""" 47 An example is to check how many fingers there are when making a click: 86 vlog = validator.check(packets, variation) 114 # No need to check the other validators. 196 """Initialization before check() is called.""" 277 """ Validator to make check the touchpad's latency 290 def check(self, packets, variation=None) member in class:DragLatencyValidator 365 def check(self, packets, variation=None): member in class:DiscardInitialSecondsValidator 485 def check(self, packets, variation=None): member in class:LinearityValidator1 660 def check(self, packets, variation=None): member in class:LinearityValidator 698 def check(self, packets, variation=None): member in class:RangeValidator 751 def check(self, packets, variation=None): member in class:CountTrackingIDValidator 801 def check(self, packets, variation=None): member in class:StationaryValidator 849 def check(self, packets, variation=None): member in class:NoGapValidator 882 def check(self, packets, variation=None): member in class:NoReversedMotionValidator 911 def check(self, packets, variation=None): member in class:CountPacketsValidator 943 def check(self, packets, variation): member in class:PinchValidator 1015 def check(self, packets, variation=None): member in class:PhysicalClickValidator 1044 def check(self, packets, variation=None): member in class:DrumrollValidator 1089 def check(self, packets, variation=None): member in class:NoLevelJumpValidator 1285 def check(self, packets, variation=None): member in class:ReportRateValidator 1365 def check(self, packets, variation=None): member in class:MtbSanityValidator 1444 def check(self, packets, variation=None): member in class:HysteresisValidator [all...] |
/external/bison/src/ |
tables.c | 121 /* TABLE_SIZE is the allocated size of both TABLE and CHECK. We start 126 base_number *check; variable 139 | If TABLE (and CHECK) appear to be small to be addressed at | 153 fprintf (stderr, "growing table and check from: %d to %d\n", 159 check = xnrealloc (check, table_size, sizeof *check); 165 check[old_size] = -1; 717 check[loc] = from[k]; 769 check = xnmalloc (table_size, sizeof *check) [all...] |
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustManagerImpl.java | 345 * null, it does not check for pinned certs. The return value is a list of 439 // Check that the certificate isn't blacklisted. 495 // Check the strength and validity of the certificate to prune bad certificates 557 // TODO: check whether this is slow and should be replaced by a minimalistic CertPath impl 561 // Check that there are at least some trust anchors 578 throw new CertificateException("Failed to check pinning", e); 585 // Check whole chain against the blacklist 595 ChainStrengthAnalyzer.check(untrustedChain); 699 public void check(Certificate c, Collection<String> unresolvedCritExts) method in class:TrustManagerImpl.ExtendedKeyUsagePKIXCertPathChecker 712 // We are here to check EKU, but there is none [all...] |
/external/crcalc/tests/src/com/hp/creals/ |
CRTest.java | 54 private static void check(boolean x, String s) { method in class:CRTest 72 check(one.signum() == 1, "signum(1) failed"); 73 check(one.negate().signum() == -1, "signum(-1) failed"); 74 check(zero.signum(-100) == 0, "signum(0) failed"); 75 check(one.compareTo(two, -10) == -1, "comparison failed"); 76 check(two.toString(4).compareTo("2.0000") == 0, "toString failed"); 89 check(one.negate().signum() == -1, "signum(-1) failed"); 96 check(thirteen.floatValue() == 13.0, "floatValue failed"); 97 check(thirteen.intValue() == 13, "intValue failed"); 98 check(thirteen.longValue() == 13, "longValue failed") [all...] |
SlowCRTest.java | 29 private static void check(boolean x, String s) { method in class:SlowCRTest 37 check(x.compareTo(y, TEST_PREC) == 0, s); 40 check(Math.abs(x - y) <= 0.000001, s); 92 // Check that sin(x+v) = sin(x)cos(v) + cos(x)sin(v) 104 // Check that inverses are consistent 111 check(isApprInt(tmp.subtract(x).divide(CR.PI)) 120 check(isApprInt(tmp.subtract(x).divide(CR.PI)) 144 // Check that ln(xv) = ln(x) + ln(v) for various v
|
/external/deqp/modules/glshared/ |
glsTextureStateQueryTests.cpp | 191 void check (const glu::ContextInfo&) const; 211 void RequiredExtensions::check (const glu::ContextInfo& ctxInfo) const function in class:deqp::gls::TextureStateQueryTests::__anon10766::RequiredExtensions 739 extensions.check(*ctxInfo); 783 extensions.check(*ctxInfo); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
GenericRequest.java | 82 // doing our own type check 208 check("ModelLoader", loadProvider.getModelLoader(), "try .using(ModelLoader)"); 209 check("Transcoder", loadProvider.getTranscoder(), "try .as*(Class).transcode(ResourceTranscoder)"); 210 check("Transformation", transformation, "try .transform(UnitTransformation.get())"); 212 check("SourceEncoder", loadProvider.getSourceEncoder(), 215 check("SourceDecoder", loadProvider.getSourceDecoder(), 222 check("CacheDecoder", loadProvider.getCacheDecoder(), 226 check("Encoder", loadProvider.getEncoder(), 232 private static void check(String name, Object object, String suggestion) { method in class:GenericRequest
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleMatcherTest.java | 172 // check that script fallbacks are handled right 182 // check that nearby languages are handled 295 // Check that if the preference is maximized already, it works as well. 305 // Check that if the preference is maximized already, it works as well. 431 check(sorted); 437 check(sorted); 440 private void check(Set<ULocale> sorted) { method in class:LocaleMatcherTest 504 // Check that if the preference is maximized already, it works as well.
|