Searched refs:base (Results 151 - 175 of 1766) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/byacc/test/
H A Dok_syntax1.y4 %parse_param { int *base }
6 %lex_param { int *base }
14 #define YYLEX_PARAM base
16 #define YYERROR_DECL() yyerror(int regs[26], int *base, const char *s)
99 { $<ival>$ = $<ival>1; (*base) = ($<ival>1==0) ? 8 : 10; }
101 { $<ival>$ = (*base) * $<ival>1 + $<ival>2; }
114 int base = 10;
117 yyparse(regs, &base);
128 UNUSED(base); /* %parse-param base i
[all...]
/freebsd-13-stable/contrib/com_err/
H A Derror.c51 if (code >= p->table->base && code < p->table->base + p->table->n_msgs)
52 return p->table->msgs[code - p->table->base];
61 if (code >= p->table->base && code < p->table->base + p->table->n_msgs) {
62 const char *msg = p->table->msgs[code - p->table->base];
65 snprintf(domain, sizeof(domain), "heim_com_err%d", p->table->base);
83 long base)
97 et->table->base = base;
80 initialize_error_table_r(struct et_list **list, const char **messages, int num_errors, long base) argument
[all...]
/freebsd-13-stable/contrib/libevent/sample/
H A Devent-read-fifo.c79 struct event_base *base = arg; local
80 event_base_loopbreak(base);
88 struct event_base* base; local
133 base = event_base_new();
137 evfifo = event_new(base, (evutil_socket_t)socket, EV_READ|EV_PERSIST, fifo_read,
141 signal_int = evsignal_new(base, SIGINT, signal_cb, base);
144 evfifo = event_new(base, socket, EV_READ|EV_PERSIST, fifo_read,
151 event_base_dispatch(base);
152 event_base_free(base);
[all...]
/freebsd-13-stable/contrib/ofed/librdmacm/examples/
H A Dcommon.c78 long long base, fraction = 0; local
82 base = 1 << 30;
85 base = 1 << 20;
88 base = 1 << 10;
91 base = 1;
95 if (size / base < 10)
96 fraction = (size % base) * 10 / base;
98 snprintf(str, ssize, "%lld.%lld%c", size / base, fraction, mag);
100 snprintf(str, ssize, "%lld%c", size / base, ma
[all...]
/freebsd-13-stable/contrib/nvi/catalog/
H A DMakefile7 ${CAT}: english.base
10 sort -u $@.base | \
44 }' < $$f.base; \
47 awk '{print $$1}' < $$f.base | sort -u > __ck1; \
48 awk '{print $$1}' < english.base | sort -u > __ck2; \
56 `sed '/^$$/d' < $$f.base | sort -u | \
58 egrep $$j $$f.base; \
62 sed '/^$$/d' < $$f.base | sort | uniq -c | \
66 english.base: dump ${FILES} #Makefile
77 rm -f dump dump.o ${CAT} english.base *
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_basedirname.c101 char testbuf[32], *base; local
110 base = basename(testbuf);
112 base = basename(NULL);
134 if (strcmp(test_basename_table[i].output, base) != 0) {
139 base, test_basename_table[i].output);
154 char testbuf[32], *base; local
163 base = dirname(testbuf);
165 base = dirname(NULL);
187 if (strcmp(test_dirname_table[i].output, base) != 0) {
192 base, test_dirname_tabl
[all...]
/freebsd-13-stable/contrib/ntp/lib/isc/
H A Dresult.c35 unsigned int base; member in struct:resulttable
116 register_table(unsigned int base, unsigned int nresults, const char **txt, argument
121 REQUIRE(base % ISC_RESULTCLASS_SIZE == 0);
132 table->base = base;
133 table->last = base + nresults - 1;
185 if (result >= table->base && result <= table->last) {
186 idx = (int)(result - table->base);
208 isc_result_register(unsigned int base, unsigned int nresults, argument
213 return (register_table(base, nresult
[all...]
/freebsd-13-stable/contrib/libevent/
H A Devthread-internal.h63 #define EVBASE_IN_THREAD(base) \
65 (base)->th_owner_id == evthread_id_fn_())
67 /** Return true iff we need to notify the base's main thread about changes to
70 #define EVBASE_NEED_NOTIFY(base) \
72 (base)->running_loop && \
73 (base)->th_owner_id != evthread_id_fn_())
114 in the base structure whose field is named 'lockvar'. */
115 #define EVBASE_ACQUIRE_LOCK(base, lockvar) do { \
116 EVLOCK_LOCK((base)->lockvar, 0); \
120 #define EVBASE_RELEASE_LOCK(base, lockva
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Devthread-internal.h63 #define EVBASE_IN_THREAD(base) \
65 (base)->th_owner_id == evthread_id_fn_())
67 /** Return true iff we need to notify the base's main thread about changes to
70 #define EVBASE_NEED_NOTIFY(base) \
72 (base)->running_loop && \
73 (base)->th_owner_id != evthread_id_fn_())
114 in the base structure whose field is named 'lockvar'. */
115 #define EVBASE_ACQUIRE_LOCK(base, lockvar) do { \
116 EVLOCK_LOCK((base)->lockvar, 0); \
120 #define EVBASE_RELEASE_LOCK(base, lockva
[all...]
/freebsd-13-stable/lib/libc/iconv/
H A Dcitrus_prop.c82 _type_ * __restrict result, int base) \
89 cutoff = _max_ / base; \
90 cutlim = _max_ % base; \
94 if (p == NULL || (n = (p - xdigit)) >= base) \
98 acc *= base; \
114 int base, ch, neg; \
125 base = 10; \
127 base -= 2; \
136 base += 8; \
142 (ms, &obj->u._func_, base)); \
152 int base, ch; local
[all...]
/freebsd-13-stable/contrib/libevent/test/
H A Dtest-fdleak.c65 static void start_client(struct event_base *base);
108 struct event_base *base = evconnlistener_get_base(listener); local
109 struct bufferevent *bev = bufferevent_socket_new(base, sock,
120 struct event_base *base; local
126 base = event_base_new();
127 if (base == NULL) {
128 puts("Could not open event base!");
132 listener = evconnlistener_new_bind(base, listener_accept_cb, NULL,
154 start_client(base);
156 event_base_dispatch(base);
171 struct event_base *base = bufferevent_get_base(bev); local
205 start_client(struct event_base *base) argument
[all...]
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dinet_ntop.c150 struct { int base, len; } best = {-1, 0}, cur = {-1, 0}; member in struct:__anon88
172 if (cur.base == -1) {
173 cur.base = i;
180 if (cur.base != -1) {
181 if (best.base == -1 || cur.len > best.len) {
184 cur.base = -1;
191 if (cur.base != -1) {
192 if (best.base == -1 || cur.len > best.len) {
196 if (best.base != -1 && best.len < 2) {
197 best.base
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-fdleak.c65 static void start_client(struct event_base *base);
108 struct event_base *base = evconnlistener_get_base(listener); local
109 struct bufferevent *bev = bufferevent_socket_new(base, sock,
120 struct event_base *base; local
126 base = event_base_new();
127 if (base == NULL) {
128 puts("Could not open event base!");
132 listener = evconnlistener_new_bind(base, listener_accept_cb, NULL,
154 start_client(base);
156 event_base_dispatch(base);
171 struct event_base *base = bufferevent_get_base(bev); local
205 start_client(struct event_base *base) argument
[all...]
/freebsd-13-stable/sys/arm/mv/
H A Dmv_common.c124 static void decode_win_eth_dump(u_long base);
125 static void decode_win_neta_dump(u_long base);
126 static void decode_win_idma_dump(u_long base);
127 static void decode_win_xor_dump(u_long base);
128 static void decode_win_ahci_dump(u_long base);
1064 /* Return CS i base address */
1103 printf("Internal regs base: 0x%08x\n",
1152 if ((tab->base + tab->size - 1) < (wintab + win)->base)
1155 else if (((wintab + win)->base
1166 decode_win_cpu_set(int target, int attr, vm_paddr_t base, uint32_t size, vm_paddr_t remap) argument
1394 decode_win_cesa_dump(u_long base) argument
1407 decode_win_cesa_setup(u_long base) argument
1455 decode_win_a38x_cesa_setup(u_long base) argument
1462 decode_win_a38x_cesa_dump(u_long base) argument
1479 decode_win_usb_dump(u_long base) argument
1495 decode_win_usb_setup(u_long base) argument
1546 decode_win_usb3_dump(u_long base) argument
1559 decode_win_usb3_setup(u_long base) argument
1608 eth_bare_read(uint32_t base, int i) argument
1619 eth_bare_write(uint32_t base, int i, int val) argument
1630 eth_epap_write(uint32_t base, int i, int val) argument
1641 decode_win_eth_dump(u_long base) argument
1667 decode_win_eth_setup(u_long base) argument
1714 decode_win_neta_dump(u_long base) argument
1721 decode_win_neta_setup(u_long base) argument
1738 decode_win_pcie_dump(u_long base) argument
1755 decode_win_pcie_setup(u_long base) argument
1830 idma_bare_read(u_long base, int i) argument
1841 idma_bare_write(u_long base, int i, int val) argument
1855 idma_cap_write(u_long base, int c, int w, int val) argument
1869 idma_set_prot(u_long base, int w, int val) argument
1889 decode_win_idma_setup(u_long base) argument
2028 decode_win_idma_dump(u_long base) argument
2060 decode_win_idma_setup(u_long base) argument
2065 decode_win_idma_dump(u_long base) argument
2075 xor_ctrl_read(u_long base, int i, int c, int e) argument
2085 xor_ctrl_write(u_long base, int i, int c, int e, int val) argument
2099 xor_chan_write(u_long base, int c, int e, int w, int val) argument
2113 xor_set_prot(u_long base, int w, int e, int val) argument
2156 xor_active_dram(u_long base, int c, int e, int *window) argument
2192 decode_win_xor_setup(u_long base) argument
2322 decode_win_xor_dump(u_long base) argument
2356 decode_win_xor_setup(u_long base) argument
2361 decode_win_xor_dump(u_long base) argument
2370 decode_win_sata_setup(u_long base) argument
2405 decode_win_ahci_setup(u_long base) argument
2443 decode_win_ahci_dump(u_long base) argument
2466 decode_win_sdhci_setup(u_long base) argument
2498 decode_win_sdhci_dump(u_long base) argument
2691 u_long size, base; local
2822 uint32_t base; local
[all...]
/freebsd-13-stable/lib/libc/inet/
H A Dinet_addr.c110 int base, n; local
125 val = 0; base = 10; digit = 0;
129 base = 16, c = *++cp;
131 base = 8;
137 if (base == 8 && (c == '8' || c == '9'))
139 val = (val * base) + (c - '0');
142 } else if (base == 16 && isascii(c) &&
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-fpa.c107 cvmx_fpa_pool_info[pool].base = buffer;
138 uint64_t base = cvmx_ptr_to_phys(cvmx_fpa_pool_info[pool].base); local
139 uint64_t finish = base + cvmx_fpa_pool_info[pool].size * expected_count;
150 if ((address >= base) && (address < finish) &&
151 (((address - base) % cvmx_fpa_pool_info[pool].size) == 0))
177 cvmx_fpa_pool_info[pool].name, (int)pool, (unsigned long long)base, (unsigned long long)finish, (int)cvmx_fpa_pool_info[pool].size);
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dww_mutex.h46 struct mutex base; member in struct:ww_mutex
65 sx_xlocked(&(_m)->base.sx)
76 return (mutex_trylock(&lock->base));
87 else if ((struct thread *)SX_OWNER(lock->base.sx.sx_lock) == curthread)
98 else if ((struct thread *)SX_OWNER(lock->base.sx.sx_lock) == curthread)
119 mutex_destroy(&lock->base);
130 linux_mutex_init(&lock->base, ww_class->mutex_name, SX_NOWITNESS);
/freebsd-13-stable/contrib/libxo/tests/core/
H A DMakefile.am84 ${CHECKER} ./$$base.test --libxo$$xoopts ${TEST_OPTS} \
85 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \
86 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \
87 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O}
99 base=`${BASENAME} $$test .c` ; \
113 -@ (${TEST_TRACE} test=test_01.c; base=test_01; \
128 base
[all...]
/freebsd-13-stable/contrib/libevent/include/event2/
H A Ddns.h219 @param event_base the event base to associate the dns client with
236 @param evdns_base the evdns base to free
242 void evdns_base_free(struct evdns_base *base, int fail_requests);
248 @param evdns_base the evdns base to remove outdated host addresses from
251 void evdns_base_clear_host_addresses(struct evdns_base *base);
269 @param base the evdns_base to which to add the name server
275 int evdns_base_nameserver_add(struct evdns_base *base,
286 @param base the evdns_base to which to apply this operation
291 int evdns_base_count_nameservers(struct evdns_base *base);
298 @param base th
[all...]
/freebsd-13-stable/contrib/apr/encoding/
H A Dapr_encode.c214 const char *base; local
229 base = base64;
232 base = base64url;
236 *bufout++ = base[ENCODE_TO_ASCII(((src[i]) >> 2) & 0x3F)];
237 *bufout++ = base[ENCODE_TO_ASCII((((src[i]) & 0x3) << 4)
239 *bufout++ = base[ENCODE_TO_ASCII((((src[i + 1]) & 0xF) << 2)
241 *bufout++ = base[ENCODE_TO_ASCII((src[i + 2]) & 0x3F)];
244 *bufout++ = base[ENCODE_TO_ASCII(((src[i]) >> 2) & 0x3F)];
246 *bufout++ = base[ENCODE_TO_ASCII((((src[i]) & 0x3) << 4))];
252 *bufout++ = base[ENCODE_TO_ASCI
280 const char *base; local
569 const char *base; local
677 const char *base; local
1073 const char *base; local
1126 const char *base; local
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/
H A Ddns.h219 @param event_base the event base to associate the dns client with
236 @param evdns_base the evdns base to free
242 void evdns_base_free(struct evdns_base *base, int fail_requests);
248 @param evdns_base the evdns base to remove outdated host addresses from
251 void evdns_base_clear_host_addresses(struct evdns_base *base);
269 @param base the evdns_base to which to add the name server
275 int evdns_base_nameserver_add(struct evdns_base *base,
286 @param base the evdns_base to which to apply this operation
291 int evdns_base_count_nameservers(struct evdns_base *base);
298 @param base th
[all...]
/freebsd-13-stable/usr.bin/vi/catalog/
H A DMakefile28 iconv -f ISO8859-1 -t UTF-8 $V/catalog/$c.base > $c.UTF-8.base
30 iconv -f ISO8859-2 -t UTF-8 $V/catalog/polish.base > polish.UTF-8.base
31 iconv -f GB2312 -t UTF-8 $V/catalog/zh_CN.GB2312.base > zh_CN.UTF-8.base
32 iconv -f KOI8-R -t UTF-8 $V/catalog/ru_RU.KOI8-R.base > ru_RU.UTF-8.base
33 iconv -f KOI8-U -t UTF-8 $V/catalog/uk_UA.KOI8-U.base > uk_UA.UTF-8.base
[all...]
/freebsd-13-stable/sys/dev/pci/
H A Dpci_host_generic_acpi.c135 r = sc->base.nranges;
158 sc->base.ranges[r].pci_base = min;
159 sc->base.ranges[r].phys_base = min + off;
160 sc->base.ranges[r].size = max - min + 1;
162 sc->base.ranges[r].flags |= FLAG_TYPE_MEM;
164 sc->base.ranges[r].flags |= FLAG_TYPE_IO;
165 sc->base.nranges++;
167 sc->base.bus_start = min;
168 sc->base.bus_end = max;
183 rman_res_t base, star local
[all...]
/freebsd-13-stable/sys/dev/hdmi/
H A Ddwc_hdmi_fdt.c57 struct dwc_hdmi_softc base; member in struct:dwc_hdmi_fdt_softc
93 if (sc->base.sc_mem_res != NULL)
95 sc->base.sc_mem_rid, sc->base.sc_mem_res);
109 sc->base.sc_dev = dev;
110 sc->base.sc_get_i2c_dev = dwc_hdmi_fdt_get_i2c_dev;
114 sc->base.sc_mem_rid = 0;
115 sc->base.sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
116 &sc->base.sc_mem_rid, RF_ACTIVE);
117 if (sc->base
[all...]
/freebsd-13-stable/crypto/heimdal/lib/wind/
H A Dpunycode.c40 static const unsigned base = 36; variable
65 while (delta > ((base - t_min) * t_max) / 2) {
66 delta /= base - t_min;
67 k += base;
69 return k + (((base - t_min + 1) * delta) / (delta + skew));
138 for (k = base; ; k += base) {
150 out[o++] = digit(t + ((q - t) % (base - t)));
151 q = (q - t) / (base - t);

Completed in 236 milliseconds

1234567891011>>