/macosx-10.10.1/Heimdal-398.1.2/appl/login/ |
H A D | tty.c | 47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0) 48 res += strlen(_PATH_DEV);
|
H A D | login_locl.h | 108 #ifndef _PATH_DEV 109 #define _PATH_DEV "/dev/" macro
|
H A D | login.c | 707 if (strncmp (ttyn, _PATH_DEV, strlen(_PATH_DEV)) == 0) 708 tty = ttyn + strlen(_PATH_DEV);
|
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/ |
H A D | ttyslot.c | 53 if (strncmp(name, _PATH_DEV, sizeof _PATH_DEV - 1) != 0) 55 name += sizeof _PATH_DEV - 1;
|
H A D | ttyname.c | 98 if (len <= sizeof(_PATH_DEV)) 112 if (len <= sizeof(_PATH_DEV)) { 118 strlcpy(thrbuf, _PATH_DEV, len); 157 if ((buf = malloc(sizeof(_PATH_DEV) + MAXNAMLEN)) != NULL) { 169 return (ttyname_r(fd, buf, sizeof(_PATH_DEV) + MAXNAMLEN) == 0 ? buf : NULL); 171 return (ttyname_r(fd, buf, sizeof(_PATH_DEV) + MAXNAMLEN)); 178 buf = malloc(sizeof(_PATH_DEV) + MAXNAMLEN); 204 strlcpy(buf, _PATH_DEV, sizeof(_PATH_DEV) + MAXNAMLEN); 206 buf + strlen(buf), sizeof(_PATH_DEV) [all...] |
/macosx-10.10.1/sudo-73/src/ |
H A D | pathnames.h | 35 #ifndef _PATH_DEV 36 #define _PATH_DEV "/dev/" macro 37 #endif /* _PATH_DEV */
|
H A D | pathnames.h.in | 34 #ifndef _PATH_DEV 35 #define _PATH_DEV "/dev/" 36 #endif /* _PATH_DEV */
|
H A D | ttyname.c | 128 size_t len = sizeof(_PATH_DEV) + strlen(dev); 130 strlcpy(tty, _PATH_DEV, len); 300 (void)snprintf(buf, sizeof(buf), "%spts/%u", _PATH_DEV, 326 tty = sudo_ttyname_scan(_PATH_DEV, rdev, FALSE);
|
/macosx-10.10.1/Libc-1044.1.2/gen/ |
H A D | devname.c | 76 char _buf[sizeof(_PATH_DEV) + MAXNAMLEN]; 78 strcpy(_buf, _PATH_DEV); 80 if ((dp = opendir(_PATH_DEV)) == NULL) 84 bcopy(dirp->d_name, _buf + sizeof(_PATH_DEV) - 1,
|
/macosx-10.10.1/Libc-1044.1.2/include/ |
H A D | paths.h | 92 #define _PATH_DEV "/dev/" macro
|
/macosx-10.10.1/libpcap-48/libpcap/Win32/Include/net/ |
H A D | paths.h | 69 #define _PATH_DEV "/dev/" macro
|
/macosx-10.10.1/Libc-1044.1.2/util/ |
H A D | opendev.c | 82 _PATH_DEV, prefix, path) < PATH_MAX) { 94 _PATH_DEV, prefix, path) < PATH_MAX) {
|
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/ |
H A D | opendev.c | 93 _PATH_DEV, prefix, path, 'a' + getrawpartition()) 103 _PATH_DEV, prefix, path) < sizeof(namebuf)) {
|
/macosx-10.10.1/hfs-285/mount_hfs/ |
H A D | optical.c | 64 if (!strncmp(_PATH_DEV, name, strlen(_PATH_DEV))) 65 name += strlen(_PATH_DEV);
|
/macosx-10.10.1/remote_cmds-47/wall.tproj/ |
H A D | ttymsg.c | 70 static char device[MAXNAMLEN] = _PATH_DEV; 79 p = device + sizeof(_PATH_DEV) - 1; 82 strlcpy(p, line, sizeof(device) - (sizeof(_PATH_DEV) - 1));
|
/macosx-10.10.1/remote_cmds-47/talkd.tproj/ |
H A D | talkd.c | 106 if (chdir(_PATH_DEV) < 0) { 107 syslog(LOG_ERR, "chdir: %s: %m", _PATH_DEV);
|
H A D | process.c | 205 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(line)]; 210 (void) strcpy(ftty, _PATH_DEV); 218 (void) strcpy(ftty + sizeof(_PATH_DEV) - 1, 241 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(line)]; 249 (void) strcpy(ftty, _PATH_DEV); 258 (void) strcpy(ftty + sizeof(_PATH_DEV) - 1,
|
/macosx-10.10.1/basic_cmds-55/write/ |
H A D | write.c | 123 if (!strncmp(argv[1], _PATH_DEV, strlen(_PATH_DEV))) 124 argv[1] += strlen(_PATH_DEV); 239 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty); 270 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty);
|
/macosx-10.10.1/DiskArbitration-268/DiskArbitration/ |
H A D | DADisk.c | 141 if ( strncmp( id, _PATH_DEV, strlen( _PATH_DEV ) ) == 0 ) 143 disk->_device = strdup( id + strlen( _PATH_DEV ) ); 339 if ( strncmp( name, _PATH_DEV, strlen( _PATH_DEV ) ) ) 341 strlcpy( id, _PATH_DEV, sizeof( id ) );
|
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnetd/ |
H A D | telnetd.h | 219 #ifndef _PATH_DEV 220 #define _PATH_DEV "/dev/" macro
|
/macosx-10.10.1/diskdev_cmds-576/dev_mkdb.tproj/ |
H A D | dev_mkdb.c | 114 if (chdir(_PATH_DEV)) 115 err("%s: %s", _PATH_DEV, strerror(errno));
|
/macosx-10.10.1/adv_cmds-158/last/ |
H A D | last.c | 399 if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1)) 400 return (arg + sizeof(_PATH_DEV) - 1);
|
/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/ |
H A D | DAInternal.c | 514 if ( strncmp( fs->f_mntfromname, _PATH_DEV, strlen( _PATH_DEV ) ) ) 530 if ( strncmp( fs->f_mntfromname, _PATH_DEV, strlen( _PATH_DEV ) ) )
|
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/ |
H A D | roken-common.h | 127 #ifndef _PATH_DEV 128 #define _PATH_DEV "/dev/" macro
|
/macosx-10.10.1/mail_cmds-30/comsat/ |
H A D | comsat.c | 223 _PATH_DEV, (int)sizeof(utp->ut_line), utp->ut_line); 224 if (strchr(tty + sizeof(_PATH_DEV) - 1, '/')) {
|