Home
last modified time | relevance | path

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

12345678910

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
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);
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
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);
/third_party/libwebsockets/lib/misc/lwsac/
Dlwsac.c76 struct lwsac *bf; in lwsac_extend() local
81 bf = lachead->curr; in lwsac_extend()
82 assert(bf); in lwsac_extend()
84 if (bf->alloc_size - bf->ofs < lwsac_align(amount)) in lwsac_extend()
89 memset(((uint8_t *)bf) + bf->ofs, 0, lwsac_align(amount)); in lwsac_extend()
90 bf->ofs += lwsac_align(amount); in lwsac_extend()
100 struct lwsac *bf = *head; in _lwsac_use() local
102 if (bf) in _lwsac_use()
103 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use()
113 while (bf) { in _lwsac_use()
[all …]
/third_party/node/tools/icu/
Diculslocs.cc181 void printIndent(FILE* bf, int indent) { in printIndent() argument
183 fprintf(bf, " "); in printIndent()
194 FILE* bf, in dumpAllButInstalledLocales() argument
210 printIndent(bf, lev); in dumpAllButInstalledLocales()
211 fprintf(bf, "%s", key); in dumpAllButInstalledLocales()
218 fprintf(bf, ":string {\""); in dumpAllButInstalledLocales()
219 fwrite(s, len, 1, bf); in dumpAllButInstalledLocales()
220 fprintf(bf, "\"}"); in dumpAllButInstalledLocales()
223 fprintf(bf, ":table {\n"); in dumpAllButInstalledLocales()
224 dumpAllButInstalledLocales(lev+1, &t, bf, status); in dumpAllButInstalledLocales()
[all …]
/third_party/uboot/u-boot-2020.01/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 …]
/third_party/boost/libs/format/test/
Dformat_test3.cpp94 boost::format bf("%1% %4% %1%"); in main() local
95 bf.bind_arg(1, "one") % 2 % "three" ; in main()
96 BOOST_TEST_EQ(bf.expected_args(), 4); in main()
97 BOOST_TEST_EQ(bf.fed_args(), 2); in main()
98 BOOST_TEST_EQ(bf.bound_args(), 1); in main()
99 BOOST_TEST_EQ(bf.remaining_args(), 1); in main()
100 BOOST_TEST_EQ(bf.cur_arg(), 4); in main()
101 bf.clear_binds(); in main()
102 bf % "one" % 2 % "three" ; in main()
103 BOOST_TEST_EQ(bf.expected_args(), 4); in main()
[all …]
/third_party/boost/boost/math/differentiation/
Dlanczos_smoothing.hpp290 … auto bf = detail::boundary_velocity_filter<long double>(n, approximation_order, s); local
291 m_boundary_filters[i].resize(bf.size());
292 for (std::size_t j = 0; j < bf.size(); ++j)
294 m_boundary_filters[i][j] = static_cast<Real>(bf[j])/m_dt;
301 for (auto & bf : m_boundary_filters[i]) local
303 bf /= m_dt;
327 auto bf = detail::acceleration_filter<long double>(n, approximation_order, s); local
328 m_boundary_filters[i].resize(bf.size());
329 for (std::size_t j = 0; j < bf.size(); ++j)
331 m_boundary_filters[i][j] = static_cast<Real>(bf[j])/(m_dt*m_dt);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dutf8.txt102 2.3.1 U-0000D7FF = ed 9f bf = "퟿" |
104 2.3.3 U-0000FFFD = ef bf bd = "�" |
105 2.3.4 U-0010FFFF = f4 8f bf bf = "��" |
235 4.2.1 U-0000007F = c1 bf = "��" |
236 4.2.2 U-000007FF = e0 9f bf = "���" |
237 4.2.3 U-0000FFFF = f0 8f bf bf = "����" |
238 4.2.4 U-001FFFFF = f8 87 bf bf bf = "�����" |
239 4.2.5 U-03FFFFFF = fc 83 bf bf bf bf = "������" |
263 5.1.2 U+DB7F = ed ad bf = "�" |
265 5.1.4 U+DBFF = ed af bf = "�" |
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_fieldhint.c119 int64_t tf, bf; in filter_frame() local
141 } else if (sscanf(buf, "%"PRId64",%"PRId64" %c %c", &tf, &bf, &hint, &field) == 4) { in filter_frame()
143 } else if (sscanf(buf, "%"PRId64",%"PRId64" %c", &tf, &bf, &hint) == 3) { in filter_frame()
145 } else if (sscanf(buf, "%"PRId64",%"PRId64"", &tf, &bf) == 2) { in filter_frame()
154bf > outlink->frame_count_in + 1 || bf < FFMAX(0, outlink->frame_count_in - 1)) { in filter_frame()
155 …64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->fr… in filter_frame()
161 bf > 1 || bf < -1) { in filter_frame()
162 …64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->fr… in filter_frame()
181 bottom = s->frame[bf - outlink->frame_count_in + 1]; in filter_frame()
185 bottom = s->frame[1 + bf]; in filter_frame()
/third_party/gettext/gettext-tools/src/
Dread-mo.c255 struct binary_mo_file bf; in read_mo_file() local
274 read_binary_mo_file (&bf, fp, filename); in read_mo_file()
278 get_uint32 (&bf, offsetof (struct mo_file_header, field)) in read_mo_file()
283 bf.endian = MO_BIG_ENDIAN; in read_mo_file()
287 bf.endian = MO_LITTLE_ENDIAN; in read_mo_file()
323 msgid = get_string (&bf, header.orig_tab_offset + i * 8, in read_mo_file()
355 get_uint32 (&bf, header.hash_tab_offset + j * 4); in read_mo_file()
378 char *msgid = get_string (&bf, header.orig_tab_offset + i * 8, in read_mo_file()
386 get_uint32 (&bf, header.hash_tab_offset + idx * 4); in read_mo_file()
414 msgid = get_string (&bf, header.orig_tab_offset + i * 8, in read_mo_file()
[all …]
/third_party/libffi/src/powerpc/
Dsysv.S78 bf- 5,1f
89 bf- 6,2f
114 bf+ 28,L(done_return_value)
117 bf 27,L(done_return_value)
148 bf 28,L(float_return_value)
151 bf 27,L(done_return_value)
Dlinux64.S115 bf- 5, 1f
123 bf- 6, 2f
141 bf- 3, 3f
208 bf 27, .Lfloat_return_value
210 bf 26, .Ldone_return_value
218 bf 29, .Lvec_homog_or_small_struct
220 bf 27, .Lfloat_homog_return_value
243 bf 28, .Lsmall_struct
/third_party/uboot/u-boot-2020.01/drivers/gpio/
Dmscc_sgpio.c42 #define __M(bf) GENMASK((bf).end, (bf).beg) argument
43 #define __F(bf, x) (__M(bf) & ((x) << (bf).beg)) argument
44 #define __X(bf, x) (((x) >> (bf).beg) & GENMASK(((bf).end - (bf).beg), 0)) argument
/third_party/openssl/crypto/bf/
Dbuild.info5 GENERATE[bf-586.s]=asm/bf-586.pl \
7 DEPEND[bf-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl
/third_party/skia/tests/sksl/intrinsics/
DCross.glsl6 uniform vec2 bf;
9 sk_FragColor.y = af.x * bf.y - af.y * bf.x;
DCross.metal8 float2 bf;
19 _out.sk_FragColor.y = half(_uniforms.af.x * _uniforms.bf.y - _uniforms.af.y * _uniforms.bf.x);
/third_party/uboot/u-boot-2020.01/scripts/kconfig/
Dkxgettext.c12 static char *escape(const char* text, char *bf, int len) in escape() argument
14 char *bfp = bf; in escape()
60 return bf; in escape()
153 char bf[16384]; in message__add() local
154 char *escaped = escape(msg, bf, sizeof(bf)); in message__add()
/third_party/musl/src/thread/sh/
Datomics.s18 bf 1f
34 bf 1f
37 bf 0b
54 bf 1f
/third_party/typescript/tests/cases/fourslash/
DtransitiveExportImports3.ts18 const bf = { definition: "(alias) function f(): void\nimport f", ranges: [f2] }; constant
20 verify.referenceGroups([f0, f1], [af, g0Group, g1Group, bf]);
23 verify.referenceGroups(f2, [bf, af, g0Group, g1Group]);
/third_party/uboot/u-boot-2020.01/lib/
Dtiny-printf.c17 char *bf; /* Digit buffer */ member
27 *info->bf++ = c; in out()
236 info->bf = buf; in _vprintf()
237 p = info->bf; in _vprintf()
312 *info->bf = 0; in _vprintf()
313 info->bf = p; in _vprintf()
314 while (*info->bf++ && width > 0) in _vprintf()
/third_party/libffi/src/sh/
Dsysv.S91 bf 1f
106 bf L_call_it
113 bf L_pass_f
169 bf L_pass_i
226 bf L_call_it
266 bf L_ret_ll
287 bf L_ret_f
298 bf L_ret_i
307 bf L_epilogue
344 bf 1f
[all …]

12345678910