Home
last modified time | relevance | path

Searched refs:EC (Results 1 – 25 of 986) sorted by relevance

12345678910>>...40

/external/boringssl/src/crypto/err/
Dec.errordata1 EC,126,BIGNUM_OUT_OF_RANGE
2 EC,100,BUFFER_TOO_SMALL
3 EC,101,COORDINATES_OUT_OF_RANGE
4 EC,102,D2I_ECPKPARAMETERS_FAILURE
5 EC,128,DECODE_ERROR
6 EC,103,EC_GROUP_NEW_BY_NAME_FAILURE
7 EC,129,ENCODE_ERROR
8 EC,104,GROUP2PKPARAMETERS_FAILURE
9 EC,130,GROUP_MISMATCH
10 EC,105,I2D_ECPKPARAMETERS_FAILURE
[all …]
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp246 std::error_code EC; in readNumber() local
250 EC = sampleprof_error::malformed; in readNumber()
252 EC = sampleprof_error::truncated; in readNumber()
254 EC = sampleprof_error::success; in readNumber()
256 if (EC) { in readNumber()
257 reportError(0, EC.message()); in readNumber()
258 return EC; in readNumber()
266 std::error_code EC; in readString() local
269 EC = sampleprof_error::truncated; in readString()
270 reportError(0, EC.message()); in readString()
[all …]
DSampleProfWriter.cpp75 if (std::error_code EC = write(CalleeSamples)) in write() local
76 return EC; in write()
121 if (auto EC = writeSummary()) in writeHeader() local
122 return EC; in writeHeader()
158 if (std::error_code EC = writeNameIdx(S.getName())) in writeBody() local
159 return EC; in writeBody()
175 if (std::error_code EC = writeNameIdx(Callee)) in writeBody() local
176 return EC; in writeBody()
188 if (std::error_code EC = writeBody(CalleeSamples)) in writeBody() local
189 return EC; in writeBody()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DIntEqClasses.cpp27 EC.reserve(N); in grow()
28 while (EC.size() < N) in grow()
29 EC.push_back(EC.size()); in grow()
34 unsigned eca = EC[a]; in join()
35 unsigned ecb = EC[b]; in join()
41 EC[b] = eca, b = ecb, ecb = EC[b]; in join()
43 EC[a] = ecb, a = eca, eca = EC[a]; in join()
48 while (a != EC[a]) in findLeader()
49 a = EC[a]; in findLeader()
56 for (unsigned i = 0, e = EC.size(); i != e; ++i) in compress()
[all …]
/external/llvm/lib/Support/
DIntEqClasses.cpp27 EC.reserve(N); in grow()
28 while (EC.size() < N) in grow()
29 EC.push_back(EC.size()); in grow()
34 unsigned eca = EC[a]; in join()
35 unsigned ecb = EC[b]; in join()
41 EC[b] = eca; in join()
43 ecb = EC[b]; in join()
45 EC[a] = ecb; in join()
47 eca = EC[a]; in join()
55 while (a != EC[a]) in findLeader()
[all …]
DFileOutputBuffer.cpp42 std::error_code EC = sys::fs::status(FilePath, Stat); in create() local
54 if (EC) in create()
55 return EC; in create()
61 EC = sys::fs::remove(FilePath); in create()
62 if (EC) in create()
63 return EC; in create()
73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD, in create()
75 if (EC) in create()
76 return EC; in create()
86 EC = sys::fs::resize_file(FD, Size); in create()
[all …]
DError.cpp78 Error errorCodeToError(std::error_code EC) { in errorCodeToError() argument
79 if (!EC) in errorCodeToError()
81 return Error(llvm::make_unique<ECError>(ECError(EC))); in errorCodeToError()
85 std::error_code EC; in errorToErrorCode() local
87 EC = EI.convertToErrorCode(); in errorToErrorCode()
89 if (EC == inconvertibleErrorCode()) in errorToErrorCode()
90 report_fatal_error(EC.message()); in errorToErrorCode()
91 return EC; in errorToErrorCode()
94 StringError::StringError(const Twine &S, std::error_code EC) in StringError() argument
95 : Msg(S.str()), EC(EC) {} in StringError()
[all …]
/external/llvm/unittests/Support/
DMemoryTest.cpp60 std::error_code EC; in TEST_P() local
61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P()
62 EXPECT_EQ(std::error_code(), EC); in TEST_P()
71 std::error_code EC; in TEST_P() local
72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P()
73 EXPECT_EQ(std::error_code(), EC); in TEST_P()
74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC); in TEST_P()
75 EXPECT_EQ(std::error_code(), EC); in TEST_P()
76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); in TEST_P()
77 EXPECT_EQ(std::error_code(), EC); in TEST_P()
[all …]
DLockFileManagerTest.cpp22 std::error_code EC; in TEST() local
23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
24 ASSERT_FALSE(EC); in TEST()
43 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
44 ASSERT_FALSE(EC); in TEST()
49 std::error_code EC; in TEST() local
50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
51 ASSERT_FALSE(EC); in TEST()
63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); in TEST()
64 ASSERT_FALSE(EC); in TEST()
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DNameMap.cpp27 if (auto EC = Stream.readInteger(NumberOfBytes)) in load() local
28 return joinErrors(std::move(EC), in load()
42 if (auto EC = Stream.readInteger(HashSize)) in load() local
43 return joinErrors(std::move(EC), in load()
50 if (auto EC = Stream.readInteger(MaxNumberOfStrings)) in load() local
51 return joinErrors(std::move(EC), in load()
64 if (auto EC = Stream.readInteger(NumPresentWords)) in load() local
65 return joinErrors(std::move(EC), in load()
76 if (auto EC = Stream.readInteger(Word)) in load() local
77 return joinErrors(std::move(EC), in load()
[all …]
DPDBFile.cpp81 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() local
82 return std::move(EC); in getBlockData()
105 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders() local
106 consumeError(std::move(EC)); in parseFileHeaders()
111 if (auto EC = setSuperBlock(SB)) in parseFileHeaders() local
112 return EC; in parseFileHeaders()
115 if (auto EC = Reader.readArray(DirectoryBlocks, getNumDirectoryBlocks())) in parseFileHeaders() local
116 return EC; in parseFileHeaders()
137 if (auto EC = Reader.readInteger(NumStreams)) in parseStreamData() local
138 return EC; in parseStreamData()
[all …]
DDbiStream.cpp77 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs() local
78 return EC; in loadSectionContribs()
95 if (auto EC = Reader.readObject(Header)) in reload() local
148 if (auto EC = Reader.readArray(ModInfoArray, Header->ModiSubstreamSize)) in reload() local
149 return EC; in reload()
154 if (auto EC = Reader.readStreamRef(SecContrSubstream, in reload() local
156 return EC; in reload()
157 if (auto EC = Reader.readStreamRef(SecMapSubstream, Header->SectionMapSize)) in reload() local
158 return EC; in reload()
159 if (auto EC = Reader.readStreamRef(FileInfoSubstream, Header->FileInfoSize)) in reload() local
[all …]
DModStream.cpp42 if (auto EC = Reader.readInteger(SymbolSubstreamSig)) in reload() local
43 return EC; in reload()
44 if (auto EC = Reader.readArray(SymbolsSubstream, SymbolSize - 4)) in reload() local
45 return EC; in reload()
47 if (auto EC = Reader.readStreamRef(LinesSubstream, C11Size)) in reload() local
48 return EC; in reload()
49 if (auto EC = Reader.readStreamRef(C13LinesSubstream, C13Size)) in reload() local
50 return EC; in reload()
53 if (auto EC = LineReader.readArray(LineInfo, LineReader.bytesRemaining())) in reload() local
54 return EC; in reload()
[all …]
DNameHashTable.cpp32 if (auto EC = Stream.readObject(H)) in load() local
33 return EC; in load()
44 if (auto EC = Stream.readStreamRef(NamesBuffer, H->ByteSize)) in load() local
45 return joinErrors(std::move(EC), in load()
50 if (auto EC = Stream.readObject(HashCount)) in load() local
51 return EC; in load()
53 if (auto EC = Stream.readArray(IDs, *HashCount)) in load() local
54 return joinErrors(std::move(EC), in load()
62 if (auto EC = Stream.readInteger(NameCount)) in load() local
63 return EC; in load()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp87 if (std::error_code EC = TableOrErr.getError()) in dump() local
88 return EC; in dump()
94 if (std::error_code EC = S.getError()) in dump() local
95 return EC; in dump()
101 if (std::error_code EC = S.getError()) in dump() local
102 return EC; in dump()
108 if (std::error_code EC = G.getError()) in dump() local
109 return EC; in dump()
115 if (std::error_code EC = G.getError()) in dump() local
116 return EC; in dump()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DCVTypeVisitor.cpp29 if (auto EC = Callbacks.visitTypeBegin(Record)) in visitTypeRecord() local
30 return EC; in visitTypeRecord()
33 if (auto EC = Callbacks.visitUnknownType(Record)) in visitTypeRecord() local
34 return EC; in visitTypeRecord()
37 if (auto EC = Callbacks.visitFieldListBegin(Record)) in visitTypeRecord() local
38 return EC; in visitTypeRecord()
39 if (auto EC = visitFieldList(Record)) in visitTypeRecord() local
40 return EC; in visitTypeRecord()
41 if (auto EC = Callbacks.visitFieldListEnd(Record)) in visitTypeRecord() local
42 return EC; in visitTypeRecord()
[all …]
DStreamWriter.cpp22 if (auto EC = Stream.writeBytes(Offset, Buffer)) in writeBytes() local
23 return EC; in writeBytes()
37 if (auto EC = writeFixedString(Str)) in writeZeroString() local
38 return EC; in writeZeroString()
39 if (auto EC = writeObject('\0')) in writeZeroString() local
40 return EC; in writeZeroString()
47 if (auto EC = Stream.writeBytes(Offset, Bytes)) in writeFixedString() local
48 return EC; in writeFixedString()
55 if (auto EC = writeStreamRef(Ref, Ref.getLength())) in writeStreamRef() local
56 return EC; in writeStreamRef()
[all …]
DStreamReader.cpp21 if (auto EC = Stream.readLongestContiguousChunk(Offset, Buffer)) in readLongestContiguousChunk() local
22 return EC; in readLongestContiguousChunk()
28 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes() local
29 return EC; in readBytes()
36 if (auto EC = readObject(P)) in readInteger() local
37 return EC; in readInteger()
44 if (auto EC = readObject(P)) in readInteger() local
45 return EC; in readInteger()
56 if (auto EC = readObject(C)) in readZeroString() local
57 return EC; in readZeroString()
[all …]
/external/clang/lib/Frontend/
DSerializedDiagnosticReader.cpp46 std::error_code EC; in readDiagnostics() local
53 if ((EC = readMetaBlock(Stream))) in readDiagnostics()
54 return EC; in readDiagnostics()
57 if ((EC = readDiagnosticBlock(Stream))) in readDiagnostics()
58 return EC; in readDiagnostics()
153 std::error_code EC; in readDiagnosticBlock() local
154 if ((EC = visitStartOfDiagnostic())) in readDiagnosticBlock()
155 return EC; in readDiagnosticBlock()
168 if ((EC = readDiagnosticBlock(Stream))) in readDiagnosticBlock()
169 return EC; in readDiagnosticBlock()
[all …]
/external/llvm/lib/Object/
DCOFFObjectFile.cpp34 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize() argument
36 EC = object_error::unexpected_eof; in checkSize()
59 if (std::error_code EC = checkOffset(M, Addr, Size)) in getObject() local
60 return EC; in getObject()
150 std::error_code EC = getSymbolName(Symb, Result); in getSymbolName() local
151 if (EC) in getSymbolName()
152 return errorCodeToError(EC); in getSymbolName()
170 if (std::error_code EC = getSection(SectionNumber, Section)) in getSymbolAddress() local
171 return errorCodeToError(EC); in getSymbolAddress()
243 if (std::error_code EC = getSection(Symb.getSectionNumber(), Sec)) in getSymbolSection() local
[all …]
/external/spirv-llvm/tools/llvm-spirv/
Dllvm-spirv.cpp131 if (std::error_code EC = MOrErr.getError()) { in convertLLVMToSPIRV() local
132 errs() << "Fails to load bitcode: " << EC.message(); in convertLLVMToSPIRV()
138 if (std::error_code EC = M->materializeAll()){ in convertLLVMToSPIRV() local
139 errs() << "Fails to materialize: " << EC.message(); in convertLLVMToSPIRV()
152 std::error_code EC; in convertLLVMToSPIRV() local
153 llvm::raw_fd_ostream OFS(outFile, EC, llvm::sys::fs::F_None); in convertLLVMToSPIRV()
189 std::error_code EC; in convertSPIRVToLLVM() local
190 tool_output_file Out(OutputFile.c_str(), EC, sys::fs::F_None); in convertSPIRVToLLVM()
191 if (EC) { in convertSPIRVToLLVM()
192 errs() << "Fails to open output file: " << EC.message(); in convertSPIRVToLLVM()
[all …]
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c82 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
96 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
107 OPENSSL_PUT_ERROR(EC, EC_R_GROUP_MISMATCH); in EC_KEY_parse_private_key()
111 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
117 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); in EC_KEY_parse_private_key()
137 OPENSSL_PUT_ERROR(EC, EC_R_WRONG_ORDER); in EC_KEY_parse_private_key()
156 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
175 OPENSSL_PUT_ERROR(EC, EC_R_DECODE_ERROR); in EC_KEY_parse_private_key()
196 OPENSSL_PUT_ERROR(EC, ERR_R_PASSED_NULL_PARAMETER); in EC_KEY_marshal_private_key()
207 OPENSSL_PUT_ERROR(EC, EC_R_ENCODE_ERROR); in EC_KEY_marshal_private_key()
[all …]
/external/clang/test/CXX/expr/expr.post/expr.static.cast/
Dp9-0x.cpp4 enum class EC { ec1 }; enum
6 void test0(EC ec) { in test0()
8 (void)static_cast<bool>(EC::ec1); in test0()
10 (void)static_cast<char>(EC::ec1); in test0()
12 (void)static_cast<int>(EC::ec1); in test0()
14 (void)static_cast<unsigned long>(EC::ec1); in test0()
16 (void)static_cast<float>(EC::ec1); in test0()
18 (void)static_cast<double>(EC::ec1); in test0()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp109 std::error_code &EC) override { in dir_begin() argument
289 std::error_code EC; in ScopedDir() local
291 EC = llvm::sys::fs::createUniqueDirectory(Name, Path); in ScopedDir()
294 EC = llvm::sys::fs::create_directory(Twine(Path)); in ScopedDir()
296 if (EC) in ScopedDir()
298 EXPECT_FALSE(EC); in ScopedDir()
312 std::error_code EC; in TEST() local
313 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST()
314 ASSERT_FALSE(EC); in TEST()
322 I = FS->dir_begin(Twine(TestDirectory), EC); in TEST()
[all …]
/external/clang/lib/Sema/
DSemaAccess.cpp408 const EffectiveContext &EC, in MatchesFriend() argument
410 if (EC.includesClass(Friend)) in MatchesFriend()
413 if (EC.isDependent()) { in MatchesFriend()
414 for (const CXXRecordDecl *Context : EC.Records) { in MatchesFriend()
424 const EffectiveContext &EC, in MatchesFriend() argument
427 return MatchesFriend(S, EC, cast<CXXRecordDecl>(RT->getDecl())); in MatchesFriend()
439 const EffectiveContext &EC, in MatchesFriend() argument
446 I = EC.Records.begin(), E = EC.Records.end(); I != E; ++I) { in MatchesFriend()
468 if (!EC.isDependent()) in MatchesFriend()
492 const EffectiveContext &EC, in MatchesFriend() argument
[all …]

12345678910>>...40