HomeSort by relevance Sort by last modified time
    Searched refs:blob (Results 76 - 100 of 601) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/harfbuzz_ng/test/fuzzing/
hb-fuzzer.cc 8 hb_blob_t *blob = hb_blob_create((const char *)data, size, local
10 hb_face_t *face = hb_face_create(blob, 0);
50 hb_blob_destroy(blob);
  /external/libvpx/libvpx/test/android/
scrape_gtest_log.py 41 blob = sys.stdin.read()
43 re.findall(r'{([^}]*.?)}', blob)) + ']'
44 print blob
  /external/skia/gm/
textblobgeometrychange.cpp 44 sk_sp<SkTextBlob> blob(builder.make());
56 canvas->drawTextBlob(blob, 10, 50, paint);
61 c->drawTextBlob(blob, 10, 150, paint);
textblobuseaftergpufree.cpp 51 sk_sp<SkTextBlob> blob(builder.make());
58 canvas->drawTextBlob(blob, 10, 50, paint);
62 canvas->drawTextBlob(blob, 10, 150, paint);
  /external/skqp/gm/
textblobgeometrychange.cpp 44 sk_sp<SkTextBlob> blob(builder.make());
56 canvas->drawTextBlob(blob, 10, 50, paint);
61 c->drawTextBlob(blob, 10, 150, paint);
textblobuseaftergpufree.cpp 51 sk_sp<SkTextBlob> blob(builder.make());
58 canvas->drawTextBlob(blob, 10, 50, paint);
62 canvas->drawTextBlob(blob, 10, 150, paint);
  /frameworks/base/services/core/java/com/android/server/locksettings/
SyntheticPasswordCrypto.java 53 private static byte[] decrypt(SecretKey key, byte[] blob)
56 if (blob == null) {
59 byte[] iv = Arrays.copyOfRange(blob, 0, PROFILE_KEY_IV_SIZE);
60 byte[] ciphertext = Arrays.copyOfRange(blob, PROFILE_KEY_IV_SIZE, blob.length);
67 private static byte[] encrypt(SecretKey key, byte[] blob)
70 if (blob == null) {
77 byte[] ciphertext = cipher.doFinal(blob);
115 public static byte[] decryptBlobV1(String keyAlias, byte[] blob, byte[] applicationId) {
121 byte[] intermediate = decrypt(applicationId, APPLICATION_ID_PERSONALIZATION, blob);
    [all...]
  /hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
keymaster_utils.h 50 inline static hidl_vec<uint8_t> blob2hidlVec(const std::vector<uint8_t>& blob,
53 result.setToExternal(const_cast<uint8_t*>(blob.data()), static_cast<size_t>(blob.size()),
  /system/libufdt/tests/src/
ufdt_overlay_test_app.c 47 struct fdt_header *blob = ufdt_install_blob(base_buf, blob_len); local
48 if (!blob) {
54 new_blob = ufdt_apply_overlay(blob, blob_len, overlay_buf, overlay_len);
68 // Do not dto_free(blob) - it's the same as base_buf.
  /system/keymaster/legacy_support/
keymaster1_engine.cpp 85 keymaster_key_blob_t blob; local
87 &blob, &characteristics);
90 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
91 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
92 key_blob->key_material_size = blob.key_material_size;
109 keymaster_key_blob_t blob; local
112 &blob, &characteristics);
115 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
116 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size)
    [all...]
  /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:__anon21168
    [all...]
  /external/skia/tests/
TextBlobTest.cpp 100 // This unit test verifies blob bounds computation.
108 sk_sp<SkTextBlob> blob(builder.make());
109 REPORTER_ASSERT(reporter, !blob);
115 sk_sp<SkTextBlob> blob(builder.make());
116 REPORTER_ASSERT(reporter, blob->bounds() == r1);
122 sk_sp<SkTextBlob> blob(builder.make());
123 REPORTER_ASSERT(reporter, blob->bounds() == r1);
129 sk_sp<SkTextBlob> blob(builder.make());
130 REPORTER_ASSERT(reporter, blob->bounds() == r1);
142 sk_sp<SkTextBlob> blob(builder.make())
    [all...]
  /external/skqp/tests/
TextBlobTest.cpp 100 // This unit test verifies blob bounds computation.
108 sk_sp<SkTextBlob> blob(builder.make());
109 REPORTER_ASSERT(reporter, !blob);
115 sk_sp<SkTextBlob> blob(builder.make());
116 REPORTER_ASSERT(reporter, blob->bounds() == r1);
122 sk_sp<SkTextBlob> blob(builder.make());
123 REPORTER_ASSERT(reporter, blob->bounds() == r1);
129 sk_sp<SkTextBlob> blob(builder.make());
130 REPORTER_ASSERT(reporter, blob->bounds() == r1);
142 sk_sp<SkTextBlob> blob(builder.make())
    [all...]
  /frameworks/base/core/jni/
android_os_HwBlob.cpp 162 status_t JHwBlob::putBlob(size_t offset, const sp<JHwBlob> &blob) {
167 info->mBlob = blob;
169 const void *data = blob->data();
271 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); \
274 status_t err = blob->read(offset, &x, sizeof(x)); \
293 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
296 status_t err = blob->read(offset, &x, sizeof(x));
308 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
311 status_t err = blob->getString(offset, &s);
338 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz);
376 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
420 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
454 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
495 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
519 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); local
    [all...]
  /external/skqp/src/gpu/text/
GrAtlasTextContext.cpp 96 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) {
97 SkTextBlobRunIterator it(blob);
109 const SkTextBlob* blob, SkScalar x, SkScalar y,
131 bool hasLCD = HasLCD(blob);
144 key.fUniqueID = blob->uniqueID();
155 // We have to remake the blob because changes may invalidate our masks.
159 cacheBlob = textBlobCache->makeCachedBlob(blob, key, blurRec, skPaint);
162 viewMatrix, props, blob, x, y, drawFilter);
169 GrTextBlobCache::BlobGlyphCount(&glyphCount, &runCount, blob);
174 viewMatrix, props, blob, x, y, drawFilter)
276 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local
305 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local
    [all...]
  /external/fonttools/Lib/fontTools/misc/
