| /netvirt/usr/src/lib/libast/common/path/ |
| pathbin.c | 37 static char* val; local 39 if ((!(bin = getenv("PATH")) || !*bin) && !(bin = val)) 43 val = bin;
|
| /netvirt/usr/src/lib/libc/port/gen/ |
| getwd.c | 43 long val; local 46 if ((val = pathconf(".", _PC_PATH_MAX)) == -1) 47 val = MAXPATHLEN + 1; 49 if ((c = getcwd(pathname, val)) == NULL) {
|
| lltostr.c | 66 ulong_t t, val = (ulong_t)value; local 69 *--ptr = (char)('0' + val - 10 * (t = val / 10)); 70 } while ((val = t) != 0); 90 ulong_t t, val = (ulong_t)value; local 93 *--ptr = (char)('0' + val - 10 * (t = val / 10)); 94 } while ((val = t) != 0);
|
| /netvirt/usr/src/lib/libcurses/screen/ |
| mbstowcs.c | 44 int i, val; local 47 if ((val = _curs_mbtowc(pwcs++, s, MB_CUR_MAX)) == -1) 48 return (val); 49 if (val == 0) 51 s += val;
|
| wcstombs.c | 43 int val; local 53 if ((val = _curs_wctomb(temp, *pwcs++)) == -1) 54 return (val); 55 if ((total += val) > n) { 56 total -= val; 59 for (i = 0; i < val; i++)
|
| /netvirt/usr/src/lib/libsocket/socket/ |
| sockatmark.c | 41 int val; local 43 if (ioctl(sock, SIOCATMARK, &val) == -1) 45 return (val);
|
| /netvirt/usr/src/ucblib/libucb/port/gen/ |
| getwd.c | 42 long val; local 44 if ((val = pathconf(".", _PC_PATH_MAX)) == -1L) 45 val = MAXPATHLEN + 1; 47 if ((c = getcwd(pathname, val)) == NULL) {
|
| /netvirt/usr/src/uts/sparc/sys/ |
| machtypes.h | 51 typedef struct _label_t { long val[2]; } label_t; member in struct:_label_t
|
| /netvirt/usr/src/uts/sun4v/io/ |
| vnet_common.c | 37 uint64_t val = 0; local 41 val <<= 8; 42 val |= macaddr[i]; 45 return (val); 50 vnet_macaddr_ultostr(uint64_t val, uint8_t *macaddr) 55 value = val;
|
| /netvirt/usr/src/cmd/ipf/lib/common/ |
| addipopt.c | 20 u_short val; local 49 val = atoi(class); 50 bcopy((char *)&val, op, 2);
|
| /netvirt/usr/src/cmd/lp/filter/postscript/postmd/ |
| postmd.h | 98 double val; /* only valid in kind is ENDPOINT */ member in struct:__anon653
|
| /netvirt/usr/src/cmd/lp/filter/postscript/postplot/ |
| postplot.h | 51 char *val; member in struct:__anon654 79 char *val; /* corresponding PostScript name */ member in struct:__anon655
|
| /netvirt/usr/src/cmd/lp/filter/postscript/postprint/ |
| postprint.h | 50 char *val; /* corresponding PostScript name */ member in struct:__anon656
|
| /netvirt/usr/src/cmd/scadm/sparc/mpxu/common/ |
| valid_srecord.c | 43 unsigned long val = 0; local 46 val = val << 4; 48 val += *s - '0'; 50 val += *s - 'a' + 10; 52 val += *s - 'A' + 10; 55 return (val);
|
| /netvirt/usr/src/common/net/wanboot/crypt/ |
| cmn_test.c | 41 int val; local 45 val = 0; 56 val *= 16; 57 val += c; 59 return (val);
|
| /netvirt/usr/src/head/ |
| mp.h | 46 short *val; member in struct:mint
|
| /netvirt/usr/src/lib/libadm/common/ |
| devattr.c | 105 struct attrval *p; /* attr/val records */ 106 char *val; /* Extracted value */ local 122 val = (record->alias != NULL) ? record->alias : ""; 128 val = (record->cdevice != NULL) ? record->cdevice : ""; 134 val = (record->bdevice != NULL) ? record->bdevice : ""; 140 val = (record->pathname != NULL) ? record->pathname : ""; 147 * Didn't ask for one of the easy ones, search the attr/val 154 val = p->val; 166 if (rtnval = malloc(strlen(val)+1) [all...] |
| /netvirt/usr/src/lib/libast/common/misc/ |
| fs3d.c | 39 char val[sizeof(FS3D_off) + 8]; local 55 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL)) 57 if (v = strchr(val, ' ')) v++; 58 else v = val; 75 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op)); 76 v = val;
|
| /netvirt/usr/src/lib/libbc/libc/gen/common/ |
| mbtowc.c | 119 int val; local 128 val = mbtowc((wchar_t *)0, s, n); 130 return (val);
|
| strtol.c | 39 register long val; local 73 for (val = -DIGIT(c); isalnum(c = *++str) && (xx = DIGIT(c)) < base; ) 75 val = base * val - xx; 78 return (neg ? val : -val);
|
| /netvirt/usr/src/lib/libbc/libc/inet/ |
| inet_addr.c | 45 register u_long val, base, n; local 55 val = 0; base = 10; 66 val = (val * base) + (c - '0'); 71 val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A')); 86 *pp++ = val, cp++; 94 *pp++ = val; 103 val = parts[0]; 107 val = (parts[0] << 24) | (parts[1] & 0xffffff) [all...] |
| /netvirt/usr/src/lib/smbsrv/libmlsvc/common/ |
| smb_share_util.c | 44 char *val = NULL; local 58 if ((val = sa_get_property_attr(prop, "value")) != NULL) { 59 (void) strlcpy(si->container, val, 61 free(val); 67 if ((val = sa_get_property_attr(prop, "value")) != NULL) { 68 (void) strlcpy(si->comment, val, sizeof (si->comment)); 69 free(val);
|
| /netvirt/usr/src/psm/promif/ieee1275/sun4/ |
| prom_idprom.c | 44 u_char *cp, val = 0; local 69 val ^= *cp++; 71 if (val != 0)
|
| /netvirt/usr/src/uts/common/smbsrv/ |
| cp_unicode.h | 38 mts_wchar_t val; member in struct:unicode_cp [all...] |
| /netvirt/usr/src/uts/i86pc/os/ |
| pci_mech1.c | 50 uint8_t val; local 58 val = inb(PCI_CONFDATA | (reg & 0x3)); 60 return (val); 66 uint16_t val; local 75 val = inw(PCI_CONFDATA | (reg & 0x2)); 77 return (val); 83 uint32_t val; local 92 val = inl(PCI_CONFDATA); 94 return (val); 98 pci_mech1_putb(int bus, int device, int function, int reg, uint8_t val) [all...] |