Searched refs:base (Results 26 - 50 of 1868) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/libkern/
H A Dstrtol.c50 strtol(nptr, endptr, base)
53 int base;
63 * If base is 0, allow 0x for hex and 0 for octal, else
64 * 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
[all...]
H A Dstrtoul.c50 strtoul(nptr, endptr, base)
53 int base;
72 if ((base == 0 || base == 16) &&
76 base = 16;
78 if (base == 0)
79 base = c == '0' ? 8 : 10;
80 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
81 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
91 if (c >= base)
[all...]
/freebsd-11-stable/bin/pkill/tests/
H A Dpkill-j_test.sh10 base=pkill_j_test
24 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
25 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
27 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
28 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
33 jid1=$(jail_name_to_jid ${base}_1_1)
34 jid2=$(jail_name_to_jid ${base}_1_2)
46 ! -f ${PWD}/${base}_1_1.pid &&
47 ! -f ${PWD}/${base}_1_2.pid ; then
52 [ -f ${PWD}/${base}_1_
[all...]
H A Dpgrep-j_test.sh10 base=pgrep_j_test
24 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
25 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
27 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
28 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
32 jid1=$(jail_name_to_jid ${base}_1_1)
33 jid2=$(jail_name_to_jid ${base}_1_2)
45 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
46 $(cat ${PWD}/${base}_1_2.pid) | sort)
52 [ -f ${PWD}/${base}_1_
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dregion.h28 unsigned char * base; member in struct:isc_region
33 char * base; member in struct:isc_textregion
41 const void * base; member in struct:isc_constregion
46 const char * base; member in struct:isc_consttextregion
61 _r->base += _l; \
70 _r->base += _l; \
79 _r->base += _l; \
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_lpc.h55 uint32_t base; member in struct:lpc_sysres
59 #define LPC_SYSRES(type, base, length) \
62 (base), \
67 #define SYSRES_IO(base, length) LPC_SYSRES(LPC_SYSRES_IO, base, length)
68 #define SYSRES_MEM(base, length) LPC_SYSRES(LPC_SYSRES_MEM, base, length)
/freebsd-11-stable/sys/dev/bxe/
H A Decore_fw_defs.h34 #define CSTORM_ASSERT_LIST_INDEX_OFFSET (IRO[152].base)
36 (IRO[151].base + ((assertListEntry) * IRO[151].m1))
38 (IRO[157].base + (((pfId)>>1) * IRO[157].m1) + (((pfId)&1) * \
41 (IRO[158].base + (((pfId)>>1) * IRO[158].m1) + (((pfId)&1) * \
44 (IRO[163].base + ((funcId) * IRO[163].m1))
46 (IRO[153].base + ((funcId) * IRO[153].m1))
48 (IRO[143].base + ((hcIndex) * IRO[143].m1) + ((sbId) * IRO[143].m2))
50 (IRO[142].base + (((hcIndex)>>2) * IRO[142].m1) + (((hcIndex)&3) \
52 #define CSTORM_IGU_MODE_OFFSET (IRO[161].base)
54 (IRO[323].base
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dsignal.c72 to set a signal handler, and a socket pair to tell the event base when
74 Note that I said "the event base" : only one event base can be set up to use
108 /* The event base that's currently getting informed about signals. */
120 evsig_set_base_(struct event_base *base) argument
123 evsig_base = base;
124 evsig_base_n_signals_added = base->sig.ev_n_signals_added;
125 evsig_base_fd = base->sig.ev_signal_pair[1];
137 struct event_base *base; local
139 base
174 evsig_init_(struct event_base *base) argument
212 evsig_set_handler_(struct event_base *base, int evsignal, void (__cdecl *handler)(int)) argument
278 evsig_add(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) argument
324 evsig_restore_handler_(struct event_base *base, int evsignal) argument
361 evsig_del(struct event_base *base, evutil_socket_t evsignal, short old, short events, void *p) argument
413 evsig_dealloc_(struct event_base *base) argument
[all...]
H A Devent.c142 static void event_queue_make_later_events_active(struct event_base *base);
144 static int evthread_make_base_notifiable_nolock_(struct event_base *base);
162 static int evthread_notify_base(struct event_base *base);
344 #define EVENT_BASE_ASSERT_LOCKED(base) \
345 EVLOCK_ASSERT_LOCKED((base)->th_base_lock)
351 /** Set 'tp' to the current time according to 'base'. We must hold the lock
352 * on 'base'. If there is a cached time, return it. Otherwise, use
357 gettime(struct event_base *base, struct timeval *tp) argument
359 EVENT_BASE_ASSERT_LOCKED(base);
361 if (base
382 event_base_gettimeofday_cached(struct event_base *base, struct timeval *tv) argument
404 clear_time_cache(struct event_base *base) argument
411 update_time_cache(struct event_base *base) argument
419 event_base_update_cache_time(struct event_base *base) argument
451 struct event_base *base = event_base_new_with_config(NULL); local
466 struct event_base *base = NULL; local
508 event_base_get_features(const struct event_base *base) argument
552 struct event_base *base; local
682 event_base_start_iocp_(struct event_base *base, int n_cpus) argument
699 event_base_stop_iocp_(struct event_base *base) argument
713 event_base_cancel_single_callback_(struct event_base *base, struct event_callback *evcb, int run_finalizers) argument
753 event_base_free_(struct event_base *base, int run_finalizers) argument
863 event_base_free_nofinalize(struct event_base *base) argument
869 event_base_free(struct event_base *base) argument
895 event_reinit(struct event_base *base) argument
1000 event_gettime_monotonic(struct event_base *base, struct timeval *tv) argument
1150 event_base_priority_init(struct event_base *base, int npriorities) argument
1190 event_base_get_npriorities(struct event_base *base) argument
1204 event_base_get_num_events(struct event_base *base, unsigned int type) argument
1225 event_base_get_max_events(struct event_base *base, unsigned int type, int clear) argument
1256 event_haveevents(struct event_base *base) argument
1264 event_signal_closure(struct event_base *base, struct event *ev) argument
1318 is_common_timeout(const struct timeval *tv, const struct event_base *base) argument
1340 get_common_timeout_list(struct event_base *base, const struct timeval *tv) argument
1376 struct event_base *base = ctl->base; local
1397 event_base_init_common_timeout(struct event_base *base, const struct timeval *duration) argument
1472 event_persist_closure(struct event_base *base, struct event *ev) argument
1544 event_process_active_single_queue(struct event_base *base, struct evcallback_list *activeq, int max_to_process, const struct timeval *endtime) argument
1668 event_process_active(struct event_base *base) argument
1729 event_base_get_method(const struct event_base *base) argument
1740 struct event_base *base = arg; local
1831 event_base_loop(struct event_base *base, int flags) argument
1959 event_base_once(struct event_base *base, evutil_socket_t fd, short events, void (*callback)(evutil_socket_t, short, void *), void *arg, const struct timeval *tv) argument
2018 event_assign(struct event *ev, struct event_base *base, evutil_socket_t fd, short events, void (*callback)(evutil_socket_t, short, void *), void *arg) argument
2067 event_base_set(struct event_base *base, struct event *ev) argument
2097 event_base_get_running_event(struct event_base *base) argument
2111 event_new(struct event_base *base, evutil_socket_t fd, short events, void (*cb)(evutil_socket_t, short, void *), void *arg) argument
2150 event_finalize_nolock_(struct event_base *base, unsigned flags, struct event *ev, event_finalize_callback_fn cb) argument
2167 struct event_base *base = ev->ev_base; local
2192 event_callback_finalize_nolock_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_callback *, void *)) argument
2209 event_callback_finalize_(struct event_base *base, unsigned flags, struct event_callback *evcb, void (*cb)(struct event_callback *, void *)) argument
2220 event_callback_finalize_many_(struct event_base *base, int n_cbs, struct event_callback **evcbs, void (*cb)(struct event_callback *, void *)) argument
2410 evthread_notify_base_default(struct event_base *base) argument
2427 evthread_notify_base_eventfd(struct event_base *base) argument
2444 evthread_notify_base(struct event_base *base) argument
2460 struct event_base *base = ev->ev_base; local
2503 struct event_base *base = ev->ev_base; local
2716 struct event_base *base; local
2820 struct event_base *base; local
2879 struct event_base *base = ev->ev_base; local
2894 event_callback_activate_(struct event_base *base, struct event_callback *evcb) argument
2905 event_callback_activate_nolock_(struct event_base *base, struct event_callback *evcb) argument
2935 event_callback_activate_later_nolock_(struct event_base *base, struct event_callback *evcb) argument
2947 event_callback_init_(struct event_base *base, struct event_callback *cb) argument
2955 event_callback_cancel_(struct event_base *base, struct event_callback *evcb) argument
2966 event_callback_cancel_nolock_(struct event_base *base, struct event_callback *evcb, int even_if_finalizing) argument
3012 event_deferred_cb_cancel_(struct event_base *base, struct event_callback *cb) argument
3021 event_deferred_cb_schedule_(struct event_base *base, struct event_callback *cb) argument
3038 timeout_next(struct event_base *base, struct timeval **tv_p) argument
3076 timeout_process(struct event_base *base) argument
3123 event_queue_remove_inserted(struct event_base *base, struct event *ev) argument
3135 event_queue_remove_active(struct event_base *base, struct event_callback *evcb) argument
3151 event_queue_remove_active_later(struct event_base *base, struct event_callback *evcb) argument
3166 event_queue_remove_timeout(struct event_base *base, struct event *ev) argument
3190 event_queue_reinsert_timeout(struct event_base *base, struct event *ev, int was_common, int is_common, int old_timeout_idx) argument
3260 event_queue_insert_inserted(struct event_base *base, struct event *ev) argument
3276 event_queue_insert_active(struct event_base *base, struct event_callback *evcb) argument
3297 event_queue_insert_active_later(struct event_base *base, struct event_callback *evcb) argument
3314 event_queue_insert_timeout(struct event_base *base, struct event *ev) argument
3338 event_queue_make_later_events_active(struct event_base *base) argument
3486 struct event_base *base = arg; local
3502 struct event_base *base = arg; local
3517 evthread_make_base_notifiable(struct event_base *base) argument
3530 evthread_make_base_notifiable_nolock_(struct event_base *base) argument
3579 event_base_foreach_event_nolock_(struct event_base *base, event_base_foreach_event_cb fn, void *arg) argument
3641 dump_inserted_event_fn(const struct event_base *base, const struct event *e, void *arg) argument
3674 dump_active_event_fn(const struct event_base *base, const struct event *e, void *arg) argument
3697 event_base_foreach_event(struct event_base *base, event_base_foreach_event_cb fn, void *arg) argument
3712 event_base_dump_events(struct event_base *base, FILE *output) argument
3724 event_base_active_by_fd(struct event_base *base, evutil_socket_t fd, short events) argument
3732 event_base_active_by_signal(struct event_base *base, int sig) argument
3741 event_base_add_virtual_(struct event_base *base) argument
3750 event_base_del_virtual_(struct event_base *base) argument
3826 event_base_assert_ok_(struct event_base *base) argument
3834 event_base_assert_ok_nolock_(struct event_base *base) argument
[all...]
/freebsd-11-stable/lib/libc/stdlib/
H A Dstrtoimax.c54 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
66 * If base is 0, allow 0x for hex and 0 for octal, else
67 * assume decimal; if base is already 16, allow 0x.
81 if ((base == 0 || base == 16) &&
88 base = 16;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
93 if (base < 2 || base > 3
150 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
H A Dstrtoll.c54 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
66 * If base is 0, allow 0x for hex and 0 for octal, else
67 * assume decimal; if base is already 16, allow 0x.
81 if ((base == 0 || base == 16) &&
88 base = 16;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
93 if (base < 2 || base > 3
150 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
H A Dstrtoul.c54 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) argument
78 if ((base == 0 || base == 16) &&
85 base = 16;
87 if (base == 0)
88 base = c == '0' ? 8 : 10;
90 if (base < 2 || base > 36)
93 cutoff = ULONG_MAX / base;
94 cutlim = ULONG_MAX % base;
127 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
H A Dstrtoull.c54 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
79 if ((base == 0 || base == 16) &&
86 base = 16;
88 if (base == 0)
89 base = c == '0' ? 8 : 10;
91 if (base < 2 || base > 36)
94 cutoff = ULLONG_MAX / base;
95 cutlim = ULLONG_MAX % base;
128 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
H A Dstrtoumax.c54 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
79 if ((base == 0 || base == 16) &&
86 base = 16;
88 if (base == 0)
89 base = c == '0' ? 8 : 10;
91 if (base < 2 || base > 36)
94 cutoff = UINTMAX_MAX / base;
95 cutlim = UINTMAX_MAX % base;
128 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
H A Dstrtol.c54 strtol_l(const char * __restrict nptr, char ** __restrict endptr, int base, argument
66 * If base is 0, allow 0x for hex and 0 for octal, else
67 * assume decimal; if base is already 16, allow 0x.
81 if ((base == 0 || base == 16) &&
88 base = 16;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
93 if (base < 2 || base > 3
149 strtol(const char * __restrict nptr, char ** __restrict endptr, int base) argument
[all...]
/freebsd-11-stable/lib/libc/locale/
H A Dwcstol.c50 base, locale_t locale)
74 if ((base == 0 || base == 16) &&
78 base = 16;
80 if (base == 0)
81 base = c == L'0' ? 8 : 10;
83 if (base < 2 || base > 36)
88 cutlim = cutoff % base;
89 cutoff /= base;
49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
127 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
H A Dwcstoll.c56 int base, locale_t locale)
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == L'0' ? 8 : 10;
89 if (base < 2 || base > 36)
94 cutlim = cutoff % base;
95 cutoff /= base;
55 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
133 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
H A Dwcstoul.c50 int base, locale_t locale)
74 if ((base == 0 || base == 16) &&
78 base = 16;
80 if (base == 0)
81 base = c == L'0' ? 8 : 10;
83 if (base < 2 || base > 36)
86 cutoff = ULONG_MAX / base;
87 cutlim = ULONG_MAX % base;
49 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
125 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
H A Dwcstoull.c56 int base, locale_t locale)
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == L'0' ? 8 : 10;
89 if (base < 2 || base > 36)
92 cutoff = ULLONG_MAX / base;
93 cutlim = ULLONG_MAX % base;
55 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
131 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
H A Dwcstoumax.c56 int base, locale_t locale)
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == L'0' ? 8 : 10;
89 if (base < 2 || base > 36)
92 cutoff = UINTMAX_MAX / base;
93 cutlim = UINTMAX_MAX % base;
55 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
131 wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
/freebsd-11-stable/sys/contrib/alpine-hal/
H A Dal_hal_udma_iofic.c51 static int al_udma_main_iofic_config(struct al_iofic_regs __iomem *base, argument
56 al_iofic_config(base, AL_INT_GROUP_A,
60 al_iofic_config(base, AL_INT_GROUP_B,
63 al_iofic_config(base, AL_INT_GROUP_C,
66 al_iofic_config(base, AL_INT_GROUP_D,
72 al_iofic_config(base, AL_INT_GROUP_A,
76 al_iofic_config(base, AL_INT_GROUP_B,
80 al_iofic_config(base, AL_INT_GROUP_C,
84 al_iofic_config(base, AL_INT_GROUP_D,
90 al_iofic_config(base, AL_INT_GROUP_
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dstrtoul.c74 isc_strtoul(const char *nptr, char **endptr, int base) { argument
92 if ((base == 0 || base == 16) &&
96 base = 16;
98 if (base == 0)
99 base = c == '0' ? 8 : 10;
100 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
101 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
111 if (c >= base)
117 acc *= base;
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dstrtol.c33 @deftypefn Supplemental {long int} strtol (const char *@var{string}, char **@var{endptr}, int @var{base})
34 @deftypefnx Supplemental {unsigned long int} strtoul (const char *@var{string}, char **@var{endptr}, int @var{base})
37 long integer value according to the given @var{base}, which must be
38 between 2 and 36 inclusive, or be the special value 0. If @var{base}
40 to indicate bases 8 and 16, respectively, else default to base 10.
41 When the base is 16 (either explicitly or implicitly), a prefix of
88 strtol(const char *nptr, char **endptr, register int base) argument
98 * If base is 0, allow 0x for hex and 0 for octal, else
99 * assume decimal; if base is already 16, allow 0x.
109 if ((base
[all...]
H A Dstrtoul.c61 strtoul(const char *nptr, char **endptr, register int base) argument
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == '0' ? 8 : 10;
88 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
89 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
97 if (c >= base)
103 acc *= base;
[all...]
/freebsd-11-stable/contrib/byacc/test/
H A Dcalc2.y2 %parse-param { int *base }
4 %lex-param { int *base }
11 #define YYLEX_PARAM base
13 #define YYERROR_DECL() yyerror(int regs[26], int *base, const char *s)
68 { $$ = $1; (*base) = ($1==0) ? 8 : 10; }
70 { $$ = (*base) * $1 + $2; }
83 int base = 10;
86 yyparse(regs, &base);
97 UNUSED(base); /* %parse-param base i
[all...]

Completed in 292 milliseconds

1234567891011>>