Searched refs:base (Results 51 - 75 of 1589) sorted by relevance

1234567891011>>

/freebsd-10-stable/bin/ed/test/
H A Dckscripts.sh23 # base=`expr $i : '\([^.]*\)'`
24 # base=`echo $i | sed 's/\..*//'`
25 base=`$ED - \!"echo $i" <<-EOF
28 if $base.ed; then
29 if cmp -s $base.o $base.r; then :; else
30 echo "*** Output $base.o of script $i is incorrect ***"
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.lltostrbase.d32 base = -2;
48 printf("base %2d of %20d: ", base, val[i]);
54 printf(" %s\n", lltostr(val[i], base));
72 base++;
76 /base > 40/
/freebsd-10-stable/contrib/binutils/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...]
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
36 @var{base} for a member that matches the object pointed to by @var{key}.
62 * the base up one item past p: e.g., when lim is 5 we change base
74 register const char *base = (const char *) base0; local
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
H A Dchoose-temp.c59 const char *base = choose_tmpdir (); local
63 len = strlen (base);
65 strcpy (temp_filename, base);
/freebsd-10-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...]
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);
100 UNUSED(base); /* %parse-param base i
[all...]
H A Derr_syntax27.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);
100 UNUSED(base); /* %parse-param base i
[all...]
/freebsd-10-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...]
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
36 @var{base} for a member that matches the object pointed to by @var{key}.
62 * the base up one item past p: e.g., when lim is 5 we change base
74 register const char *base = (const char *) base0; local
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
H A Dchoose-temp.c59 const char *base = choose_tmpdir (); local
63 len = strlen (base);
65 strcpy (temp_filename, base);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dstrtoul.c48 strtoul(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;
79 cutoff = ULONG_MAX / (unsigned long)base;
80 cutlim = ULONG_MAX % (unsigned long)base;
88 if (c >= base)
98 acc *= (unsigned long)base;
[all...]
H A Dstrtoull.c50 strtoull(const char *nptr, char **endptr, int base) argument
72 if ((base == 0 || base == 16) &&
76 base = 16;
78 if (base == 0)
79 base = c == '0' ? 8 : 10;
81 cutoff = ULLONG_MAX / (unsigned long long)base;
82 cutlim = ULLONG_MAX % (unsigned long long)base;
90 if (c >= base)
100 acc *= (unsigned long long)base;
[all...]
/freebsd-10-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...]
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-stable/contrib/pf/libevent/
H A Devent.c210 event_base_free(struct event_base *base) argument
214 if (base == NULL && current_base)
215 base = current_base;
216 if (base == current_base)
219 assert(base);
220 assert(TAILQ_EMPTY(&base->eventqueue));
221 for (i=0; i < base->nactivequeues; ++i)
222 assert(TAILQ_EMPTY(base->activequeues[i]));
224 assert(RB_EMPTY(&base->timetree));
226 for (i = 0; i < base
243 event_base_priority_init(struct event_base *base, int npriorities) argument
275 event_haveevents(struct event_base *base) argument
287 event_process_active(struct event_base *base) argument
341 struct event_base *base = arg; local
370 event_base_loop(struct event_base *base, int flags) argument
528 event_base_set(struct event_base *base, struct event *ev) argument
594 struct event_base *base = ev->ev_base; local
658 struct event_base *base; local
714 timeout_next(struct event_base *base, struct timeval *tv) argument
744 timeout_correct(struct event_base *base, struct timeval *off) argument
757 timeout_process(struct event_base *base) argument
781 event_queue_remove(struct event_base *base, struct event *ev, int queue) argument
818 event_queue_insert(struct event_base *base, struct event *ev, int queue) argument
[all...]
/freebsd-10-stable/contrib/gcc/config/
H A Dhost-solaris.c36 sol_gt_pch_use_address (void *base, size_t size, int fd, size_t offset) argument
46 addr = mmap (base, size, PROT_READ | PROT_WRITE, MAP_PRIVATE,
52 if (addr != base)
63 if (mincore ((char *)base + i, page_size, (void *)&one_byte) == -1
70 addr = mmap (base, size,
75 return addr == base ? 1 : -1;
/freebsd-10-stable/contrib/gcc/config/i386/
H A Dhost-cygwin.c54 void *base; local
68 base = mmap (NULL, sz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
70 if (base == MAP_FAILED)
71 base = NULL;
73 munmap (base, sz);
78 return base;
/freebsd-10-stable/contrib/sendmail/libsm/
H A Dstrto.c33 ** base -- numeric base that 'nptr' number is based in
44 sm_strtoll(nptr, endptr, base)
47 register int base;
57 ** If base is 0, allow 0x for hex and 0 for octal, else
58 ** assume decimal; if base is already 16, allow 0x.
77 if ((base == 0 || base == 16) &&
82 base = 16;
84 if (base
[all...]
/freebsd-10-stable/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-stable/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-stable/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...]

Completed in 110 milliseconds

1234567891011>>