Home
last modified time | relevance | path

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

1234567891011

/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/ltp/tools/sparse/sparse-src/validation/optim/
Dbitfield-size.c6 unsigned int get__bfu_a(struct bfu bf) { return bf.a; } in get__bfu_a() argument
7 unsigned int get__bfu_b(struct bfu bf) { return bf.b; } in get__bfu_b() argument
8 unsigned int get_pbfu_a(struct bfu *bf) { return bf->a; } in get_pbfu_a() argument
9 unsigned int get_pbfu_b(struct bfu *bf) { return bf->b; } in get_pbfu_b() argument
17 signed int get__bfs_a(struct bfs bf) { return bf.a; } in get__bfs_a() argument
18 signed int get__bfs_b(struct bfs bf) { return bf.b; } in get__bfs_b() argument
19 signed int get_pbfs_a(struct bfs *bf) { return bf->a; } in get_pbfs_a() argument
20 signed int get_pbfs_b(struct bfs *bf) { return bf->b; } in get_pbfs_b() argument
Dbitfield-init-zero.c10 struct bfu bf = { .f = a, }; in bfuu_init() local
11 return bf; in bfuu_init()
16 struct bfu bf = { .f = a, }; in bfus_init() local
17 return bf; in bfus_init()
22 struct bfu bf = { }; in bfu_get0() local
23 return bf.f; in bfu_get0()
36 struct bfs bf = { .f = a, }; in bfsu_init() local
37 return bf; in bfsu_init()
42 struct bfs bf = { .f = a, }; in bfss_init() local
43 return bf; in bfss_init()
[all …]
Dbitfield-store-load0.c6 } bf; in ufoo() local
8 bf.a = a; in ufoo()
9 return bf.a; in ufoo()
17 } bf; in sfoo() local
19 bf.a = a; in sfoo()
20 return bf.a; in sfoo()
/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.c116 int64_t tf, bf; in filter_frame() local
138 } else if (sscanf(buf, "%"PRId64",%"PRId64" %c %c", &tf, &bf, &hint, &field) == 4) { in filter_frame()
140 } else if (sscanf(buf, "%"PRId64",%"PRId64" %c", &tf, &bf, &hint) == 3) { in filter_frame()
142 } else if (sscanf(buf, "%"PRId64",%"PRId64"", &tf, &bf) == 2) { in filter_frame()
151bf > outlink->frame_count_in + 1 || bf < FFMAX(0, outlink->frame_count_in - 1)) { in filter_frame()
152 …64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->fr… in filter_frame()
158 bf > 1 || bf < -1) { in filter_frame()
159 …64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->fr… in filter_frame()
178 bottom = s->frame[bf - outlink->frame_count_in + 1]; in filter_frame()
182 bottom = s->frame[1 + bf]; in filter_frame()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c47 nir_ssa_def *af, *bf, *a, *b, *q, *r, *rt; in convert_instr() local
56 bf = nir_i2f32(bld, denom); in convert_instr()
58 bf = nir_fabs(bld, bf); in convert_instr()
63 bf = nir_u2f32(bld, denom); in convert_instr()
69 bf = nir_frcp(bld, bf); in convert_instr()
70 bf = nir_isub(bld, bf, nir_imm_int(bld, 2)); /* yes, really */ in convert_instr()
71 q = nir_fmul(bld, af, bf); in convert_instr()
83 r = nir_fmul(bld, r, bf); in convert_instr()
/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
Daix.S110 .bf __LINE__
159 bf 6,L2 /* 2f + 0x18 */
203 bf 28, L(float_return_value)
205 bf 31, L(done_return_value)
218 .bf __LINE__
267 bf 6,L2 /* 2f + 0x18 */
296 bf 28, L(done_return_value)
313 bf 28, L(float_return_value)
345 .bf __LINE__
401 .bf __LINE__
/third_party/mesa3d/src/freedreno/rnn/
Drnn.c174 struct rnnbitfield *bf = parsebitfield(db, file, node); in trytypetag() local
175 if (bf) in trytypetag()
176 ADDARRAY(ti->bitfields, bf); in trytypetag()
358 struct rnnbitfield *bf = calloc(sizeof *bf, 1); in parsebitfield() local
359 bf->file = file; in parsebitfield()
361 bf->typeinfo.low = bf->typeinfo.high = -1; in parsebitfield()
364 bf->name = strdup(getattrib(db, file, node->line, attr)); in parsebitfield()
366 bf->varinfo.varsetstr = strdup(getattrib(db, file, node->line, attr)); in parsebitfield()
368 bf->varinfo.variantsstr = strdup(getattrib(db, file, node->line, attr)); in parsebitfield()
369 } else if (!trytypeattr(db, file, node, attr, &bf->typeinfo)) { in parsebitfield()
[all …]
Dheadergen2.c127 static void printbitfield (struct rnnbitfield *bf, int shift);
129 static void printtypeinfo (struct rnntypeinfo *ti, struct rnnbitfield *bf, in printtypeinfo() argument
144 if (bf || ti->shr || ti->minvalid || ti->maxvalid || ti->alignvalid || in printtypeinfo()
167 if (bf && (intype == RNN_TTYPE_BOOLEAN)) { in printtypeinfo()
168 printdef(bf->fullname, 0, 0, mask, file); in printtypeinfo()
228 static void printbitfield (struct rnnbitfield *bf, int shift) { in printbitfield() argument
229 if (bf->varinfo.dead) in printbitfield()
231 printtypeinfo (&bf->typeinfo, bf, bf->fullname, bf->file); in printbitfield()
/third_party/openssl/crypto/bf/
Dbuild.info5 $BFASM_x86=bf-586.S
24 GENERATE[bf-586.S]=asm/bf-586.pl
25 DEPEND[bf-586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl
/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 …]
/third_party/musl/src/thread/sh/
Datomics.s18 bf 1f
34 bf 1f
37 bf 0b
54 bf 1f
/third_party/skia/tests/sksl/intrinsics/
DCross.glsl6 uniform vec2 bf;
9 sk_FragColor.y = af.x * bf.y - af.y * bf.x;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DFBConfigCompatibility.md54 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
55 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat Result
78 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
79 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
99 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
100 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
131 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
132 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
151 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
152 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DFBConfigCompatibility.md54 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
55 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat Result
78 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
79 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
99 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
100 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
131 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
132 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
151 visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
152 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
[all …]

1234567891011