Home
last modified time | relevance | path

Searched refs:block_info (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ppapi/proxy/
Dcontent_decryptor_private_serializer.h27 bool SerializeBlockInfo(const T& block_info, in SerializeBlockInfo() argument
32 serialized_block_info->assign(reinterpret_cast<const char*>(&block_info), in SerializeBlockInfo()
33 sizeof(block_info)); in SerializeBlockInfo()
35 if (serialized_block_info->size() != sizeof(block_info)) in SerializeBlockInfo()
43 T* block_info) { in DeserializeBlockInfo() argument
44 if (!block_info) in DeserializeBlockInfo()
47 if (serialized_block_info.size() != sizeof(*block_info)) in DeserializeBlockInfo()
50 std::memcpy(block_info, serialized_block_info.data(), sizeof(*block_info)); in DeserializeBlockInfo()
Dppp_content_decryptor_private_proxy.cc483 PP_EncryptedBlockInfo block_info; in OnMsgDecrypt() local
484 if (!DeserializeBlockInfo(serialized_block_info, &block_info)) in OnMsgDecrypt()
489 const_cast<const PP_EncryptedBlockInfo*>(&block_info)); in OnMsgDecrypt()
586 PP_EncryptedBlockInfo block_info; in OnMsgDecryptAndDecode() local
587 if (!DeserializeBlockInfo(serialized_block_info, &block_info)) in OnMsgDecryptAndDecode()
594 const_cast<const PP_EncryptedBlockInfo*>(&block_info)); in OnMsgDecryptAndDecode()
Dppb_instance_proxy.cc589 const PP_DecryptedBlockInfo* block_info) { in DeliverBlock() argument
603 if (!SerializeBlockInfo(*block_info, &serialized_block_info)) { in DeliverBlock()
1119 PP_DecryptedBlockInfo block_info; in OnHostMsgDeliverBlock() local
1120 if (!DeserializeBlockInfo(serialized_block_info, &block_info)) in OnHostMsgDeliverBlock()
1125 enter.functions()->DeliverBlock(instance, decrypted_block, &block_info); in OnHostMsgDeliverBlock()
Dppb_instance_proxy.h136 const PP_DecryptedBlockInfo* block_info) OVERRIDE;
/external/chromium_org/media/webm/
Dwebm_cluster_parser_unittest.cc52 const BlockInfo* block_info, in CreateCluster() argument
59 if (block_info[i].use_simple_block) { in CreateCluster()
60 cb.AddSimpleBlock(block_info[i].track_num, in CreateCluster()
61 block_info[i].timestamp, in CreateCluster()
66 CHECK_GE(block_info[i].duration, 0); in CreateCluster()
67 cb.AddBlockGroup(block_info[i].track_num, in CreateCluster()
68 block_info[i].timestamp, in CreateCluster()
69 block_info[i].duration, in CreateCluster()
91 const BlockInfo* block_info, in VerifyBuffers() argument
100 if (block_info[i].track_num == kAudioTrackNum) { in VerifyBuffers()
[all …]
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc89 PP_EncryptedBlockInfo* block_info) { in MakeEncryptedBlockInfo() argument
92 memset(block_info, 0, sizeof(*block_info)); in MakeEncryptedBlockInfo()
93 block_info->tracking_info.request_id = request_id; in MakeEncryptedBlockInfo()
102 block_info->tracking_info.timestamp = in MakeEncryptedBlockInfo()
104 block_info->data_size = encrypted_buffer->data_size(); in MakeEncryptedBlockInfo()
108 block_info->data_offset = decrypt_config->data_offset(); in MakeEncryptedBlockInfo()
110 if (!CopyStringToArray(decrypt_config->key_id(), block_info->key_id) || in MakeEncryptedBlockInfo()
111 !CopyStringToArray(decrypt_config->iv(), block_info->iv)) in MakeEncryptedBlockInfo()
114 block_info->key_id_size = decrypt_config->key_id().size(); in MakeEncryptedBlockInfo()
115 block_info->iv_size = decrypt_config->iv().size(); in MakeEncryptedBlockInfo()
[all …]
Dcontent_decryptor_delegate.h93 const PP_DecryptedBlockInfo* block_info);
Dpepper_plugin_instance_impl.h465 const PP_DecryptedBlockInfo* block_info) OVERRIDE;
Dpepper_plugin_instance_impl.cc2278 const PP_DecryptedBlockInfo* block_info) { in DeliverBlock() argument
2279 content_decryptor_delegate_->DeliverBlock(decrypted_block, block_info); in DeliverBlock()
/external/e2fsprogs/debugfs/
Dicheck.c21 struct block_info { struct
27 struct block_info *barray; argument
58 struct block_info *binfo; in do_icheck()
73 bw.barray = malloc(sizeof(struct block_info) * argc); in do_icheck()
79 memset(bw.barray, 0, sizeof(struct block_info) * argc); in do_icheck()
/external/chromium_org/ppapi/thunk/
Dppb_instance_api.h160 const PP_DecryptedBlockInfo* block_info) = 0;