Home
last modified time | relevance | path

Searched refs:num_labels (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) in extract_label_info() argument
46 *num_labels = (h->cth_objtoff - h->cth_lbloff) / sizeof (ctf_lblent_t); in extract_label_info()
59 uint_t num_labels; in ctf_label_topmost() local
61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_topmost()
64 if (num_labels == 0) { in ctf_label_topmost()
69 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL) in ctf_label_topmost()
83 uint_t i, num_labels; in ctf_label_iter() local
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_iter()
91 if (num_labels == 0) in ctf_label_iter()
94 for (i = 0; i < num_labels; i++, ctlp++) { in ctf_label_iter()
/freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_corrupt_001_pos.ksh120 typeset -i num_labels=$( $ZDB -l $DISK | $GREP pool_guid | wc -l )
121 if [[ $num_labels -ne 1 ]]; then
123 log_fail "Expected 1 vdev label but found $num_labels"
/freebsd-12.1/sys/dev/nvdimm/
H A Dnvdimm.c245 size_t bitfield_size, index_size, num_labels; in read_labels() local
250 num_labels = 8 * (index_size - in read_labels()
252 if (index_size + num_labels * sizeof(struct nvdimm_label) >= in read_labels()
256 num_labels = (nv->label_area_size - index_size) / in read_labels()
258 bitfield_size = roundup2(num_labels, 8) / 8; in read_labels()
265 index_0_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
267 index_1_valid = label_index_is_valid(indices, num_labels, index_size, in read_labels()
280 for (bit_ffc_at((bitstr_t *)nv->label_index->free, 0, num_labels, &n); in read_labels()
282 bit_ffc_at((bitstr_t *)nv->label_index->free, n + 1, num_labels, in read_labels()
/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_slkrefr.c51 #define NumLabels num_labels
102 if (i < num_labels) { in slk_intern_refresh()
H A Dlib_newterm.c56 #define NumLabels num_labels
H A Dlib_slk.c58 #define NumLabels num_labels
H A Dlib_set_term.c57 #define NumLabels num_labels
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dtinfo_driver.c652 TCB->info.numlabels = VALID_NUMERIC(num_labels) ? num_labels : 0; in drv_init()
902 if (labnum > 0 && labnum <= num_labels) { in drv_hwlabel()
/freebsd-12.1/contrib/ncurses/
H A DTO-DO110 for them (num_labels > 0, label_height, label_width, label_format, label_off,
/freebsd-12.1/contrib/gcc/
H A Dreload1.c377 static int num_labels; variable
821 num_labels = max_label_num () - first_label_num; in reload()
827 offsets_known_at = XNEWVEC (char, num_labels); in reload()
828 …offsets_at = (HOST_WIDE_INT (*)[NUM_ELIMINABLE_REGS]) xmalloc (num_labels * NUM_ELIMINABLE_REGS * … in reload()
3458 memset (offsets_known_at, 0, num_labels); in set_initial_label_offsets()
/freebsd-12.1/contrib/ncurses/include/
H A DCaps.uwin263 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.aix4270 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.osf1r5288 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps270 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.hpux11272 num_labels nlab num Nl - - ----- number of labels on screen
H A DCaps.keys272 num_labels nlab num Nl - - ----- number of labels on screen