Home
last modified time | relevance | path

Searched refs:Err (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/giflib/
Dgif_err.c20 const char *Err; in GifErrorString() local
24 Err = "Failed to open given file"; in GifErrorString()
27 Err = "Failed to write to given file"; in GifErrorString()
30 Err = "Screen descriptor has already been set"; in GifErrorString()
33 Err = "Image descriptor is still active"; in GifErrorString()
36 Err = "Neither global nor local color map"; in GifErrorString()
39 Err = "Number of pixels bigger than width * height"; in GifErrorString()
42 Err = "Failed to allocate required memory"; in GifErrorString()
45 Err = "Write failed (disk full?)"; in GifErrorString()
48 Err = "Failed to close given file"; in GifErrorString()
[all …]
/third_party/gn/src/gn/
Dfunctions.h13 class Err; variable
32 Err* err);
39 Err* err);
47 Err* err);
53 Err* err);
62 Err* err);
71 Err* err);
79 Err* err);
88 Err* err);
97 Err* err);
[all …]
Derr.h27 class Err {
41 std::vector<Err> sub_errs;
48 Err() = default;
51 Err(const Location& location,
56 Err(const LocationRange& range,
61 Err(const Token& token,
66 Err(const ParseNode* node,
71 Err(const Value& value,
75 Err(const Err& other);
76 Err(Err&& other) = default;
[all …]
Dbuilder.h19 class Err; variable
61 bool CheckForBadItems(Err* err) const;
67 bool TargetDefined(BuilderRecord* record, Err* err);
68 bool ConfigDefined(BuilderRecord* record, Err* err);
69 bool ToolchainDefined(BuilderRecord* record, Err* err);
80 Err* err);
90 Err* err);
94 Err* err);
97 Err* err);
100 Err* err);
[all …]
Derr.cc61 const Err::RangeList& ranges, in OutputHighlighedPosition()
89 Err::Err(const Err& other) { in Err() function in Err
94 Err::Err(const Location& location, in Err() function in Err
99 Err::Err(const LocationRange& range, in Err() function in Err
106 Err::Err(const Token& token, const std::string& msg, const std::string& help) in Err() function in Err
111 Err::Err(const ParseNode* node, in Err() function in Err
123 Err::Err(const Value& value, in Err() function in Err
134 Err& Err::operator=(const Err& other) { in operator =()
143 void Err::PrintToStdout() const { in PrintToStdout()
147 void Err::PrintNonfatalToStdout() const { in PrintNonfatalToStdout()
[all …]
Dvalue_extractors.h16 class Err; variable
26 Err* err);
33 Err* err);
41 Err* err);
48 Err* err);
57 Err* err);
68 Err* err);
74 Err* err);
80 Err* err);
86 Err* err);
[all …]
Doperators.cc28 Err* err);
51 void MakeUndefinedIdentifierForModifyError(Err* err);
77 Err* err) { in Init()
91 *err = Err(op_node, "Assignment requires a lvalue.", in Init()
105 *err = Err( in Init()
119 *err = Err(dest_accessor->base(), "Undefined identifier."); in Init()
130 *err = Err(dest_accessor->base(), err->message(), err->help_text()); in Init()
143 *err = Err(dest_accessor->base(), err->message(), err->help_text()); in Init()
187 void ValueDestination::MakeUndefinedIdentifierForModifyError(Err* err) { in MakeUndefinedIdentifierForModifyError()
192 *err = Err(*name_token_, "Undefined identifier."); in MakeUndefinedIdentifierForModifyError()
[all …]
Dfunctions.cc38 Err* err) { in VerifyNoBlockForFunctionCall()
43 Err(block, "Unexpected '{'.", in VerifyNoBlockForFunctionCall()
61 Err* err) { in EnsureNotReadingFromSameDeclareArgs()
75 Err(node, in EnsureNotReadingFromSameDeclareArgs()
85 Err* err) { in EnsureNotProcessingImport()
88 Err(node, "Not valid from an import.", in EnsureNotProcessingImport()
99 Err* err) { in EnsureNotProcessingBuildConfig()
101 *err = Err(node, "Not valid from the build config.", in EnsureNotProcessingBuildConfig()
115 Err* err) { in FillTargetBlockScope()
145 void FillNeedsBlockError(const FunctionCallNode* function, Err* err) { in FillNeedsBlockError()
[all …]
Dvalue_extractors.cc24 Err* err, in ListValueExtractor()
42 Err* err, in ListValueUniqueExtractor()
54 *err = Err(item, "Duplicate item in list"); in ListValueUniqueExtractor()
57 Err(input_list[previous_index], "This was the previous definition.")); in ListValueUniqueExtractor()
68 bool operator()(const Value& v, SourceFile* out, Err* err) const { in operator ()()
81 bool operator()(const Value& v, LibFile* out, Err* err) const { in operator ()()
85 *err = Err(v, "Unsupported value in libs.", in operator ()()
105 bool operator()(const Value& v, SourceDir* out, Err* err) const { in operator ()()
120 Err* err) const { in operator ()()
162 bool operator()(const Value& v, Label* out, Err* err) const { in operator ()()
[all …]
Dfunctions_target_unittest.cc26 Err err; in TEST_F()
36 err = Err(); in TEST_F()
55 Err err; in TEST_F()
65 err = Err(); in TEST_F()
75 err = Err(); in TEST_F()
86 err = Err(); in TEST_F()
97 err = Err(); in TEST_F()
107 err = Err(); in TEST_F()
118 err = Err(); in TEST_F()
128 err = Err(); in TEST_F()
[all …]
Dbuilder.cc68 Err err; in ItemDefined()
78 err = Err(item->defined_from(), "Duplicate definition.", in ItemDefined()
82 Err(record->item()->defined_from(), "Previous definition:")); in ItemDefined()
183 bool Builder::CheckForBadItems(Err* err) const { in CheckForBadItems()
220 *err = Err(Location(), "Unresolved dependencies.", depstring); in CheckForBadItems()
237 *err = Err(Location(), "", depstring); in CheckForBadItems()
239 *err = Err(Location(), "Dependency cycle:", depstring); in CheckForBadItems()
247 bool Builder::TargetDefined(BuilderRecord* record, Err* err) { in TargetDefined()
271 bool Builder::ConfigDefined(BuilderRecord* record, Err* err) { in ConfigDefined()
290 bool Builder::ToolchainDefined(BuilderRecord* record, Err* err) { in ToolchainDefined()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DEHFrameSupport.cpp58 if (auto Err = processBlock(G, B, BCache)) in operator ()() local
59 return Err; in operator ()()
93 if (auto Err = BlockReader.readInteger(Length)) in processBlock() local
94 return Err; in processBlock()
96 if (auto Err = BlockReader.skip(Length)) in processBlock() local
97 return Err; in processBlock()
100 if (auto Err = BlockReader.readInteger(ExtendedLength)) in processBlock() local
101 return Err; in processBlock()
102 if (auto Err = BlockReader.skip(ExtendedLength)) in processBlock() local
103 return Err; in processBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDataExtractor.cpp28 bool isLittleEndian, const char *Data, llvm::Error *Err) { in getU() argument
29 ErrorAsOutParameter ErrAsOut(Err); in getU()
31 if (isError(Err)) in getU()
36 unexpectedEndReached(Err); in getU()
51 llvm::Error *Err) { in getUs() argument
52 ErrorAsOutParameter ErrAsOut(Err); in getUs()
53 if (isError(Err)) in getUs()
59 unexpectedEndReached(Err); in getUs()
64 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data, Err); in getUs()
72 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const { in getU8()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCSerialization.h295 if (auto Err = in serialize() local
298 return Err; in serialize()
299 if (auto Err = SequenceTraits<ChannelT>::emitSeparator(C)) in serialize() local
300 return Err; in serialize()
308 if (auto Err = in deserialize() local
310 return Err; in deserialize()
311 if (auto Err = SequenceTraits<ChannelT>::consumeSeparator(C)) in deserialize() local
312 return Err; in deserialize()
336 std::function<Error(ChannelT &C, Error &Err)>;
367 if (auto Err = serializeSeq(C, *KeyName)) in registerErrorType() local
[all …]
DRPCUtils.h272 static void consumeAbandoned(ErrorReturnType Err) { in consumeAbandoned() argument
273 consumeError(std::move(Err)); in consumeAbandoned()
330 if (auto Err = C.startSendMessage(ResponseId, SeqNo)) in sendResult() local
331 return Err; in sendResult()
334 if (auto Err = in sendResult() local
338 return Err; in sendResult()
341 if (auto Err = C.endSendMessage()) in sendResult() local
342 return Err; in sendResult()
348 SequenceNumberT SeqNo, Error Err) { in sendResult() argument
349 if (Err && Err.isA<RPCFatalError>()) in sendResult()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DParser.cpp26 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() argument
34 return LLParser(F.getBuffer(), SM, Err, M, Index, in parseAssemblyInto()
41 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() argument
47 if (parseAssemblyInto(F, M.get(), nullptr, Err, Slots, UpgradeDebugInfo, in parseAssembly()
55 llvm::parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFile() argument
61 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
66 return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context, Slots, in parseAssemblyFile()
71 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyWithIndex() argument
78 if (parseAssemblyInto(F, M.get(), Index.get(), Err, Slots, UpgradeDebugInfo, in parseAssemblyWithIndex()
86 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndex() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp70 if (auto Err = readULEB128(Result)) in readIntMax() local
71 return Err; in readIntMax()
78 if (auto Err = readULEB128(Result)) in readSize() local
79 return Err; in readSize()
88 if (auto Err = readSize(Length)) in readString() local
89 return Err; in readString()
97 if (auto Err = readSize(NumFilenames)) in read() local
98 return Err; in read()
101 if (auto Err = readString(Filename)) in read() local
102 return Err; in read()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dfallible_iterator.h84 static fallible_iterator itr(Underlying I, Error &Err) { in itr() argument
85 (void)!!Err; in itr()
86 return fallible_iterator(std::move(I), &Err); in itr()
129 if (auto Err = I.inc()) variable
130 handleError(std::move(Err));
145 if (auto Err = I.dec()) variable
146 handleError(std::move(Err));
197 fallible_iterator(Underlying I, Error *Err) in fallible_iterator() argument
198 : I(std::move(I)), ErrState(Err, false) {} in fallible_iterator()
206 void handleError(Error Err) { in handleError() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp55 uint64_t Size, Error *Err) in ArchiveMemberHeader() argument
60 ErrorAsOutParameter ErrAsOutParam(Err); in ArchiveMemberHeader()
63 if (Err) { in ArchiveMemberHeader()
70 *Err = malformedError(Msg + "at offset " + Twine(Offset)); in ArchiveMemberHeader()
72 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
77 if (Err) { in ArchiveMemberHeader()
90 *Err = malformedError(Msg + "at offset " + Twine(Offset)); in ArchiveMemberHeader()
92 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
327 Archive::Child::Child(const Archive *Parent, const char *Start, Error *Err) in Child() argument
332 : 0, Err) { in Child()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/
DParser.h44 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
64 SMDiagnostic &Err,
94 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err,
108 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err);
120 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
139 SMDiagnostic &Err,
152 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err);
171 SMDiagnostic &Err, SlotMapping *Slots = nullptr,
183 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
191 Type *parseType(StringRef Asm, SMDiagnostic &Err, const Module &M,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDataExtractor.h56 Error Err; variable
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor()
67 explicit operator bool() { return !Err; }
75 Error takeError() { return std::move(Err); } in takeError()
175 Error *Err = nullptr) const;
181 return getUnsigned(&C.Offset, Size, &C.Err); in getUnsigned()
255 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const;
260 uint8_t getU8(Cursor &C) const { return getU8(&C.Offset, &C.Err); } in getU8()
329 uint16_t getU16(uint64_t *offset_ptr, Error *Err = nullptr) const;
334 uint16_t getU16(Cursor &C) const { return getU16(&C.Offset, &C.Err); } in getU16()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DPipeline.cpp42 if (Error Err = runCycle()) in run() local
43 return std::move(Err); in run()
52 Error Err = ErrorSuccess(); in runCycle() local
54 for (auto I = Stages.rbegin(), E = Stages.rend(); I != E && !Err; ++I) { in runCycle()
56 Err = S->cycleStart(); in runCycle()
62 while (!Err && FirstStage.isAvailable(IR)) in runCycle()
63 Err = FirstStage.execute(IR); in runCycle()
67 Err = S->cycleEnd(); in runCycle()
68 if (Err) in runCycle()
72 return Err; in runCycle()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp45 void notifyFailed(Error Err) override { in notifyFailed() argument
46 Layer.getExecutionSession().reportError(std::move(Err)); in notifyFailed()
139 if (auto Err = MR.defineMaterializing(ExtraSymbolsToClaim)) in notifyResolved() local
140 return notifyFailed(std::move(Err)); in notifyResolved()
141 if (auto Err = MR.notifyResolved(InternedResult)) { in notifyResolved() local
142 Layer.getExecutionSession().reportError(std::move(Err)); in notifyResolved()
151 if (auto Err = Layer.notifyEmitted(MR, std::move(A))) { in notifyFinalized() local
152 Layer.getExecutionSession().reportError(std::move(Err)); in notifyFinalized()
156 if (auto Err = MR.notifyEmitted()) { in notifyFinalized() local
157 Layer.getExecutionSession().reportError(std::move(Err)); in notifyFinalized()
[all …]
DLLJIT.cpp66 if (auto Err = in addIRModule() local
68 return Err; in addIRModule()
130 LLJIT::LLJIT(LLJITBuilderState &S, Error &Err) in LLJIT() argument
137 ErrorAsOutParameter _(&Err); in LLJIT()
142 Err = DLOrErr.takeError(); in LLJIT()
149 Err = CompileFunction.takeError(); in LLJIT()
196 if (auto Err = LLJITBuilderState::prepareForConstruction()) in prepareForConstruction() local
197 return Err; in prepareForConstruction()
205 if (auto Err = TSM.withModuleDo([&](Module &M) -> Error { in addLazyIRModule() local
206 if (auto Err = applyDataLayout(M)) in addLazyIRModule() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp33 llvm::getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule() argument
41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
49 return parseAssembly(Buffer->getMemBufferRef(), Err, Context); in getLazyIRModule()
53 SMDiagnostic &Err, in getLazyIRFileModule() argument
59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
64 return getLazyIRModule(std::move(FileOrErr.get()), Err, Context, in getLazyIRFileModule()
68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR() argument
81 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
91 return parseAssembly(Buffer, Err, Context, nullptr, UpgradeDebugInfo, in parseIR()
95 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile() argument
[all …]

12345678910>>...20