/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtils_InsertHelperTest.java | 79 " blob_value BLOB, null_value TEXT);"); 119 byte[] blob = new byte[] { '1', '2', '3' }; 120 mInsertHelper.bind(mInsertHelper.getColumnIndex("blob_value"), blob); 136 MoreAsserts.assertEquals(blob, value); 153 values.put("blob_value", blob); 168 MoreAsserts.assertEquals(blob, value); 181 " blob_value BLOB, null_value TEXT);"); 215 byte[] blob = new byte[] { '1', '2', '3' }; 216 mInsertHelper.bind(mInsertHelper.getColumnIndex("blob_value"), blob); 232 MoreAsserts.assertEquals(blob, value) [all...] |
/external/dbus/test/ |
corrupt.c | 165 const gchar *blob, 176 blob + total_sent, 259 char *blob; local 276 mem = dbus_message_marshal (message, &blob, &blob_len); 279 g_assert (blob != NULL); 286 if (blob[0] == 'B') 287 blob[0] = 'l'; 289 blob[0] = 'B'; 302 send_n_bytes (socket, blob, blob_len); 304 dbus_free (blob); [all...] |
/external/libdrm/radeon/ |
radeon_cs_gem.c | 344 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root; local 349 root = device_id = bcs = blob = array = bo = size = handle = NULL; 361 blob = bof_blob(csg->nrelocs * 16, csg->relocs); 362 if (blob == NULL) 364 if (bof_object_set(root, "reloc", blob)) 366 bof_decref(blob); 367 blob = NULL; 369 blob = bof_blob(cs->cdw * 4, cs->packets); 370 if (blob == NULL) 372 if (bof_object_set(root, "pm4", blob)) [all...] |
/external/skia/tests/ |
TextBlobTest.cpp | 99 // This unit test verifies blob bounds computation. 107 SkAutoTUnref<const SkTextBlob> blob(builder.build()); 108 REPORTER_ASSERT(reporter, blob->bounds().isEmpty()); 114 SkAutoTUnref<const SkTextBlob> blob(builder.build()); 115 REPORTER_ASSERT(reporter, blob->bounds() == r1); 121 SkAutoTUnref<const SkTextBlob> blob(builder.build()); 122 REPORTER_ASSERT(reporter, blob->bounds() == r1); 128 SkAutoTUnref<const SkTextBlob> blob(builder.build()); 129 REPORTER_ASSERT(reporter, blob->bounds() == r1); 141 SkAutoTUnref<const SkTextBlob> blob(builder.build()) [all...] |
/external/skia/src/gpu/text/ |
GrTextUtils.h | 56 static void DrawDFText(GrAtlasTextBlob* blob, int runIndex, 63 static void DrawDFPosText(GrAtlasTextBlob* blob, int runIndex, 91 static void InitDistanceFieldPaint(GrAtlasTextBlob* blob,
|
/frameworks/minikin/libs/minikin/ |
HbFontCache.cpp | 126 hb_blob_t* blob = hb_blob_create(reinterpret_cast<const char*>(buf), size, local 128 face = hb_face_create(blob, minikinFont->GetFontIndex()); 129 hb_blob_destroy(blob);
|
MinikinInternal.cpp | 86 hb_blob_t* blob = hb_face_reference_table(face, tag); local 88 return blob;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TestUtils.java | 77 byte[] blob = c.getBlob(i); 78 sb.append("([blob] "); 79 sb.append(blob == null ? "null" : blob.length + "b");
|
/system/keymaster/include/keymaster/ |
android_keymaster_messages.h | 297 void SetKeyMaterial(const keymaster_key_blob_t& blob) { 298 SetKeyMaterial(blob.key_material, blob.key_material_size); 328 void SetKeyMaterial(const keymaster_key_blob_t& blob) { 329 SetKeyMaterial(blob.key_material, blob.key_material_size); 451 void SetKeyMaterial(const keymaster_key_blob_t& blob) { 452 SetKeyMaterial(blob.key_material, blob.key_material_size); 473 void SetKeyMaterial(const keymaster_key_blob_t& blob) { [all...] |
keymaster_tags.h | 230 const keymaster_blob_t& blob) { 231 return keymaster_param_blob(tag, blob.data, blob.data_length); 242 const keymaster_blob_t& blob) { 243 return keymaster_param_blob(tag, blob.data, blob.data_length);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
service_account.py | 87 def sign_blob(self, blob): 90 blob = blob.encode('utf-8') 94 rsa.pkcs1.sign(blob, self._private_key, 'SHA-256'))
|
/external/fonttools/ |
README.md | 14 See [install.txt](https://github.com/behdad/fonttools/blob/master/Doc/install.txt) in the 'Doc' subdirectory for instructions on how to build and install TTX/FontTools from the sources. 21 See [documentation.html](https://github.com/behdad/fonttools/blob/master/Doc/documentation.html) in the "Doc" subdirectory for TTX usage instructions and information about the TTX file format.
|
/external/harfbuzz_ng/test/api/ |
test-shape.c | 86 hb_blob_t *blob; local 95 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); 96 face = hb_face_create (blob, 0); 97 hb_blob_destroy (blob);
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast_pac.c | 264 if (os_strncmp(pac_file, "blob://", 7) == 0) { 265 const struct wpa_config_blob *blob; local 266 blob = eap_get_config_blob(sm, pac_file + 7); 267 if (blob == NULL) { 268 wpa_printf(MSG_INFO, "EAP-FAST: No PAC blob '%s' - " 274 rc->pos = (char *) blob->data; 275 rc->end = (char *) blob->data + blob->len; 409 * @pac_file: Name of the PAC file/blob to load 539 if (os_strncmp(pac_file, "blob://", 7) == 0) 540 struct wpa_config_blob *blob; local 754 const struct wpa_config_blob *blob = NULL; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
ConversationInfo.java | 92 public static ConversationInfo fromBlob(byte[] blob) { 93 if (blob == null) { 97 p.unmarshall(blob, 0, blob.length);
|
/system/security/keystore/ |
keystore.cpp | 150 Blob blob; local 151 ResponseCode rc = get(filename, &blob, ::TYPE_ANY, userId); 153 /* get can fail if the blob is encrypted and the state is 159 shouldDelete = !(rc == ::NO_ERROR && !blob.isEncrypted()); 212 ResponseCode KeyStore::get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId) { 223 * it must be read it again since the blob is encrypted each time 267 ResponseCode KeyStore::put(const char* filename, Blob* keyBlob, uid_t userId) { 274 Blob keyBlob; 287 keymaster_key_blob_t blob = {keyBlob.getValue() local 297 keymaster_key_blob_t blob; local 440 keymaster_key_blob_t blob = {nullptr, 0}; local [all...] |
keystore.h | 26 #include "blob.h" 42 keymaster2_device_t* getDeviceForBlob(const Blob& blob) const { 43 return blob.isFallback() ? mFallbackDevice : mDevice; 70 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId); 71 ResponseCode put(const char* filename, Blob* keyBlob, uid_t userId); 87 ResponseCode getKeyForName(Blob* keyBlob, const android::String8& keyName, const uid_t uid, 132 bool upgradeBlob(const char* filename, Blob* blob, const uint8_t oldVersion, 136 * Takes a blob that is an PEM-encoded RSA key as a byte array and converts it to a DER-encode [all...] |
/external/harfbuzz_ng/src/ |
hb-graphite2.cc | 48 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t 63 hb_blob_t *blob = NULL; local 67 blob = p->blob; 71 if (unlikely (!blob)) 73 blob = face_data->face->reference_table (tag); 77 hb_blob_destroy (blob); 80 p->blob = blob; 90 const char *d = hb_blob_get_data (blob, &tlen) [all...] |
hb-ot-font.cc | 51 hb_blob_t *blob; member in struct:hb_ot_face_metrics_accelerator_t 87 this->blob = OT::Sanitizer<OT::_mtx>::sanitize (face->reference_table (_mtx_tag)); 90 unsigned int len = hb_blob_get_length (this->blob); 100 hb_blob_destroy (this->blob); 101 this->blob = hb_blob_get_empty (); 103 this->table = OT::Sanitizer<OT::_mtx>::lock_instance (this->blob); 108 hb_blob_destroy (this->blob); 224 hb_blob_t *blob; member in struct:hb_ot_face_cmap_accelerator_t 228 this->blob = OT::Sanitizer<OT::cmap>::sanitize (face->reference_table (HB_OT_TAG_cmap)); 229 const OT::cmap *cmap = OT::Sanitizer<OT::cmap>::lock_instance (this->blob); [all...] |
/development/samples/Vault/src/com/example/android/vault/ |
SecretKeyWrapper.java | 107 * @param blob a wrapped {@link SecretKey} as previously returned by 110 public SecretKey unwrap(byte[] blob) throws GeneralSecurityException { 112 return (SecretKey) mCipher.unwrap(blob, "AES", Cipher.SECRET_KEY);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 40 static HRESULT dxbc_assemble_as_blob(struct dxbc_chunk_header** chunks, unsigned num_chunks, ID3D10Blob** blob) 45 *blob = new GalliumD3DBlob(p.first, p.second);
|
/external/skia/src/gpu/ |
GrPathRenderingDrawContext.cpp | 59 const SkMatrix& viewMatrix, const SkTextBlob* blob, 72 skPaint, viewMatrix, this->surfaceProps(), blob, x,
|
/external/libbrillo/brillo/ |
key_value_store_unittest.cc | 46 string blob = "A=B\n# Comment\n"; local 47 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size())); 112 string blob = "TRUE=true\nfalse=false\nvar=false\nDONT_SHOUT=TRUE\n"; local 113 EXPECT_TRUE(store_.LoadFromString(blob));
|
/external/libdrm/tests/proptest/ |
proptest.c | 56 drmModePropertyBlobPtr blob; local 58 blob = drmModeGetPropertyBlob(fd, blob_id); 59 if (!blob) { 64 blob_data = blob->data; 66 for (i = 0; i < blob->length; i++) { 73 drmModeFreePropertyBlob(blob); 106 printf(" blob");
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config_winreg.c | 52 struct wpa_config_blob *blob; local 93 wpa_printf(MSG_MSGDUMP, "blob %d: field='%s' len %d", 96 blob = os_zalloc(sizeof(*blob)); 97 if (blob == NULL) { 101 blob->name = os_strdup((char *) name); 102 blob->data = os_malloc(datalen); 103 if (blob->name == NULL || blob->data == NULL) { 104 wpa_config_free_blob(blob); 988 struct wpa_config_blob *blob; local [all...] |