Home
last modified time | relevance | path

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

/external/jemalloc_new/test/unit/
Dbitmap.c96 test_bitmap_initializer_body(const bitmap_info_t *binfo, size_t nbits) { in test_bitmap_initializer_body() argument
100 assert_zu_eq(bitmap_size(binfo), bitmap_size(&binfo_dyn), in test_bitmap_initializer_body()
103 assert_zu_eq(binfo->nbits, binfo_dyn.nbits, in test_bitmap_initializer_body()
107 assert_u_eq(binfo->nlevels, binfo_dyn.nlevels, in test_bitmap_initializer_body()
113 for (i = 0; i < binfo->nlevels; i++) { in test_bitmap_initializer_body()
114 assert_zu_eq(binfo->levels[i].group_offset, in test_bitmap_initializer_body()
121 assert_zu_eq(binfo->ngroups, binfo_dyn.ngroups, in test_bitmap_initializer_body()
129 bitmap_info_t binfo = \ in TEST_BEGIN()
131 test_bitmap_initializer_body(&binfo, nbits); \ in TEST_BEGIN()
140 test_bitmap_size_body(const bitmap_info_t *binfo, size_t nbits, in test_bitmap_size_body() argument
[all …]
/external/jemalloc_new/src/
Dbitmap.c12 bitmap_info_init(bitmap_info_t *binfo, size_t nbits) { in bitmap_info_init() argument
24 binfo->levels[0].group_offset = 0; in bitmap_info_init()
28 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init()
32 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init()
34 assert(binfo->levels[i].group_offset <= BITMAP_GROUPS_MAX); in bitmap_info_init()
35 binfo->nlevels = i; in bitmap_info_init()
36 binfo->nbits = nbits; in bitmap_info_init()
40 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, bool fill) { in bitmap_init() argument
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dbitmap.h171 void bitmap_info_init(bitmap_info_t *binfo, size_t nbits);
172 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo, bool fill);
173 size_t bitmap_size(const bitmap_info_t *binfo);
176 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) { in bitmap_full() argument
178 size_t rgoff = binfo->levels[binfo->nlevels].group_offset - 1; in bitmap_full()
185 for (i = 0; i < binfo->ngroups; i++) { in bitmap_full()
195 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_get() argument
199 assert(bit < binfo->nbits); in bitmap_get()
206 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_set() argument
211 assert(bit < binfo->nbits); in bitmap_set()
[all …]
/external/e2fsprogs/debugfs/
Dicheck.c60 struct block_info *binfo; in do_icheck() local
160 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) { in do_icheck()
161 if (binfo->ino == 0) { in do_icheck()
162 printf("%llu\t<block not found>\n", binfo->blk); in do_icheck()
165 printf("%llu\t%u\n", binfo->blk, binfo->ino); in do_icheck()
/external/fastrpc/src/
Dapps_std_imp.c108 struct apps_std_buf_info binfo; member
208 sinfo->u.binfo.fbuf = fbuf; in apps_std_FILE_set_buffer_stream()
209 sinfo->u.binfo.flen = flen; in apps_std_FILE_set_buffer_stream()
210 sinfo->u.binfo.pos = pos; in apps_std_FILE_set_buffer_stream()
273 if(sinfo->u.binfo.fbuf) { in __QAIC_IMPL()
274 rpcmem_free_internal(sinfo->u.binfo.fbuf); in __QAIC_IMPL()
275 sinfo->u.binfo.fbuf = NULL; in __QAIC_IMPL()
305 *bytesRead = std_memscpy(buf, bufLen, sinfo->u.binfo.fbuf + sinfo->u.binfo.pos, in __QAIC_IMPL()
306 sinfo->u.binfo.flen - sinfo->u.binfo.pos); in __QAIC_IMPL()
307 sinfo->u.binfo.pos += *bytesRead; in __QAIC_IMPL()
[all …]
/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/skia/modules/skottie/src/effects/
DEffects.cpp62 const auto* binfo = std::lower_bound(std::begin(gBuilderInfo), in findBuilder() local
69 if (binfo != std::end(gBuilderInfo) && !strcmp(binfo->fName, key.fName)) { in findBuilder()
70 return binfo->fBuilder; in findBuilder()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc799 string binfo; in BufferInfoString() local
814 absl::StrAppend(&binfo, in BufferInfoString()
856 absl::StrAppend(&binfo, buffer.id(), ","); in BufferInfoString()
857 absl::StrAppend(&binfo, "\"", buffer.ToShortString(), "\","); in BufferInfoString()
858 absl::StrAppend(&binfo, offset_size.offset, ","); in BufferInfoString()
859 absl::StrAppend(&binfo, offset_size.size, ","); in BufferInfoString()
860 absl::StrAppend(&binfo, definition_time, ","); in BufferInfoString()
861 absl::StrAppend(&binfo, end_t, ","); in BufferInfoString()
862 absl::StrAppend(&binfo, use_positions.size(), ","); in BufferInfoString()
863 absl::StrAppend(&binfo, "\"", absl::StrJoin(use_positions, ";"), "\","); in BufferInfoString()
[all …]