/external/chromium_org/tools/android/checkstyle/ |
checkstyle.py | 40 errors = stdout.splitlines() 42 if errors and errors[0] == 'Starting audit...': 43 del errors[0] 44 if errors and errors[-1] == 'Audit done.': 45 del errors[-1] 48 errors = [x for x in errors if 'warning: ' not in x] 49 if not errors [all...] |
/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/junit/src/org/junit/internal/runners/rules/ |
RuleFieldValidator.java | 15 * {@code TestClass} are written to a list of errors. 43 * for rejecting the class to a list of errors. 45 * @param errors the list of errors. 47 public void validate(TestClass target, List<Throwable> errors) { 50 validateField(each, errors); 53 private void validateField(FrameworkField field, List<Throwable> errors) { 54 optionallyValidateStatic(field, errors); 55 validatePublic(field, errors); 56 validateTestRuleOrMethodRule(field, errors); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
charmap.py | 25 def __init__(self, errors='strict', mapping=None): 26 codecs.IncrementalEncoder.__init__(self, errors) 30 return codecs.charmap_encode(input, self.errors, self.mapping)[0] 33 def __init__(self, errors='strict', mapping=None): 34 codecs.IncrementalDecoder.__init__(self, errors) 38 return codecs.charmap_decode(input, self.errors, self.mapping)[0] 42 def __init__(self,stream,errors='strict',mapping=None): 43 codecs.StreamWriter.__init__(self,stream,errors) 46 def encode(self,input,errors='strict'): 47 return Codec.encode(input,errors,self.mapping [all...] |
base64_codec.py | 13 def base64_encode(input,errors='strict'): 18 errors defines the error handling to apply. It defaults to 23 assert errors == 'strict' 27 def base64_decode(input,errors='strict'): 36 errors defines the error handling to apply. It defaults to 41 assert errors == 'strict' 47 def encode(self, input,errors='strict'): 48 return base64_encode(input,errors) 49 def decode(self, input,errors='strict'): 50 return base64_decode(input,errors) [all...] |
hex_codec.py | 13 def hex_encode(input,errors='strict'): 18 errors defines the error handling to apply. It defaults to 23 assert errors == 'strict' 27 def hex_decode(input,errors='strict'): 36 errors defines the error handling to apply. It defaults to 41 assert errors == 'strict' 47 def encode(self, input,errors='strict'): 48 return hex_encode(input,errors) 49 def decode(self, input,errors='strict'): 50 return hex_decode(input,errors) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
charmap.py | 25 def __init__(self, errors='strict', mapping=None): 26 codecs.IncrementalEncoder.__init__(self, errors) 30 return codecs.charmap_encode(input, self.errors, self.mapping)[0] 33 def __init__(self, errors='strict', mapping=None): 34 codecs.IncrementalDecoder.__init__(self, errors) 38 return codecs.charmap_decode(input, self.errors, self.mapping)[0] 42 def __init__(self,stream,errors='strict',mapping=None): 43 codecs.StreamWriter.__init__(self,stream,errors) 46 def encode(self,input,errors='strict'): 47 return Codec.encode(input,errors,self.mapping [all...] |
base64_codec.py | 13 def base64_encode(input,errors='strict'): 18 errors defines the error handling to apply. It defaults to 23 assert errors == 'strict' 27 def base64_decode(input,errors='strict'): 36 errors defines the error handling to apply. It defaults to 41 assert errors == 'strict' 47 def encode(self, input,errors='strict'): 48 return base64_encode(input,errors) 49 def decode(self, input,errors='strict'): 50 return base64_decode(input,errors) [all...] |
hex_codec.py | 13 def hex_encode(input,errors='strict'): 18 errors defines the error handling to apply. It defaults to 23 assert errors == 'strict' 27 def hex_decode(input,errors='strict'): 36 errors defines the error handling to apply. It defaults to 41 assert errors == 'strict' 47 def encode(self, input,errors='strict'): 48 return hex_encode(input,errors) 49 def decode(self, input,errors='strict'): 50 return hex_decode(input,errors) [all...] |
/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...] |
extension_manifests_experimental_unittest.cc | 14 namespace errors = extensions::manifest_errors; 17 LoadAndExpectError("experimental.json", errors::kExperimentalFlagRequired);
|
extension_manifests_isolatedapp_unittest.cc | 16 namespace errors = manifest_errors; 24 errors::kExperimentalFlagRequired);
|
/external/doclava/test/doclava/ |
ApiCheckTest.java | 19 import com.google.doclava.Errors; 20 import com.google.doclava.Errors.Error; 21 import com.google.doclava.Errors.ErrorMessage; 31 * Clear all errors and make sure all future errors will be recorded. 34 Errors.clearErrors(); 35 for (Errors.Error error : Errors.ERRORS) { 36 Errors.setErrorLevel(error.code, Errors.ERROR) 61 Iterator<ErrorMessage> errors = report.errors().iterator(); local 74 Iterator<ErrorMessage> errors = report.errors().iterator(); local [all...] |
/external/libexif/test/ |
test-integers.c | 43 errors++; \ 55 unsigned int errors = 0; local 63 return (errors>0)?1:0;
|
/external/chromium_org/mojo/public/bindings/generators/ |
mojom_tests.py | 25 errors = 0 26 errors += RunTest(BuildAndTestModule) 27 errors += RunTest(TestModulesEqual) 29 return errors
|
/external/valgrind/main/drd/tests/ |
threaded-fork.stderr.exp | 3 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 6 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
annotate_hbefore.stderr.exp | 3 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
annotate_rwlock.stderr.exp | 4 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
annotate_smart_pointer.stderr.exp | 4 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
annotate_static.stderr.exp | 4 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
bar_trivial.stderr.exp | 3 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
boost_thread.stderr.exp | 6 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
login_screen_power_management_policy_unittest.cc | 41 PolicyErrorMap errors; local 43 EXPECT_FALSE(policy.Init("Invalid JSON!", &errors)); 45 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty()); 59 PolicyErrorMap errors; local 63 &errors)); 65 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty()); 69 errors.Clear(); 72 &errors)); 74 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty()); 78 errors.Clear() 148 PolicyErrorMap errors; local [all...] |
/external/chromium_org/chrome/browser/policy/ |
configuration_policy_handler_unittest.cc | 35 PolicyErrorMap errors; local 44 errors.Clear(); 45 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 46 EXPECT_TRUE(errors.empty()); 51 errors.Clear(); 52 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 53 EXPECT_TRUE(errors.empty()); 58 errors.Clear(); 59 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 60 EXPECT_FALSE(errors.empty()) 108 PolicyErrorMap errors; local 159 PolicyErrorMap errors; local 299 PolicyErrorMap errors; local 350 PolicyErrorMap errors; local [all...] |
/external/junit/src/org/junit/internal/runners/model/ |
MultipleFailureException.java | 9 public MultipleFailureException(List<Throwable> errors) { 10 super(errors);
|