Searched refs:bf (Results 1 - 25 of 132) sorted by relevance

123456

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbitfield.c23 struct bitfield *bf; local
25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8);
26 if (bf == NULL)
28 bf->bits = (u8 *) (bf + 1);
29 bf->max_bits = max_bits;
30 return bf;
34 void bitfield_free(struct bitfield *bf) argument
36 os_free(bf);
40 bitfield_set(struct bitfield *bf, size_t bit) argument
48 bitfield_clear(struct bitfield *bf, size_t bit) argument
56 bitfield_is_set(struct bitfield *bf, size_t bit) argument
76 bitfield_get_first_zero(struct bitfield *bf) argument
[all...]
H A 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);
H A Dutils_module_tests.c98 struct bitfield *bf; local
104 bf = bitfield_alloc(123);
105 if (bf == NULL)
109 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1))
111 if (i > 0 && bitfield_is_set(bf, i - 1))
113 bitfield_set(bf, i);
114 if (!bitfield_is_set(bf, i))
116 bitfield_clear(bf, i);
117 if (bitfield_is_set(bf,
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dbitfield.c23 struct bitfield *bf; local
25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8);
26 if (bf == NULL)
28 bf->bits = (u8 *) (bf + 1);
29 bf->max_bits = max_bits;
30 return bf;
34 void bitfield_free(struct bitfield *bf) argument
36 os_free(bf);
40 bitfield_set(struct bitfield *bf, size_t bit) argument
48 bitfield_clear(struct bitfield *bf, size_t bit) argument
56 bitfield_is_set(struct bitfield *bf, size_t bit) argument
76 bitfield_get_first_zero(struct bitfield *bf) argument
[all...]
H A 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);
H A Dutils_module_tests.c98 struct bitfield *bf; local
104 bf = bitfield_alloc(123);
105 if (bf == NULL)
109 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1))
111 if (i > 0 && bitfield_is_set(bf, i - 1))
113 bitfield_set(bf, i);
114 if (!bitfield_is_set(bf, i))
116 bitfield_clear(bf, i);
117 if (bitfield_is_set(bf,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dbitfield.c23 struct bitfield *bf; local
25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8);
26 if (bf == NULL)
28 bf->bits = (u8 *) (bf + 1);
29 bf->max_bits = max_bits;
30 return bf;
34 void bitfield_free(struct bitfield *bf) argument
36 os_free(bf);
40 bitfield_set(struct bitfield *bf, size_t bit) argument
48 bitfield_clear(struct bitfield *bf, size_t bit) argument
56 bitfield_is_set(struct bitfield *bf, size_t bit) argument
76 bitfield_get_first_zero(struct bitfield *bf) argument
[all...]
H A 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);
H A Dutils_module_tests.c98 struct bitfield *bf; local
104 bf = bitfield_alloc(123);
105 if (bf == NULL)
109 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1))
111 if (i > 0 && bitfield_is_set(bf, i - 1))
113 bitfield_set(bf, i);
114 if (!bitfield_is_set(bf, i))
116 bitfield_clear(bf, i);
117 if (bitfield_is_set(bf,
[all...]
/external/libcxx/test/utilities/function.objects/func.require/
H A Dbinary_function.pass.cpp19 typedef std::binary_function<int, short, bool> bf; typedef
20 static_assert((std::is_same<bf::first_argument_type, int>::value), "");
21 static_assert((std::is_same<bf::second_argument_type, short>::value), "");
22 static_assert((std::is_same<bf::result_type, bool>::value), "");
/external/clang/test/Analysis/
H A Dstack-block-returned.cpp5 bptr bf(int j) { function
/external/clang/test/Sema/
H A Dwarn-bad-function-cast.c12 _Bool bf(void);
23 (const void)bf();
32 (_Bool)bf();
43 (int)bf(); /* expected-warning {{cast from function call of type '_Bool' to non-matching type 'int'}} */
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dbuild-id.h12 int build_id__sprintf(const u8 *build_id, int len, char *bf);
13 char *dso__build_id_filename(struct dso *self, char *bf, size_t size);
H A Dtop.c24 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) argument
47 ret = SNPRINTF(bf, size,
56 ret = SNPRINTF(bf, size,
75 ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ",
80 ret += SNPRINTF(bf + ret, size - ret, "%s", perf_evsel__name(top->sym_evsel));
82 ret += SNPRINTF(bf + ret, size - ret, "], ");
85 ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s",
88 ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s",
91 ret += SNPRINTF(bf + ret, size - ret, " (uid: %s",
94 ret += SNPRINTF(bf
[all...]
H A Dbuild-id.c77 int build_id__sprintf(const u8 *build_id, int len, char *bf) argument
79 char *bid = bf;
92 char *dso__build_id_filename(struct dso *self, char *bf, size_t size) argument
100 if (bf == NULL) {
101 if (asprintf(&bf, "%s/.build-id/%.2s/%s", buildid_dir,
105 snprintf(bf, size, "%s/.build-id/%.2s/%s", buildid_dir,
107 return bf;
H A Dsort.c21 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) argument
27 n = vsnprintf(bf, size, fmt, ap);
29 char *sep = bf;
63 static int hist_entry__thread_snprintf(struct hist_entry *self, char *bf, argument
66 return repsep_snprintf(bf, size, "%*s:%5d", width - 6,
97 static int hist_entry__comm_snprintf(struct hist_entry *self, char *bf, argument
100 return repsep_snprintf(bf, size, "%*s", width, self->thread->comm);
139 static int _hist_entry__dso_snprintf(struct map *map, char *bf, argument
145 return repsep_snprintf(bf, size, "%-*s", width, dso_name);
148 return repsep_snprintf(bf, siz
151 hist_entry__dso_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
191 _hist_entry__sym_snprintf(struct map *map, struct symbol *sym, u64 ip, char level, char *bf, size_t size, unsigned int width) argument
227 hist_entry__sym_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
249 hist_entry__srcline_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width __maybe_unused) argument
313 hist_entry__parent_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
335 hist_entry__cpu_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
357 hist_entry__dso_from_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
371 hist_entry__dso_to_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
402 hist_entry__sym_from_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
411 hist_entry__sym_to_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
459 hist_entry__mispredict_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
485 hist_entry__daddr_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
515 hist_entry__dso_daddr_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
545 hist_entry__locked_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
594 hist_entry__tlb_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
671 hist_entry__lvl_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
739 hist_entry__snoop_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
787 hist_entry__local_weight_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
806 hist_entry__global_weight_snprintf(struct hist_entry *self, char *bf, size_t size, unsigned int width) argument
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DBloomFilterTest.java61 private void checkSanity(BloomFilter<Object> bf) { argument
62 assertFalse(bf.mightContain(new Object()));
65 bf.put(o);
66 assertTrue(bf.mightContain(o));
71 BloomFilter<byte[]> bf = BloomFilter.create(Funnels.byteArrayFunnel(), 100);
73 bf.put(Ints.toByteArray(i));
76 bf = SerializableTester.reserialize(bf);
78 assertTrue(bf.mightContain(Ints.toByteArray(i)));
/external/fio/engines/
H A Dbinject.c65 struct binject_file *bf; local
72 bf = (struct binject_file *) (uintptr_t) f->engine_data;
73 ret = read(bf->fd, p, left * sizeof(struct b_user_cmd));
101 struct binject_file *bf; local
107 bf = (struct binject_file *) (uintptr_t) f->engine_data;
113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject");
117 bd->pfds[i].fd = bf->fd;
157 bf = (struct binject_file *) (uintptr_t) f->engine_data;
162 if (fcntl(bf->fd, F_SETFL, bd->fd_flags[i]) < 0)
176 struct binject_file *bf local
190 struct binject_file *bf = (struct binject_file *) (uintptr_t) io_u->file->engine_data; local
253 binject_unmap_dev(struct thread_data *td, struct binject_file *bf) argument
275 binject_map_dev(struct thread_data *td, struct binject_file *bf, int fd) argument
332 struct binject_file *bf = (struct binject_file *) (uintptr_t) f->engine_data; local
346 struct binject_file *bf; local
[all...]
/external/clang/test/SemaCXX/
H A Dmicrosoft-new-delete.cpp18 struct bitfield { int n : 3; } bf; // expected-note {{here}} variable in typeref:struct:bitfield
21 void *r = new (bf.n) int[4]; // expected-error {{non-const reference cannot bind to bit-field}}
/external/openssl/crypto/ui/
H A Dui_compat.h74 #define des_read_pw(b,bf,s,p,v) \
75 _ossl_old_des_read_pw((b),(bf),(s),(p),(v))
/external/openssl/include/openssl/
H A Dui_compat.h74 #define des_read_pw(b,bf,s,p,v) \
75 _ossl_old_des_read_pw((b),(bf),(s),(p),(v))
/external/clang/test/CodeGenCXX/
H A Ddebug-info-alias.cpp19 // CHECK: metadata [[BFLOAT:![0-9]*]], i32 0, i32 1, {{.*}} ; [ DW_TAG_variable ] [bf]
21 x::bar<float> bf; variable
H A Dptr-to-member-function.cpp20 void bf() { printf("B::bf called\n"); } function in struct:B
33 return &B::bf;
/external/valgrind/main/none/tests/s390x/
H A Dcu21.stdout.exp43 UTF8: c2 80 df bf
47 UTF8: e0 a0 80 ed 9f bf ed b0 80
51 UTF8: f0 90 80 80 f4 8f bf bf
55 UTF8: f0 90 80 80 f4 8f bf bf
59 UTF8: f0 90 80 80 f4 8f bf bf
111 UTF8: c2 80 df bf
115 UTF8: e0 a0 80 ed 9f bf
[all...]
H A Dcu21_1.stdout.exp43 UTF8: c2 80 df bf
47 UTF8: e0 a0 80 ed 9f bf ed b0 80
51 UTF8: f0 90 80 80 f4 8f bf bf
55 UTF8: f0 90 80 80 f4 8f bf bf
59 UTF8: f0 90 80 80 f4 8f bf bf
111 UTF8: c2 80 df bf
115 UTF8: e0 a0 80 ed 9f bf
[all...]

Completed in 376 milliseconds

123456