/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
syntax.py | 3 The Python parser does not catch all syntax errors. Others, like 7 The compiler package catches some errors in the transformer module. 9 errors. 17 return v.errors 20 """A visitor to find syntax errors in the AST.""" 30 self.errors = 0 33 self.errors = self.errors + 1
|
/external/llvm/test/MC/AsmParser/ |
exprs-invalid.s | 2 // RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err 4 // CHECK-ERRORS: error: invalid octal number 7 // CHECK-ERRORS: error: invalid hexadecimal number 10 // CHECK-ERRORS: error: literal value out of range for directive 13 // CHECK-ERRORS: error: literal value out of range for directive
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_launch_unittest.cc | 16 namespace errors = manifest_errors; 44 Testcase("launch_window.json", errors::kInvalidLaunchContainer), 46 errors::kInvalidLaunchContainer), 48 errors::kInvalidLaunchContainer), 50 errors::kLaunchURLRequired), 53 errors::kInvalidLaunchValueContainer, 57 errors::kInvalidLaunchValue, 61 errors::kInvalidLaunchValueContainer, 65 errors::kInvalidLaunchValue, 75 errors::kLaunchPathAndURLAreExclusive) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
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/ |
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/chrome/browser/net/ |
url_request_mock_net_error_job.h | 5 // A net::URLRequestJob class that simulates network errors (including https 18 const std::vector<int>& errors, 26 // URL is hit, the specified |errors| will be played. If any of these errors 28 // the error. |ssl_cert| can be NULL if |errors| does not contain any cert 29 // errors. |base| is the location on disk where the file mocking the URL 33 const std::vector<int>& errors, 46 // The errors to simulate. 49 // The certificate to use for SSL errors.
|
/external/chromium_org/sql/test/ |
scoped_error_ignorer.h | 15 // sql::Connection and sql::Statement treat most SQLite errors as 19 // corruption. This scoper can be used to ignore selected errors 20 // during a test. Errors are ignored globally (on all connections). 22 // Since errors can be very context-dependent, the class is pedantic - 23 // specific errors must be ignored, and every error ignored must be 27 // address. If your test is handling database errors and you're 39 // Allow containing test to check if the errors were encountered. 53 // Errors to ignore. 56 // Errors which have been ignored.
|
/external/junit/src/org/junit/runners/model/ |
MultipleFailureException.java | 17 public MultipleFailureException(List<Throwable> errors) { 18 fErrors= new ArrayList<Throwable>(errors); 28 String.format("There were %d errors:", fErrors.size())); 41 * @param errors list to check 45 public static void assertEmpty(List<Throwable> errors) throws Throwable { 46 if (errors.isEmpty()) 48 if (errors.size() == 1) 49 throw errors.get(0); 58 throw new org.junit.internal.runners.model.MultipleFailureException(errors);
|
/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/browser/extensions/error_console/ |
error_console_unittest.cc | 74 // Errors are only kept if we have the FeatureSwitch and have Developer Mode 88 // Test adding errors, and removing them by reference, by incognito status, 91 ASSERT_EQ(0u, error_console_->errors().size()); 96 // Populate with both incognito and non-incognito errors (evenly distributed). 102 // There should only be one entry in the map, since errors are stored in lists 104 ASSERT_EQ(1u, error_console_->errors().size()); 108 // Remove the incognito errors; three errors should remain, and all should 111 const ErrorConsole::ErrorList& errors = local 113 ASSERT_EQ(kNumNonIncognitoErrors, errors.size()) 159 const ErrorConsole::ErrorList& errors = local 198 const ErrorConsole::ErrorList& errors = local [all...] |
/external/chromium_org/mojo/public/bindings/generators/ |
mojom_test.py | 11 # the number of errors that are encountered. 18 # errors = 0 19 # errors += EXPECT_EQ('test', test()) 21 # return errors 123 # errors 125 errors = 0 127 errors += EXPECT_EQ('test', module.name) 128 errors += EXPECT_EQ('testspace', module.namespace) 129 errors += EXPECT_EQ(1, len(module.structs)) 130 errors += EXPECT_EQ('teststruct', module.structs[0].name [all...] |
mojom_tests.py | 25 errors = 0 26 errors += RunTest(BuildAndTestModule) 27 errors += RunTest(TestModulesEqual) 29 return errors
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
login_screen_power_management_policy.cc | 38 PolicyErrorMap* errors) { 44 if (errors) { 45 errors->AddError(key::kDeviceLoginScreenPowerManagement, 59 PolicyErrorMap* errors) { 61 GetValue(dict, key, base::Value::TYPE_INTEGER, errors); 66 if (errors) { 67 errors->AddError(key::kDeviceLoginScreenPowerManagement, 77 PolicyErrorMap* errors) { 79 GetValue(dict, key, base::Value::TYPE_STRING, errors); 97 if (errors) { [all...] |
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/third_party/WebKit/Source/web/tests/data/viewport/ |
viewport-warnings-1.html | 2 <title>No warnings or errors.</title>
|
viewport-warnings-5.html | 2 <title>Multiple warnings and errors due to incorrect semicolon separators.</title>
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
reserve-err1.asm | 1 ; Test res* family errors
|
reserve-err2.asm | 1 ; Test res* family errors
|
/external/clang/test/Misc/ |
predefines.c | 1 /* RUN: %clang_cc1 -fsyntax-only -verify -std=c89 -ffreestanding -pedantic-errors %s
|
serialized-diags.h | 3 // how errors are handled with #includes in serialized
|
/external/clang/test/Preprocessor/ |
undef-error.c | 1 // RUN: %clang_cc1 %s -pedantic-errors -Wno-empty-translation-unit -verify
|
/external/clang/test/Sema/ |
implicit-def.c | 2 * RUN: not %clang_cc1 -fsyntax-only %s -std=c99 -pedantic-errors
|
/external/clang/test/SemaObjC/ |
id_builtin.m | 4 // id is now builtin. There should be no errors.
|