/system/security/keystore/ |
keystore_utils.h | 33 #include "blob.h" 64 inline static hidl_vec<uint8_t> blob2hidlVec(const Blob& blob) { 66 result.setToExternal(const_cast<uint8_t*>(blob.getValue()), blob.getLength());
|
keystore.h | 26 #include "blob.h" 56 km_device_t& getDevice(const Blob& blob) { 57 // We return a device, based on the nature of the blob to provide backward 59 return blob.isFallback() ? mFallbackDevice : mDevice; 88 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId); 89 ResponseCode put(const char* filename, Blob* keyBlob, uid_t userId); 105 ResponseCode getKeyForName(Blob* keyBlob, const android::String8& keyName, const uid_t uid, 151 bool upgradeBlob(const char* filename, Blob* blob, const uint8_t oldVersion [all...] |
/external/dtc/ |
fdtget.c | 118 * @param blob FDT blob 122 static int list_properties(const void *blob, int node) 128 prop = fdt_first_property_offset(blob, node); 133 data = fdt_get_property_by_offset(blob, prop, NULL); 134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); 137 prop = fdt_next_property_offset(blob, prop); 146 * @param blob FDT blob 150 static int list_subnodes(const void *blob, int node 253 char *blob; local [all...] |
flattree.c | 373 struct data blob = empty_data; local 385 die("Unknown device tree blob version %d\n", version); 405 "Warning: blob size %d >= minimum size %d\n", 424 * Assemble the blob: start with the header, add with alignment 428 blob = data_append_data(blob, &fdt, vi->hdr_size); 429 blob = data_append_align(blob, 8); 430 blob = data_merge(blob, reservebuf) 823 char *blob; local [all...] |
/system/keymaster/ |
keymaster0_engine.cpp | 132 bool Keymaster0Engine::DeleteKey(const KeymasterKeyBlob& blob) const { 135 return (keymaster0_device_->delete_keypair(keymaster0_device_, blob.key_material, 136 blob.key_material_size) == 0); 158 inline keymaster_key_blob_t* duplicate_blob(const keymaster_key_blob_t& blob) { 159 return duplicate_blob(blob.key_material, blob.key_material_size); 162 RSA* Keymaster0Engine::BlobToRsaKey(const KeymasterKeyBlob& blob) const { 163 // Create new RSA key (with engine methods) and insert blob 168 keymaster_key_blob_t* blob_copy = duplicate_blob(blob); 173 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(GetKeymaster0PublicKey(blob)); 225 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(*from_d); local 237 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(ptr); local [all...] |
keymaster1_engine.cpp | 86 keymaster_key_blob_t blob; local 88 &blob, &characteristics); 91 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); 92 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); 93 key_blob->key_material_size = blob.key_material_size; 110 keymaster_key_blob_t blob; local 113 &blob, &characteristics); 116 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); 117 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size) [all...] |
/system/nvram/core/include/nvram/core/ |
storage.h | 24 #include <nvram/messages/blob.h> 38 Status LoadHeader(Blob* blob); 40 // Write the binary-encoded NVRAM header |blob| to storage. See the comment on 42 Status StoreHeader(const Blob& blob); 46 // This must place the data in |blob| that was provided by the last store 51 // It's OK if the data placed in |blob| exceeds the size of the original data, 55 Status LoadSpace(uint32_t index, Blob* blob); [all...] |
/system/update_engine/payload_generator/ |
payload_signer.h | 44 brillo::Blob* out_payload_metadata, 52 // of a given version in the signature blob. Returns false otherwise. 57 // dummy operation that points to a signature blob located at the specified 66 static bool SignHash(const brillo::Blob& hash, 68 brillo::Blob* out_signature); 70 // Sign |hash_data| blob with all private keys in |private_key_paths|, then 71 // convert the signatures to protobuf blob. 73 const brillo::Blob& hash_data, 75 brillo::Blob* out_signature_blob); 80 // |signatures_offset|, calculates the payload signature blob int [all...] |
xz_android.cc | 31 // An ISeqInStream implementation that reads all the data from the passed Blob. 33 explicit BlobReaderStream(const brillo::Blob& data) : data_(data) { 46 const brillo::Blob& data_; 52 // An ISeqOutStream implementation that writes all the data to the passed Blob. 54 explicit BlobWriterStream(brillo::Blob* data) : data_(data) { 67 brillo::Blob* data_; 84 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) { 94 // supports CRC32, but we already check the sha-1 of the whole blob during
|
bzip.h | 25 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out);
|
xz_chromeos.cc | 23 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) {
|
/external/libbrillo/brillo/ |
data_encoding.h | 55 BRILLO_EXPORT bool Base64Decode(const std::string& input, brillo::Blob* output); 57 // Helper wrappers to use std::string and brillo::Blob as binary data 59 inline std::string Base64Encode(const brillo::Blob& input) { 62 inline std::string Base64EncodeWrapLines(const brillo::Blob& input) { 72 brillo::Blob blob; local 73 if (!Base64Decode(input, &blob)) 75 *output = std::string{blob.begin(), blob.end()};
|
/system/tpm/attestation/server/ |
pkcs11_key_store_test.cc | 311 std::string blob; local 312 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); 313 EXPECT_FALSE(key_store.Write(kDefaultUser, "test", blob)); 314 EXPECT_FALSE(key_store.Read("", "test", &blob)); 315 EXPECT_FALSE(key_store.Write("", "test", blob)); 322 std::string blob; local 323 EXPECT_FALSE(key_store.Read(kDefaultUser, "test", &blob)); 325 EXPECT_TRUE(key_store.Read(kDefaultUser, "test", &blob)); 326 EXPECT_EQ("test_data", blob); 328 EXPECT_FALSE(key_store.Read(kDefaultUser, "test2", &blob)); 347 std::string blob; local 375 std::string blob; local 387 std::string blob; local 397 std::string blob; local 407 std::string blob; local 428 std::string blob; local 451 std::string blob; local 560 std::string blob; local [all...] |
/external/ImageMagick/PerlMagick/t/ |
ping.t | 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width); 44 print("Ping blob ...\n"); 48 @blob=$image->ImageToBlob(); 51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob); 52 undef @blob;
|
/external/harfbuzz_ng/src/ |
test-buffer-serialize.cc | 48 hb_blob_t *blob = NULL; local 55 /* Create the blob */ 84 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 87 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 88 hb_blob_destroy (blob); 89 blob = NULL;
|
test-size-params.cc | 46 hb_blob_t *blob = NULL; local 53 /* Create the blob */ 82 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 86 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 87 hb_blob_destroy (blob); 88 blob = NULL;
|
test-would-substitute.cc | 50 hb_blob_t *blob = NULL; local 57 /* Create the blob */ 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 90 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 91 hb_blob_destroy (blob); 92 blob = NULL;
|
/external/libchrome/base/test/ |
test_file_util_posix.cc | 37 // Gets a blob indicating the permission information for |path|. 38 // |length| is the length of the blob. Zero on failure. 39 // Returns the blob pointer, or NULL on failure. 55 // Restores the permission information for |path|, given the blob retrieved 57 // |info| is the pointer to the blob. 58 // |length| is the length of the blob.
|
/external/skia/gm/ |
clip_error.cpp | 18 static void draw_text(SkCanvas* canvas, sk_sp<SkTextBlob> blob, 25 canvas->drawTextBlob(blob, 0, 256, blurPaint); 26 canvas->drawTextBlob(blob, 0, 477, paint); 62 sk_sp<SkTextBlob> blob(builder.make()); 70 draw_text(canvas, blob, paint, blurPaint, clearPaint); 76 draw_text(canvas, blob, paint, blurPaint, clearPaint);
|
/external/harfbuzz_ng/test/api/ |
test-blob.c | 29 /* Unit tests for hb-blob.h */ 48 hb_blob_t *blob; local 60 blob = hb_blob_get_empty (); 61 g_assert (blob == hb_blob_get_empty ()); 63 len = hb_blob_get_length (blob); 66 data = hb_blob_get_data (blob, NULL); 69 data = hb_blob_get_data (blob, &len); 73 data_writable = hb_blob_get_data_writable (blob, NULL); 76 data_writable = hb_blob_get_data_writable (blob, &len); 94 hb_blob_t *blob; member in struct:__anon19739 [all...] |
/external/autotest/client/site_tests/graphics_Stress/ |
control.blobaquariumyt | 19 This test runs a graphics stress with WebGL Blob, Aquarium and YouTube. 22 job.run_test('graphics_Stress', subtest='blob+aquarium+yt')
|
/external/skia/src/gpu/text/ |
GrAtlasTextContext.cpp | 66 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) { 67 SkTextBlobRunIterator it(blob); 79 const SkSurfaceProps& props, const SkTextBlob* blob, 100 bool hasLCD = HasLCD(blob); 113 key.fUniqueID = blob->uniqueID(); 124 // We have to remake the blob because changes may invalidate our masks. 128 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint); 131 viewMatrix, props, blob, x, y, drawFilter); 138 GrTextBlobCache::BlobGlyphCount(&glyphCount, &runCount, blob); 143 viewMatrix, props, blob, x, y, drawFilter) 245 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local 271 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local [all...] |
/external/skia/tools/ |
SkShaper_harfbuzz.cpp | 24 std::unique_ptr<hb_blob_t, HBFBlobDel> blob; local 26 blob.reset(hb_blob_create((char*)base, SkToUInt(size), 33 blob.reset(hb_blob_create((char*)ptr, SkToUInt(size), 36 SkASSERT(blob); 37 hb_blob_make_immutable(blob.get()); 38 return blob; 57 std::unique_ptr<hb_blob_t, HBFBlobDel> blob( 64 hb_face_create(blob.get(), (unsigned)index));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dcompiler.h | 84 HRESULT WINAPI D3DStripShader(const void *data, SIZE_T data_size, UINT flags, ID3DBlob **blob); 106 HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob); 107 HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); 108 HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); 109 HRESULT WINAPI D3DGetInputAndOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob); 110 HRESULT WINAPI D3DGetDebugInfo(const void *data, SIZE_T data_size, ID3DBlob **blob); 112 HRESULT WINAPI D3DWriteBlobToFile(ID3DBlob *blob, const WCHAR *filename, WINBOOL overwrite); 115 HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob);
|
/frameworks/native/opengl/libs/EGL/ |
BlobCache.h | 36 // Create an empty blob cache. The blob cache will cache key/value pairs 116 // A Blob is an immutable sized unstructured data blob. 117 class Blob { 119 Blob(const void* data, size_t size, bool copyData); 120 ~Blob(); 122 bool operator<(const Blob& rhs) const; 129 Blob(const Blob&) [all...] |