/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | bitfield.c | 23 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 bitfield_set(struct bitfield *bf, size_t bit) bitfield_set() argument 48 bitfield_clear(struct bitfield *bf, size_t bit) bitfield_clear() argument 56 bitfield_is_set(struct bitfield *bf, size_t bit) bitfield_is_set() argument 76 bitfield_get_first_zero(struct bitfield *bf) bitfield_get_first_zero() argument [all...] |
H A D | utils_module_tests.c | 130 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, in bitfield_tests() [all...] |
H A D | bitfield.h | 15 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_standard/src/utils/ |
H A D | bitfield.c | 23 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 bitfield_set(struct bitfield *bf, size_t bit) bitfield_set() argument 48 bitfield_clear(struct bitfield *bf, size_t bit) bitfield_clear() argument 56 bitfield_is_set(struct bitfield *bf, size_t bit) bitfield_is_set() argument 76 bitfield_get_first_zero(struct bitfield *bf) bitfield_get_first_zero() argument [all...] |
H A D | utils_module_tests.c | 130 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, in bitfield_tests() [all...] |
H A D | bitfield.h | 15 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/ |
H A D | lwsac.c | 76 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() [all...] |
/third_party/node/tools/icu/ |
H A D | iculslocs.cc | 181 void printIndent(FILE* bf, int indent) { in printIndent() argument 183 fprintf(bf, " "); in printIndent() 194 FILE* bf, in dumpAllButInstalledLocales() 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, statu in dumpAllButInstalledLocales() 192 dumpAllButInstalledLocales(int lev, icu::LocalUResourceBundlePointer* bund, FILE* bf, UErrorCode* status) dumpAllButInstalledLocales() argument 244 FILE* bf = nullptr; list() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/validation/optim/ |
H A D | bitfield-size.c | 6 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 argument 18 get__bfs_b(struct bfs bf) get__bfs_b() argument 19 get_pbfs_a(struct bfs *bf) get_pbfs_a() argument 20 get_pbfs_b(struct bfs *bf) get_pbfs_b() argument [all...] |
H A D | bitfield-init-zero.c | 10 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() 48 struct bfs bf = { }; bfs_get0() local [all...] |
H A D | bitfield-store-load0.c | 6 } 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/ |
H A D | vf_fieldhint.c | 119 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() 154 bf > outlink->frame_count_in + 1 || bf < FFMAX(0, outlink->frame_count_in - 1)) { in filter_frame() 155 av_log(ctx, AV_LOG_ERROR, "Out of range frames %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, s->line, inlink->frame_count_out); in filter_frame() 162 bf > 1 || bf < -1) { in filter_frame() 163 av_log(ctx, AV_LOG_ERROR, "Out of range %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n", tf, bf, in filter_frame() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_idiv.c | 47 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() [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnn.c | 174 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 in parsebitfield() 452 struct rnnbitfield *bf = parsebitfield(db, file, chain); parsebitset() local 989 copybitfield(struct rnnbitfield *bf, char *file) copybitfield() argument 1233 prepbitfield(struct rnndb *db, struct rnnbitfield *bf, char *prefix, struct rnnvarinfo *parvi) prepbitfield() argument [all...] |
H A D | headergen2.c | 127 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 in printbitfield() [all...] |
/third_party/musl/src/thread/sh/ |
H A D | atomics.s | 18 bf 1f 34 bf 1f 37 bf 0b 54 bf 1f
|
/third_party/ltp/tools/sparse/sparse-src/validation/linear/ |
H A D | compound-literal02.c | 8 struct bfs bf = { .a = 1, .b = 4 }; in bar() local 9 return (struct bfs[]){bf, { .a = 3, .b = 6}}[1].b; in bar()
|
H A D | compound-literal01.c | 8 struct bfs bf = { .a = 1, .b = 2 }; in foo() local 9 return (struct bfs[]){bf}[0].b; in foo()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | shift-undef.c | 77 struct bf { struct 82 int bf(struct bf *p) in bf() function
|
H A D | autotype.c | 9 int bf:3; member 25 __auto_type b = (struct s){0}.bf; is_type(b, int);
|
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/ |
H A D | index.js | 1083 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) { [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/ |
H A D | index.js | 1080 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) { [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_minmax.cpp | 147 float bf = _mesa_half_to_float(b->value.f16[c1]); in compare_components() local 148 if (af < bf) in compare_components() 150 else if (af > bf) in compare_components() 223 float bf = _mesa_half_to_float(b->value.f16[i]); in combine_constant() local 225 if ((ismin && bf < cf) || (!ismin && bf > cf)) in combine_constant()
|
/third_party/mesa3d/src/util/ |
H A D | u_math.h | 134 double af, bf; in util_ifloor() local 136 bf = (3 << 22) + 0.5 - (double)f; in util_ifloor() 139 __asm__ ("fstps %0" : "=m" (bi) : "t" (bf) : "st"); in util_ifloor() 143 double af, bf; in util_ifloor() 146 bf = (3 << 22) + 0.5 - (double) f; in util_ifloor() 148 u.f = (float) bf; bi = u.i; in util_ifloor()
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | script.c | 363 struct rnnbitfield *bf = bitfields[i]; in l_rnn_reg_meta_index() local 364 if (!strcmp(name, bf->name)) { in l_rnn_reg_meta_index() 367 regval &= typeinfo_mask(&bf->typeinfo); in l_rnn_reg_meta_index() 368 regval >>= bf->typeinfo.low; in l_rnn_reg_meta_index() 369 regval <<= bf->typeinfo.shr; in l_rnn_reg_meta_index() 372 rnndoff->elem->subelemsnum, bf->typeinfo.type, regval); in l_rnn_reg_meta_index() 374 return pushdecval(L, rnndoff->rnn, regval, &bf->typeinfo); in l_rnn_reg_meta_index()
|