/system/nvram/messages/ |
rules.mk | 22 $(LOCAL_DIR)/blob.cpp \
|
/system/update_engine/payload_generator/ |
annotated_operation.cc | 39 bool AnnotatedOperation::SetOperationBlob(const brillo::Blob& blob, 41 if (blob.empty()) { 46 off_t data_offset = blob_file->StoreBlob(blob); 49 op.set_data_length(blob.size());
|
annotated_operation.h | 38 // Writes |blob| to the end of |blob_file|. It sets the data_offset and 39 // data_length in AnnotatedOperation to match the offset and size of |blob| 41 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
|
block_mapping.cc | 34 size_t HashValue(const brillo::Blob& blob) { 36 return hash_fn(string(blob.begin(), blob.end())); 43 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { 48 brillo::Blob blob(block_size_); 50 if (!utils::PReadAll(fd, blob.data(), block_size_, byte_offset, &bytes_read)) 54 return AddBlock(fd, byte_offset, blob); 73 const brillo::Blob& block_data) [all...] |
/external/ImageMagick/coders/ |
meta.c | 44 #include "MagickCore/blob.h" 45 #include "MagickCore/blob-private.h" 1160 *blob; 1195 blob=(unsigned char *) AcquireQuantumMemory(length,sizeof(unsigned char)); 1196 if (blob == (unsigned char *) NULL) 1201 AttachBlob(buff->blob,blob,length); 1156 *blob; local [all...] |
jnx.c | 48 #include "MagickCore/blob.h" 49 #include "MagickCore/blob-private.h" 261 *blob; 285 blob=(unsigned char *) AcquireQuantumMemory((size_t) tile_length+2, 286 sizeof(*blob)); 287 if (blob == (unsigned char *) NULL) 293 blob[0]=0xFF; 294 blob[1]=0xD8; 295 count=ReadBlob(image,tile_length,blob+2); 300 blob=(unsigned char *) RelinquishMagickMemory(blob) 257 *blob; local [all...] |
/external/harfbuzz_ng/src/ |
test-buffer-serialize.cc | 47 hb_blob_t *blob = nullptr; local 54 /* Create the blob */ 83 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 = nullptr;
|
hb-face.cc | 101 hb_blob_t *blob; member in struct:hb_face_for_data_closure_t 106 _hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index) 114 closure->blob = blob; 125 hb_blob_destroy (closure->blob); 135 return hb_blob_reference (data->blob); 137 const OT::OpenTypeFontFile &ot_file = *OT::Sanitizer<OT::OpenTypeFontFile>::lock_instance (data->blob); 142 hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, table.offset, table.length); local 144 return blob; [all...] |
/system/nvram/hal/ |
fake_nvram_storage.cpp | 78 nvram::storage::Status LoadFile(const char* name, nvram::Blob* blob) { 100 if (!blob->Resize(data_file_stat.st_size)) { 105 if (!android::base::ReadFully(data_file_fd.get(), blob->data(), 106 blob->size())) { 114 // Writes blob to the storage object indicated by |name|. 115 nvram::storage::Status StoreFile(const char* name, const nvram::Blob& blob) { 127 if (!android::base::WriteFully(data_file_fd.get(), blob.data(), 128 blob.size())) [all...] |
/system/keymaster/legacy_support/ |
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...] |
/external/dtc/tests/ |
testutils.c | 161 char *blob; local 162 int ret = utilfdt_read_err(filename, &blob); 165 CONFIG("Couldn't open blob from \"%s\": %s", filename, 167 return blob; 182 CONFIG("Couldn't write blob to \"%s\": %s", filename, 186 void *open_blob_rw(void *blob) 189 void *buf = blob; 191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); 194 int newsize = fdt_totalsize(blob) + 8 [all...] |
/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/skia/src/gpu/text/ |
GrAtlasTextContext.cpp | 90 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) { 91 SkTextBlobRunIterator it(blob); 103 const SkTextBlob* blob, SkScalar x, SkScalar y, 126 bool hasLCD = HasLCD(blob); 139 key.fUniqueID = blob->uniqueID(); 150 // We have to remake the blob because changes may invalidate our masks. 154 cacheBlob = textBlobCache->makeCachedBlob(blob, key, blurRec, skPaint); 157 viewMatrix, props, blob, x, y, drawFilter); 164 GrTextBlobCache::BlobGlyphCount(&glyphCount, &runCount, blob); 169 viewMatrix, props, blob, x, y, drawFilter) 271 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local 301 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local [all...] |
/system/keymaster/include/keymaster/legacy_support/ |
keymaster1_engine.h | 55 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const; 59 KeyData(const KeymasterKeyBlob& blob, const AuthorizationSet& params) 60 : op_handle(0), begin_params(params), key_material(blob), error(KM_ERROR_OK), 71 RSA* BuildRsaKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, 73 EC_KEY* BuildEcKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, 82 EVP_PKEY* GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
|
/system/keymaster/tests/ |
wrapped_key_test.cpp | 56 string blob2string(keymaster_blob_t& blob) { 57 string s(reinterpret_cast<const char*>(blob.data), blob.data_length); 61 string keyblob2string(keymaster_key_blob_t& blob) { 62 string s(reinterpret_cast<const char*>(blob.key_material), blob.key_material_size);
|
/external/python/cpython2/Demo/tkinter/guido/ |
imagedraw.py | 14 canv.bind('<Button-1>', blob) 17 def blob(event): function
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockKeyStore.java | 21 public byte[] blob; field in class:MockKeyStore.KeyBlob 24 public void update(byte[] blob, int flag) { 25 this.blob = Arrays.copyOf(blob, blob.length); 91 KeyBlob blob = new KeyBlob(); local 92 map.put(key, blob); 93 return blob;
|
/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);
|
/external/autotest/client/common_lib/cros/ |
chip_utils.py | 36 The typical firmware blob file name format is: <chip>_0x00.bin 39 file_name: Firmware blob file name. 66 def fw_ver_from_hash(self, blob): 69 return blob[1] 72 """Generates the firmware blob hash.""" 92 def fw_ver_from_hash(self, blob): 95 return blob[0] 98 """Generates the firmware blob hash.""" 118 """Generates the firmware blob hash."""
|
/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()};
|
/external/libxcam/modules/isp/ |
xcam_cpf_reader.h | 47 /*! \brief CPF blob 54 /*! \brief XCam CPF blob allocation. 57 * \return pointer to XCam CPF Blob 61 /*! \brief XCam CPF blob release. 62 * release the blob structure as well as the buffer inside it. 64 * \param[in,out] pointer to XCam CPF Blob 66 void xcam_cpf_blob_free (XCamCpfBlob *blob); 68 /*! \brief XCam CPF blob release. 69 * release the blob structure as well as the buffer inside it. Called in xcam_3a_init(). 72 * \param[out] aiq_cpf pointer to XCam CPF Blob which will hold AIQ record [all...] |
/external/skia/src/core/ |
SkTextBlobRunIterator.h | 13 * Iterate through all of the text runs of the text blob. For example: 14 * for (SkTextBlobRunIterator it(blob); !it.done(); it.next()) { 20 SkTextBlobRunIterator(const SkTextBlob* blob);
|
/external/skqp/src/core/ |
SkTextBlobRunIterator.h | 13 * Iterate through all of the text runs of the text blob. For example: 14 * for (SkTextBlobRunIterator it(blob); !it.done(); it.next()) { 20 SkTextBlobRunIterator(const SkTextBlob* blob);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
FolderList.java | 69 public static FolderList fromBlob(byte[] blob) { 70 if (blob == null) { 75 p.unmarshall(blob, 0, blob.length);
|
/system/libufdt/tests/src/ |
ufdt_verify_overlay_app.cpp | 51 struct fdt_header *blob = nullptr; local 70 blob = ufdt_install_blob(final_buf, final_size); 71 if (!blob) { 76 result = ufdt_verify_dtbo(blob, final_size, overlay_buf_array, overlay_count); 83 // Do not dto_free(blob) - it's the same as final_buf.
|