/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | kqueue-internal.h | 29 /** Notification function, used to tell an event base to wake up from another 31 * called successfully on that base. */ 32 int event_kq_notify_base_(struct event_base *base); 34 /** Prepare a kqueue-using event base to receive notifications via an internal 37 int event_kq_add_notify_event_(struct event_base *base);
|
H A D | evmap-internal.h | 58 @param base the event_base to operate on. 62 int evmap_io_add_(struct event_base *base, evutil_socket_t fd, struct event *ev); 67 @param base the event_base to operate on. 71 int evmap_io_del_(struct event_base *base, evutil_socket_t fd, struct event *ev); 74 @param base the event_base to operate on. 78 void evmap_io_active_(struct event_base *base, evutil_socket_t fd, short events); 84 int evmap_signal_add_(struct event_base *base, int signum, struct event *ev); 85 int evmap_signal_del_(struct event_base *base, int signum, struct event *ev); 86 void evmap_signal_active_(struct event_base *base, evutil_socket_t signum, int ncalls); 96 int evmap_reinit_(struct event_base *base); [all...] |
H A D | evutil_time.c | 148 adjust_monotonic_time(struct evutil_monotonic_timer *base, argument 151 evutil_timeradd(tv, &base->adjust_monotonic_clock, tv); 153 if (evutil_timercmp(tv, &base->last_time, <)) { 156 evutil_timersub(&base->last_time, tv, &adjust); 157 evutil_timeradd(&adjust, &base->adjust_monotonic_clock, 158 &base->adjust_monotonic_clock); 159 *tv = base->last_time; 161 base->last_time = *tv; 224 evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, argument 246 base 265 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 299 evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, int flags) argument 321 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 404 evutil_GetTickCount_(struct evutil_monotonic_timer *base) argument 432 evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, int flags) argument 469 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 521 evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, int precise) argument 529 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | lbasename.c | 51 const char *base; local 59 for (base = name; *name; name++) 61 base = name + 1; 63 return base;
|
H A D | make-temp-file.c | 67 try_dir (const char *dir, const char *base) argument 69 if (base != 0) 70 return base; 99 const char *base = 0; local 106 base = try_dir (getenv ("TMPDIR"), base); 107 base = try_dir (getenv ("TMP"), base); 108 base = try_dir (getenv ("TEMP"), base); 150 const char *base = choose_tmpdir (); local [all...] |
H A D | basename.c | 45 const char *base; local 53 for (base = name; *name; name++) 57 base = name + 1; 60 return (char *) base;
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | lbasename.c | 51 const char *base; local 59 for (base = name; *name; name++) 61 base = name + 1; 63 return base;
|
H A D | make-temp-file.c | 67 try_dir (const char *dir, const char *base) argument 69 if (base != 0) 70 return base; 99 const char *base = 0; local 106 base = try_dir (getenv ("TMPDIR"), base); 107 base = try_dir (getenv ("TMP"), base); 108 base = try_dir (getenv ("TEMP"), base); 150 const char *base = choose_tmpdir (); local [all...] |
H A D | basename.c | 45 const char *base; local 53 for (base = name; *name; name++) 57 base = name + 1; 60 return (char *) base;
|
/freebsd-11-stable/usr.bin/sort/ |
H A D | radixsort.h | 38 void rxsort(struct sort_list_item **base, size_t nmemb);
|
/freebsd-11-stable/bin/ed/test/ |
H A D | mkscripts.sh | 11 # base=${i%.*} 12 # base=`echo $i | sed 's/\..*//'` 13 # base=`expr $i : '\([^.]*\)'` 17 # echo "r $base.d" 19 # echo "w $base.o" 21 # ) >$base.ed 22 # chmod +x $base.ed 25 base=`$ED - \!"echo $i" <<-EOF 33 r $base.d 34 w $base [all...] |
/freebsd-11-stable/lib/libc/iconv/ |
H A D | _strtoul.h | 46 _FUNCNAME(const char *nptr, char **endptr, int base) argument 53 /* check base value */ 54 if (base && (base < 2 || base > 36)) { 59 panic("%s: invalid base %d", __func__, base); 65 * If base is 0, allow 0x for hex and 0 for octal, else 66 * assume decimal; if base is already 16, allow 0x. 80 if ((base [all...] |
H A D | _strtol.h | 47 _FUNCNAME(const char *nptr, char **endptr, int base) argument 54 /* check base value */ 55 if (base && (base < 2 || base > 36)) { 63 panic("%s: invalid base %d", __func__, base); 69 * If base is 0, allow 0x for hex and 0 for octal, else 70 * assume decimal; if base is already 16, allow 0x. 84 if ((base [all...] |
/freebsd-11-stable/contrib/diff/lib/ |
H A D | basename.c | 38 char const *base = name + FILESYSTEM_PREFIX_LEN (name); local 41 for (p = base; *p; p++) 53 if (ISSLASH (*base)) 54 base = p - 1; 59 base = p; 63 return (char *) base;
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | strtol.c | 47 long strtol(str, ptr, base) 49 int base; 64 if (base == 0) { 68 base = 16; 71 base = 8; 74 base = 10; 76 if (base < 2 || base > 36) 77 base = 10; 78 else if (base [all...] |
/freebsd-11-stable/lib/libbsdstat/ |
H A D | bsdstat.h | 75 * Statistics base class. This class is not usable; only 93 { wf->base.setfmt(&wf->base, fmt0); } \ 95 { wf->base.collect_cur(&wf->base); } \ 97 { wf->base.collect_tot(&wf->base); } \ 99 { wf->base.update_tot(&wf->base); } \ 101 { return wf->base [all...] |
/freebsd-11-stable/sys/mips/nlm/hal/ |
H A D | fmn.c | 73 * Calculates the base, start & end and returns the same for a 116 * | base ptr | 139 void nlm_cms_setup_credits(uint64_t base, int destid, int srcid, int credit) argument 144 nlm_write_cms_reg(base, CMS_OUTPUTQ_CREDIT_CFG, val); 149 * base - CMS module base address for this node. 156 int nlm_cms_alloc_spill_q(uint64_t base, int qid, uint64_t spill_base, argument 166 queue_config = nlm_read_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid))); 175 nlm_write_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid)),queue_config); 180 uint64_t nlm_cms_get_onchip_queue (uint64_t base, in argument 185 nlm_cms_set_onchip_queue(uint64_t base, int qid, uint64_t val) argument 194 nlm_cms_per_queue_level_intr(uint64_t base, int qid, int sub_type, int intr_val) argument 209 nlm_cms_per_queue_timer_intr(uint64_t base, int qid, int sub_type, int intr_val) argument 225 nlm_cms_outputq_intr_check(uint64_t base, int qid) argument 233 nlm_cms_outputq_clr_intr(uint64_t base, int qid) argument 241 nlm_cms_illegal_dst_error_intr(uint64_t base, int en) argument 250 nlm_cms_timeout_error_intr(uint64_t base, int en) argument 259 nlm_cms_biu_error_resp_intr(uint64_t base, int en) argument 268 nlm_cms_spill_uncorrectable_ecc_error_intr(uint64_t base, int en) argument 277 nlm_cms_spill_correctable_ecc_error_intr(uint64_t base, int en) argument 286 nlm_cms_outputq_uncorrectable_ecc_error_intr(uint64_t base, int en) argument 295 nlm_cms_outputq_correctable_ecc_error_intr(uint64_t base, int en) argument 304 nlm_cms_network_error_status(uint64_t base) argument 331 nlm_cms_trace_setup(uint64_t base, int en, uint64_t trace_base, uint64_t trace_limit, int match_dstid_en, int dst_id, int match_srcid_en, int src_id, int wrap) argument 351 nlm_cms_endian_byte_swap(uint64_t base, int en) argument [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iro.h | 35 #define YSTORM_FLOW_CONTROL_MODE_OFFSET (IRO[0].base) 38 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO[1].m1)) 41 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO[2].m1)) 44 #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + ((vf_id) * IRO[3].m1)) 47 #define USTORM_FLR_FINAL_ACK_OFFSET(pf_id) (IRO[4].base + ((pf_id) * IRO[4].m1)) 50 #define USTORM_EQE_CONS_OFFSET(pf_id) (IRO[5].base + ((pf_id) * IRO[5].m1)) 53 #define USTORM_ETH_QUEUE_ZONE_OFFSET(queue_zone_id) (IRO[6].base + ((queue_zone_id) * IRO[6].m1)) 56 #define USTORM_COMMON_QUEUE_CONS_OFFSET(queue_zone_id) (IRO[7].base + ((queue_zone_id) * IRO[7].m1)) 59 #define XSTORM_INTEG_TEST_DATA_OFFSET (IRO[8].base) 62 #define YSTORM_INTEG_TEST_DATA_OFFSET (IRO[9].base) [all...] |
/freebsd-11-stable/contrib/libxo/tests/gettext/ |
H A D | Makefile.am | 75 ${CHECKER} ./$$base.test --libxo:W$$fmt ${TEST_OPTS} \ 76 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 77 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 78 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O} 85 base=`${BASENAME} $$test .c` ; \ 98 base=`${BASENAME} $$test .c` ; \ 101 ${CP} out/$$base [all...] |
/freebsd-11-stable/lib/libc/stdlib/ |
H A D | qsort_r.c | 14 qsort_b(void *base, size_t nel, size_t width, qsort_block compar) argument 16 qsort_r(base, nel, width, compar,
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | mini_event.c | 76 settime(struct event_base* base) argument 78 if(gettimeofday(base->time_tv, NULL) < 0) { 82 *base->time_secs = (time_t)base->time_tv->tv_sec; 87 /** create event base */ 90 struct event_base* base = (struct event_base*)malloc( local 92 if(!base) 94 memset(base, 0, sizeof(*base)); 95 base 142 handle_timeouts(struct event_base* base, struct timeval* now, struct timeval* wait) argument 178 handle_select(struct event_base* base, struct timeval* wait) argument 230 event_base_dispatch(struct event_base* base) argument 252 event_base_loopexit(struct event_base* base, struct timeval* ATTR_UNUSED(tv)) argument 260 event_base_free(struct event_base* base) argument 284 event_base_set(struct event_base* base, struct event* ev) argument [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | parseint.h | 37 isc_parse_uint32(isc_uint32_t *uip, const char *string, int base); 40 isc_parse_uint16(isc_uint16_t *uip, const char *string, int base); 43 isc_parse_uint8(isc_uint8_t *uip, const char *string, int base); 45 * Parse the null-terminated string 'string' containing a base 'base' 47 * The base is interpreted 54 *\li 0 <= 'base' <= 36 58 *\li #ISC_R_BADNUMBER The string is not numeric (in the given base)
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | strtoll.c | 50 strtoll(const char *nptr, char **endptr, int base) argument 59 * If base is 0, allow 0x for hex and 0 for octal, else 60 * assume decimal; if base is already 16, allow 0x. 74 if ((base == 0 || base == 16) && 78 base = 16; 80 if (base == 0) 81 base = c == '0' ? 8 : 10; 86 * base. An input number that is greater than this value, if 91 * [-9223372036854775808..9223372036854775807] and the input base [all...] |
/freebsd-11-stable/contrib/ntp/kernel/sys/ |
H A D | pcl720.h | 23 #define pcl720_data(base,bit) (base+(bit>>3)) 24 #define pcl720_data_0_7(base) (base+0) 25 #define pcl720_data_8_15(base) (base+1) 26 #define pcl720_data_16_23(base) (base+2) 27 #define pcl720_data_24_31(base) (base [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_finalize.c | 76 struct event_base *base = data->base; local 87 ev = evtimer_new(base, timer_callback, &ev_called); 90 event_callback_finalize_(base, 0, &evcb, callback_finalize_callback_1); 92 event_base_dispatch(base); 98 event_base_assert_ok_(base); 102 ev = evtimer_new(base, timer_callback, &ev_called); 106 event_callback_activate_(base, &evcb); 108 event_base_dispatch(base); 113 event_base_assert_ok_(base); 258 struct event_base *base = data->base; local [all...] |