/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hashlib.py | 157 def check(self, name, data, digest): member in class:HashLibTestCase 188 self.check(algorithm_name, u'spam', expected) 201 self.check('md5', '', 'd41d8cd98f00b204e9800998ecf8427e') 204 self.check('md5', 'abc', '900150983cd24fb0d6963f7d28e17f72') 207 self.check('md5', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 214 self.check('md5', 'A'*size, 'c9af2dff37468ce5dfee8f2cfc0a9c6d') 231 self.check('md5', 'A'*size, '28138d306ff1b8281f1a9067e1a1a2b3') 240 self.check('sha1', "", 244 self.check('sha1', "abc", 248 self.check('sha1', "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" [all...] |
test_sort.py | 9 def check(tag, expected, raw, compare=None): function 84 check("identity", x, s) 88 check("reversed", x, s) 92 check("random permutation", x, s) 97 check("reversed via function", y, s, lambda a, b: cmp(b, a)) 104 check("an insane function left some permutation", x, s) 117 check("exception during sort left some permutation", x, s) 123 check("stability", x, s)
|
test_textwrap.py | 31 def check(self, result, expect): member in class:BaseTestCase 38 self.check(result, expect) 70 # Check that wrapping the empty string returns an empty list. 75 # Check that the empty string is not indented. 98 self.check(result, expect) 101 self.check(result, '\n'.join(expect)) 111 self.check(wrapper.wrap(text), expect) 118 self.check(wrapper.wrap(text), expect) 121 self.check(wrapper.wrap(text), expect) 125 self.check(wrapper.wrap(text), expect [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_refactor.py | 239 def check(structure, expected): function in function:TestRefactoringTool.test_refactor_dir 257 check([], []) 265 check(tree, expected) 268 check(tree, tree)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_decorators.py | 31 def check(*args, **kwds): function in function:dbcheck.decorate 35 return check 158 # Sanity check: is expr is a valid expression by itself?
|
test_hashlib.py | 157 def check(self, name, data, digest): member in class:HashLibTestCase 188 self.check(algorithm_name, u'spam', expected) 201 self.check('md5', '', 'd41d8cd98f00b204e9800998ecf8427e') 204 self.check('md5', 'abc', '900150983cd24fb0d6963f7d28e17f72') 207 self.check('md5', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 214 self.check('md5', 'A'*size, 'c9af2dff37468ce5dfee8f2cfc0a9c6d') 231 self.check('md5', 'A'*size, '28138d306ff1b8281f1a9067e1a1a2b3') 240 self.check('sha1', "", 244 self.check('sha1', "abc", 248 self.check('sha1', "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" [all...] |
test_sort.py | 9 def check(tag, expected, raw, compare=None): function 84 check("identity", x, s) 88 check("reversed", x, s) 92 check("random permutation", x, s) 97 check("reversed via function", y, s, lambda a, b: cmp(b, a)) 104 check("an insane function left some permutation", x, s) 117 check("exception during sort left some permutation", x, s) 123 check("stability", x, s)
|
test_textwrap.py | 31 def check(self, result, expect): member in class:BaseTestCase 38 self.check(result, expect) 70 # Check that wrapping the empty string returns an empty list. 75 # Check that the empty string is not indented. 98 self.check(result, expect) 101 self.check(result, '\n'.join(expect)) 111 self.check(wrapper.wrap(text), expect) 118 self.check(wrapper.wrap(text), expect) 121 self.check(wrapper.wrap(text), expect) 125 self.check(wrapper.wrap(text), expect [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParserTest.java | 191 check(parser, 0, button1Map); method 192 check(parser, 1, button1Map); method 209 check(parser, 0, button2Map); method 210 check(parser, 1, button2Map); method 218 check(parser, 0, textMap); method 219 check(parser, 1, textMap); method 244 private void check(UiElementPullParser parser, int i, HashMap<String, String> map) { method in class:UiElementPullParserTest
|
/system/core/fastboot/ |
usb_linux.cpp | 122 static int check(void *_desc, int len, unsigned type, int size) function 149 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) 155 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE)) 204 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0) 226 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0) 249 if (check((struct usb_descriptor_hdr *)ptr, len, 352 // Check if we have read-only access, so we can give a helpful
|
/system/extras/libfec/ |
fec_private.h | 49 #define VERITY_MIN_TABLE_SIZE (VERITY_TABLE_ARGS * 2) /* for a sanity check */ 167 #define check(p) \ macro
|
/toolchain/binutils/binutils-2.25/ld/ |
ldfile.c | 120 /* TODO: This check is disabled for now due to a bunch of packages that 171 In the code below, it's OK to exit early if the check fails, 178 bfd *check; local 181 check = bfd_openr_next_archived_file (entry->the_bfd, NULL); 183 check = entry->the_bfd; 185 if (check != NULL) 187 if (! bfd_check_format (check, bfd_object)) 189 if (check == entry->the_bfd 296 && !bfd_arch_get_compatible (check, link_info.output_bfd, 299 && ! (bfd_get_flavour (check) == bfd_target_xcoff_flavou [all...] |
/ndk/build/core/ |
definitions.mk | 55 # Function : check-required-vars 59 # Usage : $(call check-required-vars, VAR1 VAR2 VAR3..., <file>) 63 check-required-vars = $(foreach __varname,$1,\ [all...] |
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 22 static void check(boolean x) { method in class:ReturnsAndArgPassing 24 throw new AssertionError(testName + " Check failed"); 57 check(proxy instanceof Proxy); 58 check(method.getDeclaringClass() == MyInterface.class); 60 // Check for moving GC bugs in proxy stubs. 63 check(args == null); method 66 check(args == null); method 78 check(args.length == 6); method 86 check(name.endsWith("Bar")); 103 check(fooInvocations == 0) method 105 check(fooInvocations == 1); method 107 check(barInvocations == 0); method 109 check(barInvocations == 1); method 111 check(fooInvocations == 1); method 114 check(fooInvocations == 2); method 116 check(barInvocations == 1); method 118 check(barInvocations == 2); method 120 check(fooInvocations == 2); method 123 check(fooInvocations == 3); method 125 check(barInvocations == 2); method 127 check(barInvocations == 3); method 129 check(fooInvocations == 3); method 132 check(fooInvocations == 4); method 134 check(barInvocations == 3); method 136 check(barInvocations == 4); method 138 check(fooInvocations == 4); method 141 check(fooInvocations == 5); method 143 check(barInvocations == 4); method 145 check(barInvocations == 5); method 147 check(fooInvocations == 5); method 150 check(fooInvocations == 6); method 152 check(barInvocations == 5); method 154 check(barInvocations == 6); method 156 check(fooInvocations == 6); method 159 check(fooInvocations == 7); method 161 check(barInvocations == 6); method 163 check(barInvocations == 7); method 165 check(fooInvocations == 7); method 168 check(fooInvocations == 8); method 170 check(barInvocations == 7); method 172 check(barInvocations == 8); method 174 check(fooInvocations == 8); method 177 check(fooInvocations == 9); method 179 check(barInvocations == 8); method 181 check(barInvocations == 9); method 186 check(fooInvocations == 9); method 192 check(fooInvocations == 10); method 194 check(barInvocations == 9); method 200 check(barInvocations == 10); method 202 check(fooInvocations == 10); method 208 check(fooInvocations == 11); method 210 check(barInvocations == 10); method 216 check(barInvocations == 11); method 218 check(fooInvocations == 11); method 224 check(fooInvocations == 12); method 226 check(barInvocations == 11); method 232 check(barInvocations == 12); method 234 check(fooInvocations == 12); method 240 check(fooInvocations == 13); method 242 check(barInvocations == 12); method 248 check(barInvocations == 13); method 250 check(fooInvocations == 13); method 256 check(fooInvocations == 14); method 258 check(barInvocations == 13); method 264 check(barInvocations == 14); method 266 check(fooInvocations == 14); method 272 check(fooInvocations == 15); method 274 check(barInvocations == 14); method 280 check(barInvocations == 15); method 282 check(fooInvocations == 15); method 288 check(fooInvocations == 16); method 290 check(barInvocations == 15); method 296 check(barInvocations == 16); method 298 check(fooInvocations == 16); method 304 check(fooInvocations == 17); method 306 check(barInvocations == 16); method 312 check(barInvocations == 17); method 317 check(fooInvocations == 17); method 324 check(fooInvocations == 18); method 326 check(barInvocations == 17); method 332 check(barInvocations == 18); method 334 check(fooInvocations == 18); method 341 check(fooInvocations == 19); method 343 check(barInvocations == 18); method 349 check(barInvocations == 19); method 351 check(fooInvocations == 19); method 358 check(fooInvocations == 20); method 360 check(barInvocations == 19); method 366 check(barInvocations == 20); method 368 check(fooInvocations == 20); method 375 check(fooInvocations == 21); method 377 check(barInvocations == 20); method 383 check(barInvocations == 21); method 385 check(fooInvocations == 21); method 392 check(fooInvocations == 22); method 394 check(barInvocations == 21); method 400 check(barInvocations == 22); method 402 check(fooInvocations == 22); method 409 check(fooInvocations == 23); method 411 check(barInvocations == 22); method 417 check(barInvocations == 23); method 419 check(fooInvocations == 23); method 426 check(fooInvocations == 24); method 428 check(barInvocations == 23); method 434 check(barInvocations == 24); method 447 check((Integer)proxyMyInterface.selectArg(0, Integer.MAX_VALUE, Long.MAX_VALUE, method 449 check((Integer)proxyMyInterface.selectArg(1, Integer.MAX_VALUE, Long.MAX_VALUE, method 451 check((Long)proxyMyInterface.selectArg(2, Integer.MAX_VALUE, Long.MAX_VALUE, method 453 check((Float)proxyMyInterface.selectArg(3, Integer.MAX_VALUE, Long.MAX_VALUE, method 455 check((Double)proxyMyInterface.selectArg(4, Integer.MAX_VALUE, Long.MAX_VALUE, method [all...] |
/art/test/439-npe/src/ |
Main.java | 108 check(npe, thisLine += 2, methodLine, "$opt$setObjectField"); method 114 check(npe, thisLine += 6, methodLine += 4, "$opt$setIntField"); method 120 check(npe, thisLine += 6, methodLine += 4, "$opt$setFloatField"); method 126 check(npe, thisLine += 6, methodLine += 4, "$opt$setLongField"); method 132 check(npe, thisLine += 6, methodLine += 4, "$opt$setDoubleField"); method 138 check(npe, thisLine += 6, methodLine += 4, "$opt$setByteField"); method 144 check(npe, thisLine += 6, methodLine += 4, "$opt$setBooleanField"); method 150 check(npe, thisLine += 6, methodLine += 4, "$opt$setCharField"); method 156 check(npe, thisLine += 6, methodLine += 4, "$opt$setShortField"); method 162 check(npe, thisLine += 6, methodLine += 4, "$opt$getObjectField") method 168 check(npe, thisLine += 6, methodLine += 4, "$opt$getIntField"); method 174 check(npe, thisLine += 6, methodLine += 4, "$opt$getFloatField"); method 180 check(npe, thisLine += 6, methodLine += 4, "$opt$getLongField"); method 186 check(npe, thisLine += 6, methodLine += 4, "$opt$getDoubleField"); method 192 check(npe, thisLine += 6, methodLine += 4, "$opt$getByteField"); method 198 check(npe, thisLine += 6, methodLine += 4, "$opt$getBooleanField"); method 204 check(npe, thisLine += 6, methodLine += 4, "$opt$getCharField"); method 210 check(npe, thisLine += 6, methodLine += 4, "$opt$getShortField"); method 214 static void check(NullPointerException npe, int mainLine, int medthodLine, String methodName) { method in class:Main [all...] |
/cts/tests/app/src/android/app/cts/ |
AlarmManagerTest.java | 125 protected boolean check() { method 137 protected boolean check() { method 149 protected boolean check() { method 161 protected boolean check() { method 177 protected boolean check() { method 199 protected boolean check() { method 209 protected boolean check() { method 235 protected boolean check() { method 245 protected boolean check() { method 270 protected boolean check() { method 330 protected boolean check() { method [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaBrowserTest.java | 81 protected boolean check() { method 107 protected boolean check() { method 135 protected boolean check() { method 147 // Check whether all the items in the current page are loaded. 162 protected boolean check() { method 184 protected boolean check() { method 202 protected boolean check() { method 218 protected boolean check() { method 240 protected boolean check() { method
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SearchRecentSuggestionsTest.java | 200 protected boolean check() { method
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTest.java | 77 // check default interpolator 126 // check alpha before start 132 // check alpha after the end 190 // check default repeatMode 221 // check whether animation has started 224 protected boolean check() { method 246 protected boolean check() { method 260 // check decelerating delta alpha when reverse. alpha should change form 0.0f to 1.0f 280 // check whether animation has started 283 protected boolean check() { method 305 protected boolean check() { method 420 protected boolean check() { method 446 protected boolean check() { method [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewTest.java | 51 protected boolean check() { method 104 * check point: 105 * check surfaceView size before and after layout 128 * check point: 129 * check surfaceView scroll X and y before and after scrollTo 153 protected boolean check() { method
|
ViewTreeObserverTest.java | 50 protected boolean check() { method 98 protected boolean check() { method 150 protected boolean check() { method 227 protected boolean check() { method 245 protected boolean check() { method 288 protected boolean check() { method 305 protected boolean check() { method 330 protected boolean check() { method
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | 148 protected boolean check() { method [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSeekBarTest.java | 183 protected boolean check() { method
|
DialerFilterTest.java | 58 protected boolean check() { method
|
MediaControllerTest.java | 156 protected boolean check() { method
|