Searched refs:blob (Results 1 - 25 of 240) sorted by relevance

12345678910

/macosx-10.10/ncurses-44/ncurses/ncurses/base/
H A DMKunctrl.awk52 blob=""
65 blob = blob "\""
66 blob = blob "\n \""
95 blob = blob part "\\0";
101 blob = blob "\"";
106 blob
[all...]
/macosx-10.10/WebCore-7600.1.25/fileapi/
H A DFileReaderSync.idl36 [CallWith=ScriptExecutionContext, RaisesException] ArrayBuffer readAsArrayBuffer(Blob blob);
37 [CallWith=ScriptExecutionContext, RaisesException] DOMString readAsBinaryString(Blob blob);
38 [CallWith=ScriptExecutionContext, RaisesException] DOMString readAsText(Blob blob, optional DOMString encoding);
39 [CallWith=ScriptExecutionContext, RaisesException] DOMString readAsDataURL(Blob blob);
H A DFileReaderSync.cpp48 PassRefPtr<ArrayBuffer> FileReaderSync::readAsArrayBuffer(ScriptExecutionContext* scriptExecutionContext, Blob* blob, ExceptionCode& ec) argument
50 if (!blob) {
56 startLoading(scriptExecutionContext, loader, blob, ec);
61 String FileReaderSync::readAsBinaryString(ScriptExecutionContext* scriptExecutionContext, Blob* blob, ExceptionCode& ec) argument
63 if (!blob) {
69 startLoading(scriptExecutionContext, loader, blob, ec);
73 String FileReaderSync::readAsText(ScriptExecutionContext* scriptExecutionContext, Blob* blob, const String& encoding, ExceptionCode& ec) argument
75 if (!blob) {
82 startLoading(scriptExecutionContext, loader, blob, ec);
86 String FileReaderSync::readAsDataURL(ScriptExecutionContext* scriptExecutionContext, Blob* blob, ExceptionCod argument
99 startLoading(ScriptExecutionContext* scriptExecutionContext, FileReaderLoader& loader, Blob* blob, ExceptionCode& ec) argument
[all...]
H A DFileReader.cpp79 void FileReader::readAsArrayBuffer(Blob* blob, ExceptionCode& ec) argument
81 if (!blob)
84 LOG(FileAPI, "FileReader: reading as array buffer: %s %s\n", blob->url().string().utf8().data(), blob->isFile() ? toFile(blob)->path().utf8().data() : "");
86 readInternal(blob, FileReaderLoader::ReadAsArrayBuffer, ec);
89 void FileReader::readAsBinaryString(Blob* blob, ExceptionCode& ec) argument
91 if (!blob)
94 LOG(FileAPI, "FileReader: reading as binary: %s %s\n", blob->url().string().utf8().data(), blob
99 readAsText(Blob* blob, const String& encoding, ExceptionCode& ec) argument
110 readAsText(Blob* blob, ExceptionCode& ec) argument
115 readAsDataURL(Blob* blob, ExceptionCode& ec) argument
125 readInternal(Blob* blob, FileReaderLoader::ReadType type, ExceptionCode& ec) argument
[all...]
H A DFile.h86 inline File* toFile(Blob* blob) argument
88 ASSERT_WITH_SECURITY_IMPLICATION(!blob || blob->isFile());
89 return static_cast<File*>(blob);
92 inline const File* toFile(const Blob* blob) argument
94 ASSERT_WITH_SECURITY_IMPLICATION(!blob || blob->isFile());
95 return static_cast<const File*>(blob);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/clAppUtils/
H A DBlobList.cpp21 /* blob is mallocd & copied; its referent is not copied */
22 void BlobList::addBlob(const CSSM_DATA &blob, CSSM_BOOL copyBlob /* = CSSM_FALSE */) argument
29 dst->Length = blob.Length;
31 memmove(dst->Data, blob.Data, dst->Length);
34 *dst = blob;
42 CSSM_DATA blob; local
72 blob.Data = blobData;
73 blob.Length = blobDataLen;
76 blob.Data = derData;
77 blob
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DsslBER.h49 const SSLBuffer *blob, /* PKCS-1 encoded */
55 * BER-encoded RSA public key blob.
61 SSLBuffer *blob); /* data mallocd and RETURNED */
68 const SSLBuffer *blob, /* PKCS-1 encoded */
73 * Given a prime and generator, cook up a BER-encoded DHParameter blob.
78 SSLBuffer *blob); /* data mallocd and RETURNED */
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DsslBER.h49 const SSLBuffer *blob, /* PKCS-1 encoded */
55 * BER-encoded RSA public key blob.
61 SSLBuffer *blob); /* data mallocd and RETURNED */
68 const SSLBuffer *blob, /* PKCS-1 encoded */
73 * Given a prime and generator, cook up a BER-encoded DHParameter blob.
78 SSLBuffer *blob); /* data mallocd and RETURNED */
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DsslBER.h49 const SSLBuffer *blob, /* PKCS-1 encoded */
55 * BER-encoded RSA public key blob.
61 SSLBuffer *blob); /* data mallocd and RETURNED */
68 const SSLBuffer *blob, /* PKCS-1 encoded */
73 * Given a prime and generator, cook up a BER-encoded DHParameter blob.
78 SSLBuffer *blob); /* data mallocd and RETURNED */
/macosx-10.10/Security-57031.1.35/securityd/src/
H A Ddbcrypto.cpp26 // dbcrypto - cryptographic core for database and key blob cryptography
104 void DatabaseCryptoCore::setup(const DbBlob *blob, const CssmData &passphrase) argument
106 if (blob)
107 memcpy(mSalt, blob->salt, sizeof(mSalt));
120 void DatabaseCryptoCore::setup(const DbBlob *blob, CssmClient::Key master) argument
130 if (blob)
131 memcpy(mSalt, blob->salt, sizeof(mSalt));
185 // Encode a database blob from the core.
196 // build the encrypted section blob
211 // allocate the final DbBlob, uh, blob
213 DbBlob *blob = Allocator::standard().malloc<DbBlob>(length); local
250 decodeCore(const DbBlob *blob, void **privateAclBlob) argument
363 KeyBlob *blob = Allocator::standard().malloc<KeyBlob>(length); local
408 decodeKeyCore(KeyBlob *blob, CssmKey &key, void * &pubAcl, void * &privAcl) const argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12/
H A Dpkcs12Parsed.cpp20 * pkcs12Parsed.h - Parsed contents of a p12 blob
34 const CSSM_DATA &blob)
40 newBlobs[mNumBlobs++] = blob;
45 const CSSM_DATA &blob,
48 mBlob = blob;
55 const CSSM_DATA &blob,
58 mBlob = blob;
78 P12UnknownBlob *blob)
85 newBlobs[mNumBlobs++] = blob;
33 addBlob( const CSSM_DATA &blob) argument
44 P12UnknownBlob( const CSSM_DATA &blob, const char *descr) argument
54 P12UnknownBlob( const CSSM_DATA &blob, const CSSM_OID &oid) argument
77 addBlob( P12UnknownBlob *blob) argument
H A Dpkcs12Parsed.h20 * Parsed contents of a p12 blob
38 void addBlob(const CSSM_DATA &blob);
50 P12UnknownBlob(const CSSM_DATA &blob, const CSSM_OID &oid);
51 P12UnknownBlob(const CSSM_DATA &blob, const char *descr);
62 void addBlob(P12UnknownBlob *blob);
70 * The stuff we can get by parsing a p12 blob.
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12Parse/
H A Dpkcs12Parsed.cpp20 * pkcs12Parsed.h - Parsed contents of a p12 blob
34 const CSSM_DATA &blob)
40 newBlobs[mNumBlobs++] = blob;
45 const CSSM_DATA &blob,
48 mBlob = blob;
55 const CSSM_DATA &blob,
58 mBlob = blob;
78 P12UnknownBlob *blob)
85 newBlobs[mNumBlobs++] = blob;
33 addBlob( const CSSM_DATA &blob) argument
44 P12UnknownBlob( const CSSM_DATA &blob, const char *descr) argument
54 P12UnknownBlob( const CSSM_DATA &blob, const CSSM_OID &oid) argument
77 addBlob( P12UnknownBlob *blob) argument
H A Dpkcs12Parsed.h20 * Parsed contents of a p12 blob
38 void addBlob(const CSSM_DATA &blob);
50 P12UnknownBlob(const CSSM_DATA &blob, const CSSM_OID &oid);
51 P12UnknownBlob(const CSSM_DATA &blob, const char *descr);
62 void addBlob(P12UnknownBlob *blob);
70 * The stuff we can get by parsing a p12 blob.
/macosx-10.10/WebCore-7600.1.25/bindings/scripts/test/
H A DTestOverloadedConstructors.idl31 Constructor(Blob blob),
/macosx-10.10/WebCore-7600.1.25/bindings/js/
H A DJSBlobCustom.cpp51 JSValue toJS(ExecState*, JSDOMGlobalObject* globalObject, Blob* blob) argument
53 if (!blob)
56 if (blob->isFile())
57 return wrap<JSFile>(globalObject, static_cast<File*>(blob));
59 return wrap<JSBlob>(globalObject, blob);
70 RefPtr<Blob> blob = Blob::create(); local
71 return JSValue::encode(CREATE_DOM_WRAPPER(jsConstructor->globalObject(), Blob, blob.get()));
124 else if (Blob* blob = toBlob(item))
125 blobBuilder.append(blob);
134 RefPtr<Blob> blob local
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dblob.cpp26 // blob - generic extensible binary blob frame
28 #include "blob.h"
57 // Read a blob from a standard file stream.
59 // The blob is allocated with malloc(3).
68 if (BlobCore *blob = (BlobCore *)malloc(header.length())) {
69 memcpy(blob, &header, sizeof(header));
71 if (::pread(fd, blob+1, remainder, offset + sizeof(header)) == ssize_t(remainder))
72 return blob;
73 free(blob);
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dblob.cpp26 // blob - generic extensible binary blob frame
28 #include "blob.h"
57 // Read a blob from a standard file stream.
59 // The blob is allocated with malloc(3).
68 if (BlobCore *blob = (BlobCore *)malloc(header.length())) {
69 memcpy(blob, &header, sizeof(header));
71 if (::pread(fd, blob+1, remainder, offset + sizeof(header)) == ssize_t(remainder))
72 return blob;
73 free(blob);
[all...]
/macosx-10.10/security_systemkeychain-55202/src/
H A Dcs_misc.cpp30 #include <security_utilities/blob.h>
86 // kernel returns a blob header with magic == 0, length == needed size
95 const BlobCore *blob = (const BlobCore *)buffer; local
96 if (blob->length() < sizeof(*blob))
97 fail("runt entitlement blob returned from kernel");
98 if (blob->magic() == kSecCodeMagicEntitlement)
99 fwrite(blob+1, blob->length() - sizeof(*blob),
[all...]
/macosx-10.10/WebCore-7600.1.25/html/
H A DFormDataList.h37 Item(PassRefPtr<Blob> blob, const String& filename) : m_blob(blob), m_filename(filename) { } argument
40 Blob* blob() const { return m_blob.get(); } function in class:WebCore::FormDataList::Item
66 void appendBlob(const String& key, PassRefPtr<Blob> blob, const String& filename = String()) argument
69 appendBlob(blob, filename);
/macosx-10.10/autofs-246/smbremountserver/
H A Dsmbremountserver.c40 * blob of variable size to pass to the SMBRemountServer call. That's
52 void *blob; local
76 blob = malloc(byte_count);
77 if (blob == NULL) {
83 bytes_read = read(0, blob, byte_count);
85 fprintf(stderr, "smbremountserver: Error reading blob: %s\n",
90 fprintf(stderr, "smbremountserver: Read only %zd bytes of %u-byte blob\n",
115 SMBRemountServer(blob, byte_count);
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dacl_codesigning.cpp92 const BlobCore *blob = list[n].data().interpretedAs<const BlobCore>(); local
93 if (blob->length() < sizeof(BlobCore)) {
94 secdebug("csblob", "runt blob (0x%x/%zd) slot %d in CSSM_LIST",
95 blob->magic(), blob->length(), n);
97 } else if (blob->length() != list[n].data().length()) {
98 secdebug("csblob", "badly sized blob (0x%x/%zd) slot %d in CSSM_LIST",
99 blob->magic(), blob->length(), n);
102 subj->add(blob);
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dacl_codesigning.cpp92 const BlobCore *blob = list[n].data().interpretedAs<const BlobCore>(); local
93 if (blob->length() < sizeof(BlobCore)) {
94 secdebug("csblob", "runt blob (0x%x/%zd) slot %d in CSSM_LIST",
95 blob->magic(), blob->length(), n);
97 } else if (blob->length() != list[n].data().length()) {
98 secdebug("csblob", "badly sized blob (0x%x/%zd) slot %d in CSSM_LIST",
99 blob->magic(), blob->length(), n);
102 subj->add(blob);
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/
H A Dsigblob.cpp37 if (const BlobCore *blob = this->find(slot)) {
39 return makeCFData(*blob); // is a native Blob
40 } else if (const BlobWrapper *wrap = BlobWrapper::specific(blob)) {
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dsigblob.cpp37 if (const BlobCore *blob = this->find(slot)) {
39 return makeCFData(*blob); // is a native Blob
40 } else if (const BlobWrapper *wrap = BlobWrapper::specific(blob)) {

Completed in 166 milliseconds

12345678910