Searched refs:Context (Results 151 - 175 of 511) sorted by relevance

1234567891011>>

/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/
H A Dsigner.h66 void signMachO(Universal *fat, const Requirement::Context &context); // sign a Mach-O binary
67 void signArchitectureAgnostic(const Requirement::Context &context); // sign anything else
H A Ddiskrep.h98 struct Context { struct in class:Security::CodeSigning::DiskRep
99 Context() : arch(Architecture::none), version(NULL), offset(0), fileOnly(false), inMemory(NULL), size(0) { } function in struct:Security::CodeSigning::DiskRep::Context
108 static DiskRep *bestGuess(const char *path, const Context *ctx = NULL); // canonical heuristic, any path
109 static DiskRep *bestFileGuess(const char *path, const Context *ctx = NULL); // ctx (if any) + fileOnly
113 static DiskRep *bestGuess(const std::string &path, const Context *ctx = NULL)
116 static DiskRep *bestFileGuess(const std::string &path, const Context *ctx = NULL) { return bestFileGuess(path.c_str(), ctx); }
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DwrapKeyCms.cpp123 const Context &context,
135 Context secondCtx(context.ContextType, context.AlgorithmType);
299 const Context &Context,
317 CssmData &IV1 = Context.get<CssmData>(CSSM_ATTRIBUTE_INIT_VECTOR,
329 Context,
393 Context,
455 CssmKey *paramKey = Context.get<CssmKey>(CSSM_ATTRIBUTE_PARAM_KEY);
297 UnwrapKeyCms( CSSM_CC_HANDLE CCHandle, const Context &Context, const CssmKey &WrappedKey, const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry, CssmKey &UnwrappedKey, CssmData &DescriptiveData, CSSM_PRIVILEGE Privilege, cspKeyStorage keyStorage) argument
H A Dalgmaker.cpp97 Ctx *make(AppleCSPSession &session, const Context &context) const
106 Ctx *make(AppleCSPSession &session, const Context &context) const
115 Ctx *make(AppleCSPSession &session, const Context &context) const
125 Ctx *make(AppleCSPSession &session, const Context &context) const
302 const Context &context)
314 const Context &context)
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/
H A Dmacclient.h37 class MacContext : public Context
41 : Context(csp, alg) { }
H A Dsignclient.h35 class SigningContext : public Context
39 : Context(csp, alg), mSignOnly(signOnly) { }
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dreqinterp.h44 Interpreter(const Requirement *req, const Context *ctx) : Reader(req), mContext(ctx) { }
81 const Context * const mContext;
H A Dsigner.h66 void signMachO(Universal *fat, const Requirement::Context &context); // sign a Mach-O binary
67 void signArchitectureAgnostic(const Requirement::Context &context); // sign anything else
H A Ddiskrep.h98 struct Context { struct in class:Security::CodeSigning::DiskRep
99 Context() : arch(Architecture::none), version(NULL), offset(0), fileOnly(false), inMemory(NULL), size(0) { } function in struct:Security::CodeSigning::DiskRep::Context
108 static DiskRep *bestGuess(const char *path, const Context *ctx = NULL); // canonical heuristic, any path
109 static DiskRep *bestFileGuess(const char *path, const Context *ctx = NULL); // ctx (if any) + fileOnly
113 static DiskRep *bestGuess(const std::string &path, const Context *ctx = NULL)
116 static DiskRep *bestFileGuess(const std::string &path, const Context *ctx = NULL) { return bestFileGuess(path.c_str(), ctx); }
/macosx-10.10.1/SecurityTokend-55108/lib/
H A Dtdtransit.h85 // Bundle up a Context for IPC transmission
89 SendContext(const Context &ctx);
92 const Context &context;
H A Dtdtransit.cpp77 // Create a packaged-up Context for IPC transmission.
81 SendContext::SendContext(const Security::Context &ctx) : context(ctx)
85 Context::Builder builder(Allocator::standard());
102 const Context::Attr &attr = ctx[n];
279 void ClientSession::getOutputSize(const Context &context, KeyHandle hKey,
290 void ClientSession::generateSignature(const Context &context, KeyHandle hKey,
299 void ClientSession::verifySignature(const Context &context, KeyHandle hKey,
308 void ClientSession::generateMac(const Context &context, KeyHandle hKey,
317 void ClientSession::verifyMac(const Context &context, KeyHandle hKey,
330 void ClientSession::encrypt(const Context
[all...]
/macosx-10.10.1/SecurityTokend-55108/security_tokend_client/
H A Dtdtransit.h85 // Bundle up a Context for IPC transmission
89 SendContext(const Context &ctx);
92 const Context &context;
H A Dtdtransit.cpp77 // Create a packaged-up Context for IPC transmission.
81 SendContext::SendContext(const Security::Context &ctx) : context(ctx)
85 Context::Builder builder(Allocator::standard());
102 const Context::Attr &attr = ctx[n];
279 void ClientSession::getOutputSize(const Context &context, KeyHandle hKey,
290 void ClientSession::generateSignature(const Context &context, KeyHandle hKey,
299 void ClientSession::verifySignature(const Context &context, KeyHandle hKey,
308 void ClientSession::generateMac(const Context &context, KeyHandle hKey,
317 void ClientSession::verifyMac(const Context &context, KeyHandle hKey,
330 void ClientSession::encrypt(const Context
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/MC/
H A DMCObjectStreamer.h41 MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB,
43 MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB,
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-as/
H A Dllvm-as.cpp91 LLVMContext &Context = getGlobalContext(); local
97 std::auto_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-ranlib/
H A Dllvm-ranlib.cpp51 LLVMContext &Context = getGlobalContext(); local
79 AutoArchive(Archive::OpenAndLoad(ArchivePath, Context, &err_msg));
/macosx-10.10.1/llvmCore-3425.0.34/lib/DebugInfo/
H A DDWARFCompileUnit.cpp20 return DataExtractor(Context.getInfoSection(),
21 Context.isLittleEndian(), getAddressByteSize());
31 const DWARFDebugAbbrev *abbr = Context.getDebugAbbrev();
39 bool abbrOffsetOK = Context.getAbbrevSection().size() > abbrOffset;
82 DataExtractor RangesData(Context.getRangeSection(),
83 Context.isLittleEndian(), AddrSize);
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-stress/
H A Dllvm-stress.cpp100 LLVMContext &Context = M->getContext(); local
101 ArgsTy.push_back(PointerType::get(IntegerType::getInt8Ty(Context), 0));
102 ArgsTy.push_back(PointerType::get(IntegerType::getInt32Ty(Context), 0));
103 ArgsTy.push_back(PointerType::get(IntegerType::getInt64Ty(Context), 0));
104 ArgsTy.push_back(IntegerType::getInt32Ty(Context));
105 ArgsTy.push_back(IntegerType::getInt64Ty(Context));
106 ArgsTy.push_back(IntegerType::getInt8Ty(Context));
108 FunctionType *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, 0);
128 BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {}
250 case 0: t = Type::getInt1Ty(Context); brea
285 LLVMContext &Context; member in struct:Modifier
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dcontext.h42 // Context is a POD overlay for the CSSM_CONTEXT type. It does
45 // memory-manage Context structures on your own. Be a good boy and
50 class Context : public PodWrapper<Context, CSSM_CONTEXT> { class in namespace:Security
52 Context(CSSM_CONTEXT_TYPE type, CSSM_ALGORITHMS algorithmId);
62 void copyFrom(const Context &source, Allocator &alloc)
194 static void destroy(Context *context, Allocator &alloc) throw()
199 // This can only be called on a Built Context after IPC transmission.
253 void walk(Action &operate, Context::Attr &attr)
262 // Context
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dcontext.h42 // Context is a POD overlay for the CSSM_CONTEXT type. It does
45 // memory-manage Context structures on your own. Be a good boy and
50 class Context : public PodWrapper<Context, CSSM_CONTEXT> { class in namespace:Security
52 Context(CSSM_CONTEXT_TYPE type, CSSM_ALGORITHMS algorithmId);
62 void copyFrom(const Context &source, Allocator &alloc)
194 static void destroy(Context *context, Allocator &alloc) throw()
199 // This can only be called on a Built Context after IPC transmission.
253 void walk(Action &operate, Context::Attr &attr)
262 // Context
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Analysis/
H A DScalarEvolutionTest.cpp27 ScalarEvolutionsTest() : M("", Context), SE(*new ScalarEvolution) {}
33 LLVMContext Context; member in class:llvm::__anon10548::ScalarEvolutionsTest
40 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context),
43 BasicBlock *BB = BasicBlock::Create(Context, "entry", F);
44 ReturnInst::Create(Context, 0, BB);
46 Type *Ty = Type::getInt1Ty(Context);
91 Type *Ty = Type::getInt32Ty(Context);
94 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Types, false);
96 BasicBlock *BB = BasicBlock::Create(Context, "entry", F);
97 ReturnInst::Create(Context,
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/
H A DTargetLowering.h284 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { argument
285 return getTypeConversion(Context, VT).first;
297 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const { argument
298 return getTypeConversion(Context, VT).second;
305 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { argument
308 switch (getTypeAction(Context, VT)) {
312 VT = getTypeToTransformTo(Context, VT);
329 unsigned getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
577 EVT getRegisterType(LLVMContext &Context, EVT VT) const { argument
586 (void)getVectorTypeBreakdown(Context, V
602 getNumRegisters(LLVMContext &Context, EVT VT) const argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DFunction.cpp538 ArrayRef<Type*> Tys, LLVMContext &Context) {
544 case IITDescriptor::Void: return Type::getVoidTy(Context);
545 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context);
546 case IITDescriptor::Metadata: return Type::getMetadataTy(Context);
547 case IITDescriptor::Float: return Type::getFloatTy(Context);
548 case IITDescriptor::Double: return Type::getDoubleTy(Context);
551 return IntegerType::get(Context, D.Integer_Width);
553 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width);
555 return PointerType::get(DecodeFixedType(Infos, Tys, Context),
561 Elts[i] = DecodeFixedType(Infos, Tys, Context);
[all...]
H A DMetadata.cpp38 MDString *MDString::get(LLVMContext &Context, StringRef Str) { argument
39 LLVMContextImpl *pImpl = Context.pImpl;
43 if (!S) S = new MDString(Context);
215 MDNode *MDNode::getMDNode(LLVMContext &Context, ArrayRef<Value*> Vals, argument
217 LLVMContextImpl *pImpl = Context.pImpl;
255 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal);
266 MDNode *MDNode::get(LLVMContext &Context, ArrayRef<Value*> Vals) { argument
267 return getMDNode(Context, Vals, FL_Unknown);
270 MDNode *MDNode::getWhenValsUnresolved(LLVMContext &Context, argument
273 return getMDNode(Context, Val
276 getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals) argument
280 getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/securityd/tests/
H A Dtestblobs.cpp225 &::Context::Attr(CSSM_ATTRIBUTE_KEY_LENGTH, 64),
226 &::Context::Attr(CSSM_ATTRIBUTE_SEED, seed),
240 &::Context::Attr(CSSM_ATTRIBUTE_KEY, nullKey),
241 &::Context::Attr(CSSM_ATTRIBUTE_INIT_VECTOR, iv),
242 &::Context::Attr(CSSM_ATTRIBUTE_MODE, CSSM_ALGMODE_CBC_IV8),
243 &::Context::Attr(CSSM_ATTRIBUTE_PADDING, CSSM_PADDING_PKCS1),
244 &::Context::Attr(CSSM_ATTRIBUTE_ACCESS_CREDENTIALS, cred),

Completed in 222 milliseconds

1234567891011>>