py23.py 53 def transcode(blob):
54 if not isinstance(blob, str):
55 blob = blob.decode('latin-1')
56 return blob
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
MockSyntheticPasswordManager.java 48 protected byte[] decryptSPBlob(String blobKeyName, byte[] blob, byte[] applicationId) {
49 if (mBlobs.containsKey(blobKeyName) && !Arrays.equals(mBlobs.get(blobKeyName), blob)) {
52 ByteBuffer buffer = ByteBuffer.allocate(blob.length);
53 buffer.put(blob, 0, blob.length);
  /system/keymaster/include/keymaster/contexts/
soft_keymaster_context.h 76 keymaster_error_t ParseKeyBlob(const KeymasterKeyBlob& blob,
79 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const override;
102 const KeymasterKeyBlob& key_material, KeymasterKeyBlob* blob,
108 keymaster_error_t ParseKeymaster1HwBlob(const KeymasterKeyBlob& blob,
113 keymaster_error_t ParseKeymaster0HwBlob(const KeymasterKeyBlob& blob,
  /system/update_engine/payload_generator/
block_mapping_unittest.cc 65 brillo::Blob blob(block_size_);
68 blob[0] = 42;
69 EXPECT_EQ(0, bm_.AddBlock(blob));
70 blob[0] = 5;
71 EXPECT_EQ(1, bm_.AddBlock(blob));
89 brillo::Blob block(block_size_, 'a');
  /system/keymaster/contexts/
keymaster1_passthrough_context.cpp 111 const KeymasterKeyBlob& blob,
127 keymaster_error_t error = device->get_key_characteristics(device, &blob, client_id_ptr,
137 *key_material = blob;
141 keymaster_error_t Keymaster1PassthroughContext::ParseKeyBlob(const KeymasterKeyBlob& blob,
153 // Assume it's an integrity-assured blob (new software-only blob
154 error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced);
159 error = parseKeymaster1HwBlob(km1_engine_->device(), blob, additional_params,
176 keymaster_error_t Keymaster1PassthroughContext::DeleteKey(const KeymasterKeyBlob& blob) const {
178 // reboot if we pass it a key blob it doesn't understand, we need to check for softwar
    [all...]
  /external/autotest/client/cros/faft/utils/
flashrom_handler.py 171 blob = self.fum.get_section(self.image, subsection_name)
172 if blob:
175 f.write(blob)
178 blob = self.fum.get_section(self.image, section.get_body_name())
179 if blob:
181 s.update(blob)
270 into the section blob, either body or signature.
288 blob = self.fum.get_section(self.image, subsection_name)
290 # Modify the byte in it within 2% of the section blob.
291 modified_index = len(blob) / 5
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-hmtx-table.hh 104 blob = Sanitizer<hmtxvmtx>::sanitize (face->reference_table (T::tableTag));
107 unsigned int len = hb_blob_get_length (blob);
117 hb_blob_destroy (blob);
118 blob = hb_blob_get_empty ();
120 table = Sanitizer<hmtxvmtx>::lock_instance (blob);
128 hb_blob_destroy (blob);
162 hb_blob_t *blob; member in struct:OT::hmtxvmtx::accelerator_t
  /external/libese/libese-hw/nxp/pn80t/
nq_nci.c 64 int platform_toggle_bootloader(void *blob, int val) {
65 const struct PlatformHandle *handle = blob;
72 int platform_toggle_reset(void *blob, int val) {
73 const struct PlatformHandle *handle = blob;
102 int platform_release(void *blob) {
103 struct PlatformHandle *handle = blob;
113 int platform_wait(void *UNUSED(blob), long usec) {
  /test/vti/dashboard/src/main/java/com/android/vts/servlet/
ShowGcsLogServlet.java 20 import com.google.cloud.storage.Blob;
102 Blob blobFile = vtsReportBucket.get(path);
124 Iterator<Blob> blobIterator = vtsReportBucket.list(listOptions).iterateAll();
126 Blob blob = blobIterator.next(); local
127 logger.log(Level.INFO, "blob name => " + blob);
128 if (blob.isDirectory()) {
129 logger.log(Level.INFO, "directory name => " + blob.getName());
130 dirList.add(blob.getName())
    [all...]
  /system/iot/attestation/atap/test/
atap_util_unittest.cpp 44 static void validate_blob(const uint8_t* buf, AtapBlob* blob) {
45 EXPECT_EQ(blob->data_length, *(uint32_t*)&buf[0]);
46 EXPECT_EQ(0, memcmp(&buf[4], blob->data, blob->data_length));
49 static void alloc_test_blob(AtapBlob* blob) {
50 blob->data_length = 20;
51 blob->data = (uint8_t*)atap_malloc(20);
52 atap_memset(blob->data, 0x77, blob->data_length);
112 AtapBlob blob; local
    [all...]

Completed in 1581 milliseconds

1 2 34 5 6 7 8 91011>>