Home
last modified time | relevance | path

Searched refs:byte_index (Results 1 – 12 of 12) sorted by relevance

/external/libnfc-nxp/src/
DphFriNfc_ISO15693Map.c298 uint8_t byte_index = 0; in phFriNfc_ISO15693_H_ProcessWriteNdef() local
304 byte_index = ISO15693_GET_LEN_FIELD_BYTE_NO( in phFriNfc_ISO15693_H_ProcessWriteNdef()
310 *(a_write_buf + byte_index) = 0x00; in phFriNfc_ISO15693_H_ProcessWriteNdef()
312 if ((ISO15693_BYTES_PER_BLOCK - 1) != byte_index) in phFriNfc_ISO15693_H_ProcessWriteNdef()
315 byte_index = (uint8_t)(byte_index + 1); in phFriNfc_ISO15693_H_ProcessWriteNdef()
317 remaining_size = (ISO15693_BYTES_PER_BLOCK - byte_index); in phFriNfc_ISO15693_H_ProcessWriteNdef()
327 (void)memcpy ((void *)(a_write_buf + byte_index), in phFriNfc_ISO15693_H_ProcessWriteNdef()
357 uint8_t byte_index = 0; in phFriNfc_ISO15693_H_ProcessWriteNdef() local
362 byte_index = ISO15693_GET_LEN_FIELD_BYTE_NO( in phFriNfc_ISO15693_H_ProcessWriteNdef()
367 *(a_write_buf + byte_index) = (uint8_t)psNdefMap->ApduBuffIndex; in phFriNfc_ISO15693_H_ProcessWriteNdef()
[all …]
DphFriNfc_MifULFormat.c616 uint8_t byte_index = 0; in phFriNfc_MfUL_UpdateAndWriteLockBits() local
634 byte_index = ps_type2_info->LockByteNumber; in phFriNfc_MfUL_UpdateAndWriteLockBits()
637 no_of_bits_left_in_block = (uint8_t)((MFUL_BLOCK_SIZE_IN_BYTES - byte_index) * in phFriNfc_MfUL_UpdateAndWriteLockBits()
663 lock_bytes_value[byte_index] = 0xFF; in phFriNfc_MfUL_UpdateAndWriteLockBits()
665 byte_index = (uint8_t)(byte_index + 1); in phFriNfc_MfUL_UpdateAndWriteLockBits()
670 lock_bytes_value[byte_index] = 0; in phFriNfc_MfUL_UpdateAndWriteLockBits()
671 lock_bytes_value[byte_index] = (uint8_t) in phFriNfc_MfUL_UpdateAndWriteLockBits()
672 SET_BITS8 (lock_bytes_value[byte_index], 0, in phFriNfc_MfUL_UpdateAndWriteLockBits()
695 lock_bytes_value[byte_index] = 0xFF; in phFriNfc_MfUL_UpdateAndWriteLockBits()
697 byte_index = (uint8_t)(byte_index + 1); in phFriNfc_MfUL_UpdateAndWriteLockBits()
[all …]
DphFriNfc_TopazDynamicMap.c934 uint8_t byte_index = 0; in phFriNfc_Tpz_H_UpdateAndWriteLockBits() local
949 byte_index = (uint8_t)ps_locktlv_info->ByteNum; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
960 no_of_bits_left_in_block = (uint8_t)((TOPAZ_BYTES_PER_BLOCK - byte_index) * in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
980 lock_bytes_value[byte_index] = 0xFF; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
982 byte_index = (uint8_t)(byte_index + 1); in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
987 lock_bytes_value[byte_index] = 0; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
988 lock_bytes_value[byte_index] = (uint8_t) in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
989 SET_BITS8 (lock_bytes_value[byte_index], 0, in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
1012 lock_bytes_value[byte_index] = 0xFF; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
1014 byte_index = (uint8_t)(byte_index + 1); in phFriNfc_Tpz_H_UpdateAndWriteLockBits()
[all …]
/external/v8/src/
Dsafepoint-table.cc33 int byte_index = reg_index >> kBitsPerByteLog2; in HasRegisterAt() local
35 return (bits_[byte_index] & (1 << bit_index)) != 0; in HasRegisterAt()
183 int byte_index = index >> kBitsPerByteLog2; in Emit() local
185 bits[byte_index] |= (1 << bit_index); in Emit()
192 int byte_index = index >> kBitsPerByteLog2; in Emit() local
194 bits[byte_index] |= (1U << bit_index); in Emit()
Dframes.cc669 int byte_index = index >> kBitsPerByteLog2; in IterateCompiledFrame() local
671 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) { in IterateCompiledFrame()
/external/lldb/examples/summaries/cocoa/
DCFBitVector.py16 def byte_index(abs_pos): function
87 cur_byte_pos = byte_index(i)
91 byte_pos = byte_index(i)
/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c359 …t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index; in rw_t2t_handle_lock_read_rsp()
670 p_t2t->lockbyte[p_t2t->num_lockbytes].byte_index = xx; in rw_t2t_handle_tlv_detect_rsp()
857 …t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index; in rw_t2t_read_locks()
929 p_t2t->lockbyte[xx].byte_index = xx; in rw_t2t_extract_default_locks_info()
1891 …t2t->lock_tlv[p_t2t->lockbyte[read_lock].tlv_index].offset + p_t2t->lockbyte[read_lock].byte_index; in rw_t2t_handle_config_tag_readonly()
2088 …set = p_t2t->lock_tlv[p_t2t->lockbyte[count].tlv_index].offset + p_t2t->lockbyte[count].byte_index; in rw_t2t_update_attributes()
2185 …b_all_bits_are_locks = ((p_t2t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <=… in rw_t2t_get_lock_bits_for_segment()
2223 …b_all_bits_are_locks = ((p_t2t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <=… in rw_t2t_get_lock_bits_for_segment()
2343 …b_all_bits_are_locks = ((p_t2t->lockbyte[num_dyn_lock_bytes].byte_index + 1) * TAG_BITS_PER_BYTE <… in rw_t2t_update_lock_attributes()
2484 …t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index; in rw_t2t_set_dynamic_lock_bits()
[all …]
Drw_t1t_ndef.c216 …t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index; in rw_t1t_extract_lock_bytes()
313 …t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index; in rw_t1t_read_locks()
474 …t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index; in rw_t1t_handle_write_rsp()
475 …num_bits = ((p_t1t->lockbyte[num_locks].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[num_… in rw_t1t_handle_write_rsp()
485 …t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].offset + p_t1t->lockbyte[lock_count].byte_index; in rw_t1t_handle_write_rsp()
486 …next_num_bits = ((p_t1t->lockbyte[lock_count].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyt… in rw_t1t_handle_write_rsp()
1125 p_t1t->lockbyte[p_t1t->num_lockbytes].byte_index = xx; in rw_t1t_handle_tlv_detect_rsp()
1965 …set = p_t1t->lock_tlv[p_t1t->lockbyte[count].tlv_index].offset + p_t1t->lockbyte[count].byte_index; in rw_t1t_update_attributes()
2034 …b_all_bits_are_locks = ((p_t1t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <=… in rw_t1t_get_lock_bits_for_segment()
2073 …b_all_bits_are_locks = ((p_t1t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <=… in rw_t1t_get_lock_bits_for_segment()
/external/libnfc-nci/src/nfc/int/
Drw_int.h115 …UINT8 byte_index; /* Index of Lock byte pointed by the TLV … member
288 …UINT8 byte_index; /* Index of Lock byte pointed by the TLV … member
/external/google-breakpad/src/processor/
Dminidump.cc1354 for (unsigned int byte_index = 0; in Print() local
1355 byte_index < descriptor_->memory.data_size; in Print()
1356 byte_index++) { in Print()
1357 printf("%02x", memory[byte_index]); in Print()
/external/v8/src/x87/
Dmacro-assembler-x87.cc1864 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() local
1866 test_b(FieldOperand(object, field_offset + byte_index), in BooleanBitTest()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1901 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() local
1903 test_b(FieldOperand(object, field_offset + byte_index), in BooleanBitTest()