/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_threadedtempfile.py | 34 self.errors = StringIO.StringIO() 42 print_exc(file=self.errors) 60 errors = [] 65 errors.append(str(t.getName()) + str(t.errors.getvalue())) 69 msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok, 70 '\n'.join(errors)) 71 self.assertEqual(errors, [], msg [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/mime/ |
nonmultipart.py | 9 from email import errors namespace 22 raise errors.MultipartConversionError(
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_threadedtempfile.py | 34 self.errors = StringIO.StringIO() 42 print_exc(file=self.errors) 60 errors = [] 65 errors.append(str(t.getName()) + str(t.errors.getvalue())) 69 msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok, 70 '\n'.join(errors)) 71 self.assertEqual(errors, [], msg [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
ErrorQueue.java | 39 List errors = new LinkedList(); field in class:ErrorQueue 47 errors.add(msg); 55 errors.add(msg); 59 return infos.size() + errors.size() + warnings.size(); 64 "errors: "+errors+
|
/external/chromium_org/v8/tools/ |
run-valgrind.py | 50 errors = process.stderr.readlines(); variable 54 sys.stderr.writelines(errors) 63 for line in errors: 67 sys.stderr.writelines(errors) 72 sys.stderr.writelines(errors)
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 59 public int errors; field in class:TodoFile.PackageStats 83 String base = classBase + ".errors."; 84 int errors = 0; local 88 setHDF(data, base + errors, cl.position(), "<class comment>", MISSING); 89 errors++; 98 setHDF(data, base + errors, m.position(), m.prettySignature(), MISSING); 103 errors++; 112 setHDF(data, base + errors, m.position(), m.name() + m.prettySignature(), MISSING); 117 errors++; 127 setHDF(data, base + errors, f.position(), f.name(), MISSING) [all...] |
/external/v8/tools/ |
run-valgrind.py | 50 errors = process.stderr.readlines(); variable 54 sys.stderr.writelines(errors) 63 for line in errors: 67 sys.stderr.writelines(errors) 72 sys.stderr.writelines(errors)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
quopri_codec.py | 12 def quopri_encode(input, errors='strict'): 15 errors defines the error handling to apply. It defaults to 20 assert errors == 'strict' 28 def quopri_decode(input, errors='strict'): 31 errors defines the error handling to apply. It defaults to 36 assert errors == 'strict' 45 def encode(self, input,errors='strict'): 46 return quopri_encode(input,errors) 47 def decode(self, input,errors='strict'): 48 return quopri_decode(input,errors) [all...] |
utf_16.py | 15 def decode(input, errors='strict'): 16 return codecs.utf_16_decode(input, errors, True) 19 def __init__(self, errors='strict'): 20 codecs.IncrementalEncoder.__init__(self, errors) 25 result = codecs.utf_16_encode(input, self.errors)[0] 31 return self.encoder(input, self.errors)[0] 54 def __init__(self, errors='strict'): 55 codecs.BufferedIncrementalDecoder.__init__(self, errors) 58 def _buffer_decode(self, input, errors, final): 61 codecs.utf_16_ex_decode(input, errors, 0, final [all...] |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 26 def __init__(self, errors='strict'): 27 codecs.IncrementalEncoder.__init__(self, errors) 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0] 35 return codecs.utf_8_encode(input, self.errors)[0] 48 def __init__(self, errors='strict'): 49 codecs.BufferedIncrementalDecoder.__init__(self, errors) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
quopri_codec.py | 12 def quopri_encode(input, errors='strict'): 15 errors defines the error handling to apply. It defaults to 20 assert errors == 'strict' 28 def quopri_decode(input, errors='strict'): 31 errors defines the error handling to apply. It defaults to 36 assert errors == 'strict' 45 def encode(self, input,errors='strict'): 46 return quopri_encode(input,errors) 47 def decode(self, input,errors='strict'): 48 return quopri_decode(input,errors) [all...] |
utf_16.py | 15 def decode(input, errors='strict'): 16 return codecs.utf_16_decode(input, errors, True) 19 def __init__(self, errors='strict'): 20 codecs.IncrementalEncoder.__init__(self, errors) 25 result = codecs.utf_16_encode(input, self.errors)[0] 31 return self.encoder(input, self.errors)[0] 54 def __init__(self, errors='strict'): 55 codecs.BufferedIncrementalDecoder.__init__(self, errors) 58 def _buffer_decode(self, input, errors, final): 61 codecs.utf_16_ex_decode(input, errors, 0, final [all...] |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 26 def __init__(self, errors='strict'): 27 codecs.IncrementalEncoder.__init__(self, errors) 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0] 35 return codecs.utf_8_encode(input, self.errors)[0] 48 def __init__(self, errors='strict'): 49 codecs.BufferedIncrementalDecoder.__init__(self, errors) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
png_unittest.py | 59 errors = [] 63 errors.append(error) 72 self.assertEqual(len(errors), 1) 73 self.assertEqual(errors[0], 79 errors = [] 82 self.assertEqual(len(errors), 0) 87 errors = [] 90 self.assertEqual(len(errors), 1) 95 errors = [] 98 self.assertEqual(len(errors), 0 [all...] |
/external/chromium_org/ppapi/generators/ |
idl_propertynode.py | 83 errors = 0 88 errors += ExpectProp(top, 'Left', 'Top') 89 errors += ExpectProp(top, 'Right', 'Top') 91 errors += ExpectProp(left, 'Left', 'Left') 92 errors += ExpectProp(left, 'Right', 'Top') 94 errors += ExpectProp(right, 'Left', 'Top') 95 errors += ExpectProp(right, 'Right', 'Right') 97 if not errors: 99 return errors 103 errors = [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_byteswap.c | 50 int errors = 0; local 60 errors++; 65 errors++; 78 errors++; 83 errors++; 88 if (!errors) 89 printf("No errors found in the byteswap implementation!\n"); 91 return errors;
|
/external/chromium_org/chrome/common/extensions/api/file_handlers/ |
file_handlers_manifest_unittest.cc | 12 namespace errors = extensions::manifest_errors; 24 errors::kInvalidFileHandlers), 26 errors::kInvalidFileHandlerType), 28 errors::kInvalidFileHandlerExtension), 30 errors::kInvalidFileHandlerNoTypeOrExtension), 32 errors::kInvalidFileHandlerTitle), 34 errors::kInvalidFileHandlerTypeElement), 36 errors::kInvalidFileHandlerExtensionElement), 38 errors::kInvalidFileHandlersTooManyTypesAndExtensions),
|
/external/chromium/chrome/common/extensions/ |
update_manifest_unittest.cc | 124 EXPECT_FALSE(parser.errors().empty()); 128 EXPECT_FALSE(parser.errors().empty()); 132 EXPECT_FALSE(parser.errors().empty()); 136 EXPECT_FALSE(parser.errors().empty()); 140 EXPECT_FALSE(parser.errors().empty()); 144 EXPECT_TRUE(parser.errors().empty()); 155 EXPECT_TRUE(parser.errors().empty()); 157 EXPECT_TRUE(parser.errors().empty()); 162 EXPECT_TRUE(parser.errors().empty()); 169 EXPECT_TRUE(parser.errors().empty()) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
policy_handlers_unittest.cc | 21 policy::PolicyErrorMap errors; local 30 errors.Clear(); 31 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 32 EXPECT_TRUE(errors.empty()); 40 errors.Clear(); 41 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 42 EXPECT_TRUE(errors.empty()); 50 errors.Clear(); 51 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 52 EXPECT_TRUE(errors.empty()) 102 policy::PolicyErrorMap errors; local 206 policy::PolicyErrorMap errors; local [all...] |
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_override_unittest.cc | 10 namespace errors = extensions::manifest_errors; 17 Testcase("override_newtab_and_history.json", errors::kMultipleOverrides), 18 Testcase("override_invalid_page.json", errors::kInvalidChromeURLOverrides)
|
extension_manifests_homepage_unittest.cc | 12 namespace errors = extensions::manifest_errors; 23 errors::kInvalidHomepageURL), 25 errors::kInvalidHomepageURL), 27 errors::kInvalidHomepageURL)
|
extension_manifests_options_unittest.cc | 10 namespace errors = extensions::manifest_errors; 37 errors::kInvalidOptionsPageInHostedApp), 41 errors::kInvalidOptionsPageInHostedApp), 45 errors::kInvalidOptionsPageExpectUrlInPackage)
|
/external/chromium_org/chrome/common/extensions/ |
update_manifest_unittest.cc | 124 EXPECT_FALSE(parser.errors().empty()); 128 EXPECT_FALSE(parser.errors().empty()); 132 EXPECT_FALSE(parser.errors().empty()); 136 EXPECT_FALSE(parser.errors().empty()); 140 EXPECT_FALSE(parser.errors().empty()); 144 EXPECT_TRUE(parser.errors().empty()); 155 EXPECT_TRUE(parser.errors().empty()); 157 EXPECT_TRUE(parser.errors().empty()); 162 EXPECT_TRUE(parser.errors().empty()); 169 EXPECT_TRUE(parser.errors().empty()) [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos_unittest.cc | 76 PolicyErrorMap errors; local 78 .CheckPolicySettings(PolicyMap(), &errors)); local 79 EXPECT_TRUE(errors.GetErrors(key::kUserAvatarImage).empty()); 89 PolicyErrorMap errors; local 91 .CheckPolicySettings(policy_map, &errors)); 92 EXPECT_FALSE(errors.GetErrors(key::kUserAvatarImage).empty()); 104 PolicyErrorMap errors; local 106 .CheckPolicySettings(policy_map, &errors)); 107 EXPECT_FALSE(errors.GetErrors(key::kUserAvatarImage).empty()); 120 PolicyErrorMap errors; local 135 PolicyErrorMap errors; local 151 PolicyErrorMap errors; local 167 PolicyErrorMap errors; local 201 PolicyErrorMap errors; local 229 PolicyErrorMap errors; local 243 PolicyErrorMap errors; local 258 PolicyErrorMap errors; local 286 PolicyErrorMap errors; local 326 PolicyErrorMap errors; local 339 PolicyErrorMap errors; local 352 PolicyErrorMap errors; local 367 PolicyErrorMap errors; local [all...] |
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
minimum_chrome_version_checker.cc | 19 namespace errors = manifest_errors; 32 *error = ASCIIToUTF16(errors::kInvalidMinimumChromeVersion); 38 *error = ASCIIToUTF16(errors::kInvalidMinimumChromeVersion); 51 errors::kChromeVersionTooLow,
|