Home
last modified time | relevance | path

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

123456789

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_unittest.cc30 void Verify(NonlinearBeamformer* bf, float target_azimuth_radians) { in Verify() argument
31 EXPECT_TRUE(bf->IsInBeam(AzimuthToSphericalPoint(target_azimuth_radians))); in Verify()
32 EXPECT_TRUE(bf->IsInBeam(AzimuthToSphericalPoint( in Verify()
35 EXPECT_TRUE(bf->IsInBeam(AzimuthToSphericalPoint( in Verify()
38 EXPECT_FALSE(bf->IsInBeam(AzimuthToSphericalPoint( in Verify()
41 EXPECT_FALSE(bf->IsInBeam(AzimuthToSphericalPoint( in Verify()
46 void AimAndVerify(NonlinearBeamformer* bf, float target_azimuth_radians) { in AimAndVerify() argument
47 bf->AimAt(AzimuthToSphericalPoint(target_azimuth_radians)); in AimAndVerify()
48 Verify(bf, target_azimuth_radians); in AimAndVerify()
57 NonlinearBeamformer bf(array_geometry); in TEST() local
[all …]
/external/wpa_supplicant_8/src/utils/
Dbitfield.c23 struct bitfield *bf; in bitfield_alloc() local
25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc()
26 if (bf == NULL) in bitfield_alloc()
28 bf->bits = (u8 *) (bf + 1); in bitfield_alloc()
29 bf->max_bits = max_bits; in bitfield_alloc()
30 return bf; in bitfield_alloc()
34 void bitfield_free(struct bitfield *bf) in bitfield_free() argument
36 os_free(bf); in bitfield_free()
40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set() argument
42 if (bit >= bf->max_bits) in bitfield_set()
[all …]
Dutils_module_tests.c127 struct bitfield *bf; in bitfield_tests() local
133 bf = bitfield_alloc(123); in bitfield_tests()
134 if (bf == NULL) in bitfield_tests()
138 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests()
140 if (i > 0 && bitfield_is_set(bf, i - 1)) in bitfield_tests()
142 bitfield_set(bf, i); in bitfield_tests()
143 if (!bitfield_is_set(bf, i)) in bitfield_tests()
145 bitfield_clear(bf, i); in bitfield_tests()
146 if (bitfield_is_set(bf, i)) in bitfield_tests()
151 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests()
[all …]
Dbitfield.h15 void bitfield_free(struct bitfield *bf);
16 void bitfield_set(struct bitfield *bf, size_t bit);
17 void bitfield_clear(struct bitfield *bf, size_t bit);
18 int bitfield_is_set(struct bitfield *bf, size_t bit);
19 int bitfield_get_first_zero(struct bitfield *bf);
/external/llvm/test/CodeGen/PowerPC/
Dppc32-lshrti3.ll16 %bf.set3 = phi i72 [ %bf.set, %while.cond ], [ %.promoted, %entry ]
17 %bf.lshr = lshr i72 %bf.set3, 40
18 %bf.lshr.tr = trunc i72 %bf.lshr to i32
19 %bf.cast = and i32 %bf.lshr.tr, 65535
20 %dec = add nsw i32 %bf.lshr.tr, 65535
22 %bf.value = shl nuw i72 %0, 40
23 %bf.shl = and i72 %bf.value, 72056494526300160
24 %bf.clear2 = and i72 %bf.set3, -72056494526300161
25 %bf.set = or i72 %bf.shl, %bf.clear2
26 %tobool = icmp eq i32 %bf.cast, 0
[all …]
Dload-shift-combine.ll22 …%bf.load1 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5…
23 %bf.clear2 = and i96 %bf.load1, 302231454903657293676543
24 %bf.set3 = or i96 %bf.clear2, -38383394772764476296921088
25 …store i96 %bf.set3, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 x…
30 …%bf.load15 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], […
31 %bf.clear16 = and i96 %bf.load15, -18446744069414584321
32 %bf.set17 = or i96 %bf.clear16, 18446743532543672320
33 …store i96 %bf.set17, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 …
Dcrash.ll6 %bf.shl = trunc i64 %tmp3 to i8
7 %bf.clear = and i8 %x2, -17
8 %bf.set = or i8 %bf.shl, %bf.clear
15 store i8 %bf.set, i8* %x3, align 4
Dreloc-align.ll27 %bf.load = load i64, i64* %0, align 1
28 %bf.shl = shl i64 %bf.load, 26
29 %bf.ashr = ashr i64 %bf.shl, 54
30 %bf.cast = trunc i64 %bf.ashr to i32
31 ret i32 %bf.cast
/external/fio/engines/
Dbinject.c71 struct binject_file *bf = FILE_ENG_DATA(f); in binject_read_commands() local
73 ret = read(bf->fd, p, left * sizeof(struct b_user_cmd)); in binject_read_commands()
107 struct binject_file *bf = FILE_ENG_DATA(f); in fio_binject_getevents() local
113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject"); in fio_binject_getevents()
117 bd->pfds[i].fd = bf->fd; in fio_binject_getevents()
157 struct binject_file *bf = FILE_ENG_DATA(f); in fio_binject_getevents() local
162 if (fcntl(bf->fd, F_SETFL, bd->fd_flags[i]) < 0) in fio_binject_getevents()
176 struct binject_file *bf = FILE_ENG_DATA(io_u->file); in fio_binject_doio() local
179 ret = write(bf->fd, buc, sizeof(*buc)); in fio_binject_doio()
190 struct binject_file *bf = FILE_ENG_DATA(io_u->file); in fio_binject_prep() local
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java59 BloomFilter<String> bf = BloomFilter.create( in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() local
65 bf.put(Integer.toString(i)); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives()
70 assertTrue(bf.mightContain(Integer.toString(i))); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives()
79 assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i))); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives()
87 if (bf.mightContain(Integer.toString(i))) { in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives()
93 double expectedFpp = bf.expectedFpp(); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives()
100 BloomFilter<String> bf = BloomFilter.create( in testCreateAndCheckBloomFilterWithKnownFalsePositives64() local
106 bf.put(Integer.toString(i)); in testCreateAndCheckBloomFilterWithKnownFalsePositives64()
111 assertTrue(bf.mightContain(Integer.toString(i))); in testCreateAndCheckBloomFilterWithKnownFalsePositives64()
120 assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i))); in testCreateAndCheckBloomFilterWithKnownFalsePositives64()
[all …]
/external/llvm/test/CodeGen/Hexagon/
Dinsert-basic.ll31 %bf.value = and i32 %y1, 8388607
35 %3 = or i32 %2, %bf.value
37 %bf.value1 = and i32 %y2, 131071
38 %bf.field.offs = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 4
39 %4 = bitcast i8* %bf.field.offs to i32*
42 %7 = or i32 %6, %bf.value1
44 %bf.value2 = and i32 %y3, 262143
45 %bf.field.offs3 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 8
46 %8 = bitcast i8* %bf.field.offs3 to i32*
49 %11 = or i32 %10, %bf.value2
[all …]
Dextract-basic.ll42 %bf.value = and i32 %1, 7
46 %5 = or i32 %4, %bf.value
50 %bf.clear1 = shl nuw nsw i32 %7, 3
51 %8 = and i32 %bf.clear1, 56
57 %bf.value4 = shl i32 %12, 10
58 %13 = and i32 %bf.value4, 261120
64 %bf.clear5 = shl i32 %17, 18
65 %18 = and i32 %bf.clear5, 66846720
/external/llvm/test/Transforms/InstCombine/
D2013-03-05-Combine-BitcastTy-Into-Alloca.ll22 %bf.value = shl nuw nsw i96 %0, 6
23 %bf.clear = and i96 %k.sroa.0.0.copyload, -288230376151711744
25 %bf.value2 = shl nuw nsw i96 %1, 32
26 %bf.shl3 = and i96 %bf.value2, 288230371856744448
27 %bf.value.masked = and i96 %bf.value, 4294967232
29 %bf.value8 = and i96 %2, 63
30 %bf.clear4 = or i96 %bf.shl3, %bf.value.masked
31 %bf.set5 = or i96 %bf.clear4, %bf.value8
32 %bf.set10 = or i96 %bf.set5, %bf.clear
34 store i96 %bf.set10, i96* %retval.0.cast7, align 8
[all …]
/external/valgrind/none/tests/s390x/
Dcu21_1.stdout.exp43 UTF8: c2 80 df bf
47 UTF8: e0 a0 80 ed 9f bf ed b0 80
51 UTF8: f0 90 80 80 f4 8f bf bf
55 UTF8: f0 90 80 80 f4 8f bf bf
59 UTF8: f0 90 80 80 f4 8f bf bf
111 UTF8: c2 80 df bf
115 UTF8: e0 a0 80 ed 9f bf
119 UTF8: e0 a0 80 ed 9f bf
123 UTF8: f0 90 80 80 f4 8f bf bf
127 UTF8: f0 90 80 80 f4 8f bf bf
[all …]
Dcu21.stdout.exp43 UTF8: c2 80 df bf
47 UTF8: e0 a0 80 ed 9f bf ed b0 80
51 UTF8: f0 90 80 80 f4 8f bf bf
55 UTF8: f0 90 80 80 f4 8f bf bf
59 UTF8: f0 90 80 80 f4 8f bf bf
111 UTF8: c2 80 df bf
115 UTF8: e0 a0 80 ed 9f bf
119 UTF8: e0 a0 80 ed 9f bf
123 UTF8: f0 90 80 80 f4 8f bf bf
127 UTF8: f0 90 80 80 f4 8f bf bf
[all …]
Dcu14.stdout.exp16 UTF8: bf
89 UTF8: c2 80 c2 bf df 80 df bf c3 be da bc
96 UTF8: c0 80 c0 bf c1 80 c0 bf
134 UTF8: e0 a0 80 e0 bf 80 e0 a0 bf e0 bf bf e0 aa bb
139 UTF8: ed 80 80 ed 9f 80 ed 80 bf ed 9f bf ed 8a bb
149 UTF8: e1 bf 80
154 UTF8: e1 80 bf
159 UTF8: e1 bf bf
169 UTF8: e2 bf 80
174 UTF8: e2 80 bf
[all …]
Dcu12_1.stdout.exp16 UTF8: bf
89 UTF8: c2 80 c2 bf df 80 df bf c3 be da bc
96 UTF8: c0 80 c0 bf c1 80 c0 bf
134 UTF8: e0 a0 80 e0 bf 80 e0 a0 bf e0 bf bf e0 aa bb
139 UTF8: ed 80 80 ed 9f 80 ed 80 bf ed 9f bf ed 8a bb
149 UTF8: e1 bf 80
154 UTF8: e1 80 bf
159 UTF8: e1 bf bf
169 UTF8: e2 bf 80
174 UTF8: e2 80 bf
[all …]
Dcu14_1.stdout.exp16 UTF8: bf
89 UTF8: c2 80 c2 bf df 80 df bf c3 be da bc
96 UTF8: c0 80 c0 bf c1 80 c0 bf
134 UTF8: e0 a0 80 e0 bf 80 e0 a0 bf e0 bf bf e0 aa bb
139 UTF8: ed 80 80 ed 9f 80 ed 80 bf ed 9f bf ed 8a bb
149 UTF8: e1 bf 80
154 UTF8: e1 80 bf
159 UTF8: e1 bf bf
169 UTF8: e2 bf 80
174 UTF8: e2 80 bf
[all …]
Dcu12.stdout.exp16 UTF8: bf
89 UTF8: c2 80 c2 bf df 80 df bf c3 be da bc
96 UTF8: c0 80 c0 bf c1 80 c0 bf
134 UTF8: e0 a0 80 e0 bf 80 e0 a0 bf e0 bf bf e0 aa bb
139 UTF8: ed 80 80 ed 9f 80 ed 80 bf ed 9f bf ed 8a bb
149 UTF8: e1 bf 80
154 UTF8: e1 80 bf
159 UTF8: e1 bf bf
169 UTF8: e2 bf 80
174 UTF8: e2 80 bf
[all …]
/external/llvm/test/CodeGen/X86/
Dnarrow_op-1.ll3 %struct.bf = type { i64, i16, i16, i32 }
4 @bfi = common global %struct.bf zeroinitializer, align 16
8 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3…
10 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32…
20 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3…
22 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32…
Dpr3216.ll12 %bf.lo = lshr i8 %tmp, 5
13 %bf.lo.cleared = and i8 %bf.lo, 7
14 %1 = shl i8 %bf.lo.cleared, 5
15 %bf.val.sext = ashr i8 %1, 5
16 %conv = sext i8 %bf.val.sext to i32
D2009-04-25-CoalescerBug.ll10 %bf.lo = lshr i32 %tmp15, 1 ; <i32> [#uses=1]
11 %bf.lo.cleared = and i32 %bf.lo, 2147483647 ; <i32> [#uses=1]
12 %conv = zext i32 %bf.lo.cleared to i64 ; <i64> [#uses=1]
13 %bf.lo.cleared25 = and i32 %tmp15, 1 ; <i32> [#uses=1]
14 %tobool = icmp ne i32 %bf.lo.cleared25, 0 ; <i1> [#uses=1]
Dsext-load.ll26 %bf.load = load i48, i48* %cast, align 2
27 %bf.ashr = ashr i48 %bf.load, 32
28 %bf.cast = trunc i48 %bf.ashr to i32
29 ret i32 %bf.cast
/external/clang/test/CoverageMapping/
Dlogical.cpp5 bool bf = false; in main() local
6 bool a = bt && bf; // CHECK-NEXT: File 0, [[@LINE]]:18 -> [[@LINE]]:20 = #1 in main()
8 bf; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE]]:9 = #2 in main()
9 a = bf || bt; // CHECK-NEXT: File 0, [[@LINE]]:13 -> [[@LINE]]:15 = #3 in main()
10 a = bf || in main()
/external/llvm/test/CodeGen/ARM/
Difconv-regmask.ll10 …%bf.load = load i32, i32* getelementptr inbounds (%union.opcode, %union.opcode* @opcode, i32 0, i3…
11 %bf.lshr = lshr i32 %bf.load, 26
12 %bf.clear = and i32 %bf.lshr, 7
13 switch i32 %bf.clear, label %return [

123456789