Home
last modified time | relevance | path

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

12345678910>>...23

/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PhaseOrdering/
Dbitfield-bittests.ll28 %bf.clear = and i8 %a.sroa.0.0.trunc, 1
29 %bf.cast = zext i8 %bf.clear to i32
30 %bf.lshr = lshr i8 %a.sroa.0.0.trunc, 1
31 %bf.clear2 = and i8 %bf.lshr, 1
32 %bf.cast3 = zext i8 %bf.clear2 to i32
33 %or = or i32 %bf.cast, %bf.cast3
34 %bf.lshr5 = lshr i8 %a.sroa.0.0.trunc, 2
35 %bf.clear6 = and i8 %bf.lshr5, 1
36 %bf.cast7 = zext i8 %bf.clear6 to i32
37 %or8 = or i32 %or, %bf.cast7
[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.c130 struct bitfield *bf; in bitfield_tests() local
136 bf = bitfield_alloc(123); in bitfield_tests()
137 if (bf == NULL) in bitfield_tests()
141 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests()
143 if (i > 0 && bitfield_is_set(bf, i - 1)) in bitfield_tests()
145 bitfield_set(bf, i); in bitfield_tests()
146 if (!bitfield_is_set(bf, i)) in bitfield_tests()
148 bitfield_clear(bf, i); in bitfield_tests()
149 if (bitfield_is_set(bf, i)) in bitfield_tests()
154 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests()
[all …]
/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.c61 void build_dirs(struct benchfiles *bf) in build_dirs() argument
66 if (mkdir(bf->basedir, S_IRWXU) < 0) in build_dirs()
68 perror(bf->basedir); in build_dirs()
71 for (i = 0; i < bf->numsubdirs; i++) { in build_dirs()
73 bf->basedir, bf->basename, SUBDIRNAME_BASE, i); in build_dirs()
107 void destroy_filelist(struct benchfiles *bf) in destroy_filelist() argument
109 free(bf->basedir); in destroy_filelist()
110 free(bf->basename); in destroy_filelist()
112 while (!cl_empty(bf->holes)) { in destroy_filelist()
113 struct ffsb_file *cur = cl_remove_head(bf->holes); in destroy_filelist()
[all …]
/external/u-boot/tools/
Dzynqmpbif.c55 char *(*parse)(char *line, struct bif_entry *bf);
61 int (*add)(struct bif_entry *bf);
110 static char *parse_dest_cpu(char *line, struct bif_entry *bf) in parse_dest_cpu() argument
116 bf->dest_cpu = i << PART_ATTR_DEST_CPU_SHIFT; in parse_dest_cpu()
126 bf->dest_cpu = i << PART_ATTR_DEST_CPU_SHIFT; in parse_dest_cpu()
135 static char *parse_el(char *line, struct bif_entry *bf) in parse_el() argument
142 bf->exp_lvl = i; in parse_el()
150 static char *parse_load(char *line, struct bif_entry *bf) in parse_load() argument
154 bf->load = strtoll(line, &endptr, 0); in parse_load()
159 static char *parse_entry(char *line, struct bif_entry *bf) in parse_entry() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dzext-logicop-shift-load.ll11 %bf.load = load i8, i8* %data, align 4
12 %bf.clear = shl i8 %bf.load, 2
13 %0 = and i8 %bf.clear, 60
25 %bf.load = load i8, i8* %data, align 4
26 %bf.clear = shl i8 %bf.load, 2
27 %0 = and i8 %bf.clear, 60
42 %bf.load = load i8, i8* %data, align 4
43 %bf.clear = shl i8 %bf.load, 2
44 %0 = xor i8 %bf.clear, 60
56 %bf.load = load i8, i8* %data, align 4
[all …]
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
/external/swiftshader/third_party/llvm-7.0/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 …]
Dbitfieldinsert.ll25 %bf.load = load i32, i32* %0, align 4
26 %bf.value = shl i32 %v, 8
27 %bf.shl = and i32 %bf.value, 16776960
28 %bf.clear = and i32 %bf.load, -16776961
29 %bf.set = or i32 %bf.clear, %bf.shl
30 store i32 %bf.set, i32* %0, align 4
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 …
/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 …
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Ddins.ll39 …%bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load = load volatile i64, i64* %bufptr.sroa.0,…
40 %bf.clear = and i64 %bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load, 134217727
41 %bf.set = or i64 %bf.clear, 16508780544
42 store volatile i64 %bf.set, i64* %bufptr.sroa.0, align 8
43 …%bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load2 = load volatile i64, i64* %bufptr.sroa.4…
44 %bf.clear3 = and i64 %bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load2, -16911433729
45 %bf.set4 = or i64 %bf.clear3, 1073741824
46 store volatile i64 %bf.set4, i64* %bufptr.sroa.4, align 8
47 …%bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load6 = load volatile i64, i64* %bufptr.sroa.4…
48 %bf.clear7 = and i64 %bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load6, 1125899906842623
[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/swiftshader/third_party/llvm-7.0/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 …]
/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 …]
/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/swiftshader/third_party/llvm-7.0/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 …]
Dpr35515.ll10 %bf.load81 = load i40, i40* bitcast ({ i8, i8, i8, i8, i8 }* @g_49 to i40*), align 2
11 %bf.clear = and i40 %bf.load81, -274869518337
12 …%bf.set = or i40 %bf.clear, shl (i40 zext (i1 icmp sgt (i32 zext (i1 icmp eq (i8* getelementptr in…
13 %tmp = lshr i40 %bf.set, 23
17 %bf.shl154 = zext i32 %tmp3 to i40
18 %bf.set156 = or i40 %bf.clear, %bf.shl154
/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…
/external/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; in convert_instr() local
60 bf = nir_i2f32(bld, denom); in convert_instr()
62 bf = nir_fabs(bld, bf); in convert_instr()
67 bf = nir_u2f32(bld, denom); in convert_instr()
73 bf = nir_frcp(bld, bf); in convert_instr()
74 bf = nir_isub(bld, bf, nir_imm_int(bld, 2)); /* yes, really */ in convert_instr()
75 q = nir_fmul(bld, af, bf); in convert_instr()
87 r = nir_fmul(bld, r, bf); in convert_instr()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
Dpr32836.ll34 %bf.load1 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0)
35 %bf.value = and i32 %tmp1, 536870911
36 %bf.clear = and i32 %bf.load1, -536870912
37 %bf.set = or i32 %bf.clear, %bf.value
38 store i32 %bf.set, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0)
41 %bf.load4 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0)
42 %tmp4 = and i32 %bf.load4, 536870911
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
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

12345678910>>...23