Searched refs:block_type (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_bitmaps_v3.h30 // Creates a new entry on a block file. block_type indicates the size of block
33 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
53 int HeaderNumberForNewBlock(FileType block_type, int block_count);
H A Dblock_bitmaps_v3.cc26 bool BlockBitmaps::CreateBlock(FileType block_type, argument
29 DCHECK_NE(block_type, EXTERNAL);
30 DCHECK_NE(block_type, RANKINGS);
34 int header_num = HeaderNumberForNewBlock(block_type, block_count);
42 if (!index && (block_type == BLOCK_ENTRIES || block_type == BLOCK_EVICTED) &&
48 Addr address(block_type, block_count, bitmaps_[header_num].FileId(), index);
119 int BlockBitmaps::HeaderNumberForNewBlock(FileType block_type, argument
121 DCHECK_GT(block_type, 0);
122 int header_num = block_type
[all...]
H A Dblock_files.h103 // Creates a new entry on a block file. block_type indicates the size of block
106 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
133 MappedFile* FileForNewBlock(FileType block_type, int block_count);
139 int CreateNextBlockFile(FileType block_type);
142 bool RemoveEmptyFile(FileType block_type);
H A Dblock_files.cc318 bool BlockFiles::CreateBlock(FileType block_type, int block_count, argument
321 DCHECK_NE(block_type, EXTERNAL);
322 DCHECK_NE(block_type, BLOCK_FILES);
323 DCHECK_NE(block_type, BLOCK_ENTRIES);
324 DCHECK_NE(block_type, BLOCK_EVICTED);
331 MappedFile* file = FileForNewBlock(block_type, block_count);
342 Addr address(block_type, block_count, file_header.FileId(), index);
550 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { argument
552 MappedFile* file = block_files_[block_type - 1];
598 int BlockFiles::CreateNextBlockFile(FileType block_type) { argument
608 RemoveEmptyFile(FileType block_type) argument
[all...]
H A Dbackend_impl_v3.h65 bool CreateBlock(FileType block_type, int block_count,
H A Dbackend_impl.h105 bool CreateBlock(FileType block_type, int block_count,
H A Dbackend_impl_v3.cc116 bool BackendImplV3::CreateBlock(FileType block_type, int block_count, argument
118 return block_files_.CreateBlock(block_type, block_count, block_address);
/external/chromium_org/net/cert/
H A Dpem_tokenizer_unittest.cc23 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type());
41 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type());
76 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
81 EXPECT_EQ("BLOCK-TWO", tokenizer.block_type());
101 EXPECT_EQ("MISSING-FOOTER", tokenizer.block_type());
125 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
163 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
H A Dpem_tokenizer.h37 const std::string& block_type() const { return block_type_; } function in class:net::PEMTokenizer
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
H A Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
46 *pos++ = block_type; /* BT */
48 switch (block_type) {
71 "%d", __func__, block_type);
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/wpa_supplicant_8/src/tls/
H A Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
H A Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
46 *pos++ = block_type; /* BT */
48 switch (block_type) {
71 "%d", __func__, block_type);
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
H A Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
46 *pos++ = block_type; /* BT */
48 switch (block_type) {
71 "%d", __func__, block_type);
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/chromium_org/third_party/brotli/src/brotli/dec/
H A Ddecode.c483 int block_type; local
485 block_type = ringbuffer[*index & 1];
487 block_type = ringbuffer[(*index - 1) & 1] + 1;
489 block_type = type_code - 2;
491 if (block_type >= max_block_type) {
492 block_type -= max_block_type;
494 block_types[tree_type] = block_type;
495 ringbuffer[(*index) & 1] = block_type;
729 int block_type[3] = { 0 }; local
847 context_mode = context_modes[block_type[
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dhistogram.cc74 int block_type,
82 if (literal_it.type_ == block_type) {
68 BuildLiteralHistogramsForBlockType( const std::vector<Command>& cmds, const BlockSplit& literal_split, const uint8_t* ringbuffer, size_t pos, size_t mask, int block_type, int context_mode, std::vector<HistogramLiteral>* histograms) argument
H A Dhistogram.h108 int block_type,
/external/libpcap/
H A Dsf-pcap-ng.c71 bpf_u_int32 block_type; member in struct:block_header
201 bpf_u_int32 block_type; member in struct:block_cursor
266 bhdr.block_type = SWAPLONG(bhdr.block_type);
326 cursor->block_type = bhdr.block_type;
343 cursor->block_type);
814 bhdrp->block_type = magic;
864 switch (cursor.block_type) {
973 switch (cursor.block_type) {
[all...]
/external/chromium_org/media/cast/net/rtcp/
H A Drtcp_utility.cc299 uint8 block_type; local
301 if (!reader->ReadU8(&block_type) ||
306 switch (block_type) {
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_libtomcrypt.c486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
514 *pos++ = block_type; /* BT */
516 switch (block_type) {
539 "%d", __func__, block_type);
549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, argument
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_libtomcrypt.c486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
514 *pos++ = block_type; /* BT */
516 switch (block_type) {
539 "%d", __func__, block_type);
549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, argument
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_libtomcrypt.c486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
514 *pos++ = block_type; /* BT */
516 switch (block_type) {
539 "%d", __func__, block_type);
549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, argument
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet.cc599 void CreateXrBlockHeader(uint8_t block_type, argument
603 AssignUWord8(buffer, pos, block_type);
H A Drtcp_utility.cc906 uint8_t block_type = *_ptrRTCPData++; local
912 switch (block_type) {

Completed in 314 milliseconds

12