Searched refs:alloc (Results 1 - 25 of 1770) sorted by relevance

1234567891011>>

/macosx-10.10/bash-94.1.2/bash-3.2/lib/malloc/
H A Dxleaktrace19 $1 == "alloc" {
20 alloc[$2] = 1;
26 # printf "allocated: %s %d %d %s %d\n", $2, alloc[$2], size[$2], file[$2], line[$2];
30 if ($2 in alloc) {
31 alloc[$2] = 0;
32 # printf "freed: %s %d\n", $2, alloc[$2];
40 for (ptr in alloc) {
41 if (alloc[ptr] == 1) {
/macosx-10.10/Security-57031.1.35/securityd/tests/
H A Dtestacls.cpp41 CssmAllocator &alloc = CssmAllocator::standard(); local
42 ClientSession ss(alloc, alloc);
47 initialAcl.TypedSubject = TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_PASSWORD,
48 new(alloc) ListElement(initialAclPassphrase));
72 AutoCredentials cred(alloc);
73 cred += TypedList(alloc, CSSM_SAMPLE_TYPE_PASSWORD,
74 new(alloc) ListElement(StringData("wrongo")));
76 cred += TypedList(alloc, CSSM_SAMPLE_TYPE_PASSWORD,
77 new(alloc) ListElemen
191 CssmAllocator &alloc = CssmAllocator::standard(); local
305 CssmAllocator &alloc = CssmAllocator::standard(); local
353 CssmAllocator &alloc = CssmAllocator::standard(); local
[all...]
H A Dtestblobs.cpp82 CssmAllocator &alloc = CssmAllocator::standard(); local
83 ClientSession ss(alloc, alloc);
85 AutoCredentials pwCred(alloc);
88 pwCred += TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK,
89 new(alloc) ListElement(CSSM_SAMPLE_TYPE_PASSWORD),
90 new(alloc) ListElement(passphrase));
91 pwCred += TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK,
92 new(alloc) ListElement(CSSM_SAMPLE_TYPE_PASSWORD),
93 new(alloc) ListElemen
201 CssmAllocator &alloc = CssmAllocator::standard(); local
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_client/
H A Daclclient.cpp105 Allocator &alloc; member in struct:Security::CssmClient::Statics
129 : alloc(Allocator::standard()),
130 nullCred(alloc, 1),
131 promptCred(alloc, 3),
132 unlockCred(alloc, 1),
133 cancelCred(alloc, 1),
134 promptedPINCred(alloc, 1),
135 promptedPINItemCred(alloc, 1),
136 anyOwner(TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_ANY)),
137 anyAcl(AclEntryPrototype(TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_AN
278 Subject(Allocator &alloc, CSSM_ACL_SUBJECT_TYPE type) argument
283 PWSubject(Allocator &alloc) argument
287 PWSubject(Allocator &alloc, const CssmData &secret) argument
293 PromptPWSubject(Allocator &alloc, const CssmData &prompt) argument
299 PromptPWSubject(Allocator &alloc, const CssmData &prompt, const CssmData &secret) argument
306 ProtectedPWSubject(Allocator &alloc) argument
310 PinSubject(Allocator &alloc, uint32 slot) argument
316 PinSourceSubject(Allocator &alloc, const TypedList &form) argument
[all...]
H A Dkeychainacl.cpp36 KeychainAclFactory::KeychainAclFactory(Allocator &alloc) argument
37 : allocator(alloc), nullCred(alloc, 1), kcCred(alloc, 2), kcUnlockCred(alloc, 1)
40 nullCred.sample(0) = TypedList(alloc, CSSM_SAMPLE_TYPE_THRESHOLD);
42 kcCred.sample(0) = TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT);
43 kcCred.sample(1) = TypedList(alloc, CSSM_SAMPLE_TYPE_THRESHOLD,
44 new(alloc) ListElement(TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_PROMP
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/
H A Daclclient.cpp105 Allocator &alloc; member in struct:Security::CssmClient::Statics
129 : alloc(Allocator::standard()),
130 nullCred(alloc, 1),
131 promptCred(alloc, 3),
132 unlockCred(alloc, 1),
133 cancelCred(alloc, 1),
134 promptedPINCred(alloc, 1),
135 promptedPINItemCred(alloc, 1),
136 anyOwner(TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_ANY)),
137 anyAcl(AclEntryPrototype(TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_AN
278 Subject(Allocator &alloc, CSSM_ACL_SUBJECT_TYPE type) argument
283 PWSubject(Allocator &alloc) argument
287 PWSubject(Allocator &alloc, const CssmData &secret) argument
293 PromptPWSubject(Allocator &alloc, const CssmData &prompt) argument
299 PromptPWSubject(Allocator &alloc, const CssmData &prompt, const CssmData &secret) argument
306 ProtectedPWSubject(Allocator &alloc) argument
310 PinSubject(Allocator &alloc, uint32 slot) argument
316 PinSourceSubject(Allocator &alloc, const TypedList &form) argument
[all...]
H A Dkeychainacl.cpp36 KeychainAclFactory::KeychainAclFactory(Allocator &alloc) argument
37 : allocator(alloc), nullCred(alloc, 1), kcCred(alloc, 2), kcUnlockCred(alloc, 1)
40 nullCred.sample(0) = TypedList(alloc, CSSM_SAMPLE_TYPE_THRESHOLD);
42 kcCred.sample(0) = TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT);
43 kcCred.sample(1) = TypedList(alloc, CSSM_SAMPLE_TYPE_THRESHOLD,
44 new(alloc) ListElement(TypedList(alloc, CSSM_SAMPLE_TYPE_KEYCHAIN_PROMP
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_x509_cl/lib/
H A DclNameUtils.h26 #include <security_utilities/alloc.h>
35 Allocator &alloc
43 Allocator &alloc,
48 Allocator &alloc);
74 Allocator &alloc); // destination
80 Allocator &alloc); // destination
93 Allocator &alloc);
97 Allocator &alloc);
100 Allocator &alloc);
103 Allocator &alloc);
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dalloc.h26 // alloc - abstract malloc-like allocator abstraction
54 template <class T> T *alloc() throw(std::bad_alloc) function in class:Security::Allocator
57 template <class T> T *alloc(UInt32 count) throw(std::bad_alloc) function in class:Security::Allocator
60 template <class T> T *alloc(T *old, UInt32 count) throw(std::bad_alloc) function in class:Security::Allocator
83 virtual bool operator == (const Allocator &alloc) const throw();
102 inline void destroy(T *obj, Allocator &alloc) throw() argument
105 alloc.free(obj);
109 inline void destroy(void *obj, Allocator &alloc) throw() argument
111 alloc.free(obj);
130 void *operator new (size_t size, Allocator *alloc
150 CssmAutoPtr(Allocator &alloc, T *p) argument
156 CssmAutoPtr(Allocator &alloc, CssmAutoPtr<T1> &src) argument
179 CssmAutoPtr(Allocator &alloc) argument
180 CssmAutoPtr(Allocator &alloc, void *p) argument
183 CssmAutoPtr(Allocator &alloc, CssmAutoPtr<T1> &src) argument
207 CssmNewAutoPtr(Allocator &alloc, A1 &arg1) argument
209 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1) argument
213 CssmNewAutoPtr(Allocator &alloc, A1 &arg1, A2 &arg2) argument
216 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1, A2 &arg2) argument
219 CssmNewAutoPtr(Allocator &alloc, A1 &arg1, const A2 &arg2) argument
222 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1, const A2 &arg2) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dalloc.h26 // alloc - abstract malloc-like allocator abstraction
54 template <class T> T *alloc() throw(std::bad_alloc) function in class:Security::Allocator
57 template <class T> T *alloc(UInt32 count) throw(std::bad_alloc) function in class:Security::Allocator
60 template <class T> T *alloc(T *old, UInt32 count) throw(std::bad_alloc) function in class:Security::Allocator
83 virtual bool operator == (const Allocator &alloc) const throw();
102 inline void destroy(T *obj, Allocator &alloc) throw() argument
105 alloc.free(obj);
109 inline void destroy(void *obj, Allocator &alloc) throw() argument
111 alloc.free(obj);
130 void *operator new (size_t size, Allocator *alloc
150 CssmAutoPtr(Allocator &alloc, T *p) argument
156 CssmAutoPtr(Allocator &alloc, CssmAutoPtr<T1> &src) argument
179 CssmAutoPtr(Allocator &alloc) argument
180 CssmAutoPtr(Allocator &alloc, void *p) argument
183 CssmAutoPtr(Allocator &alloc, CssmAutoPtr<T1> &src) argument
207 CssmNewAutoPtr(Allocator &alloc, A1 &arg1) argument
209 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1) argument
213 CssmNewAutoPtr(Allocator &alloc, A1 &arg1, A2 &arg2) argument
216 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1, A2 &arg2) argument
219 CssmNewAutoPtr(Allocator &alloc, A1 &arg1, const A2 &arg2) argument
222 CssmNewAutoPtr(Allocator &alloc, const A1 &arg1, const A2 &arg2) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dacl_prompted.cpp37 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
39 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, password),
40 mPrompt(alloc, prompt) { }
41 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
43 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, password),
44 mPrompt(alloc, prompt) { }
45 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
47 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, cache),
48 mPrompt(alloc, prompt) { }
68 CssmList PromptedAclSubject::toList(Allocator &alloc) cons
81 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
102 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
[all...]
H A Dacl_secret.cpp38 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
40 : SimpleAclSubject(type), allocator(alloc),
41 mSecret(alloc, password), mSecretValid(true), mCacheSecret(false)
44 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
46 : SimpleAclSubject(type), allocator(alloc),
47 mSecret(alloc, password), mSecretValid(true), mCacheSecret(false)
50 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
52 : SimpleAclSubject(type), allocator(alloc),
53 mSecret(alloc), mSecretValid(false), mCacheSecret(doCache)
104 TrackingAllocator alloc(Allocato
[all...]
H A Dacl_protectedpw.cpp36 ProtectedPasswordAclSubject::ProtectedPasswordAclSubject(Allocator &alloc, const CssmData &password) argument
38 allocator(alloc), mPassword(alloc, password)
41 ProtectedPasswordAclSubject::ProtectedPasswordAclSubject(Allocator &alloc, CssmManagedData &password) argument
43 allocator(alloc), mPassword(alloc, password)
66 CssmList ProtectedPasswordAclSubject::toList(Allocator &alloc) const
69 return TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD);
93 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
95 return new ProtectedPasswordAclSubject(alloc, CssmAutoDat
[all...]
H A Dacl_any.cpp44 CssmList AnyAclSubject::toList(Allocator &alloc) const
46 return TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_ANY);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dacl_prompted.cpp37 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
39 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, password),
40 mPrompt(alloc, prompt) { }
41 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
43 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, password),
44 mPrompt(alloc, prompt) { }
45 PromptedAclSubject::PromptedAclSubject(Allocator &alloc, argument
47 : SecretAclSubject(alloc, CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD, cache),
48 mPrompt(alloc, prompt) { }
68 CssmList PromptedAclSubject::toList(Allocator &alloc) cons
81 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
102 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
[all...]
H A Dacl_secret.cpp38 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
40 : SimpleAclSubject(type), allocator(alloc),
41 mSecret(alloc, password), mSecretValid(true), mCacheSecret(false)
44 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
46 : SimpleAclSubject(type), allocator(alloc),
47 mSecret(alloc, password), mSecretValid(true), mCacheSecret(false)
50 SecretAclSubject::SecretAclSubject(Allocator &alloc, argument
52 : SimpleAclSubject(type), allocator(alloc),
53 mSecret(alloc), mSecretValid(false), mCacheSecret(doCache)
104 TrackingAllocator alloc(Allocato
[all...]
H A Dacl_protectedpw.cpp36 ProtectedPasswordAclSubject::ProtectedPasswordAclSubject(Allocator &alloc, const CssmData &password) argument
38 allocator(alloc), mPassword(alloc, password)
41 ProtectedPasswordAclSubject::ProtectedPasswordAclSubject(Allocator &alloc, CssmManagedData &password) argument
43 allocator(alloc), mPassword(alloc, password)
66 CssmList ProtectedPasswordAclSubject::toList(Allocator &alloc) const
69 return TypedList(alloc, CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD);
93 Allocator &alloc = Allocator::standard(Allocator::sensitive); local
95 return new ProtectedPasswordAclSubject(alloc, CssmAutoDat
[all...]
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/
H A Dbudemang.c41 char *res, *alloc; local
57 alloc = NULL;
61 alloc = xmalloc (suf - name + 1);
62 memcpy (alloc, name, suf - name);
63 alloc[suf - name] = '\0';
64 name = alloc;
77 if (alloc != NULL)
78 free (alloc);
96 if (alloc != NULL)
97 free (alloc);
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dbn_mp_grow.c24 /* if the alloc size is smaller alloc more ram */
25 if (a->alloc < size) {
45 i = a->alloc;
46 a->alloc = size;
47 for (; i < a->alloc; i++) {
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DDH_csp.h42 static void setNormAllocator(Allocator *alloc) argument
43 { assert(!normAllocator); normAllocator = alloc; }
44 static void setPrivAllocator(Allocator *alloc) argument
45 { assert(!privAllocator); privAllocator = alloc; }
H A DRSA_DSA_csp.h42 static void setNormAllocator(Allocator *alloc) argument
43 { assert(!normAllocator); normAllocator = alloc; }
44 static void setPrivAllocator(Allocator *alloc) argument
45 { assert(!privAllocator); privAllocator = alloc; }
H A Dcryptkitcsp.h44 static void setNormAllocator(Allocator *alloc) argument
45 { assert(!normAllocator); normAllocator = alloc; }
46 static void setPrivAllocator(Allocator *alloc) argument
47 { assert(!privAllocator); privAllocator = alloc; }
/macosx-10.10/tcl-105/tcl/tcl/libtommath/
H A Dbn_mp_grow.c24 /* if the alloc size is smaller alloc more ram */
25 if (a->alloc < size) {
45 i = a->alloc;
46 a->alloc = size;
47 for (; i < a->alloc; i++) {
/macosx-10.10/WebKit2-7600.1.25/Shared/Cocoa/
H A DAPIObject.mm76 // API::Object, so they are allocated using +alloc.
80 wrapper = [WKNSArray alloc];
88 wrapper = [WKBackForwardList alloc];
92 wrapper = [WKBackForwardListItem alloc];
96 wrapper = [WKWebProcessPlugInController alloc];
100 wrapper = [WKWebProcessPlugInBrowserContextController alloc];
108 wrapper = [WKProcessPool alloc];
112 wrapper = [WKNSData alloc];
116 wrapper = [WKNSDictionary alloc];
120 wrapper = [_WKDownload alloc];
[all...]
/macosx-10.10/swig-12/Lib/python/
H A Dpystrings.swg6 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
16 if (!alloc && cptr) {
25 if(alloc) *alloc = SWIG_NEWOBJ;
30 if (alloc) {
41 if (*alloc != SWIG_OLDOBJ)
43 if (*alloc == SWIG_NEWOBJ)
47 *alloc = SWIG_NEWOBJ;
51 *alloc = SWIG_OLDOBJ;
72 if (alloc) *allo
[all...]

Completed in 188 milliseconds

1234567891011>>