/external/llvm/lib/Support/ |
IntEqClasses.cpp | 27 EC.reserve(N); 28 while (EC.size() < N) 29 EC.push_back(EC.size()); 34 unsigned eca = EC[a]; 35 unsigned ecb = EC[b]; 41 EC[b] = eca, b = ecb, ecb = EC[b]; 43 EC[a] = ecb, a = eca, eca = EC[a] [all...] |
FileOutputBuffer.cpp | 42 std::error_code EC = sys::fs::status(FilePath, Stat); 54 if (EC) 55 return EC; 61 EC = sys::fs::remove(FilePath); 62 if (EC) 63 return EC; 73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD, 75 if (EC) 76 return EC; 86 EC = sys::fs::resize_file(FD, Size) [all...] |
ToolOutputFile.cpp | 37 tool_output_file::tool_output_file(StringRef Filename, std::error_code &EC, 39 : Installer(Filename), OS(Filename, EC, Flags) { 41 if (EC)
|
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p9-0x.cpp | 4 enum class EC { ec1 }; 6 void test0(EC ec) { 7 (void)static_cast<bool>(ec); 8 (void)static_cast<bool>(EC::ec1); 9 (void)static_cast<char>(ec); 10 (void)static_cast<char>(EC::ec1); 11 (void)static_cast<int>(ec); 12 (void)static_cast<int>(EC::ec1); 13 (void)static_cast<unsigned long>(ec); [all...] |
/external/llvm/unittests/Support/ |
LockFileManagerTest.cpp | 22 std::error_code EC; 23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 24 ASSERT_FALSE(EC); 43 EC = sys::fs::remove(StringRef(TmpDir)); 44 ASSERT_FALSE(EC); 49 std::error_code EC; 50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 51 ASSERT_FALSE(EC); 63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); 64 ASSERT_FALSE(EC); [all...] |
MemoryTest.cpp | 60 std::error_code EC; 61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); 62 EXPECT_EQ(std::error_code(), EC); 71 std::error_code EC; 72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); 73 EXPECT_EQ(std::error_code(), EC); 74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC); 75 EXPECT_EQ(std::error_code(), EC); 76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); 77 EXPECT_EQ(std::error_code(), EC); [all...] |
/external/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/external/llvm/include/llvm/CodeGen/ |
EdgeBundles.h | 29 /// EC - Each edge bundle is an equivalence class. The keys are: 32 IntEqClasses EC; 43 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; } 46 unsigned getNumBundles() const { return EC.getNumClasses(); }
|
/external/llvm/lib/ProfileData/ |
SampleProfReader.cpp | 245 std::error_code EC; 249 EC = sampleprof_error::malformed; 251 EC = sampleprof_error::truncated; 253 EC = sampleprof_error::success; 255 if (EC) { 256 reportError(0, EC.message()); 257 return EC; 265 std::error_code EC; 268 EC = sampleprof_error::truncated; 269 reportError(0, EC.message()) [all...] |
SampleProfWriter.cpp | 77 if (std::error_code EC = write(Loc.CalleeName, CalleeSamples)) 78 return EC; 143 if (std::error_code EC = writeNameIdx(FName)) 144 return EC; 160 if (std::error_code EC = writeNameIdx(Callee)) 161 return EC; 173 if (std::error_code EC = writeBody(Loc.CalleeName, CalleeSamples)) 174 return EC; 200 std::error_code EC; 203 OS.reset(new raw_fd_ostream(Filename, EC, sys::fs::F_None)) [all...] |
/external/llvm/lib/TableGen/ |
Main.cpp | 57 std::error_code EC; 58 tool_output_file DepOut(DependFilename, EC, sys::fs::F_Text); 59 if (EC) { 61 << EC.message() << "\n"; 79 if (std::error_code EC = FileOrErr.getError()) { 81 << "': " << EC.message() << "\n"; 97 std::error_code EC; 98 tool_output_file Out(OutputFilename, EC, sys::fs::F_Text); 99 if (EC) { 101 << EC.message() << "\n" [all...] |
/external/llvm/tools/obj2yaml/ |
elf2yaml.cpp | 87 if (std::error_code EC = TableOrErr.getError()) 88 return EC; 94 if (std::error_code EC = S.getError()) 95 return EC; 101 if (std::error_code EC = S.getError()) 102 return EC; 108 if (std::error_code EC = G.getError()) 109 return EC; 115 if (std::error_code EC = G.getError()) 116 return EC; [all...] |
obj2yaml.cpp | 33 if (std::error_code EC = BinaryOrErr.getError()) 34 return EC; 53 if (std::error_code EC = dumpInput(InputFilename)) { 54 errs() << "Error: '" << EC.message() << "'\n";
|
/external/llvm/lib/Object/ |
ELFObjectFile.cpp | 33 std::error_code EC; 37 R.reset(new ELFObjectFile<ELFType<support::little, false>>(Obj, EC)); 39 R.reset(new ELFObjectFile<ELFType<support::big, false>>(Obj, EC)); 44 R.reset(new ELFObjectFile<ELFType<support::little, true>>(Obj, EC)); 46 R.reset(new ELFObjectFile<ELFType<support::big, true>>(Obj, EC)); 53 if (EC) 54 return EC;
|
FunctionIndexObjectFile.cpp | 39 if (std::error_code EC = Sec.getName(SecName)) 40 return EC; 43 if (std::error_code EC = Sec.getContents(SecContents)) 44 return EC; 99 if (std::error_code EC = IOrErr.getError()) 100 return EC; 131 std::error_code EC = FileOrErr.getError(); 132 if (EC) 133 return EC; 137 EC = ObjOrErr.getError() [all...] |
Archive.cpp | 90 std::error_code *EC) 99 if ((*EC = MemberSize.getError())) 120 if (std::error_code EC = Size.getError()) 121 return EC; 129 if (std::error_code EC = Size.getError()) 130 return EC; 142 if (std::error_code EC = Size.getError()) 143 return EC; 147 if (std::error_code EC = Name.getError()) 148 return EC; [all...] |
/external/clang/lib/Frontend/ |
SerializedDiagnosticReader.cpp | 46 std::error_code EC; 53 if ((EC = readMetaBlock(Stream))) 54 return EC; 57 if ((EC = readDiagnosticBlock(Stream))) 58 return EC; 153 std::error_code EC; 154 if ((EC = visitStartOfDiagnostic())) 155 return EC; 168 if ((EC = readDiagnosticBlock(Stream))) 169 return EC; [all...] |
ModuleDependencyCollector.cpp | 51 std::error_code EC; 52 llvm::raw_fd_ostream OS(Dest, EC, llvm::sys::fs::F_Text); 53 if (EC) { 77 if (std::error_code EC = fs::create_directories(path::parent_path(Dest), 79 return EC; 80 if (std::error_code EC = fs::copy_file(AbsoluteSrc, Dest)) 81 return EC;
|
/external/llvm/lib/Bitcode/Writer/ |
BitWriter.cpp | 21 std::error_code EC; 22 raw_fd_ostream OS(Path, EC, sys::fs::F_None); 24 if (EC)
|
/external/llvm/tools/llvm-split/ |
llvm-split.cpp | 52 std::error_code EC; 54 OutputFilename + utostr(I++), EC, sys::fs::F_None)); 55 if (EC) { 56 errs() << EC.message() << '\n';
|
/external/boringssl/src/crypto/ec/ |
ec_asn1.c | 54 #include <openssl/ec.h> 171 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); 199 OPENSSL_PUT_ERROR(EC, EC_R_MISSING_PARAMETERS); 225 OPENSSL_PUT_ERROR(EC, EC_R_NON_NAMED_CURVE); 231 OPENSSL_PUT_ERROR(EC, EC_R_EC_GROUP_NEW_BY_NAME_FAILURE); 246 OPENSSL_PUT_ERROR(EC, EC_R_D2I_ECPKPARAMETERS_FAILURE); 253 OPENSSL_PUT_ERROR(EC, EC_R_PKPARAMETERS2GROUP_FAILURE); 272 OPENSSL_PUT_ERROR(EC, EC_R_GROUP2PKPARAMETERS_FAILURE); 277 OPENSSL_PUT_ERROR(EC, EC_R_I2D_ECPKPARAMETERS_FAILURE); 293 OPENSSL_PUT_ERROR(EC, ERR_R_EC_LIB) [all...] |
oct.c | 68 #include <openssl/ec.h> 88 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_FORM); 93 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); 105 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); 137 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); 144 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); 151 OPENSSL_PUT_ERROR(EC, ERR_R_INTERNAL_ERROR); 182 OPENSSL_PUT_ERROR(EC, EC_R_BUFFER_TOO_SMALL); 191 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING); 200 OPENSSL_PUT_ERROR(EC, EC_R_INVALID_ENCODING) [all...] |
/external/llvm/unittests/ProfileData/ |
SampleProfTest.cpp | 20 static ::testing::AssertionResult NoError(std::error_code EC) { 21 if (!EC) 23 return ::testing::AssertionFailure() << "error " << EC.value() << ": " 24 << EC.message(); 69 std::error_code EC; 70 EC = Writer->write(Profiles); 71 ASSERT_TRUE(NoError(EC)); 78 EC = Reader->read(); 79 ASSERT_TRUE(NoError(EC));
|
/external/llvm/lib/DebugInfo/Symbolize/ |
SymbolizableObjectFile.cpp | 43 if (auto EC = Section->getName(Name)) 44 return EC; 46 if (auto EC = Section->getContents(Data)) 47 return EC; 64 if (auto EC = res->addCoffExportSymbols(CoffObj)) 65 return EC; 91 if (auto EC = Ref.getSymbolName(Name)) 92 return EC; 93 if (auto EC = Ref.getExportRVA(Offset)) 94 return EC; [all...] |
/external/llvm/lib/Analysis/ |
CFGPrinter.cpp | 83 std::error_code EC; 84 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); 86 if (!EC) 117 std::error_code EC; 118 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); 120 if (!EC)
|