Searched defs:EC (Results 1 - 25 of 75) sorted by relevance

123

/external/llvm/lib/Object/
H A DELFObjectFile.cpp27 std::error_code EC; local
33 std::move(Obj), EC));
38 std::move(Obj), EC));
45 EC));
50 EC));
57 EC));
62 EC));
69 std::move(Obj), EC));
74 std::move(Obj), EC));
81 if (EC)
[all...]
H A DMachOUniversal.cpp92 if (std::error_code EC = Obj.getError())
93 return EC;
104 std::error_code EC; local
106 new MachOUniversalBinary(std::move(Source), EC));
107 if (EC)
108 return EC;
/external/llvm/unittests/Support/
H A DLockFileManagerTest.cpp22 std::error_code EC; local
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; local
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);
92 std::error_code EC; local
[all...]
H A DMemoryBufferTest.cpp81 std::error_code EC = MB.getError(); local
82 ASSERT_FALSE(EC);
155 std::error_code EC = Buf.getError(); local
156 EXPECT_FALSE(EC);
H A DMemoryTest.cpp60 std::error_code EC; local
61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC);
62 EXPECT_EQ(std::error_code(), EC); local
71 std::error_code EC; local
72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC);
73 EXPECT_EQ(std::error_code(), EC); local
74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC);
75 EXPECT_EQ(std::error_code(), EC); local
76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC);
77 EXPECT_EQ(std::error_code(), EC); local
93 EXPECT_EQ(std::error_code(), EC); local
108 EXPECT_EQ(std::error_code(), EC); local
128 EXPECT_EQ(std::error_code(), EC); local
131 EXPECT_EQ(std::error_code(), EC); local
134 EXPECT_EQ(std::error_code(), EC); local
167 EXPECT_EQ(std::error_code(), EC); local
183 std::error_code EC; local
186 EXPECT_EQ(std::error_code(), EC); local
189 EXPECT_EQ(std::error_code(), EC); local
192 EXPECT_EQ(std::error_code(), EC); local
227 EXPECT_EQ(std::error_code(), EC); local
240 std::error_code EC; local
242 EXPECT_EQ(std::error_code(), EC); local
244 EXPECT_EQ(std::error_code(), EC); local
246 EXPECT_EQ(std::error_code(), EC); local
265 std::error_code EC; local
268 EXPECT_EQ(std::error_code(), EC); local
270 EXPECT_EQ(std::error_code(), EC); local
272 EXPECT_EQ(std::error_code(), EC); local
287 std::error_code EC; local
290 EXPECT_EQ(std::error_code(), EC); local
292 EXPECT_EQ(std::error_code(), EC); local
294 EXPECT_EQ(std::error_code(), EC); local
313 std::error_code EC; local
316 EXPECT_EQ(std::error_code(), EC); local
318 EXPECT_EQ(std::error_code(), EC); local
320 EXPECT_EQ(std::error_code(), EC); local
339 std::error_code EC; local
342 EXPECT_EQ(std::error_code(), EC); local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
H A DEC.java12 public class EC class
33 registerOid(provider, X9ObjectIdentifiers.id_ecPublicKey, "EC", new KeyFactorySpi.EC());
35 registerOid(provider, X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, "EC", new KeyFactorySpi.EC());
41 // registerOidAlgorithmParameters(provider, X9ObjectIdentifiers.id_ecPublicKey, "EC");
43 // registerOidAlgorithmParameters(provider, X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, "EC");
44 // registerOidAlgorithmParameters(provider, X9ObjectIdentifiers.mqvSinglePass_sha1kdf_scheme, "EC");
47 provider.addAlgorithm("KeyFactory.EC", PREFIX + "KeyFactorySpi$EC");
[all...]
/external/clang/test/CXX/expr/expr.post/expr.static.cast/
H A Dp9-0x.cpp4 enum class EC { ec1 }; class
6 void test0(EC ec) {
8 (void)static_cast<bool>(EC::ec1);
10 (void)static_cast<char>(EC::ec1);
12 (void)static_cast<int>(EC::ec1);
14 (void)static_cast<unsigned long>(EC::ec1);
16 (void)static_cast<float>(EC::ec1);
18 (void)static_cast<double>(EC::ec1);
/external/llvm/include/llvm/ADT/
H A DIntEqClasses.h29 /// 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; member in class:llvm::IntEqClasses
52 EC.clear();
78 return EC[a];
/external/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h29 /// EC - Each edge bundle is an equivalence class. The keys are:
32 IntEqClasses EC; member in class:llvm::EdgeBundles
43 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; }
46 unsigned getNumBundles() const { return EC.getNumClasses(); }
/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp82 std::error_code EC = FS.openFileForRead(Path, OwnedFile); local
84 if (EC) {
/external/llvm/lib/Support/
H A DFileOutputBuffer.cpp40 std::error_code EC = sys::fs::status(FilePath, Stat); local
52 if (EC)
53 return EC;
59 EC = sys::fs::remove(FilePath);
60 if (EC)
61 return EC;
71 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD,
73 if (EC)
74 return EC;
77 FD, true, mapped_file_region::readwrite, Size, 0, EC));
94 std::error_code EC = sys::fs::resize_file(Twine(TempPath), NewSmallerSize); local
[all...]
H A DLockFileManager.cpp77 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) {
78 Error = EC;
93 if (std::error_code EC = sys::fs::createUniqueFile(
95 Error = EC;
126 std::error_code EC = local
128 if (!EC)
131 if (EC != errc::file_exists) {
132 Error = EC;
152 if ((EC = sys::fs::remove(LockFileName.str()))) {
153 Error = EC;
[all...]
H A DGraphWriter.cpp71 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename); local
72 if (EC) {
73 errs() << "Error: " << EC.message() << "\n";
H A DPath.cpp181 if (std::error_code EC = TempDir(TDir))
182 return EC;
205 if (std::error_code EC =
208 if (EC == errc::file_exists)
210 return EC;
218 std::error_code EC = sys::fs::exists(ResultPath.begin(), Exists); local
219 if (EC)
220 return EC;
227 if (std::error_code EC =
229 if (EC
[all...]
/external/llvm/unittests/Transforms/DebugIR/
H A DDebugIR.cpp61 std::error_code EC = sys::fs::remove(Path, false); local
62 return EC != llvm::errc::no_such_file_or_directory;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DKeyFactorySpi.java186 public static class EC class in class:KeyFactorySpi
189 public EC() method in class:KeyFactorySpi.EC
191 super("EC", BouncyCastleProvider.CONFIGURATION);
H A DKeyPairGeneratorSpi.java39 public static class EC class in class:KeyPairGeneratorSpi
66 public EC() method in class:KeyPairGeneratorSpi.EC
68 super("EC");
69 this.algorithm = "EC";
73 public EC( method in class:KeyPairGeneratorSpi.EC
252 extends EC
261 extends EC
270 extends EC
279 extends EC
/external/clang/lib/AST/
H A DInheritViz.cpp142 std::error_code EC = local
144 if (EC) {
145 llvm::errs() << "Error: " << EC.message() << "\n";
/external/clang/unittests/Tooling/
H A DRewriterTestContext.h64 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); local
65 assert(!EC);
66 (void)EC;
/external/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp132 std::error_code EC = sys::fs::createUniqueFile( local
134 if (EC) {
136 << EC.message() << "\n";
144 EC = sys::fs::createUniqueFile(OutputPrefix + "-input-%%%%%%%.bc", InputFD,
146 if (EC) {
148 << EC.message() << "\n";
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp149 bool error(std::error_code EC) { argument
150 if (!EC)
154 outs() << "\nError reading file: " << EC.message() << ".\n";
168 static void reportError(StringRef Input, std::error_code EC) { argument
172 errs() << Input << ": " << EC.message() << "\n";
218 if (std::error_code EC = createDumper(Obj, Writer, Dumper)) {
219 reportError(Obj->getFileName(), EC);
266 if (std::error_code EC = ChildOrErr.getError()) {
268 if (EC != object_error::invalid_file_type)
269 reportError(Arc->getFileName(), EC
[all...]
/external/clang/include/clang/Basic/
H A DVirtualFileSystem.h131 directory_iterator &increment(std::error_code &EC) { argument
133 EC = Impl->increment();
134 if (EC || !Impl->CurrentEntry.isStatusKnown())
165 std::error_code &EC);
170 recursive_directory_iterator &increment(std::error_code &EC);
205 std::error_code &EC) = 0;
236 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
/external/clang/lib/Frontend/
H A DFrontendAction.cpp262 std::error_code EC; local
266 for (llvm::sys::fs::directory_iterator Dir(DirNative.str(), EC), DirEnd;
267 Dir != DirEnd && !EC; Dir.increment(EC)) {
H A DFrontendActions.cpp201 std::error_code EC; local
204 for (llvm::sys::fs::recursive_directory_iterator Dir(DirNative.str(), EC),
206 Dir != DirEnd && !EC; Dir.increment(EC)) {
228 if (EC)
229 return EC;
/external/clang/lib/Lex/
H A DPPLexerChange.cpp457 std::error_code EC; local
458 for (vfs::recursive_directory_iterator Entry(FS, Dir->getName(), EC), End;
459 Entry != End && !EC; Entry.increment(EC)) {

Completed in 492 milliseconds

123