Searched refs:base (Results 76 - 100 of 1566) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/gcclibs/libiberty/
H A Dchoose-temp.c59 const char *base = choose_tmpdir (); local
63 len = strlen (base);
65 strcpy (temp_filename, base);
/freebsd-10.1-release/contrib/ipfilter/lib/
H A Dprintlookup.c13 printlookup(base, addr, mask)
14 char *base;
38 strncpy(name, base + addr->iplookupname, sizeof(name));
H A Dprint_toif.c15 print_toif(family, tag, base, fdp)
18 char *base;
24 PRINTF("%s %s%s", tag, base + fdp->fd_name,
43 PRINTF("%s dstlist/%s ", tag, base + fdp->fd_name);
/freebsd-10.1-release/sys/dev/hptmv/
H A Dmv.c59 MV_REG_WRITE_BYTE(MV_BUS_ADDR_T base, MV_U32 offset, MV_U8 val) argument
61 writeb((void *)((ULONG_PTR)base + offset), val);
65 MV_REG_WRITE_WORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U16 val) argument
67 writew((void *)((ULONG_PTR)base + offset), val);
71 MV_REG_WRITE_DWORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U32 val) argument
73 writel((void *)((ULONG_PTR)base + offset), val);
77 MV_REG_READ_BYTE(MV_BUS_ADDR_T base, MV_U32 offset) argument
79 return readb((void *)((ULONG_PTR)base + offset));
83 MV_REG_READ_WORD(MV_BUS_ADDR_T base, MV_U32 offset) argument
85 return readw((void *)((ULONG_PTR)base
89 MV_REG_READ_DWORD(MV_BUS_ADDR_T base, MV_U32 offset) argument
[all...]
/freebsd-10.1-release/sys/mips/nlm/
H A Dboard_cpld.c53 int nlm_cpld_read(uint64_t base, int reg) argument
57 val = *(volatile uint16_t *)(long)(base + reg * 2);
62 nlm_cpld_write(uint64_t base, int reg, uint16_t data) argument
65 *(volatile uint16_t *)(long)(base + reg * 2) = data;
69 nlm_board_cpld_majorversion(uint64_t base) argument
71 return (nlm_cpld_read(base, CPLD_REVISION) >> 8);
75 nlm_board_cpld_minorversion(uint64_t base) argument
77 return (nlm_cpld_read(base, CPLD_REVISION) & 0xff);
90 nlm_board_cpld_reset(uint64_t base) argument
93 nlm_cpld_write(base, CPLD_RESE
100 nlm_board_cpld_dboard_type(uint64_t base, int slot) argument
[all...]
/freebsd-10.1-release/contrib/ntp/lib/isc/
H A Dbase32.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
57 isc_buffer_t *target, const char base[])
67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
69 buf[1] = base[(source->base[0]<<2)&0x1c];
75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */
76 ((source->base[1]>>6)&0x03)]; /* 2 + */
77 buf[2] = base[((sourc
56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target, const char base[]) argument
144 const char *base; /*%< Which encoding we are using */ member in struct:__anon61
149 base32_decode_init(base32_decode_ctx_t *ctx, int length, const char base[], isc_buffer_t *target) argument
255 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target, int length) argument
297 base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) argument
324 base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *target) argument
364 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
/freebsd-10.1-release/tools/tools/npe/npestats/
H A Dnpestats.h41 struct statfoo base; member in struct:npestatfoo
/freebsd-10.1-release/usr.bin/yacc/tests/
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);
116 yylval = (c - '0') % (*base);
H A Dcalc3.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)
71 { $$ = $1; (*base) = ($1==0) ? 8 : 10; }
73 { $$ = (*base) * $1 + $2; }
86 int base = 10;
89 yyparse(regs, &base);
119 *yylval = (c - '0') % (*base);
/freebsd-10.1-release/crypto/heimdal/lib/krb5/
H A Dstore_emem.c38 unsigned char *base; member in struct:emem_storage
48 if((size_t)(s->base + s->len - s->ptr) < size)
49 size = s->base + s->len - s->ptr;
59 if(size > (size_t)(s->base + s->size - s->ptr)){
60 void *base; local
62 off = s->ptr - s->base;
66 base = realloc(s->base, sz);
67 if(base == NULL)
70 s->base
119 void *base; local
[all...]
/freebsd-10.1-release/sys/ia64/ia64/
H A Dphysmem.c45 ia64_physmem_find(vm_paddr_t base, vm_paddr_t lim) argument
51 phys_avail[idx + 1] > base)
58 ia64_physmem_insert(u_int idx, vm_paddr_t base, vm_paddr_t lim) argument
71 phys_avail[idx] = base;
93 ia64_physmem_add(vm_paddr_t base, vm_size_t len) argument
100 lim = base + len;
101 idx = ia64_physmem_find(base, lim);
103 phys_avail[idx] = base;
106 if (idx > 0 && phys_avail[idx - 1] == base) {
110 return (ia64_physmem_insert(idx, base, li
114 ia64_physmem_delete(vm_paddr_t base, vm_size_t len) argument
143 vm_paddr_t base, lim, size; local
183 ia64_physmem_track(vm_paddr_t base, vm_size_t len) argument
193 vm_paddr_t base, lim, pa; local
[all...]
/freebsd-10.1-release/contrib/gcc/config/
H A Dhost-hpux.c88 hpux_gt_pch_use_address (void *base, size_t size, int fd, size_t offset) argument
99 addr = mmap (base, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, offset);
101 if (addr == base)
108 addr = mmap (base, size, PROT_READ | PROT_WRITE,
111 if (addr != base)
125 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
128 base = (char *) base + nbytes;
/freebsd-10.1-release/contrib/unbound/libunbound/
H A Dunbound-event.h46 * the event base that you have made. Then, use the ub_resolve_event call
71 * @param base: the event base that the caller has created. The unbound
72 * context uses this event base.
79 struct ub_ctx* ub_ctx_create_event(struct event_base* base);
85 * @param base the new event_base to attach to the ctx
88 int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base);
/freebsd-10.1-release/lib/libc/stdlib/
H A Dstrtoq.c44 strtoq(const char *nptr, char **endptr, int base) argument
47 return strtoll(nptr, endptr, base);
H A Dstrtouq.c44 strtouq(const char *nptr, char **endptr, int base) argument
47 return strtoull(nptr, endptr, base);
/freebsd-10.1-release/sys/libkern/
H A Dstrtoq.c48 strtoq(const char *nptr, char **endptr, int base) argument
58 * If base is 0, allow 0x for hex and 0 for octal, else
59 * assume decimal; if base is already 16, allow 0x.
73 if ((base == 0 || base == 16) &&
77 base = 16;
79 if (base == 0)
80 base = c == '0' ? 8 : 10;
85 * base. An input number that is greater than this value, if
90 * [-9223372036854775808..9223372036854775807] and the input base
[all...]
H A Dstrtouq.c48 strtouq(const char *nptr, char **endptr, int base) argument
70 if ((base == 0 || base == 16) &&
74 base = 16;
76 if (base == 0)
77 base = c == '0' ? 8 : 10;
78 qbase = (unsigned)base;
90 if (c >= base)
/freebsd-10.1-release/lib/libc/locale/
H A Dwcstoimax.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 wcstoimax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
133 wcstoimax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) argument
[all...]
/freebsd-10.1-release/contrib/ntp/sntp/libevent/
H A Devdns.c159 struct evdns_base *base; member in struct:evdns_request
162 * owned by event base any more. */
194 struct evdns_base *base; member in struct:request
234 struct evdns_base *base; member in struct:nameserver
301 struct evdns_server_request base; member in struct:server_request
388 (((char*)(base_ptr) - evutil_offsetof(struct server_request, base))))
390 #define REQ_HEAD(base, id) ((base)->req_heads[id % (base)->n_req_heads])
392 static struct nameserver *nameserver_pick(struct evdns_base *base);
469 request_find_from_trans_id(struct evdns_base *base, u16 trans_id) argument
560 struct evdns_base *base = ns->base; local
650 struct evdns_base *base = req->base; local
743 evdns_requests_pump_waiting_queue(struct evdns_base *base) argument
1017 reply_parse(struct evdns_base *base, u8 *packet, int length) argument
1320 transaction_id_pick(struct evdns_base *base) argument
1337 nameserver_pick(struct evdns_base *base) argument
1710 evdns_add_server_port_with_base(struct event_base *base, evutil_socket_t socket, int flags, evdns_request_callback_fn_type cb, void *user_data) argument
2165 struct evdns_base *base = req->base; local
2347 evdns_transmit(struct evdns_base *base) argument
2372 evdns_base_count_nameservers(struct evdns_base *base) argument
2398 evdns_base_clear_nameservers_and_suspend(struct evdns_base *base) argument
2471 evdns_base_resume(struct evdns_base *base) argument
2487 evdns_nameserver_add_impl_(struct evdns_base *base, const struct sockaddr *address, int addrlen) argument
2570 evdns_base_nameserver_add(struct evdns_base *base, unsigned long int address) argument
2615 evdns_base_nameserver_ip_add(struct evdns_base *base, const char *ip_as_string) argument
2644 evdns_base_nameserver_sockaddr_add(struct evdns_base *base, const struct sockaddr *sa, ev_socklen_t len, unsigned flags) argument
2656 evdns_base_get_nameserver_addr(struct evdns_base *base, int idx, struct sockaddr *sa, ev_socklen_t len) argument
2749 request_new(struct evdns_base *base, struct evdns_request *handle, int type, const char *name, int flags, evdns_callback_type callback, void *user_ptr) argument
2827 struct evdns_base *base = req->base; local
2847 evdns_cancel_request(struct evdns_base *base, struct evdns_request *handle) argument
2883 evdns_base_resolve_ipv4(struct evdns_base *base, const char *name, int flags, evdns_callback_type callback, void *ptr) argument
2920 evdns_base_resolve_ipv6(struct evdns_base *base, const char *name, int flags, evdns_callback_type callback, void *ptr) argument
2955 evdns_base_resolve_reverse(struct evdns_base *base, const struct in_addr *in, int flags, evdns_callback_type callback, void *ptr) argument
2989 evdns_base_resolve_reverse_ipv6(struct evdns_base *base, const struct in6_addr *in, int flags, evdns_callback_type callback, void *ptr) argument
3080 search_postfix_clear(struct evdns_base *base) argument
3088 evdns_base_search_clear(struct evdns_base *base) argument
3101 search_postfix_add(struct evdns_base *base, const char *domain) argument
3124 search_reverse(struct evdns_base *base) argument
3140 evdns_base_search_add(struct evdns_base *base, const char *domain) argument
3152 evdns_base_search_ndots_set(struct evdns_base *base, const int ndots) argument
3165 search_set_from_hostname(struct evdns_base *base) argument
3205 search_request_new(struct evdns_base *base, struct evdns_request *handle, int type, const char *const name, int flags, evdns_callback_type user_callback, void *user_arg) argument
3257 struct evdns_base *base = req->base; local
3314 evdns_resolv_set_defaults(struct evdns_base *base, int flags) argument
3385 evdns_base_set_max_requests_inflight(struct evdns_base *base, int maxinflight) argument
3417 evdns_base_set_option(struct evdns_base *base, const char *option, const char *val) argument
3444 evdns_base_set_option_impl(struct evdns_base *base, const char *option, const char *val, int flags) argument
3527 resolv_conf_parse_line(struct evdns_base *base, char *const start, int flags) argument
3575 evdns_base_resolv_conf_parse(struct evdns_base *base, int flags, const char *const filename) argument
3609 evdns_base_resolv_conf_parse_impl(struct evdns_base *base, int flags, const char *const filename) argument
3671 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) argument
3699 load_nameservers_with_getnetworkparams(struct evdns_base *base) argument
3778 config_nameserver_from_reg_key(struct evdns_base *base, HKEY key, const TCHAR *subkey) argument
3805 load_nameservers_from_registry(struct evdns_base *base) argument
3861 evdns_base_config_windows_nameservers(struct evdns_base *base) argument
3901 struct evdns_base *base; local
3979 struct evdns_base *base = evdns_base_new(NULL, 1); local
4027 evdns_base_free_and_unlock(struct evdns_base *base, int fail_requests) argument
4087 evdns_base_free(struct evdns_base *base, int fail_requests) argument
4094 evdns_base_clear_host_addresses(struct evdns_base *base) argument
4117 evdns_base_parse_hosts_line(struct evdns_base *base, char *line) argument
4171 evdns_base_load_hosts_impl(struct evdns_base *base, const char *hosts_fname) argument
4210 evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname) argument
4559 find_hosts_entry(struct evdns_base *base, const char *hostname, struct hosts_entry *find_after) argument
4577 evdns_getaddrinfo_fromhosts(struct evdns_base *base, const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, struct evutil_addrinfo **res) argument
[all...]
/freebsd-10.1-release/contrib/nvi/catalog/
H A DMakefile9 ${CAT}: english.base
12 sort -u $@.base | \
45 }' < $$f.base; \
48 awk '{print $$1}' < $$f.base | sort -u > __ck1; \
49 awk '{print $$1}' < english.base | sort -u > __ck2; \
57 `sed '/^$$/d' < $$f.base | sort -u | \
59 egrep $$j $$f.base; \
63 sed '/^$$/d' < $$f.base | sort | uniq -c | \
67 english.base: dump ${FILES} #Makefile
78 rm -f dump dump.o ${CAT} english.base *
[all...]
/freebsd-10.1-release/sys/dev/drm2/ttm/
H A Dttm_object.c53 * for fast lookup of ref objects given a base object.
106 * that way, one can easily detect whether a base object is referenced by
108 * multiple ref objects if a ttm_object_file references the same base
148 struct ttm_base_object *base,
158 base->shareable = shareable;
159 base->tfile = ttm_object_file_ref(tfile);
160 base->refcount_release = rcount_release;
161 base->ref_obj_release = ref_obj_release;
162 base->object_type = object_type;
163 refcount_init(&base
147 ttm_base_object_init(struct ttm_object_file *tfile, struct ttm_base_object *base, bool shareable, enum ttm_object_type object_type, void (*rcount_release) (struct ttm_base_object **), void (*ref_obj_release) (struct ttm_base_object *, enum ttm_ref_type ref_type)) argument
188 ttm_release_base(struct ttm_base_object *base) argument
209 struct ttm_base_object *base = *p_base; local
229 struct ttm_base_object *base; local
257 ttm_ref_object_add(struct ttm_object_file *tfile, struct ttm_base_object *base, enum ttm_ref_type ref_type, bool *existed) argument
322 struct ttm_base_object *base = ref->obj; local
[all...]
/freebsd-10.1-release/sys/mips/nlm/hal/
H A Dpic.h59 #define PIC_IPICTRL_IDB 16 /* interrupt destination base */
68 #define PIC_IRT_DB 16 /* Destination base */
193 nlm_pic_read_irt(uint64_t base, int irt_index) argument
195 return nlm_read_pic_reg(base, PIC_IRT(irt_index));
199 nlm_pic_send_ipi(uint64_t base, int cpu, int vec, int nmi) argument
211 nlm_write_pic_reg(base, PIC_IPI_CTL, ipi);
215 nlm_pic_read_control(uint64_t base) argument
217 return nlm_read_pic_reg(base, PIC_CTRL);
221 nlm_pic_write_control(uint64_t base, uint64_t control) argument
223 nlm_write_pic_reg(base, PIC_CTR
227 nlm_pic_update_control(uint64_t base, uint64_t control) argument
236 nlm_pic_ack(uint64_t base, int irt_num) argument
246 nlm_set_irt_to_cpu(uint64_t base, int irt, int cpu) argument
258 nlm_pic_write_irt(uint64_t base, int irt_num, int en, int nmi, int sch, int vec, int dt, int db, int dte) argument
272 nlm_pic_write_irt_direct(uint64_t base, int irt_num, int en, int nmi, int sch, int vec, int cpu) argument
281 nlm_pic_read_timer(uint64_t base, int timer) argument
287 nlm_pic_write_timer(uint64_t base, int timer, uint64_t value) argument
293 nlm_pic_set_timer(uint64_t base, int timer, uint64_t value, int irq, int cpu) argument
[all...]
/freebsd-10.1-release/contrib/gcc/
H A Dvec.h89 *exactly* one definition of the common non-memory managed base vector.
148 #define VEC_length(T,V) (VEC_OP(T,base,length)(VEC_BASE(V)))
166 #define VEC_last(T,V) (VEC_OP(T,base,last)(VEC_BASE(V) VEC_CHECK_INFO))
175 #define VEC_index(T,V,I) (VEC_OP(T,base,index)(VEC_BASE(V),I VEC_CHECK_INFO))
189 #define VEC_iterate(T,V,I,P) (VEC_OP(T,base,iterate)(VEC_BASE(V),I,&(P)))
214 #define VEC_embedded_size(T,N) (VEC_OP(T,base,embedded_size)(N))
215 #define VEC_embedded_init(T,O,N) (VEC_OP(T,base,embedded_init)(VEC_BASE(O),N))
236 (VEC_OP(T,base,space)(VEC_BASE(V),R VEC_CHECK_INFO))
271 (VEC_OP(T,base,quick_push)(VEC_BASE(V),O VEC_CHECK_INFO))
293 #define VEC_pop(T,V) (VEC_OP(T,base,po
[all...]
/freebsd-10.1-release/contrib/ldns/compat/
H A Dinet_ntop.c124 struct { int base, len; } best, cur; member in struct:__anon1605
137 best.base = -1;
139 cur.base = -1;
143 if (cur.base == -1)
144 cur.base = i, cur.len = 1;
148 if (cur.base != -1) {
149 if (best.base == -1 || cur.len > best.len)
151 cur.base = -1;
155 if (cur.base != -1) {
156 if (best.base
[all...]
/freebsd-10.1-release/contrib/tcpdump/missing/
H A Dinet_ntop.c115 long base; member in struct:__anon4425
129 best.base = -1;
130 cur.base = -1;
135 if (cur.base == -1)
136 cur.base = i, cur.len = 1;
139 else if (cur.base != -1)
141 if (best.base == -1 || cur.len > best.len)
143 cur.base = -1;
146 if ((cur.base != -1) && (best.base
[all...]

Completed in 134 milliseconds

1234567891011>>