Home
last modified time | relevance | path

Searched refs:block_number (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/
Dblockhash.cc160 int block_number = last_block_added_ + 1; in AddBlock() local
163 if (block_number >= total_blocks) { in AddBlock()
165 " with block number " << block_number in AddBlock()
170 if (next_block_table_[block_number] != -1) { in AddBlock()
172 "block number = " << block_number in AddBlock()
174 << next_block_table_[block_number] << VCD_ENDL; in AddBlock()
181 hash_table_[hash_table_index] = block_number; in AddBlock()
182 last_block_table_[block_number] = block_number; in AddBlock()
194 next_block_table_[last_matching_block] = block_number; in AddBlock()
195 last_block_table_[first_matching_block] = block_number; in AddBlock()
[all …]
Dblockhash.h410 int NextMatchingBlock(int block_number, const char* block_ptr) const;
424 int SkipNonMatchingBlocks(int block_number, const char* block_ptr) const;
Dblockhash_test.cc56 int block_number, in NextMatchingBlock() argument
58 return block_hash.NextMatchingBlock(block_number, block_ptr); in NextMatchingBlock()
/external/chromium/sdch/open-vcdiff/src/
Dblockhash.cc159 int block_number = last_block_added_ + 1; in AddBlock() local
162 if (block_number >= total_blocks) { in AddBlock()
164 " with block number " << block_number in AddBlock()
169 if (next_block_table_[block_number] != -1) { in AddBlock()
171 "block number = " << block_number in AddBlock()
173 << next_block_table_[block_number] << LOG_ENDL; in AddBlock()
180 hash_table_[hash_table_index] = block_number; in AddBlock()
181 last_block_table_[block_number] = block_number; in AddBlock()
193 next_block_table_[last_matching_block] = block_number; in AddBlock()
194 last_block_table_[first_matching_block] = block_number; in AddBlock()
[all …]
Dblockhash.h410 int NextMatchingBlock(int block_number, const char* block_ptr) const;
424 int SkipNonMatchingBlocks(int block_number, const char* block_ptr) const;
Dblockhash_test.cc56 int block_number, in NextMatchingBlock() argument
58 return block_hash.NextMatchingBlock(block_number, block_ptr); in NextMatchingBlock()
/external/open-vcdiff/src/
Dblockhash.cc160 int block_number = last_block_added_ + 1; in AddBlock() local
163 if (block_number >= total_blocks) { in AddBlock()
165 " with block number " << block_number in AddBlock()
170 if (next_block_table_[block_number] != -1) { in AddBlock()
172 "block number = " << block_number in AddBlock()
174 << next_block_table_[block_number] << VCD_ENDL; in AddBlock()
181 hash_table_[hash_table_index] = block_number; in AddBlock()
182 last_block_table_[block_number] = block_number; in AddBlock()
194 next_block_table_[last_matching_block] = block_number; in AddBlock()
195 last_block_table_[first_matching_block] = block_number; in AddBlock()
[all …]
Dblockhash.h410 int NextMatchingBlock(int block_number, const char* block_ptr) const;
424 int SkipNonMatchingBlocks(int block_number, const char* block_ptr) const;
Dblockhash_test.cc56 int block_number, in NextMatchingBlock() argument
58 return block_hash.NextMatchingBlock(block_number, block_ptr); in NextMatchingBlock()
/external/libnfc-nci/src/nfa/include/
Dnfa_rw_api.h43 UINT16 block_number; /* Block number. */ member
280 NFC_API extern tNFA_STATUS NFA_RwT1tRead (UINT8 block_number, UINT8 index);
299 NFC_API extern tNFA_STATUS NFA_RwT1tWrite (UINT8 block_number,
340 NFC_API extern tNFA_STATUS NFA_RwT1tRead8 (UINT8 block_number);
359 NFC_API extern tNFA_STATUS NFA_RwT1tWrite8 (UINT8 block_number,
380 NFC_API extern tNFA_STATUS NFA_RwT2tRead (UINT8 block_number);
398 NFC_API extern tNFA_STATUS NFA_RwT2tWrite (UINT8 block_number, UINT8 *p_data);
512 NFC_API extern tNFA_STATUS NFA_RwI93ReadSingleBlock (UINT8 block_number);
530 NFC_API extern tNFA_STATUS NFA_RwI93WriteSingleBlock (UINT8 block_number,
549 NFC_API extern tNFA_STATUS NFA_RwI93LockBlock (UINT8 block_number);
/external/libnfc-nci/src/nfa/rw/
Dnfa_rw_api.c440 tNFA_STATUS NFA_RwT1tRead (UINT8 block_number, UINT8 index) in NFA_RwT1tRead() argument
449 p_msg->params.t1t_read.block_number = block_number; in NFA_RwT1tRead()
474 tNFA_STATUS NFA_RwT1tWrite (UINT8 block_number, UINT8 index, UINT8 data, BOOLEAN b_erase) in NFA_RwT1tWrite() argument
484 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tWrite()
543 tNFA_STATUS NFA_RwT1tRead8 (UINT8 block_number) in NFA_RwT1tRead8() argument
552 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tRead8()
576 tNFA_STATUS NFA_RwT1tWrite8 (UINT8 block_number, UINT8 *p_data, BOOLEAN b_erase) in NFA_RwT1tWrite8() argument
586 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tWrite8()
612 tNFA_STATUS NFA_RwT2tRead (UINT8 block_number) in NFA_RwT2tRead() argument
616 NFA_TRACE_API1 ("NFA_RwT2tRead (): Block to read: %d", block_number); in NFA_RwT2tRead()
[all …]
Dnfa_rw_act.c2029 if (RW_T1tRead (p_t1t_read->block_number, p_t1t_read->index) != NFC_STATUS_OK) in nfa_rw_t1t_read()
2051 …status = RW_T1tWriteErase (p_t1t_write->block_number,p_t1t_write->index,p_t1t_write->p_block_data[… in nfa_rw_t1t_write()
2055 …status = RW_T1tWriteNoErase (p_t1t_write->block_number,p_t1t_write->index,p_t1t_write->p_block_dat… in nfa_rw_t1t_write()
2064 if (p_t1t_write->block_number == 0x01) in nfa_rw_t1t_write()
2103 if (RW_T1tRead8 (p_t1t_read->block_number) != NFC_STATUS_OK) in nfa_rw_t1t_read8()
2125 status = RW_T1tWriteErase8 (p_t1t_write->block_number,p_t1t_write->p_block_data); in nfa_rw_t1t_write8()
2129 status = RW_T1tWriteNoErase8 (p_t1t_write->block_number,p_t1t_write->p_block_data); in nfa_rw_t1t_write8()
2138 if (p_t1t_write->block_number == 0x01) in nfa_rw_t1t_write8()
2160 status = RW_T2tRead (p_t2t_read->block_number); in nfa_rw_t2t_read()
2181 if (RW_T2tWrite (p_t2t_write->block_number,p_t2t_write->p_block_data) != NFC_STATUS_OK) in nfa_rw_t2t_write()
[all …]
/external/libnfc-nci/src/nfc/tags/
Dce_t3t.c219 UINT16 block_number, service_code, checksum, checksum_rx; in ce_t3t_handle_update_cmd() local
239 STREAM_TO_UINT8 (block_number, p_block_list); in ce_t3t_handle_update_cmd()
243 STREAM_TO_UINT16 (block_number, p_block_list); in ce_t3t_handle_update_cmd()
273 else if (block_number == 0) in ce_t3t_handle_update_cmd()
275 CE_TRACE_DEBUG2 ("CE: Update sc 0x%04x block %i.", service_code, block_number); in ce_t3t_handle_update_cmd()
320 CE_TRACE_DEBUG2 ("CE: Udpate sc 0x%04x block %i.", service_code, block_number); in ce_t3t_handle_update_cmd()
323 if (block_number > p_cb->ndef_info.nmaxb) in ce_t3t_handle_update_cmd()
326 …("CE: Requested invalid NDEF block number to update %i (max is %i).", block_number, p_cb->ndef_inf… in ce_t3t_handle_update_cmd()
333 …STREAM_TO_ARRAY ((&p_cb->ndef_info.p_scratch_buf[(block_number-1) * T3T_MSG_BLOCKSIZE]), p_block_d… in ce_t3t_handle_update_cmd()
407 UINT16 block_number, service_code, checksum; in ce_t3t_handle_check_cmd() local
[all …]
Drw_i93.c658 tNFC_STATUS rw_i93_send_cmd_read_single_block (UINT16 block_number, BOOLEAN read_security) in rw_i93_send_cmd_read_single_block() argument
696 UINT16_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block()
701 UINT8_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block()
724 tNFC_STATUS rw_i93_send_cmd_write_single_block (UINT16 block_number, UINT8 *p_data) in rw_i93_send_cmd_write_single_block() argument
770 UINT16_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_write_single_block()
775 UINT8_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_write_single_block()
805 tNFC_STATUS rw_i93_send_cmd_lock_block (UINT8 block_number) in rw_i93_send_cmd_lock_block() argument
843 UINT8_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_lock_block()
2051 UINT16 length = p_resp->len, block_number; in rw_i93_sm_update_ndef() local
2120 block_number = (p_i93->ndef_tlv_start_offset + 1) / p_i93->block_size; in rw_i93_sm_update_ndef()
[all …]
Drw_t3t.c1021 if (p_t3t_blocks[i].block_number > 0xFF) in rw_t3t_message_set_block_list()
1024 UINT16_TO_STREAM ((*p), p_t3t_blocks[i].block_number); in rw_t3t_message_set_block_list()
1030 UINT8_TO_STREAM ((*p), p_t3t_blocks[i].block_number); in rw_t3t_message_set_block_list()
/external/grub/stage2/
Ddefs.h43 #define dbtob(block_number) ((block_number) << 9) argument
/external/libnfc-nci/src/nfa/int/
Dnfa_rw_int.h144 UINT8 block_number; member
153 UINT8 block_number; member
161 UINT8 block_number; member
167 UINT8 block_number; member
/external/chromium_org/webkit/browser/appcache/
Dappcache_response_unittest.cc452 void WriteOneBlock(int block_number) { in WriteOneBlock() argument
455 FillData(block_number, io_buffer->data(), kBlockSize); in WriteOneBlock()
470 void ReadOneBlock(int block_number) { in ReadOneBlock() argument
472 base::Unretained(this), block_number)); in ReadOneBlock()
476 void VerifyOneBlock(int block_number) { in VerifyOneBlock() argument
477 EXPECT_TRUE(CheckData(block_number, read_buffer_->data(), kBlockSize)); in VerifyOneBlock()
587 void ReadOneBlockImmediately(int block_number) { in ReadOneBlockImmediately() argument
589 base::Unretained(this), block_number)); in ReadOneBlockImmediately()
/external/libnfc-nci/src/nfc/include/
Drw_api.h965 NFC_API extern tNFC_STATUS RW_I93ReadSingleBlock (UINT16 block_number);
982 NFC_API extern tNFC_STATUS RW_I93WriteSingleBlock (UINT16 block_number,
999 NFC_API extern tNFC_STATUS RW_I93LockBlock (UINT8 block_number);
Dtags_defs.h236 UINT16 block_number; /* Block number */ member
/external/libnfc-nxp/src/
DphFriNfc_TopazMap.c697 uint8_t block_number = 0; in phFriNfc_TopazMap_Process() local
729 block_number = PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_Process()
736 block_number = (uint8_t)(((psNdefMap->TLVStruct.NdefTLVByte + in phFriNfc_TopazMap_Process()
756 block_number = (uint8_t)PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_Process()
764 block_number = (uint8_t)PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_Process()
772 block_number = (uint8_t)PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_Process()
780 block_number = (uint8_t)PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_Process()
788 block_number = psNdefMap->TLVStruct.NdefTLVBlock; in phFriNfc_TopazMap_Process()
805 block_number = psNdefMap->TopazContainer.CurrentBlock; in phFriNfc_TopazMap_Process()
827 Status = phFriNfc_Tpz_H_RdBytes (psNdefMap, block_number, in phFriNfc_TopazMap_Process()
DphFriNfc_MifULFormat.c164 uint8_t block_number,
501 uint8_t block_number, in phFriNfc_MfUL_GetSkipSize() argument
514 if ((block_number == ps_type2_info->LockBlockNumber) in phFriNfc_MfUL_GetSkipSize()
/external/chromium_org/net/dns/
Drecord_rdata.cc240 uint8 block_number; // The block number should be zero. in Create() member
249 if (header->block_number != 0 || header->length == 0 || header->length > 32) in Create()
/external/chromium_org/media/base/
Dcontainer_names.cc357 int block_number = ReadBits(&reader, 8); in CheckDV() local
379 RCHECK(block_number > last_block_number[section]); in CheckDV()
380 last_block_number[section] = block_number; in CheckDV()
/external/libvpx/libvpx/nestegg/src/
Dnestegg.c241 struct ebml_type block_number; member
419 E_FIELD(ID_CUE_BLOCK_NUMBER, TYPE_UINT, struct cue_track_positions, block_number),