| /freebsd-12.1/contrib/ncurses/ncurses/base/ |
| H A D | MKunctrl.awk | 53 gap = "," 62 printf "%4d%s", offset, gap; 79 gap = gap " " 84 gap = "\n" 86 gap = gap " " 105 gap = "," 118 gap = gap " " 122 gap = gap " " 125 gap = "\n" 127 gap = gap " " [all …]
|
| H A D | lib_slk.c | 81 int gap, i, x; in _nc_format_slks() local 89 gap = (cols - 3 * (3 + 4 * max_length)) / 2; in _nc_format_slks() 91 if (gap < 1) in _nc_format_slks() 92 gap = 1; in _nc_format_slks() 97 x += (i == 3 || i == 7) ? gap : 1; in _nc_format_slks() 103 if (gap < 1) in _nc_format_slks() 104 gap = 1; in _nc_format_slks() 108 x += (i == 3) ? gap : 1; in _nc_format_slks() 115 if (gap < 1) in _nc_format_slks() 116 gap = 1; in _nc_format_slks() [all …]
|
| /freebsd-12.1/tools/tools/mctest/ |
| H A D | mctest.cc | 206 long gap = (result.tv_sec * 1000000) + result.tv_usec; in sink() local 207 if (gap > maxgap) in sink() 208 maxgap = gap; in sink() 209 if (gap < mingap) in sink() 210 mingap = gap; in sink() 300 int number, int gap, int clients, short base_port) { in source() argument 381 sleeptime.tv_nsec = gap; in source() 390 if (gap > 0) in source() 456 int gap = 0; ///< inter packet gap (in nanoseconds) in main() local 490 gap = atoi(optarg); in main() [all …]
|
| H A D | mctest_run.sh | 15 gap=1000
|
| /freebsd-12.1/contrib/jemalloc/src/ |
| H A D | extent_dss.c | 112 extent_t *gap; in extent_alloc_dss() local 126 gap = extent_alloc(tsdn, arena); in extent_alloc_dss() 127 if (gap == NULL) { in extent_alloc_dss() 156 extent_init(gap, arena, gap_addr_page, in extent_alloc_dss() 188 extent_dalloc_gap(tsdn, arena, gap); in extent_alloc_dss() 190 extent_dalloc(tsdn, arena, gap); in extent_alloc_dss() 226 extent_dalloc(tsdn, arena, gap); in extent_alloc_dss()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | sctp_constants.h | 897 #define SCTP_IS_TSN_PRESENT(arry, gap) ((arry[(gap >> 3)] >> (gap & 0x07)) & 0x01) argument 898 #define SCTP_SET_TSN_PRESENT(arry, gap) (arry[(gap >> 3)] |= (0x01 << ((gap & 0x07)))) argument 899 #define SCTP_UNSET_TSN_PRESENT(arry, gap) (arry[(gap >> 3)] &= ((~(0x01 << ((gap & 0x07)))) & 0xff)) argument 900 #define SCTP_CALC_TSN_TO_GAP(gap, tsn, mapping_tsn) do { \ argument 902 gap = tsn - mapping_tsn; \ 904 gap = (MAX_TSN - mapping_tsn) + tsn + 1; \
|
| H A D | sctp_indata.c | 289 uint32_t gap, i, cumackp1; in sctp_mark_non_revokable() local 311 SCTP_PRINTF("gap:%x tsn:%x\n", gap, tsn); in sctp_mark_non_revokable() 316 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap); in sctp_mark_non_revokable() 318 SCTP_UNSET_TSN_PRESENT(asoc->mapping_array, gap); in sctp_mark_non_revokable() 1707 uint32_t tsn, fsn, gap, mid; in sctp_process_a_data_chunk() local 1786 if (gap >= (SCTP_MAPPING_ARRAY << 3)) { in sctp_process_a_data_chunk() 1792 if (sctp_expand_mapping_array(asoc, gap)) { in sctp_process_a_data_chunk() 2214 SCTP_SET_TSN_PRESENT(asoc->mapping_array, gap); in sctp_process_a_data_chunk() 5579 uint32_t new_cum_tsn, gap; in sctp_handle_forward_tsn() local 5607 if (gap >= m_size) { in sctp_handle_forward_tsn() [all …]
|
| /freebsd-12.1/contrib/dialog/ |
| H A D | buttons.c | 285 if ((*gap = unused / (count + 3)) <= 0) { in dlg_button_x_step() 286 if ((*gap = unused / (count + 1)) <= 0) in dlg_button_x_step() 287 *gap = 1; in dlg_button_x_step() 288 *margin = *gap; in dlg_button_x_step() 290 *margin = *gap * 2; in dlg_button_x_step() 292 *step = *gap + (used + count - 1) / count; in dlg_button_x_step() 293 result = (*gap > 0) && (unused >= 0); in dlg_button_x_step() 307 int gap, margin, step; in dlg_button_layout() local 310 while (!dlg_button_x_step(labels, width, &gap, &margin, &step)) in dlg_button_layout() 338 int gap; in dlg_draw_buttons() local [all …]
|
| H A D | inputstr.c | 565 int gap = indx[offset] - indx[offset - 1]; in dlg_edit_string() local 567 if (gap > 0) { in dlg_edit_string() 569 (string[i] = string[i + gap]) != '\0'; in dlg_edit_string() 581 int gap = ((offset <= limit) in dlg_edit_string() local 584 if (gap > 0) { in dlg_edit_string() 586 (string[i] = string[i + gap]) != '\0'; in dlg_edit_string()
|
| /freebsd-12.1/contrib/less/ |
| H A D | linenum.c | 46 POSITION gap; /* Gap between prev and next */ member 95 anchor.gap = 0; in clr_linenum() 115 p->gap = p->next->pos - p->prev->pos; 193 mingap = anchor.next->gap; 196 if (p->gap <= mingap) 199 mingap = p->gap;
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | range_tree.c | 173 int (*avl_compare) (const void *, const void *), uint64_t gap) in range_tree_create_impl() argument 182 rt->rt_gap = gap; in range_tree_create_impl() 228 uint64_t end = start + size, gap = rt->rt_gap; in range_tree_add_impl() local 239 if (gap == 0 && rs != NULL && in range_tree_add_impl() 258 ASSERT3U(gap, !=, 0); in range_tree_add_impl() 292 merge_before = (rs_before != NULL && rs_before->rs_end >= start - gap); in range_tree_add_impl() 293 merge_after = (rs_after != NULL && rs_after->rs_start <= end + gap); in range_tree_add_impl() 295 if (merge_before && gap != 0) in range_tree_add_impl() 297 if (merge_after && gap != 0) in range_tree_add_impl() 341 if (gap != 0) in range_tree_add_impl()
|
| H A D | zfs_fm.c | 441 uint32_t gap = nstart - end; in shrink_ranges() local 442 if (gap < new_allowed_gap) { in shrink_ranges() 446 if (gap < mingap) in shrink_ranges() 447 mingap = gap; in shrink_ranges() 474 int gap = start - r[count - 1].zr_end; in add_range() local 476 if (gap < eip->zei_allowed_mingap) { in add_range() 480 if (gap < eip->zei_mingap) in add_range() 481 eip->zei_mingap = gap; in add_range()
|
| /freebsd-12.1/contrib/gcc/config/rs6000/ |
| H A D | linux-unwind.h | 108 char gap[SIGNAL_FRAMESIZE]; in get_regs() member 133 char gap[SIGNAL_FRAMESIZE]; in get_regs() member 165 char gap[SIGNAL_FRAMESIZE]; in get_regs() member 175 char gap[SIGNAL_FRAMESIZE + 16]; in get_regs() member
|
| /freebsd-12.1/contrib/processor-trace/libipt/src/ |
| H A D | pt_event_queue.c | 69 uint8_t begin, end, gap, idx; in pt_evq_enqueue() local 87 gap = pt_evq_inc(end); in pt_evq_enqueue() 90 if (begin == gap) in pt_evq_enqueue()
|
| /freebsd-12.1/usr.bin/pr/ |
| H A D | pr.c | 1031 int gap = ingap; in inln() local 1038 if (gap) { in inln() 1051 col = gap - (col % gap); in inln() 1137 int gap = ogap; in otln() local 1162 ips += gap - (ips % gap); in otln() 1174 if ((tbps = ops + gap - (ops % gap)) > ips) in otln() 1219 if ((tbps = ops + gap - (ops % gap)) > ips) in otln()
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_linux.cc | 63 uptr gap = 16 * GetPageSizeCached(); in ProtectMemoryRange() local 64 beg += gap; in ProtectMemoryRange() 65 size -= gap; in ProtectMemoryRange()
|
| /freebsd-12.1/sys/contrib/ncsw/Peripherals/QM/ |
| H A D | qm_portal_fqr.c | 972 int gap, tmp; in qm_new_fq() local 1107 gap = tmp; in qm_new_fq() 1415 int gap, tmp; in CalcWredCurve() local 1427 if (tmp < gap) in CalcWredCurve() 1431 gap = tmp; in CalcWredCurve() 1467 gap = (int)slope; in CalcWredCurve() 1472 if (tmp < gap) in CalcWredCurve() 1476 gap = tmp; in CalcWredCurve() 2708 gap = (int)threshold; in QM_CG_ModifyTailDropThreshold() 2713 if (tmp < gap) in QM_CG_ModifyTailDropThreshold() [all …]
|
| /freebsd-12.1/contrib/ntp/sntp/ |
| H A D | invoke-sntp.texi | 73 * sntp gap:: gap option (-g) 121 -g Num gap The gap (in milliseconds) between time requests 236 one after another, with a 2-second gap in between each query. 241 @node sntp gap 242 @subsection gap option (-g) 243 @cindex sntp-gap 245 This is the ``the gap (in milliseconds) between time requests'' option.
|
| H A D | main.c | 77 struct timeval gap; variable 168 gap.tv_usec = max(0, OPT_VALUE_GAP * 1000); in sntp_main() 169 gap.tv_usec = min(gap.tv_usec, 999999); in sntp_main() 639 event_add(ev_xmt_timer, &gap); in xmt_timer_cb() 642 (u_int)gap.tv_usec)); in xmt_timer_cb()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_dump.c | 245 struct g_geom_alias *gap; in g_conf_geom() local 271 LIST_FOREACH(gap, &gp->aliases, ga_next) { in g_conf_geom() 273 g_conf_cat_escaped(sb, gap->ga_alias); in g_conf_geom()
|
| H A D | geom_dev.c | 323 struct g_geom_alias *gap; in g_dev_taste() local 369 LIST_FOREACH(gap, &pp->geom->aliases, ga_next) { in g_dev_taste() 371 "%s", gap->ga_alias); in g_dev_taste() 374 __func__, gap->ga_alias, error); in g_dev_taste() 377 snprintf(buf, sizeof(buf), "cdev=%s", gap->ga_alias); in g_dev_taste()
|
| H A D | geom_subr.c | 373 struct g_geom_alias *gap, *gaptmp; in g_destroy_geom() local 387 LIST_FOREACH_SAFE(gap, &gp->aliases, ga_next, gaptmp) in g_destroy_geom() 388 g_free(gap); in g_destroy_geom() 1274 struct g_geom_alias *gap; in g_geom_add_alias() local 1276 gap = (struct g_geom_alias *)g_malloc( in g_geom_add_alias() 1278 strcpy((char *)(gap + 1), alias); in g_geom_add_alias() 1279 gap->ga_alias = (const char *)(gap + 1); in g_geom_add_alias() 1280 LIST_INSERT_HEAD(&gp->aliases, gap, ga_next); in g_geom_add_alias()
|
| /freebsd-12.1/usr.sbin/fdread/ |
| H A D | fdutil.c | 231 if (getnum(s1, &out->gap)) in parse_fmt() 362 in.sectrac, secsize, in.datalen, in.gap, in.tracks, in print_fmt()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | bout.c | 1066 bfd_vma gap; in abs32code() local 1071 gap = value - (dot - shrink); in abs32code() 1073 if (-1 << 23 < (long)gap && (long)gap < 1 << 23) in abs32code() 1096 bfd_vma gap; in aligncode() local 1113 gap = old_end - ((dot + size) & ~size); in aligncode()
|
| /freebsd-12.1/sys/sys/ |
| H A D | fdcio.h | 89 int gap; /* gap len between sectors */ member
|