| /external/tensorflow/tensorflow/core/lib/io/ |
| record_reader.cc | 21 #include "tensorflow/core/lib/core/errors.h" 87 return errors::DataLoss("record size too large"); 106 return errors::OutOfRange("eof"); 108 return errors::DataLoss("truncated record at ", offset); 114 return errors::DataLoss("corrupted record at ", offset); 130 return errors::OutOfRange("eof"); 132 return errors::DataLoss("truncated record at ", offset); 138 return errors::DataLoss("corrupted record at ", offset); 148 return errors::OutOfRange("eof"); 150 return errors::DataLoss("truncated record at ", offset) [all...] |
| /external/tensorflow/tensorflow/python/eager/ |
| core.py | 22 from tensorflow.python.framework import errors 30 error_class = errors.exception_type_from_error_code(code) 33 return errors.UnknownError(None, None, message, code)
|
| /external/tensorflow/tensorflow/python/kernel_tests/ |
| base64_ops_test.py | 27 from tensorflow.python.framework import errors 109 with self.assertRaisesRegexp(errors.InvalidArgumentError, "1 modulo 4"): 116 with self.assertRaises(errors.InvalidArgumentError): 118 with self.assertRaises(errors.InvalidArgumentError): 120 with self.assertRaises(errors.InvalidArgumentError): 122 with self.assertRaises(errors.InvalidArgumentError): 128 with self.assertRaises(errors.InvalidArgumentError): 135 with self.assertRaises(errors.InvalidArgumentError): 137 with self.assertRaises(errors.InvalidArgumentError): 139 with self.assertRaises(errors.InvalidArgumentError) [all...] |
| /external/vboot_reference/tests/tpm_lite/ |
| tpmtest_timing.c | 32 errors++; \ 48 int errors = 0; local 61 if (time_limit_exceeded || errors > 0) {
|
| /frameworks/ml/nn/runtime/test/ |
| TestMemory.h | 29 int errors = 0; local 35 errors++; 39 return errors;
|
| /frameworks/support/app-toolkit/core-testing/src/main/java/androidx/arch/core/executor/ |
| JunitTaskExecutorRule.java | 89 final List<Throwable> errors = mTaskExecutor.getErrors(); 90 if (!errors.isEmpty()) { 91 throw new MultipleFailureException(errors);
|
| /hardware/qcom/gps/msm8909w_3100/android/location_api/ |
| GeofenceAPIClient.cpp | 189 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 196 if (errors[i] == LOCATION_ERROR_SUCCESS) 198 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) 209 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 216 if (errors[i] == LOCATION_ERROR_SUCCESS) 218 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) 229 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 236 if (errors[i] == LOCATION_ERROR_SUCCESS) 238 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) 249 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids [all...] |
| /hardware/qcom/gps/msm8998/android/location_api/ |
| GeofenceAPIClient.cpp | 188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 195 if (errors[i] == LOCATION_ERROR_SUCCESS) 197 else if (errors[i] == LOCATION_ERROR_ID_EXISTS) 208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 215 if (errors[i] == LOCATION_ERROR_SUCCESS) 217 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) 228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) 235 if (errors[i] == LOCATION_ERROR_SUCCESS) 237 else if (errors[i] == LOCATION_ERROR_ID_UNKNOWN) 248 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/ |
| idna.py | 147 def encode(self,input,errors='strict'): 149 if errors != 'strict': 151 raise UnicodeError("unsupported error handling "+errors) 168 def decode(self,input,errors='strict'): 170 if errors != 'strict': 171 raise UnicodeError("Unsupported error handling "+errors) 198 def _buffer_encode(self, input, errors, final): 199 if errors != 'strict': 201 raise UnicodeError("unsupported error handling "+errors) 232 def _buffer_decode(self, input, errors, final) [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/encodings/ |
| idna.py | 147 def encode(self,input,errors='strict'): 149 if errors != 'strict': 151 raise UnicodeError("unsupported error handling "+errors) 168 def decode(self,input,errors='strict'): 170 if errors != 'strict': 171 raise UnicodeError("Unsupported error handling "+errors) 198 def _buffer_encode(self, input, errors, final): 199 if errors != 'strict': 201 raise UnicodeError("unsupported error handling "+errors) 232 def _buffer_decode(self, input, errors, final) [all...] |
| /prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
| httpresponse.go | 18 defer res.Body.Close() // ERROR "using res before checking for errors" 26 defer res.Body.Close() // ERROR "using res before checking for errors" 44 defer resp.Body.Close() // ERROR "using resp before checking for errors" 53 defer resp.Body.Close() // ERROR "using resp before checking for errors" 67 defer resp.Body.Close() // ERROR "using resp before checking for errors" 81 defer resp.Body.Close() // ERROR "using resp before checking for errors"
|
| /prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
| httpresponse.go | 18 defer res.Body.Close() // ERROR "using res before checking for errors" 26 defer res.Body.Close() // ERROR "using res before checking for errors" 44 defer resp.Body.Close() // ERROR "using resp before checking for errors" 53 defer resp.Body.Close() // ERROR "using resp before checking for errors" 67 defer resp.Body.Close() // ERROR "using resp before checking for errors" 81 defer resp.Body.Close() // ERROR "using resp before checking for errors"
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
| idna.py | 147 def encode(self,input,errors='strict'): 149 if errors != 'strict': 151 raise UnicodeError("unsupported error handling "+errors) 168 def decode(self,input,errors='strict'): 170 if errors != 'strict': 171 raise UnicodeError("Unsupported error handling "+errors) 198 def _buffer_encode(self, input, errors, final): 199 if errors != 'strict': 201 raise UnicodeError("unsupported error handling "+errors) 232 def _buffer_decode(self, input, errors, final) [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
| idna.py | 147 def encode(self,input,errors='strict'): 149 if errors != 'strict': 151 raise UnicodeError("unsupported error handling "+errors) 168 def decode(self,input,errors='strict'): 170 if errors != 'strict': 171 raise UnicodeError("Unsupported error handling "+errors) 198 def _buffer_encode(self, input, errors, final): 199 if errors != 'strict': 201 raise UnicodeError("unsupported error handling "+errors) 232 def _buffer_decode(self, input, errors, final) [all...] |
| /toolchain/binutils/binutils-2.27/gold/ |
| parameters.h | 30 class Errors; 40 // 1) An Errors struct. Any part of the code that wants to log an 41 // error can use parameters->errors(). 58 set_errors(Errors* errors); 73 Errors* 74 errors() const function in class:gold::Parameters 191 Errors* errors_; 209 set_parameters_errors(Errors* errors); [all...] |
| /tools/acloud/public/ |
| report_test.py | 42 r.errors.append("some errors") 43 r.errors.append("some errors") 44 self.assertEqual(r.errors, ["some errors", "some errors"])
|
| /external/tensorflow/tensorflow/core/kernels/ |
| maxpooling_op.cc | 35 #include "tensorflow/core/lib/core/errors.h" 204 errors::InvalidArgument("Invalid data format")); 207 errors::InvalidArgument("Default MaxPoolingGradOp only supports NHWC ", 214 errors::InvalidArgument("Sliding window ksize field must " 218 errors::InvalidArgument("Sliding window strides field must " 221 errors::Unimplemented( 225 errors::Unimplemented( 239 errors::InvalidArgument("tensor_in must be 4-dimensional")); 241 errors::InvalidArgument("tensor_out must be 4-dimensional")); 244 errors::InvalidArgument("out_backprop must be 4-dimensional")) [all...] |
| training_ops.cc | 414 errors::FailedPrecondition( 418 errors::InvalidArgument("alpha is not a scalar: ", 423 errors::InvalidArgument("var and delta do not have the same shape", 455 errors::FailedPrecondition( 459 errors::InvalidArgument("alpha is not a scalar: ", 464 errors::InvalidArgument("var and delta do not have the same shape", 573 errors::FailedPrecondition( 577 errors::FailedPrecondition( 581 errors::FailedPrecondition( 590 errors::InvalidArgument("lr is not a scalar: " [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| ConstructorBindingImpl.java | 74 InjectionPoint constructorInjector, Object source, Scoping scoping, Errors errors, 77 int numErrors = errors.size(); 86 errors.missingImplementation(key); 91 errors.cannotInjectInnerClass(rawType); 94 errors.throwIfNewErrors(numErrors); 101 errors.atInjectRequired(rawType); 104 throw errors.merge(e.getErrorMessages()).toException(); 111 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, annotatedType); 114 injector, errors.withSource(rawType)) [all...] |
| /external/tensorflow/tensorflow/contrib/session_bundle/ |
| signature.cc | 25 #include "tensorflow/core/lib/core/errors.h" 41 return errors::Internal(strings::StrCat( 54 return errors::FailedPrecondition( 82 return errors::FailedPrecondition( 87 return errors::FailedPrecondition(strings::StrCat( 102 return errors::NotFound( 107 return errors::FailedPrecondition( 137 return errors::Internal( 157 return errors::FailedPrecondition( 162 return errors::FailedPrecondition(strings::StrCat [all...] |
| /external/tensorflow/tensorflow/python/data/kernel_tests/ |
| sequence_dataset_op_test.py | 24 from tensorflow.python.framework import errors 55 with self.assertRaises(errors.OutOfRangeError): 64 with self.assertRaises(errors.OutOfRangeError): 69 with self.assertRaises(errors.OutOfRangeError): 100 with self.assertRaises(errors.OutOfRangeError): 109 with self.assertRaises(errors.OutOfRangeError): 118 with self.assertRaises(errors.OutOfRangeError): 124 with self.assertRaises(errors.OutOfRangeError): 146 with self.assertRaises(errors.OutOfRangeError): 151 with self.assertRaises(errors.OutOfRangeError) [all...] |
| /development/testrunner/test_defs/ |
| test_defs.py | 25 import errors 59 raise errors.ParseError 62 raise errors.ParseError 63 except errors.ParseError, e: 87 raise errors.ParseError(msg=error_msg)
|
| /external/autotest/client/site_tests/video_WebRtcCamera/ |
| video_WebRtcCamera.py | 105 errors = [] 116 errors.append('Camera error: %s for resolution ' 120 errors.append('Frame Stats is empty ' 135 if errors: 136 raise error.TestFail('Found errors: %s' % ', '.join(errors))
|
| /external/autotest/server/site_tests/display_SwitchMode/ |
| display_SwitchMode.py | 34 self.connector_used, self.errors) is None: 37 resolution, test_mirrored, self.errors) 38 if self.errors: 39 raise error.TestFail('; '.join(set(self.errors))) 67 self.errors = []
|
| /external/curl/tests/ |
| manpage-scan.pl | 47 my $errors=0; 77 $errors++; 122 $errors++; 263 $errors++; 289 exit $errors;
|