Searched refs:EC (Results 1 - 25 of 190) sorted by relevance

12345678

/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/lib/Support/
H A DIntEqClasses.cpp27 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[
[all...]
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 DMemoryBuffer.cpp188 uint64_t Offset, std::error_code EC)
190 getLegalMapSize(Len, Offset), getLegalMapOffset(Offset), EC) {
191 if (!EC) {
252 std::error_code EC = sys::fs::openFileForRead(Filename, FD); local
253 if (EC)
254 return EC;
323 std::error_code EC = sys::fs::status(FD, Status); local
324 if (EC)
325 return EC;
342 std::error_code EC; local
187 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, uint64_t Offset, std::error_code EC) argument
[all...]
/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 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/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/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 DCOFFObjectFile.cpp34 static bool checkSize(const MemoryBuffer &M, std::error_code &EC, argument
37 EC = object_error::unexpected_eof;
143 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
144 return EC;
168 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
169 return EC;
213 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
214 return EC;
233 if (std::error_code EC = getSection(Symb->SectionNumber, Sec))
234 return EC;
272 std::error_code EC = getSectionContents(Sec, Res); local
514 COFFObjectFile(std::unique_ptr<MemoryBuffer> Object, std::error_code &EC) argument
1117 std::error_code EC; local
[all...]
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp77 if (std::error_code EC = S.getError())
78 return EC;
84 if (std::error_code EC = S.getError())
85 return EC;
92 if (std::error_code EC = S.getError())
93 return EC;
108 if (std::error_code EC = ELFDumper<ELFT>::dumpSymbol(SI, S))
109 return EC;
139 if (std::error_code EC = NameOrErr.getError())
140 return EC;
[all...]
H A Dobj2yaml.cpp36 if (std::error_code EC = BinaryOrErr.getError())
37 return EC;
56 if (std::error_code EC = dumpInput(InputFilename)) {
57 errs() << "Error: '" << EC.message() << "'\n";
/external/llvm/lib/IRReader/
H A DIRReader.cpp38 if (std::error_code EC = ModuleOrErr.getError()) {
40 EC.message());
56 if (std::error_code EC = FileOrErr.getError()) {
58 "Could not open input file: " + EC.message());
73 if (std::error_code EC = ModuleOrErr.getError())
75 EC.message());
91 if (std::error_code EC = FileOrErr.getError()) {
93 "Could not open input file: " + EC.message());
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Doct.c89 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_INVALID_FORM);
97 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_BUFFER_TOO_SMALL);
114 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, EC_R_BUFFER_TOO_SMALL);
145 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR);
155 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR);
163 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR);
175 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_point2oct, ERR_R_INTERNAL_ERROR);
206 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_BUFFER_TOO_SMALL);
215 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2point, EC_R_INVALID_ENCODING);
219 OPENSSL_PUT_ERROR(EC, ec_GFp_simple_oct2poin
[all...]
H A Dec_asn1.c166 OPENSSL_PUT_ERROR(EC, ec_asn1_group2pkparameters, ERR_R_MALLOC_FAILURE);
196 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group, EC_R_MISSING_PARAMETERS);
222 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group, EC_R_NON_NAMED_CURVE);
228 OPENSSL_PUT_ERROR(EC, ec_asn1_pkparameters2group,
243 OPENSSL_PUT_ERROR(EC, d2i_ECPKParameters, EC_R_D2I_ECPKPARAMETERS_FAILURE);
250 OPENSSL_PUT_ERROR(EC, d2i_ECPKParameters, EC_R_PKPARAMETERS2GROUP_FAILURE);
270 OPENSSL_PUT_ERROR(EC, i2d_ECPKParameters, EC_R_GROUP2PKPARAMETERS_FAILURE);
275 OPENSSL_PUT_ERROR(EC, i2d_ECPKParameters, EC_R_I2D_ECPKPARAMETERS_FAILURE);
290 OPENSSL_PUT_ERROR(EC, d2i_ECPrivateKey, ERR_R_MALLOC_FAILURE);
296 OPENSSL_PUT_ERROR(EC, d2i_ECPrivateKe
[all...]
H A Dwnaf.c103 OPENSSL_PUT_ERROR(EC, ec_pre_comp_new, ERR_R_MALLOC_FAILURE);
168 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_MALLOC_FAILURE);
179 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
191 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
202 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_MALLOC_FAILURE);
235 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
245 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
256 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
262 OPENSSL_PUT_ERROR(EC, compute_wNAF, ERR_R_INTERNAL_ERROR);
325 OPENSSL_PUT_ERROR(EC, ec_wNAF_mu
[all...]
H A Dec.c231 OPENSSL_PUT_ERROR(EC, ec_group_new, EC_R_SLOT_FULL);
236 OPENSSL_PUT_ERROR(EC, ec_group_new, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
242 OPENSSL_PUT_ERROR(EC, ec_group_new, ERR_R_MALLOC_FAILURE);
271 OPENSSL_PUT_ERROR(EC, ec_group_new_curve_GFp,
294 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_MALLOC_FAILURE);
305 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_BN_LIB);
313 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB);
318 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB);
324 OPENSSL_PUT_ERROR(EC, ec_group_new_from_data, ERR_R_EC_LIB);
330 OPENSSL_PUT_ERROR(EC, ec_group_new_from_dat
[all...]
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp91 std::error_code &EC) override {
271 std::error_code EC; local
273 EC = llvm::sys::fs::createUniqueDirectory(Name, Path);
276 EC = llvm::sys::fs::create_directory(Twine(Path));
278 if (EC)
280 EXPECT_FALSE(EC);
294 std::error_code EC; local
295 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC);
296 ASSERT_FALSE(EC);
304 I = FS->dir_begin(Twine(TestDirectory), EC);
321 std::error_code EC; local
367 std::error_code EC; local
385 std::error_code EC; local
417 std::error_code EC; local
465 std::error_code EC; local
488 std::error_code EC; local
505 std::error_code EC; local
514 std::error_code EC; local
922 std::error_code EC; local
[all...]
/external/clang/lib/Basic/
H A DVirtualFileSystem.cpp74 if (std::error_code EC = openFileForRead(Name, F))
75 return EC;
77 std::error_code EC =
79 return EC;
114 if (std::error_code EC = sys::fs::status(FD, RealStatus))
115 return EC;
132 if (std::error_code EC = BufferOrErr.getError())
133 return EC;
166 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
172 if (std::error_code EC
199 RealFSDirIter(const Twine &_Path, std::error_code &EC) argument
212 std::error_code EC; variable
229 dir_begin(const Twine &Dir, std::error_code &EC) argument
260 std::error_code EC = (*I)->openFileForRead(Path, Result); local
281 std::error_code EC; local
294 std::error_code EC; local
304 std::error_code EC = incrementDirIter(IsFirstTime); local
318 OverlayFSDirIterImpl(const Twine &Path, OverlayFileSystem &FS, std::error_code &EC) argument
329 dir_begin(const Twine &Dir, std::error_code &EC) argument
1145 VFSFromYamlDirIterImpl(const Twine &_Path, VFSFromYAML &FS, DirectoryEntry::iterator Begin, DirectoryEntry::iterator End, std::error_code &EC) argument
1177 recursive_directory_iterator(FileSystem &FS_, const Twine &Path, std::error_code &EC) argument
1189 increment(std::error_code &EC) argument
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp35 if (std::error_code EC = ModuleOrErr.getError()) {
37 *OutMessage = strdup(EC.message().c_str());
57 if (std::error_code EC = ModuleOrErr.getError()) {
60 *OutMessage = strdup(EC.message().c_str());
/external/llvm/lib/CodeGen/
H A DEdgeBundles.cpp41 EC.clear();
42 EC.grow(2 * MF->getNumBlockIDs());
49 EC.join(OutE, 2 * (*SI)->getNumber());
51 EC.compress();
/external/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp72 if (std::error_code EC = Buff.getError()) {
73 errs() << Filename << ": " << EC.message() << "\n";
78 if (std::error_code EC = ObjOrErr.getError()) {
79 errs() << Filename << ": " << EC.message() << '\n';
/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/lib/Sema/
H A DSemaAccess.cpp100 // We want to add canonical declarations to the EC lists for
402 const EffectiveContext &EC,
404 if (EC.includesClass(Friend))
407 if (EC.isDependent()) {
412 I = EC.Records.begin(), E = EC.Records.end(); I != E; ++I) {
424 const EffectiveContext &EC,
427 return MatchesFriend(S, EC, cast<CXXRecordDecl>(RT->getDecl()));
439 const EffectiveContext &EC,
446 I = EC
401 MatchesFriend(Sema &S, const EffectiveContext &EC, const CXXRecordDecl *Friend) argument
423 MatchesFriend(Sema &S, const EffectiveContext &EC, CanQualType Friend) argument
438 MatchesFriend(Sema &S, const EffectiveContext &EC, ClassTemplateDecl *Friend) argument
491 MatchesFriend(Sema &S, const EffectiveContext &EC, FunctionDecl *Friend) argument
510 MatchesFriend(Sema &S, const EffectiveContext &EC, FunctionTemplateDecl *Friend) argument
540 MatchesFriend(Sema &S, const EffectiveContext &EC, FriendDecl *FriendD) argument
569 GetFriendKind(Sema &S, const EffectiveContext &EC, const CXXRecordDecl *Class) argument
599 const EffectiveContext &EC; member in struct:__anon17998::ProtectedFriendContext
607 ProtectedFriendContext(Sema &S, const EffectiveContext &EC, const CXXRecordDecl *InstanceContext, const CXXRecordDecl *NamingClass) argument
710 GetProtectedFriendKind(Sema &S, const EffectiveContext &EC, const CXXRecordDecl *InstanceContext, const CXXRecordDecl *NamingClass) argument
728 HasAccess(Sema &S, const EffectiveContext &EC, const CXXRecordDecl *NamingClass, AccessSpecifier Access, const AccessTarget &Target) argument
926 FindBestPath(Sema &S, const EffectiveContext &EC, AccessTarget &Target, AccessSpecifier FinalAccess, CXXBasePaths &Paths) argument
1018 TryDiagnoseProtectedAccess(Sema &S, const EffectiveContext &EC, AccessTarget &Target) argument
1093 diagnoseBadDirectAccess(Sema &S, const EffectiveContext &EC, AccessTarget &entity) argument
1150 DiagnoseAccessPath(Sema &S, const EffectiveContext &EC, AccessTarget &entity) argument
1259 DiagnoseBadAccess(Sema &S, SourceLocation Loc, const EffectiveContext &EC, AccessTarget &Entity) argument
1314 IsAccessible(Sema &S, const EffectiveContext &EC, AccessTarget &Entity) argument
1392 DelayDependentAccess(Sema &S, const EffectiveContext &EC, SourceLocation Loc, const AccessTarget &Entity) argument
1410 CheckEffectiveAccess(Sema &S, const EffectiveContext &EC, SourceLocation Loc, AccessTarget &Entity) argument
[all...]

Completed in 2597 milliseconds

12345678