Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
H A 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 …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/zstd/
Dhuff.go70 return 0, 0, rbr.makeError("Huffman count overflow")
85 return 0, 0, rbr.makeError("Huffman count overflow")
95 return 0, 0, rbr.makeError("Huffman count overflow")
110 return 0, 0, rbr.makeError("Huffman count overflow")
139 return 0, 0, r.makeError(off, "Huffman weight overflow")
147 return 0, 0, r.makeError(off, "bad Huffman weights")
152 return 0, 0, r.makeError(off, "bad Huffman weights")
156 return 0, 0, r.makeError(off, "Huffman table too small")
163 return 0, 0, r.makeError(off, "bad Huffman weights")
167 return 0, 0, r.makeError(off, "bad Huffman weights")
[all …]
Dliterals.go57 return 0, nil, r.makeError(off, "literal size too large")
63 return 0, nil, r.makeError(off, "raw literal size too large")
70 return 0, nil, r.makeError(off, "RLE literal missing")
125 return 0, nil, r.makeError(off, "literal size too large")
149 return 0, nil, r.makeError(off, "Huffman table too big")
157 return 0, nil, r.makeError(off, "missing literals Huffman tree")
193 return nil, rbr.makeError("literals Huffman stream out of bits")
215 return nil, r.makeError(off, "total streams size too small for jump table")
223 return nil, r.makeError(off, "regenerated size too small to decode streams")
291 return 0, rbr.makeError("literals Huffman stream out of bits")
Dbits.go65 // makeError returns an error at the current offset wrapping a string.
66 func (br *bitReader) makeError(msg string) error { func
67 return br.r.makeError(int(br.off), msg)
86 return reverseBitReader{}, r.makeError(off, "zero byte at reverse bit stream start")
127 // makeError returns an error at the current offset wrapping a string.
128 func (rbr *reverseBitReader) makeError(msg string) error { func
129 return rbr.r.makeError(int(rbr.off), msg)
Dzstd.go190 return r.makeError(relativeOffset, "invalid magic number")
216 return r.makeError(relativeOffset, "reserved bit set in frame header descriptor")
253 return r.makeError(relativeOffset, "windowSize too large")
263 return r.makeError(relativeOffset, "dictionaries are not supported")
409 return r.makeError(relativeOffset, "block size too large")
439 return r.makeError(relativeOffset, "invalid block type")
444 return r.makeError(relativeOffset, "too many uncompressed bytes in frame")
457 return r.makeError(relativeOffset, "not enough uncompressed bytes for frame")
514 func (r *Reader) makeError(off int, msg string) error { func
Dblock.go51 return r.makeError(off, "extraneous data after no sequences")
146 return 0, 0, r.makeError(off, "invalid symbol compression mode")
241 return 0, r.makeError(off, "missing repeat sequence FSE table")
277 return rbr.makeError("uncompressed size too big")
362 return rbr.makeError("literal byte overflow")
379 return r.makeError(off, "extraneous data after sequences")
388 return rbr.makeError("invalid zero offset")
402 return rbr.makeError("offset past window")
Dfse.go32 return 0, 0, br.makeError("FSE accuracy log too large")
88 return 0, 0, br.makeError("FSE symbol index overflow")
123 return 0, 0, br.makeError("FSE sym overflow")
137 return 0, 0, br.makeError("too many symbols in FSE table")
185 return r.makeError(off, "FSE count error")
194 return r.makeError(off, "FSE state error")
261 return r.makeError(off, "FSE baseline symbol overflow")
281 return r.makeError(off, "FSE offset symbol overflow")
354 return r.makeError(off, "FSE baseline symbol overflow")
/aosp_15_r20/external/cronet/net/http/
H A Dmock_http_cache.cc434 EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE))); in OpenOrCreateEntry()
435 return EntryResult::MakeError(ERR_IO_PENDING); in OpenOrCreateEntry()
439 return EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE); in OpenOrCreateEntry()
457 return EntryResult::MakeError(ERR_CACHE_OPEN_OR_CREATE_FAILURE); in OpenOrCreateEntry()
467 std::move(callback), EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE))); in OpenEntry()
468 return EntryResult::MakeError(ERR_IO_PENDING); in OpenEntry()
472 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
477 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
483 return EntryResult::MakeError(ERR_CACHE_OPEN_FAILURE); in OpenEntry()
504 return EntryResult::MakeError(ERR_IO_PENDING); in OpenEntry()
[all …]
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/common/
H A 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 …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/
H A 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()
/aosp_15_r20/external/cronet/net/disk_cache/simple/
H A 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()
H A 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()
783 EntryResult::MakeError(net::ERR_FAILED)); in OpenEntryInternal()
838 EntryResult::MakeError(net::ERR_FAILED)); in CreateEntryInternal()
890 EntryResult::MakeError(net::ERR_FAILED)); in OpenOrCreateEntryInternal()
1402 EntryResult::MakeError(net::ERR_FAILED)); in CreationOperationComplete()
/aosp_15_r20/external/rust/android-crates-io/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>,
/aosp_15_r20/external/rust/android-crates-io/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
/aosp_15_r20/external/rust/android-crates-io/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
/aosp_15_r20/external/cronet/net/disk_cache/
H A 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
/aosp_15_r20/external/cronet/net/disk_cache/memory/
H A 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()
/aosp_15_r20/system/extras/libjsonpb/parse/
H A Djsonpb.cpp51 return MakeError<std::string>(std::string(status.message())); in MessageToJsonString()
64 return MakeError<std::monostate>(std::string(status.message())); in JsonStringToMessage()
67 return MakeError<std::monostate>("Fail to parse."); in JsonStringToMessage()
/aosp_15_r20/system/extras/libjsonpb/parse/include/jsonpb/
H A Derror_or.h53 static ErrorOr<T> MakeError(std::string message) { in MakeError() function
67 inline ErrorOr<T> MakeError(std::string message) { in MakeError() function
68 return ErrorOr<T>::MakeError(std::move(message)); in MakeError()
/aosp_15_r20/external/rust/android-crates-io/crates/serde_cbor/src/
Dde.rs899 trait MakeError { trait
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,
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/
H A 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()
/aosp_15_r20/external/doclava/src/com/google/doclava/
H A 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
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/common/test/
H A DResilientBufferTest.cpp55 constexpr auto makeError = [](nn::ErrorStatus status) { in __anonf50213990202() variable
58 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
59 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);
H A DResilientExecution.cpp51 constexpr auto makeError = [](nn::ErrorStatus status) { in __anoneb27f0130202() variable
54 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
55 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);
H A DResilientPreparedModelTest.cpp52 constexpr auto makeError = [](nn::ErrorStatus status) { in __anon432be2430202() variable
55 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
56 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);

12