/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | stripslash.c | 33 char *base = last_component (file); local 39 if (! *base) 40 base = file; 41 base_lim = base + base_len (base);
|
H A D | basename.c | 30 char const *base = last_component (name); local 35 if (! *base) 39 length = base_len (base); 40 if (ISSLASH (base[length])) 46 if (FILE_SYSTEM_PREFIX_LEN (base)) 51 memcpy (p + 2, base, length); 57 return xstrndup (base, length);
|
H A D | progname.c | 47 const char *base; local 60 base = (slash != NULL ? slash + 1 : argv0); 61 if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) 63 argv0 = base; 64 if (strncmp (base, "lt-", 3) == 0) 66 argv0 = base + 3;
|
H A D | basename-lgpl.c | 32 char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); local 36 while (ISSLASH (*base)) 37 base++; 39 for (p = base; *p; p++) 45 base = p; 50 return (char *) base;
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | stripslash.c | 33 char *base = last_component (file); local 39 if (! *base) 40 base = file; 41 base_lim = base + base_len (base);
|
H A D | progname.c | 47 const char *base; local 60 base = (slash != NULL ? slash + 1 : argv0); 61 if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) 63 argv0 = base; 64 if (strncmp (base, "lt-", 3) == 0) 66 argv0 = base + 3;
|
H A D | basename-lgpl.c | 32 char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); local 36 while (ISSLASH (*base)) 37 base++; 39 for (p = base; *p; p++) 45 base = p; 50 return (char *) base;
|
/osnet-11/usr/src/lib/libadm/common/ |
H A D | ckint.c | 42 setmsg(char *msg, short base) argument 44 if ((base == 0) || (base == 10)) 47 (void) sprintf(msg, "Please enter a base %d integer.", base); 51 setprmpt(char *prmpt, short base) argument 53 if ((base == 0) || (base == 10)) 56 (void) sprintf(prmpt, "Enter a base %d integer.", base); 60 ckint_val(char *value, short base) argument 71 ckint_err(short base, char *error) argument 80 ckint_hlp(short base, char *help) argument 89 ckint(long *intval, short base, char *defstr, char *error, char *help, char *prompt) argument [all...] |
H A D | ckrange.c | 43 #define PROMPT "Enter a base %d integer between %ld and %ld" 45 #define MESG "Please enter a base %d integer between %ld and %ld." 48 setmsg(char *msg, long lower, long upper, int base) argument 50 if ((base == 10) || (base == 0)) 53 (void) sprintf(msg, MESG, base, lower, upper); 57 ckrange_err(long lower, long upper, int base, char *error) argument 61 setmsg(defmesg, lower, upper, base); 66 ckrange_hlp(long lower, long upper, int base, char *help) argument 70 setmsg(defmesg, lower, upper, base); 75 ckrange_val(long lower, long upper, int base, char *input) argument 87 ckrange(long *rngval, long lower, long upper, short base, char *defstr, char *error, char *help, char *prompt) argument [all...] |
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceLocationEnumerator.java | 51 // The base enumerator. 53 Enumeration base; field in class:ServiceLocationEnumerator 62 base = v.elements(); 64 base = (new Vector()).elements(); 73 return base.hasMoreElements(); 81 return base.nextElement(); 89 return base.nextElement();
|
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | wcstoimax.c | 54 wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base) argument 56 return ((intmax_t)wcstoll(nptr, endptr, base)); 61 wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base) argument 63 return ((uintmax_t)wcstoull(nptr, endptr, base)); 69 _wcstoimax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument 71 return ((int32_t)wcstol(nptr, endptr, base)); 76 _wcstoumax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument 78 return ((uint32_t)wcstoul(nptr, endptr, base));
|
H A D | wstol.c | 39 wstol(const wchar_t *str, wchar_t **ptr, int base) argument 41 return (wcstol(str, ptr, base));
|
H A D | wcstol.c | 57 int base) 60 wcstol(const wchar_t *str, wchar_t **ptr, int base) 70 if (base < 0 || base > MBASE) { 72 return (0); /* base is invalid -- should be a fatal error */ 87 if (base == 0) { 89 base = 10; 91 base = 16; 93 base = 8; 96 * for any base > 1 56 wcstoll(const wchar_t *_RESTRICT_KYWD str, wchar_t **_RESTRICT_KYWD ptr, int base) argument [all...] |
H A D | wcstoul.c | 55 int base) 58 wcstoul(const wchar_t *str, wchar_t **ptr, int base) 68 if (base < 0 || base > MBASE) { 70 return (0); /* base is invalid -- should be a fatal error */ 85 if (base == 0) { 87 base = 10; 89 base = 16; 91 base = 8; 94 * for any base > 1 54 wcstoull(const wchar_t *_RESTRICT_KYWD str, wchar_t **_RESTRICT_KYWD ptr, int base) argument [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | strtoimax.c | 39 strtoimax(const char *nptr, char **endptr, int base) argument 41 return ((intmax_t)strtoll(nptr, endptr, base)); 55 _strtoimax_c89(const char *nptr, char **endptr, int base) argument 57 return ((int32_t)strtol(nptr, endptr, base));
|
H A D | strtoumax.c | 39 strtoumax(const char *nptr, char **endptr, int base) argument 41 return ((uintmax_t)strtoull(nptr, endptr, base)); 55 _strtoumax_c89(const char *nptr, char **endptr, int base) argument 57 return ((uint32_t)strtoul(nptr, endptr, base));
|
H A D | lsearch.c | 59 char *base = (char *)bs; local 60 char *next = base + *nelp * width; /* End of table */ 63 for (; base < next; base += width) 64 if ((*compar)(key, base) == 0) 65 return (base); /* Key found */ 67 res = memcpy(base, key, width); /* base now == next */
|
H A D | lfind.c | 60 char *base = (char *)bs; local 61 char *next = base + *nelp * width; /* End of table */ 63 for (; base < next; base += width) 64 if ((*compar)(key, base) == 0) 65 return (base); /* Key found */
|
/osnet-11/usr/src/lib/libumem/common/ |
H A D | init_stand.c | 46 umem_type_init(caddr_t base, size_t len, size_t pgsize) argument 51 (void) vmem_stand_add(base, len); 61 umem_add(caddr_t base, size_t len) argument 63 return (vmem_stand_add(base, len));
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet_network.c | 55 int base; local 62 val = 0; base = 10; 65 base = 16, cp++; 67 base = 8; 71 if ((c - '0') >= base) 73 val = (val * base) + (c - '0'); 77 if (base == 16 && isxdigit(c)) {
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/t/ |
H A D | crossplatform.t | 49 my ($file, $base, $result); 51 $base = $module->catpath($v, $module->catdir('', 'foo'), ''); 52 $base = $module->catdir($module->rootdir, 'foo'); 54 is $module->file_name_is_absolute($base), 1, "$base is absolute on $platform"; 59 $base = $module->catpath($v, $module->catdir($module->rootdir, 'foo'), ''); 61 is $module->abs2rel($file, $base), $result, "$platform->abs2rel($file, $base)"; 64 $base = $module->catpath($other_v, $module->catdir($module->rootdir, 'foo'), ''); 65 $result = volumes_differ($module, $file, $base) [all...] |
/osnet-11/usr/src/lib/libresolv2/common/bsd/ |
H A D | strtoul.c | 62 strtoul(const char *nptr, char **endptr, int base) { argument 80 if ((base == 0 || base == 16) && 84 base = 16; 86 if (base == 0) 87 base = c == '0' ? 8 : 10; 88 cutoff = (u_long)ULONG_MAX / (u_long)base; 89 cutlim = (u_long)ULONG_MAX % (u_long)base; 97 if (c >= base) 103 acc *= base; [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/efi/ |
H A D | fixvideo.c | 57 grub_target_addr_t base; local 61 base = grub_pci_read (addr); 62 if ((! base) || (base & GRUB_PCI_ADDR_SPACE_IO) || 63 (base & GRUB_PCI_ADDR_MEM_PREFETCH)) 67 base &= GRUB_PCI_ADDR_MEM_MASK; 68 base += p->mmio_reg; 70 if (*((volatile grub_uint32_t *) base) != p->mmio_old) 74 *((volatile grub_uint32_t *) base) = 0; 75 if (*((volatile grub_uint32_t *) base)) [all...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | strto.c | 35 ** base -- numeric base that 'nptr' number is based in 46 sm_strtoll(nptr, endptr, base) 49 register int base; 59 ** If base is 0, allow 0x for hex and 0 for octal, else 60 ** assume decimal; if base is already 16, allow 0x. 79 if ((base == 0 || base == 16) && 84 base = 16; 86 if (base [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strtoi.h | 47 * if basep!=0 it points to the default base on input and 48 * will point to the explicit base on return 49 * a default base of 0 will determine the base from the input 50 * a default base of 1 will determine the base from the input using bb#* 51 * a base prefix in the string overrides *b 52 * *b will not be set if the string has no base prefix 55 * if a base arg or prefix is specified then multiplier is not consumed 59 * [sign][base][numbe 241 register int base; local [all...] |