Searched refs:i (Results 1 – 13 of 13) sorted by relevance
/libbtbb/python/utils/ |
H A D | gen_check_tables.py | 9 for i in range(30): 10 g.append(polynomial << i) 11 for j in range(i): 12 if g[i] & (1 << (33 + i - j)): 13 g[i] ^= g[i-j-1] 22 for i in range(34): 25 h[i] |= (g[29-j] >> i) & 0x1 26 h[i] <<= 1 27 h[i] <<= 33 28 h[i] |= (0x1 << i) [all …]
|
H A D | gen_barker_correct.py | 9 i = 0 11 i += 1 13 return i 15 for i in range(128): 16 diffs = [(count_bits(barkers[0] ^ i), barkers[0]), 17 (count_bits(barkers[1] ^ i), barkers[1])]
|
H A D | encode_sw.py | 47 for i in range(30): 48 if (data & (0x20000000 >> i)): 49 codeword ^= g[i]
|
/libbtbb/lib/src/ |
H A D | bluetooth_le_packet.c | 63 uint8_t i = 0; in count_bits() local 64 for (i = 0; n != 0; i++) in count_bits() 66 return i; in count_bits() 349 int i; in _dump_addr() local 351 for (i = 4; i >= 0; --i) in _dump_addr() 352 printf(":%02x", buf[offset+i]); in _dump_addr() 379 int i; in _dump_uuid() local 380 for (i = 0; i < 4; ++i) in _dump_uuid() 381 printf("%02x", uuid[i]); in _dump_uuid() 383 for (i = 4; i < 6; ++i) in _dump_uuid() [all …]
|
H A D | bluetooth_packet.c | 164 int i; in cycle() local 167 for (i = start; i < 58; i++) in cycle() 169 new_error = (base << i); in cycle() 172 cycle(new_error, i + 1, depth, codeword); in cycle() 182 int i; in gen_syndrome_map() local 183 for(i = 1; i <= bit_errors; i++) in gen_syndrome_map() 184 cycle(0, 0, i, DEFAULT_AC); in gen_syndrome_map() 190 int i; in btbb_gen_syncword() local 194 for (i = 0; i < 24; i++) in btbb_gen_syncword() 195 if (LAP & (0x800000 >> i)) in btbb_gen_syncword() [all …]
|
H A D | bluetooth_piconet.c | 35 int i = 0; in count_bits() local 36 for (i = 0; n != 0; i++) in count_bits() 38 return i; in count_bits() 127 int i; in btbb_piconet_set_afh_map() local 130 for(i=0; i<10; i++) { in btbb_piconet_set_afh_map() 131 pn->afh_map[i] = afh_map[i]; in btbb_piconet_set_afh_map() 132 pn->used_channels += count_bits(pn->afh_map[i]); in btbb_piconet_set_afh_map() 173 int i = 0; in precalc() local 178 for (i = 0; i < BT_NUM_CHANNELS; i++) { in precalc() 182 chan = (i * 2) % BT_NUM_CHANNELS; in precalc() [all …]
|
H A D | uthash.h | 534 #define MUR_GETBLOCK(p,i) p[i] argument 550 #define MUR_GETBLOCK(p,i) (MUR_PLUS0_ALIGNED(p) ? ((p)[i]) : \ argument
|
/libbtbb/tests/ |
H A D | test_syndromes.c | 31 int ret, i; in test_syndromes() local 52 for(i = 0; i < 2; i++) { in test_syndromes() 53 syndrome = gen_syndrome(syndrome_input[i]); in test_syndromes() 54 if (syndrome == syndrome_output[i]) { in test_syndromes() 77 for(i = 0; i < 2; i++) { in test_syndromes() 78 syncword = decode_syncword(syncword_input[i] ^ pn); in test_syndromes() 79 if (syncword == syncword_output[i]) { in test_syndromes()
|
H A D | test_fec23.c | 32 int i, j, ret, err; in test_unfec23() local 88 for(i = 0; i < 20; i++) { in test_unfec23() 89 if (optr = unfec23(input[i], 1)) { in test_unfec23() 92 if (optr[j] != output[i][j]) { in test_unfec23()
|
H A D | test_header.c | 52 int i, j, ret, err; in test_gen_packet_header() local 95 for(i = 0; i < 20; i++) { in test_gen_packet_header()
|
/libbtbb/wireshark/plugins-legacy/btle/ |
H A D | README | 42 installed with dpkg -i.
|
/libbtbb/cmake/modules/ |
H A D | FindPackageHandleStandardArgs.cmake | 39 # variable will be set to FALSE if any of the required components (i.e. not the 64 # after REQUIRED_VAR are all valid, i.e. BISON_EXECUTABLE in this case.
|
H A D | CMakeParseArguments.cmake | 9 # i.e. keywords which can be used when calling the macro without any value
|