Home
last modified time | relevance | path

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

12345678910>>...14

/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/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()
162 bf > 1 || bf < -1) { in filter_frame()
163 …64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->fr… in filter_frame()
189 bottom = s->frame[bf - outlink->frame_count_in + 1]; in filter_frame()
194 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/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/node/deps/openssl/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/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/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;
DCross.metal8 float2 bf;
19 _out.sk_FragColor.y = half(_uniforms.af.x * _uniforms.bf.y - _uniforms.af.y * _uniforms.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/mesa3d/src/intel/tools/tests/gen9/
Dmov.expected29 01 00 60 00 28 4f c0 27 00 00 00 00 00 00 f0 bf
33 01 10 60 00 28 4f 00 26 00 00 00 00 00 00 f0 bf
64 01 00 61 00 e8 3e 80 20 00 00 00 38 00 00 80 bf
66 01 00 81 00 e8 3e 80 20 00 00 00 38 00 00 80 bf
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/
Dindex.js1080 const bf = p;
1083 if (bf.__staleWhileFetching) {
1084 this.#valList[index] = bf.__staleWhileFetching;
1110 const bf = p;
1114 const del = !noDelete || bf.__staleWhileFetching === undefined;
1123 this.#valList[index] = bf.__staleWhileFetching;
1127 if (options.status && bf.__staleWhileFetching !== undefined) {
1130 return bf.__staleWhileFetching;
1132 else if (bf.__returned === bf) {
1158 const bf = Object.assign(p, {
[all …]
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/
Dindex.js1083 const bf = p;
1086 if (bf.__staleWhileFetching) {
1087 this.#valList[index] = bf.__staleWhileFetching;
1113 const bf = p;
1117 const del = !noDelete || bf.__staleWhileFetching === undefined;
1126 this.#valList[index] = bf.__staleWhileFetching;
1130 if (options.status && bf.__staleWhileFetching !== undefined) {
1133 return bf.__staleWhileFetching;
1135 else if (bf.__returned === bf) {
1161 const bf = Object.assign(p, {
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen8/
Dmov.expected33 01 00 60 00 28 4f c0 27 00 00 00 00 00 00 f0 bf
37 01 10 60 00 28 4f 00 26 00 00 00 00 00 00 f0 bf
68 01 00 61 00 e8 3e 80 20 00 00 00 38 00 00 80 bf
70 01 00 81 00 e8 3e 80 20 00 00 00 38 00 00 80 bf

12345678910>>...14