| /frameworks/base/core/tests/coretests/src/android/database/ |
| CursorWindowTest.java | 102 // put blob 103 byte[] blob = new byte[1000]; 105 Arrays.fill(blob, value); 106 assertTrue(window.putBlob(blob, 0, 6)); 107 assertTrue(Arrays.equals(blob, window.getBlob(0, 6)));
|
| /external/chromium_org/third_party/harfbuzz-ng/src/ |
| hb-graphite2.cc | 51 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t 66 hb_blob_t *blob = NULL; local 70 blob = p->blob; 74 if (unlikely (!blob)) 76 blob = face_data->face->reference_table (tag); 80 hb_blob_destroy (blob); 83 p->blob = blob; 93 const char *d = hb_blob_get_data (blob, &tlen) [all...] |
| hb-open-type-private.hh | 34 #include "hb-blob.h" 191 this->blob = hb_blob_reference (b); 197 this->start = hb_blob_get_data (this->blob, NULL); 198 this->end = this->start + hb_blob_get_length (this->blob); 202 DEBUG_MSG_LEVEL (SANITIZE, this->blob, 0, +1, 210 DEBUG_MSG_LEVEL (SANITIZE, this->blob, 0, -1, 214 hb_blob_destroy (this->blob); 215 this->blob = NULL; 224 (&this->debug_depth, "SANITIZE", this->blob, NULL, 238 (&this->debug_depth, "SANITIZE", this->blob, NULL 275 hb_blob_t *blob; member in struct:OT::hb_sanitize_context_t [all...] |
| hb-gobject-structs.cc | 58 HB_DEFINE_BOXED_TYPE (blob)
|
| /external/harfbuzz_ng/src/ |
| hb-graphite2.cc | 51 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t 66 hb_blob_t *blob = NULL; local 70 blob = p->blob; 74 if (unlikely (!blob)) 76 blob = face_data->face->reference_table (tag); 80 hb_blob_destroy (blob); 83 p->blob = blob; 93 const char *d = hb_blob_get_data (blob, &tlen) [all...] |
| hb-open-type-private.hh | 34 #include "hb-blob.h" 191 this->blob = hb_blob_reference (b); 197 this->start = hb_blob_get_data (this->blob, NULL); 198 this->end = this->start + hb_blob_get_length (this->blob); 202 DEBUG_MSG_LEVEL (SANITIZE, this->blob, 0, +1, 210 DEBUG_MSG_LEVEL (SANITIZE, this->blob, 0, -1, 214 hb_blob_destroy (this->blob); 215 this->blob = NULL; 224 (&this->debug_depth, "SANITIZE", this->blob, NULL, 238 (&this->debug_depth, "SANITIZE", this->blob, NULL 275 hb_blob_t *blob; member in struct:OT::hb_sanitize_context_t [all...] |
| hb-gobject-structs.cc | 58 HB_DEFINE_BOXED_TYPE (blob)
|
| /external/chromium_org/chrome/browser/chromeos/policy/ |
| enterprise_install_attributes_unittest.cc | 215 const std::string blob(install_attrs_proto.SerializeAsString()); 216 ASSERT_EQ(static_cast<int>(blob.size()), 217 file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size())); 229 const std::string blob(install_attrs_proto.SerializeAsString()); 230 ASSERT_EQ(static_cast<int>(blob.size()), 231 file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size()));
|
| /external/chromium_org/chrome/common/extensions/docs/server2/ |
| appengine_blobstore.py | 13 """A wrapper around the blobstore API, which stores the blob keys in 19 def Set(self, key, blob, namespace): 20 """Add a blob to the blobstore. |version| is used as part of the key so 26 f.write(blob) 32 """Get a blob with version |version|. 42 """Delete the blob with version |version| if it is found.
|
| /external/chromium_org/chrome/renderer/extensions/ |
| page_capture_custom_bindings.cc | 35 WebKit::WebBlob blob = local 37 args.GetReturnValue().Set(blob.toV8Value());
|
| /external/openssh/ |
| ssh-pkcs11-client.c | 108 u_char *blob, *signature = NULL; local 117 if (key_to_blob(&key, &blob, &blen) == 0) 121 buffer_put_string(&msg, blob, blen); 124 xfree(blob); 187 u_char *blob; local 205 blob = buffer_get_string(&msg, &blen); 207 k = key_from_blob(blob, blen); 210 xfree(blob);
|
| authfile.c | 79 * Serialises the authentication (private) key to a blob, encrypting it with 80 * passphrase. The identification of the blob (lowest 64 bits of n) will 85 key_private_rsa1_to_blob(Key *key, Buffer *blob, const char *passphrase, 161 buffer_append(blob, buffer_ptr(&encrypted), buffer_len(&encrypted)); 169 key_private_pem_to_blob(Key *key, Buffer *blob, const char *_passphrase, 211 buffer_append(blob, bptr, blen); 217 /* Save a key blob to a file */ 239 /* Serialise "key" to buffer "blob" */ 241 key_private_to_blob(Key *key, Buffer *blob, const char *passphrase, 246 return key_private_rsa1_to_blob(key, blob, passphrase, comment) [all...] |
| /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/chromium/chrome/common/ |
| sqlite_utils.cc | 326 int SQLStatement::bind_blob(int index, std::vector<unsigned char>* blob) { 327 if (blob) { 328 const void* value = blob->empty() ? NULL : &(*blob)[0]; 329 int len = static_cast<int>(blob->size()); 405 std::vector<unsigned char>* blob) { 409 blob->resize(len); 410 if (blob->size() != len) { 414 memcpy(&(blob->front()), p, len); 418 bool SQLStatement::column_blob_as_string(int index, std::string* blob) { [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
| FormData.cpp | 179 // If the current type is blob, then we also need to include the filename 180 if (value.blob()) { 182 if (value.blob()->isFile()) { 183 File* file = toFile(value.blob()); 184 // For file blob, use the filename (or relative path if it is present) as the name. 187 // If a filename is passed in FormData.append(), use it instead of the file blob's name. 191 // For non-file blob, use the filename if it is passed in FormData.append(). 195 name = "blob"; 203 if (value.blob()->type().isEmpty()) 206 contentType = value.blob()->type() [all...] |
| /external/chromium_org/sync/engine/ |
| syncer_proto_util.h | 16 #include "sync/syncable/blob.h" 76 syncable::Blob* blob); 78 const syncable::Blob& blob); 79 static void CopyBlobIntoProtoBytes(const syncable::Blob& blob,
|
| /external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
| Blob.cpp | 32 #include "core/fileapi/Blob.h" 49 void BlobURLRegistry::registerURL(SecurityOrigin* origin, const KURL& publicURL, URLRegistrable* blob) 51 ASSERT(&blob->registry() == this); 52 BlobRegistry::registerBlobURL(origin, publicURL, static_cast<Blob*>(blob)->url()); 67 Blob::Blob() 73 // Create a new internal URL and register it with the provided blob data. 78 Blob::Blob(PassOwnPtr<BlobData> blobData, long long size [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/sql/ |
| SQLiteStatement.cpp | 162 int SQLiteStatement::bindBlob(int index, const void* blob, int size) 167 ASSERT(blob); 173 return sqlite3_bind_blob(m_statement, index, blob, size, SQLITE_TRANSIENT); 281 return equalIgnoringCase(String("BLOB"), String(reinterpret_cast<const UChar*>(sqlite3_column_decltype16(m_statement, col)))); 381 const void* blob = sqlite3_column_blob(m_statement, col); local 382 if (!blob) 390 return String(static_cast<const UChar*>(blob), size / sizeof(UChar)); 407 const void* blob = sqlite3_column_blob(m_statement, col); local 408 if (!blob) { 416 result[i] = (static_cast<const unsigned char*>(blob))[i] 439 const void* blob = sqlite3_column_blob(m_statement, col); local [all...] |
| /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");
|
| /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; 407 * @pac_file: Name of the PAC file/blob to load 536 if (os_strncmp(pac_file, "blob://", 7) == 0) 537 struct wpa_config_blob *blob; local 751 const struct wpa_config_blob *blob = NULL; local [all...] |
| /external/wpa_supplicant_8/wpa_supplicant/ |
| config_file.c | 270 struct wpa_config_blob *blob; local 276 wpa_printf(MSG_MSGDUMP, "Line: %d - start of a new named blob '%s'", 289 "blob", *line); 299 wpa_printf(MSG_ERROR, "Line %d: blob was not terminated " 305 blob = os_zalloc(sizeof(*blob)); 306 if (blob == NULL) { 310 blob->name = os_strdup(name); 311 blob->data = base64_decode(encoded, encoded_len, &blob->len) 327 struct wpa_config_blob *blob; local 1063 struct wpa_config_blob *blob; local [all...] |
| /packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
| ConversationInfo.java | 76 public static ConversationInfo fromBlob(byte[] blob) { 77 if (blob == null) { 81 p.unmarshall(blob, 0, blob.length);
|
| /external/chromium/chrome/browser/sync/engine/ |
| syncer_proto_util.cc | 307 syncable::Blob* blob) { 308 syncable::Blob proto_blob(proto_bytes.begin(), proto_bytes.end()); 309 blob->swap(proto_blob); 314 const syncable::Blob& blob) { 315 if (proto_bytes.size() != blob.size()) 317 return std::equal(proto_bytes.begin(), proto_bytes.end(), blob.begin()); 321 void SyncerProtoUtil::CopyBlobIntoProtoBytes(const syncable::Blob& blob, [all...] |
| /external/chromium_org/third_party/mesa/src/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/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);
|