/external/tensorflow/tensorflow/core/kernels/ |
conv_grad_filter_ops.cc | 38 #include "tensorflow/core/lib/core/errors.h" 186 errors::InvalidArgument("Invalid data format")); 188 errors::InvalidArgument( 192 errors::InvalidArgument("Sliding window strides field must " 196 errors::InvalidArgument("Current implementation does not yet support " 199 errors::InvalidArgument( 204 errors::InvalidArgument("Sliding window dilations field must " 207 errors::InvalidArgument( 212 errors::InvalidArgument( 223 errors::InvalidArgument [all...] |
barrier_ops.cc | 30 #include "tensorflow/core/lib/core/errors.h" 95 errors::InvalidArgument("Tensors with no elements are not supported ", 117 errors::Cancelled( 145 errors::Internal( 223 ctx->SetStatus(errors::OutOfRange( 261 errors::Cancelled("Barrier '", name_, "' is already closed.")); 319 return errors::Cancelled( 362 return errors::InvalidArgument("Key ", keys_vec(i), 453 errors::InvalidArgument( 459 errors::InvalidArgument [all...] |
random_shuffle_queue_op.cc | 30 #include "tensorflow/core/lib/core/errors.h" 141 attempt->context->SetStatus(errors::Cancelled( 159 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); 199 attempt->context->SetStatus(errors::Cancelled( 227 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); 248 attempt->context->SetStatus(errors::OutOfRange( 269 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); 278 ctx->SetStatus(errors::InvalidArgument( 354 errors::DataLoss("Failed to restore element from " 376 attempt->context->SetStatus(errors::OutOfRange [all...] |
batch_kernels.cc | 57 return errors::InvalidArgument( 64 return errors::InvalidArgument( 114 return errors::InvalidArgument( 246 return errors::InvalidArgument( 251 return errors::InvalidArgument( 292 return errors::InvalidArgument( 379 errors::InvalidArgument("Unsupported data type: ", type); 402 errors::InvalidArgument("Unsupported data type: ", type); 558 return errors::InvalidArgument( 562 return errors::InvalidArgument [all...] |
parameterized_truncated_normal_op.cc | 102 errors::InvalidArgument("Invalid parameters")); 262 errors::InvalidArgument("Input shape should be a vector, got shape: ", 283 errors::InvalidArgument( 287 errors::InvalidArgument( 291 errors::InvalidArgument( 295 errors::InvalidArgument( 318 errors::InvalidArgument( 326 errors::InvalidArgument( 334 errors::InvalidArgument( 342 errors::InvalidArgument [all...] |
sparse_conditional_accumulator.h | 96 return errors::InvalidArgument( 104 return errors::InvalidArgument("Shape mismatch: expected shape dim ", 115 return errors::InvalidArgument( 127 return errors::InvalidArgument("Shape mismatch: expected values rank ", 132 return errors::InvalidArgument("Shape mismatch: expected values dim ", 140 return errors::InvalidArgument( 148 return errors::InvalidArgument("Shape mismatch: expected values dim ", 384 errors::InvalidArgument( 390 errors::InvalidArgument("Values cannot be 0-dimensional.")); 392 errors::InvalidArgument("Expected ", nnz [all...] |
fused_batch_norm_op.cc | 59 errors::Internal("The CPU implementation of FusedBatchNorm " 141 errors::Internal("The CPU implementation of FusedBatchNormGrad " 229 OP_REQUIRES(context, stream, errors::Internal("No GPU stream avalible")); 278 errors::Internal("Unsupported tensor format: ", tensor_format)); 350 errors::Internal("cuDNN launch failure : input shape (", 370 OP_REQUIRES(context, stream, errors::Internal("No GPU stream avalible")); 432 errors::Internal("Unsupported tensor format: ", tensor_format)); 473 errors::Internal("cuDNN launch failure : input shape (", 512 errors::InvalidArgument("Invalid data format")); 524 errors::InvalidArgument("input must be 4-dimensional" [all...] |
/build/soong/android/ |
namespace_test.go | 18 "errors" 93 // setupTest will report any errors 154 errors.New( 161 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs) 357 // setupTest will report any errors 377 errors.New(`dir1/Android.bp:2:4: module "soong_namespace": namespace a_nonexistent_namespace does not exist`), 380 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs) 406 errors.New(`dir1/subdir1/Android.bp:4:4: "b" depends on undefined module "a" 411 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs) 434 // setupTest will report any errors [all...] |
/external/chromium-libpac/test/ |
proxy_resolver_v8_unittest.cc | 65 errors.push_back(mstd); 78 std::vector<std::string> errors; member in class:net::__anon14495::MockJSBindings 163 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); 178 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); 211 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); 245 ASSERT_EQ(1U, bindings->errors.size()); 247 bindings->errors[0]); 276 ASSERT_EQ(1U, bindings->errors.size()); 279 bindings->errors[0]); 324 ASSERT_EQ(1U, bindings->errors.size()) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_op_kernel.cc | 84 return errors::InvalidArgument( 98 return errors::Internal("Incompatible shapes in ConstantInputReshaped."); 124 errors::AppendToMessage(&status, "while evaluating input ", index, " of ", 131 return errors::InvalidArgument( 147 return errors::Internal("Error evaluating ", context_->op_kernel().name(), 160 return errors::InvalidArgument("value is not a scalar"); 167 return errors::InvalidArgument("value must be either int32 or int64"); 175 return errors::InvalidArgument("value is not a scalar"); 182 return errors::InvalidArgument("value must be either float32 or float64"); 203 return errors::InvalidArgument("value is not 1D") [all...] |
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 185 vector<string> errors; local 190 errors = log.GetMessages(ERROR); 193 ASSERT_EQ(1, errors.size()); 196 errors[0]); 298 vector<string> errors; local 299 message.FindInitializationErrors(&errors); 300 ASSERT_EQ(3, errors.size()); 301 EXPECT_EQ("a", errors[0]); 302 EXPECT_EQ("b", errors[1]); 303 EXPECT_EQ("c", errors[2]) [all...] |
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
bigquery_table_accessor.cc | 37 return errors::Internal("Couldn't parse JSON response from BigQuery."); 65 return errors::Internal( 91 return errors::InvalidArgument( 144 return errors::InvalidArgument("Start index cannot be negative."); 159 return errors::OutOfRange("Reached end of table ", FullTableName()); 285 return errors::Internal("Number of rows cannot be extracted for table ", 298 return errors::Unimplemented(strings::StrCat( 328 return errors::Unimplemented("Cannot append type to an example."); 345 return errors::Internal("Cannot convert value to integer ", 355 return errors::Internal("Cannot convert value to double: " [all...] |
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
dataset_from_generator_op_test.py | 26 from tensorflow.python.framework import errors 47 with self.assertRaises(errors.OutOfRangeError): 62 with self.assertRaises(errors.OutOfRangeError): 135 with self.assertRaises(errors.OutOfRangeError): 192 with self.assertRaises(errors.OutOfRangeError): 216 with self.assertRaises(errors.OutOfRangeError): 236 with self.assertRaises(errors.OutOfRangeError): 261 with self.assertRaises(errors.OutOfRangeError): 284 with self.assertRaises(errors.OutOfRangeError): 302 with self.assertRaises(errors.OutOfRangeError) [all...] |
batch_dataset_op_test.py | 28 from tensorflow.python.framework import errors 74 with self.assertRaises(errors.OutOfRangeError): 94 with self.assertRaises(errors.OutOfRangeError): 99 with self.assertRaises(errors.OutOfRangeError): 103 with self.assertRaises(errors.InvalidArgumentError): 132 with self.assertRaises(errors.OutOfRangeError): 165 with self.assertRaises(errors.OutOfRangeError): 189 with self.assertRaises(errors.OutOfRangeError): 208 errors.InvalidArgumentError, 241 with self.assertRaises(errors.OutOfRangeError) [all...] |
/prebuilts/go/darwin-x86/src/go/scanner/ |
errors.go | 34 // ErrorList is a list of *Errors. 44 // Reset resets an ErrorList to no errors. 70 // other errors are sorted by error message, and before any *Error 96 return "no errors" 100 return fmt.Sprintf("%s (and %d more errors)", p[0], len(p)-1) 112 // PrintError is a utility function that prints a list of errors to w,
|
/prebuilts/go/linux-x86/src/go/scanner/ |
errors.go | 34 // ErrorList is a list of *Errors. 44 // Reset resets an ErrorList to no errors. 70 // other errors are sorted by error message, and before any *Error 96 return "no errors" 100 return fmt.Sprintf("%s (and %d more errors)", p[0], len(p)-1) 112 // PrintError is a utility function that prints a list of errors to w,
|
/build/blueprint/ |
context_test.go | 19 "errors" 108 t.Errorf("unexpected parse errors:") 117 t.Errorf("unexpected dep errors:") 173 t.Errorf("unexpected parse errors:") 182 t.Errorf("unexpected dep errors:") 231 t.Errorf("unexpected parse errors:") 240 t.Errorf("unexpected dep errors:") 359 // test that WalkBlueprintsFiles reports syntax errors 387 errors.New(`Blueprints:3:18: expected "}", found String`), 388 errors.New(`dir1/Blueprints:4:3: expected "}", found EOF`) [all...] |
/external/tensorflow/tensorflow/core/platform/cloud/ |
retrying_file_system_test.cc | 31 method, errors::Unavailable(strings::StrCat("Retriable error #", i)))); 201 {std::make_tuple("Read", errors::Unavailable("Something is wrong")), 202 std::make_tuple("Read", errors::Unavailable("Wrong again")), 256 errors::FailedPrecondition("Failed precondition")), 306 {std::make_tuple("Sync", errors::Unavailable("Something is wrong")), 307 std::make_tuple("Sync", errors::Unavailable("Something is wrong again")), 332 {std::make_tuple("Close", errors::Unavailable("Something is wrong")), 334 errors::Unavailable("Something is wrong again")), 357 {std::make_tuple("Sync", errors::Unavailable("Something is wrong")), 358 std::make_tuple("Sync", errors::Unavailable("Something is wrong again")) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
ErrorManager.java | 50 /** Defines all the errors ANTLR can generator for both the tool and for 62 * find any errors/mismatches rather than leaving a mistyped string in 79 * During initialization of this class, all errors go straight to System.err. 81 * can I do errors properly? For example, if the string template group file 89 * TODO: get antlr.g etc.. parsing errors to come here. 92 // TOOL ERRORS 93 // file errors 112 // code gen errors 119 // GRAMMAR ERRORS 204 // Dependency sorting errors 261 public int errors; field in class:ErrorManager.ErrorState [all...] |
/external/python/cpython3/Lib/urllib/ |
parse.py | 94 errors=_implicit_errors): 95 return obj.encode(encoding, errors) 98 errors=_implicit_errors): 99 return tuple(x.decode(encoding, errors) if x else '' for x in args) 122 def encode(self, encoding='ascii', errors='strict'): 123 return self._encoded_counterpart(*(x.encode(encoding, errors) for x in self)) 130 def decode(self, encoding='ascii', errors='strict'): 131 return self._decoded_counterpart(*(x.decode(encoding, errors) for x in self)) 590 def unquote(string, encoding='utf-8', errors='replace'): 592 encoding and errors parameters specify how to decode percent-encode [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
tensor_array_ops.cc | 54 return errors::InvalidArgument("Unexpected non-TensorArray resource"); 58 return errors::InvalidArgument( 86 return errors::InvalidArgument( 100 return errors::InvalidArgument( 104 return errors::InvalidArgument("Uninitialized TensorArray passed to ", 108 return errors::InvalidArgument( 146 errors::Unimplemented( 156 errors::InvalidArgument("TensorArray size must be >= 0")); 308 errors::InvalidArgument("indices must be rank 1")); 376 errors::InvalidArgument("indices must be rank 1")) [all...] |
/hardware/qcom/gps/msm8909w_3100/location/ |
LocationAPIClientBase.h | 70 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {} 124 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 130 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {} 162 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { 163 mAPI.onGnssUpdateConfigCb(count, errors, ids); 212 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 246 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {} 248 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {} 250 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) {} 252 size_t /*count*/, LocationError* /*errors*/, uint32_t* /*ids*/) { [all...] |
/prebuilts/go/darwin-x86/src/plugin/ |
plugin_dlopen.go | 37 "errors" 59 return nil, errors.New(`plugin.Open("` + name + `"): realpath failed`) 68 return nil, errors.New(`plugin.Open("` + name + `"): ` + p.err + ` (previous failure)`) 77 return nil, errors.New(`plugin.Open("` + name + `"): ` + C.GoString(cErr)) 94 return nil, errors.New(`plugin.Open("` + name + `"): ` + errstr) 131 return nil, errors.New(`plugin.Open("` + name + `"): could not find symbol ` + symName + `: ` + C.GoString(cErr)) 153 return nil, errors.New("plugin: symbol " + symName + " not found in plugin " + p.pluginpath)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
route.go | 16 "errors" 22 errUnsupportedMessage = errors.New("unsupported message") 23 errMessageMismatch = errors.New("message mismatch") 24 errMessageTooShort = errors.New("message too short") 25 errInvalidMessage = errors.New("invalid message") 26 errInvalidAddr = errors.New("invalid address") 27 errShortBuffer = errors.New("short buffer")
|
/prebuilts/go/linux-x86/src/plugin/ |
plugin_dlopen.go | 37 "errors" 59 return nil, errors.New(`plugin.Open("` + name + `"): realpath failed`) 68 return nil, errors.New(`plugin.Open("` + name + `"): ` + p.err + ` (previous failure)`) 77 return nil, errors.New(`plugin.Open("` + name + `"): ` + C.GoString(cErr)) 94 return nil, errors.New(`plugin.Open("` + name + `"): ` + errstr) 131 return nil, errors.New(`plugin.Open("` + name + `"): could not find symbol ` + symName + `: ` + C.GoString(cErr)) 153 return nil, errors.New("plugin: symbol " + symName + " not found in plugin " + p.pluginpath)
|