Searched refs:byte_index (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/components/rappor/
H A Dbloom_filter.cc33 uint32_t byte_index = (index / 8) % bytes_.size(); local
35 bytes_[byte_index] |= 1 << bit_index;
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
H A Dxmlparser.h55 unsigned long * byte_index) = 0;
95 unsigned long * byte_index);
102 void SetPosition(int line, int column, long byte_index);
H A Dxmlparser.cc252 long byte_index) {
255 byte_index_ = byte_index;
261 unsigned long * byte_index) {
270 if (byte_index != NULL) {
271 *byte_index = static_cast<unsigned long>(byte_index_);
251 SetPosition(int line, int column, long byte_index) argument
259 GetPosition(unsigned long * line, unsigned long * column, unsigned long * byte_index) argument
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
H A Dxmlparser.h38 unsigned long * byte_index) = 0;
78 unsigned long * byte_index);
85 void SetPosition(int line, int column, long byte_index);
H A Dxmlparser.cc235 long byte_index) {
238 byte_index_ = byte_index;
244 unsigned long * byte_index) {
253 if (byte_index != NULL) {
254 *byte_index = static_cast<unsigned long>(byte_index_);
234 SetPosition(int line, int column, long byte_index) argument
242 GetPosition(unsigned long * line, unsigned long * column, unsigned long * byte_index) argument
/external/chromium_org/skia/ext/
H A Drecursive_gaussian_convolution.cc102 int byte_index = source_pixel_stride; local
103 for (; c < row_width - 1; ++c, ++n, byte_index += source_pixel_stride) {
104 w[n] = ForwardFilter<order>(in[byte_index - source_pixel_stride],
105 in[byte_index],
106 in[byte_index + source_pixel_stride],
112 w[n] = ForwardFilter<order>(in[byte_index - source_pixel_stride],
113 in[byte_index],
114 in[byte_index],
/external/chromium_org/v8/src/
H A Dsafepoint-table.cc33 int byte_index = reg_index >> kBitsPerByteLog2; local
35 return (bits_[byte_index] & (1 << bit_index)) != 0;
183 int byte_index = index >> kBitsPerByteLog2; local
185 bits[byte_index] |= (1 << bit_index);
192 int byte_index = index >> kBitsPerByteLog2; local
194 bits[byte_index] |= (1U << bit_index);
H A Dframes.cc669 int byte_index = index >> kBitsPerByteLog2; local
671 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) {
/external/libnfc-nxp/src/
H A DphFriNfc_ISO15693Map.c298 uint8_t byte_index = 0; local
304 byte_index = ISO15693_GET_LEN_FIELD_BYTE_NO(
310 *(a_write_buf + byte_index) = 0x00;
312 if ((ISO15693_BYTES_PER_BLOCK - 1) != byte_index)
315 byte_index = (uint8_t)(byte_index + 1);
317 remaining_size = (ISO15693_BYTES_PER_BLOCK - byte_index);
327 (void)memcpy ((void *)(a_write_buf + byte_index),
357 uint8_t byte_index = 0; local
362 byte_index
687 uint8_t byte_index = 0; local
[all...]
H A DphFriNfc_MifULFormat.c616 uint8_t byte_index = 0; local
633 /* 1st write to lock bits, so byte_index is updated */
634 byte_index = ps_type2_info->LockByteNumber;
637 no_of_bits_left_in_block = (uint8_t)((MFUL_BLOCK_SIZE_IN_BYTES - byte_index) *
663 lock_bytes_value[byte_index] = 0xFF;
665 byte_index = (uint8_t)(byte_index + 1);
670 lock_bytes_value[byte_index] = 0;
671 lock_bytes_value[byte_index] = (uint8_t)
672 SET_BITS8 (lock_bytes_value[byte_index],
[all...]
H A DphFriNfc_TopazDynamicMap.c934 uint8_t byte_index = 0; local
949 byte_index = (uint8_t)ps_locktlv_info->ByteNum;
960 no_of_bits_left_in_block = (uint8_t)((TOPAZ_BYTES_PER_BLOCK - byte_index) *
980 lock_bytes_value[byte_index] = 0xFF;
982 byte_index = (uint8_t)(byte_index + 1);
987 lock_bytes_value[byte_index] = 0;
988 lock_bytes_value[byte_index] = (uint8_t)
989 SET_BITS8 (lock_bytes_value[byte_index], 0,
1012 lock_bytes_value[byte_index]
[all...]
/external/lldb/examples/summaries/cocoa/
H A DCFBitVector.py16 def byte_index(abs_pos): function
87 cur_byte_pos = byte_index(i)
91 byte_pos = byte_index(i)
/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_files.cc122 int byte_index = index / 8; local
124 uint8 map_block = byte_map[byte_index];
139 STRESS_DCHECK((byte_map[byte_index] & to_clear) == to_clear);
140 byte_map[byte_index] &= ~to_clear;
159 int byte_index = index / 8; local
161 uint8 map_block = byte_map[byte_index];
168 return ((byte_map[byte_index] & to_clear) == to_clear);
/external/libnfc-nci/src/nfc/tags/
H A Drw_t2t_ndef.c359 lock_offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index;
670 p_t2t->lockbyte[p_t2t->num_lockbytes].byte_index = xx;
857 offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index;
929 p_t2t->lockbyte[xx].byte_index = xx;
1891 offset = p_t2t->lock_tlv[p_t2t->lockbyte[read_lock].tlv_index].offset + p_t2t->lockbyte[read_lock].byte_index;
2088 offset = p_t2t->lock_tlv[p_t2t->lockbyte[count].tlv_index].offset + p_t2t->lockbyte[count].byte_index;
2185 b_all_bits_are_locks = ((p_t2t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <= p_t2t->lock_tlv[p_t2t->lockbyte[num_dynamic_locks].tlv_index].num_bits);
2223 b_all_bits_are_locks = ((p_t2t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <= p_t2t->lock_tlv[p_t2t->lockbyte[num_dynamic_locks].tlv_index].num_bits);
2343 b_all_bits_are_locks = ((p_t2t->lockbyte[num_dyn_lock_bytes].byte_index + 1) * TAG_BITS_PER_BYTE <= p_t2t->lock_tlv[p_t2t->lockbyte[num_dyn_lock_bytes].tlv_index].num_bits);
2484 offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks].byte_index;
[all...]
H A Drw_t1t_ndef.c216 offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index;
313 offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index;
474 offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks].byte_index;
475 num_bits = ((p_t1t->lockbyte[num_locks].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].num_bits) ? 8 : p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].num_bits % 8;
485 next_offset = p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].offset + p_t1t->lockbyte[lock_count].byte_index;
486 next_num_bits = ((p_t1t->lockbyte[lock_count].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].num_bits) ? 8 : p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].num_bits % 8;
1125 p_t1t->lockbyte[p_t1t->num_lockbytes].byte_index = xx;
1965 offset = p_t1t->lock_tlv[p_t1t->lockbyte[count].tlv_index].offset + p_t1t->lockbyte[count].byte_index;
2034 b_all_bits_are_locks = ((p_t1t->lockbyte[num_dynamic_locks].byte_index + 1) * TAG_BITS_PER_BYTE <= p_t1t->lock_tlv[p_t1t->lockbyte[num_dynamic_locks].tlv_index].num_bits);
2073 b_all_bits_are_locks = ((p_t1t->lockbyte[num_dynamic_locks].byte_index
[all...]
/external/libnfc-nci/src/nfc/int/
H A Drw_int.h115 UINT8 byte_index; /* Index of Lock byte pointed by the TLV */ member in struct:__anon24364
288 UINT8 byte_index; /* Index of Lock byte pointed by the TLV */ member in struct:__anon24369
/external/chromium_org/v8/src/ia32/
H A Dmacro-assembler-ia32.cc1901 int byte_index = bit_index / kBitsPerByte; local
1903 test_b(FieldOperand(object, field_offset + byte_index),
/external/chromium_org/v8/src/x87/
H A Dmacro-assembler-x87.cc1864 int byte_index = bit_index / kBitsPerByte; local
1866 test_b(FieldOperand(object, field_offset + byte_index),

Completed in 1346 milliseconds