Home
last modified time | relevance | path

Searched refs:binfo (Results 1 – 6 of 6) sorted by relevance

/external/jemalloc/src/
Dbitmap.c9 bitmap_info_init(bitmap_info_t *binfo, size_t nbits) in bitmap_info_init() argument
22 binfo->levels[0].group_offset = 0; in bitmap_info_init()
26 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init()
30 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init()
32 assert(binfo->levels[i].group_offset <= BITMAP_GROUPS_MAX); in bitmap_info_init()
33 binfo->nlevels = i; in bitmap_info_init()
34 binfo->nbits = nbits; in bitmap_info_init()
38 bitmap_info_ngroups(const bitmap_info_t *binfo) in bitmap_info_ngroups() argument
41 return (binfo->levels[binfo->nlevels].group_offset); in bitmap_info_ngroups()
45 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo) in bitmap_init() argument
[all …]
/external/jemalloc/test/unit/
Dbitmap.c9 bitmap_info_t binfo; in TEST_BEGIN() local
12 bitmap_info_init(&binfo, i); in TEST_BEGIN()
13 size = bitmap_size(&binfo); in TEST_BEGIN()
26 bitmap_info_t binfo; in TEST_BEGIN() local
27 bitmap_info_init(&binfo, i); in TEST_BEGIN()
31 bitmap_size(&binfo)); in TEST_BEGIN()
32 bitmap_init(bitmap, &binfo); in TEST_BEGIN()
35 assert_false(bitmap_get(bitmap, &binfo, j), in TEST_BEGIN()
49 bitmap_info_t binfo; in TEST_BEGIN() local
50 bitmap_info_init(&binfo, i); in TEST_BEGIN()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dbitmap.h117 void bitmap_info_init(bitmap_info_t *binfo, size_t nbits);
118 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo);
119 size_t bitmap_size(const bitmap_info_t *binfo);
126 bool bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo);
127 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
128 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
129 size_t bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo);
130 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
135 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) in bitmap_full() argument
138 size_t rgoff = binfo->levels[binfo->nlevels].group_offset - 1; in bitmap_full()
[all …]
/external/e2fsprogs/debugfs/
Dicheck.c58 struct block_info *binfo; in do_icheck() local
158 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) { in do_icheck()
159 if (binfo->ino == 0) { in do_icheck()
160 printf("%llu\t<block not found>\n", binfo->blk); in do_icheck()
163 printf("%llu\t%u\n", binfo->blk, binfo->ino); in do_icheck()
/external/iw/
Dlink.c118 struct nlattr *binfo[NL80211_STA_BSS_PARAM_MAX + 1]; in print_link_sta() local
173 if (nla_parse_nested(binfo, NL80211_STA_BSS_PARAM_MAX, in print_link_sta()
180 if (binfo[NL80211_STA_BSS_PARAM_CTS_PROT]) { in print_link_sta()
184 if (binfo[NL80211_STA_BSS_PARAM_SHORT_PREAMBLE]) { in print_link_sta()
188 if (binfo[NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME]) in print_link_sta()
191 nla_get_u8(binfo[NL80211_STA_BSS_PARAM_DTIM_PERIOD])); in print_link_sta()
193 nla_get_u16(binfo[NL80211_STA_BSS_PARAM_BEACON_INTERVAL])); in print_link_sta()
/external/opencv3/modules/highgui/src/
Dwindow_w32.cpp1137 BITMAPINFO* binfo = (BITMAPINFO*)buffer; in cvShowImage() local
1146 FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 ); in cvShowImage()
1148 window->image = SelectObject( window->dc, CreateDIBSection(window->dc, binfo, in cvShowImage()
1217 BITMAPINFO* binfo = (BITMAPINFO*)buffer;
1226 FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 );
1228 SelectObject( hdc, CreateDIBSection( hdc, binfo, DIB_RGB_COLORS, &dst_ptr, 0, 0));