Home
last modified time | relevance | path

Searched full:makeerror (Results 1 – 24 of 24) sorted by relevance

/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DJSON.kt137 makeError(data, "Extraneous charaters after parse has finished", tok) in parse()
153 else -> makeError(data, "Unexpected Character while parsing", 'x'.toByte()) in parseValue()
172 else -> makeError(data, "Expecting start of object key", tok) in parseObject()
175 makeError(data, "Unable to parse the object", "x".toByte()) in parseObject()
209 makeError(data, "Unable to parse the array") in parseArray()
238 !in CHAR_0..CHAR_9 -> makeError(data, "Invalid Number", c) in parseNumber()
259 makeError(data, "Invalid Number", c) in parseNumber()
290 makeError(data, "Missing exponent", c) in parseNumber()
413 pos == -1 -> makeError(data, "Unexpected EOF, missing end of string '\"'", first) in readStringSlow()
431 if (doubleQuotePos == -1) makeError(data, "Reached EOF before enclosing string", first) in readStringSlow()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/common/
Derror_test.cc83 constexpr Error<TestError> MakeError(TestError proto_code) { in MakeError() function
114 const Error error = MakeError(TestError::kFail1); in TEST()
143 constexpr Error different_specific_error = MakeError(TestError::kFail1); in TEST()
174 const Error error = MakeError(TestError::kFail1); in TEST()
187 const Error error = MakeError(TestError::kFail1); in TEST()
199 constexpr Error error = MakeError(TestError::kFail1); in TEST()
214 const Error error = MakeError(TestError::kFail1); in TEST()
223 EXPECT_NE(MakeError(TestError::kFail2), error); in TEST()
254 fit::error(MakeError(TestError::kFail1)); in TEST()
256 fit::error(MakeError(TestError::kFail2)); in TEST()
[all …]
/external/cronet/net/http/
Dmock_http_cache.cc402 EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE))); in OpenOrCreateEntry()
403 return EntryResult::MakeError(ERR_IO_PENDING); in OpenOrCreateEntry()
407 return EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE); in OpenOrCreateEntry()
422 return EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE); in OpenOrCreateEntry()
432 std::move(callback), EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE))); in OpenEntry()
433 return EntryResult::MakeError(ERR_IO_PENDING); in OpenEntry()
437 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
441 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
446 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
466 return EntryResult::MakeError(ERR_IO_PENDING); in OpenEntry()
[all …]
Dhttp_cache_unittest.cc6029 std::move(callback).Run(disk_cache::BackendResult::MakeError(ERR_ABORTED)); in TEST_F()
/external/rust/crates/hyper/src/service/
Dmake.rs48 type MakeError: Into<Box<dyn StdError + Send + Sync>>; typedef
49 type Future: Future<Output = Result<Self::Service, Self::MakeError>>;
62 fn poll_ready_ref(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::MakeError>>; in poll_ready_ref() argument
80 type MakeError = ME; typedef
85 fn poll_ready_ref(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::MakeError>> { in poll_ready_ref() argument
/external/rust/crates/tower/src/make/
Dmake_service.rs32 type MakeError; typedef
35 type Future: Future<Output = Result<Self::Service, Self::MakeError>>;
45 fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::MakeError>>; in poll_ready() argument
147 type MakeError = M::Error; typedef
150 fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::MakeError>> { in poll_ready() argument
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/
Dkernel_ops_pattern.cc131 static llvm::Error MakeError(llvm::StringRef message) { in MakeError() function
134 static llvm::Error MakeError(xla::Status status) { in MakeError() function
135 return MakeError(status.error_message()); in MakeError()
203 return MakeError("Expected static shapes"); in GetAllocations()
205 if (!element_size_bytes.ok()) return MakeError(element_size_bytes.status()); in GetAllocations()
242 if (!ir_emitter.ok()) return MakeError(ir_emitter.status()); in Emit()
245 if (!emit_status.ok()) return MakeError(emit_status); in Emit()
306 return MakeError("Expected only kernel, copy, memset, and memzero thunks"); in Match()
314 if (!hsaco.ok()) return MakeError(hsaco.status()); in Match()
321 if (!ptx.ok()) return MakeError(ptx.status()); in Match()
/external/rust/crates/tower/src/balance/pool/
Dmod.rs85 MS::MakeError: Into<crate::BoxError>,
89 type Item = Result<Change<usize, DropNotifyService<MS::Service>>, MS::MakeError>;
276 MS::MakeError: Into<crate::BoxError>, in build()
304 MS::MakeError: Into<crate::BoxError>,
317 MS::MakeError: Into<crate::BoxError>,
336 MS::MakeError: Into<crate::BoxError>,
358 MS::MakeError: Into<crate::BoxError>,
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DTestBase.kt84 throw makeError(message, cause) in <lambda>()
89 private fun makeError(message: Any, cause: Throwable? = null): IllegalStateException = in <lambda>() method in kotlinx.coroutines.TestBase
183makeError("Expecting that 'finish(${actionIndex.get() + 1})' was invoked, but it was not") in <lambda>()
199 makeError("Expected no uncaught exceptions, but got $uncaughtExceptions") in <lambda>()
/external/cronet/net/disk_cache/simple/
Dsimple_backend_impl.cc392 return EntryResult::MakeError(net::ERR_FAILED); in OpenEntry()
401 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenEntry()
433 return EntryResult::MakeError(net::ERR_IO_PENDING); in CreateEntry()
469 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenOrCreateEntry()
579 return EntryResult::MakeError(net::ERR_FAILED); in OpenNextEntry()
584 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenNextEntry()
590 std::move(callback).Run(EntryResult::MakeError(net::ERR_FAILED)); in OpenNextEntryImpl()
594 std::move(callback).Run(EntryResult::MakeError( in OpenNextEntryImpl()
620 std::move(callback).Run(EntryResult::MakeError(net::ERR_FAILED)); in OpenNextEntryImpl()
848 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenEntryFromHash()
Dsimple_entry_impl.cc186 return EntryResult::MakeError(net::ERR_FAILED); in OpenEntry()
192 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenEntry()
201 EntryResult result = EntryResult::MakeError(net::ERR_IO_PENDING); in CreateEntry()
247 EntryResult result = EntryResult::MakeError(net::ERR_IO_PENDING); in OpenOrCreateEntry()
779 EntryResult::MakeError(net::ERR_FAILED)); in OpenEntryInternal()
834 EntryResult::MakeError(net::ERR_FAILED)); in CreateEntryInternal()
886 EntryResult::MakeError(net::ERR_FAILED)); in OpenOrCreateEntryInternal()
1392 EntryResult::MakeError(net::ERR_FAILED)); in CreationOperationComplete()
/external/cronet/net/disk_cache/memory/
Dmem_backend_impl.cc177 return EntryResult::MakeError(net::ERR_FAILED); in OpenEntry()
191 return EntryResult::MakeError(net::ERR_FAILED); in CreateEntry()
273 return EntryResult::MakeError(net::ERR_FAILED); in OpenNextEntry()
287 return EntryResult::MakeError(net::ERR_FAILED); in OpenNextEntry()
/external/tensorflow/tensorflow/compiler/xla/
Dstatus_macros.cc76 static Status MakeError(const char* filename, int line, in MakeError() function
155 return MakeError( in GetStatus()
161 return MakeError(file_, line_, code_, str, should_log_, log_severity_, in GetStatus()
/external/cronet/net/disk_cache/
Ddisk_cache.cc209 result = disk_cache::BackendResult::MakeError( in DoCallback()
297 BackendResult BackendResult::MakeError(net::Error error_in) { in MakeError() function in disk_cache::BackendResult
339 return BackendResult::MakeError(net::ERR_FAILED); in CreateCacheBackendImpl()
353 return BackendResult::MakeError(creator->Run()); in CreateCacheBackendImpl()
356 return BackendResult::MakeError(creator->TryCreateCleanupTrackerAndRun()); in CreateCacheBackendImpl()
491 EntryResult EntryResult::MakeError(net::Error status) { in MakeError() function in disk_cache::EntryResult
Ddisk_cache.h67 // `error_in` should not be net::OK for MakeError().
68 static BackendResult MakeError(net::Error error_in);
528 static EntryResult MakeError(net::Error status);
Ddisk_cache_fuzzer.cc172 disk_cache::EntryResult::MakeError(net::ERR_IO_PENDING));
388 disk_cache::EntryResult::MakeError(net::ERR_FILE_VIRUS_INFECTED)); in OpenCacheEntryCallback()
/external/doclava/src/com/google/doclava/
DLinkReference.java361 result.makeError(); in parse()
373 result.makeError(); in parse()
422 result.makeError(); in parse()
463 private void makeError() { in makeError() method in LinkReference
/external/rust/crates/serde_cbor/src/
Dde.rs899 trait MakeError { interface
932 impl<'de, 'a, R> MakeError for SeqAccess<'a, R>
966 impl<'de, 'a, R> MakeError for IndefiniteSeqAccess<'a, R>
1023 impl<'de, 'a, R> MakeError for MapAccess<'a, R>
1139 T: de::SeqAccess<'de, Error = Error> + MakeError,
1159 T: de::SeqAccess<'de, Error = Error> + MakeError,
1307 T: de::MapAccess<'de, Error = Error> + MakeError,
1327 T: de::MapAccess<'de, Error = Error> + MakeError,
/external/perfetto/ui/src/trace_processor/
Dquery_result.ts724 private makeError(message: string): QueryError { method in RowIteratorImpl
731 throw this.makeError(
810 throw this.makeError(`Invalid cell type ${cellType}`);
843 throw this.makeError(
890 throw this.makeError(message);
/external/cronet/net/disk_cache/blockfile/
Dbackend_impl.cc1177 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenOrCreateEntry()
1185 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenEntry()
1193 return EntryResult::MakeError(net::ERR_IO_PENDING); in CreateEntry()
1250 return EntryResult::MakeError(net::ERR_FAILED); in OpenNextEntry()
1252 return EntryResult::MakeError(net::ERR_IO_PENDING); in OpenNextEntry()
Din_flight_backend_io.cc126 entry_result = EntryResult::MakeError(static_cast<net::Error>(result())); in RunEntryResultCallback()
/external/pigweed/
Dpackage-lock.json8063 "node_modules/makeerror": {
8065 "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
11358 "makeerror": "1.0.12" string
17369 "makeerror": { object
17371 "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
19567 "makeerror": "1.0.12" string
/external/pigweed/pw_ide/ts/pigweed-vscode/
Dpackage-lock.json4631 "node_modules/makeerror": {
6236 "makeerror": "1.0.12" string
/external/perfetto/ui/
Dpnpm-lock.yaml4391 /makeerror@1.0.12:
6291 makeerror: 1.0.12