Searched refs:strncmp (Results 1 - 25 of 1389) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/mailx/
H A Dusg.local.c88 return (strncmp(file, maildir, strlen(maildir)) == 0);
90 if (strncmp(file, "/var", 4) != 0
91 && strncmp(file, "/usr", 4) != 0
95 if (strncmp(file, "/spool", 6) == 0)
97 return (strncmp(file, "/mail/", 6) == 0);
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlinktest_stand.c40 void strncmp(void) {} function
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstrings.h40 int strncmp();
H A Dstring.h51 extern int strncmp(/* const char *s1, const char *s2, size_t n */);
H A Dutmp.h48 strncmp((ut).ut_line, "tty", 3) == 0 && ((ut).ut_line[3] == 'p' \
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsymlink.c43 if (*a == '/' && (*(a + 1) == 'd' || *(a + 1) == 'p' || *(a + 1) == 'n') && (!strncmp(a, "/dev/tcp/", 9) || !strncmp(a, "/dev/udp/", 9) || !strncmp(a, "/proc/", 6) || !strncmp(a, "/n/", 3)))
/illumos-gate/usr/src/cmd/svc/startd/
H A Dfile.c62 if (strncmp(file_fmri, "file:///", sizeof ("file:///") - 1) == 0) {
64 } else if (strncmp(file_fmri, "file://localhost/",
67 } else if (strncmp(file_fmri, "file://", sizeof ("file://") - 1)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrncmp.c41 strncmp(const char *s1, const char *s2, size_t n) function
/illumos-gate/usr/src/lib/libpkg/common/
H A Dlogerr.c51 if (strncmp(fmt, estr, strlen(estr)) &&
52 strncmp(fmt, wstr, strlen(wstr)) &&
53 strncmp(fmt, nstr, strlen(nstr))) {
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c233 if (strncmp(subClassName, ESC_SUN_MP_PLUGIN_CHANGE, 255)
238 } else if (strncmp(subClassName, ESC_SUN_MP_LU_CHANGE, 255)
243 } else if (strncmp(subClassName, ESC_SUN_MP_PATH_CHANGE, 255)
248 } else if (strncmp(subClassName, ESC_SUN_MP_INIT_PORT_CHANGE,
253 } else if (strncmp(subClassName, ESC_SUN_MP_TPG_CHANGE, 255)
258 } else if (strncmp(subClassName, ESC_SUN_MP_TARGET_PORT_CHANGE,
263 } else if (strncmp(subClassName, ESC_SUN_MP_DEV_PROD_CHANGE,
280 if (strncmp(subClassName, ESC_SUN_MP_LU_ADD, 255) == 0) {
284 } else if (strncmp(subClassName, ESC_SUN_MP_PATH_ADD, 255)
289 } else if (strncmp(subClassNam
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dsystem.c54 if (strncmp(s, "/usr/ucb", strlen("/usr/ucb")) == 0) {
67 else if (strncmp(s, "/bin", strlen("/bin")) == 0 ||
68 strncmp(s, "/usr/bin", strlen("/usr/bin")) == 0) {
72 if (strncmp(s, "/bin", strlen("/bin")) == 0)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dstrstr.c49 if (strncmp(s1, s2, s2len) == 0)
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/
H A Dsystem.c54 if (strncmp(s, "/usr/ucb", strlen("/usr/ucb")) == 0) {
67 else if (strncmp(s, "/bin", strlen("/bin")) == 0 ||
68 strncmp(s, "/usr/bin", strlen("/usr/bin")) == 0) {
73 if (strncmp(s, "/bin", strlen("/bin")) == 0)
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dexecve.c40 if (strncmp(file, "/usr/ucb", strlen("/usr/ucb")) == 0) {
47 else if (strncmp(file, "/bin", strlen("/bin")) == 0 ||
48 strncmp(file, "/usr/bin", strlen("/usr/bin")) == 0) {
54 else if (strncmp(file, "/usr/5bin", strlen("/usr/5bin")) == 0) {
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgettimeofday.c80 if ((strncmp(zonename, "US/", 3) == 0) ||
85 (strncmp(zonename, "America/", 8) == 0))
88 if (strncmp(zonename, "Australia/", 10) == 0)
100 if (strncmp(zonename, "Canada/", 7) == 0)
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dexecve.c37 if (strncmp(file, "/usr/bin", strlen("/usr/bin")) == 0 ||
38 strncmp(file, "/bin", strlen("/bin")) == 0) {
45 else if (strncmp(file, "/usr/ucb", strlen("/usr/ucb")) == 0) {
51 else if (strncmp(file, "/usr/5bin", strlen("/usr/5bin")) == 0) {
/illumos-gate/usr/src/cmd/oamuser/user/
H A Disbusy.c56 if ((strncmp(login, utxptr->ut_user,
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrncmp.c31 static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93";
39 strncmp(const char *s1, const char *s2, size_t n) function
H A Dstrstr.c57 } while (strncmp(s, find, len) != 0);
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.h39 #define EQ(X,Y,Z) !strncmp(X,Y,Z)
40 #define NOT_EQ(X,Y,Z) strncmp(X,Y,Z)
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-m.c54 if (strncmp(path, prefix, sizeof (prefix) - 1) != 0)
58 if (strncmp(path, dir, len) != 0)
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dmisc.c106 return (strncmp(sym, "libumem", 7) == 0 && tick_p != NULL &&
107 strncmp(tick_p + 1, prefix, strlen(prefix)) == 0);
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_string.c55 return (strncmp(a, b, strlen(b)) == 0);
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_getenv.c79 if (strncmp(name, s, len) == 0 && s[len] == '=') {
/illumos-gate/usr/src/cmd/mail/
H A DpickFrom.c51 while (*lineptr && strncmp (lineptr, rf, rfl))

Completed in 149 milliseconds

1234567891011>>