Home
last modified time | relevance | path

Searched refs:strneq (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/lib/libsum/common/
H A Dsum-prng.c74 if (isdigit(*t) || v && strneq(t, "mpy", i) && (t = v + 1)) in prng_open()
76 else if (strneq(t, "add", i)) in prng_open()
78 else if (strneq(t, "init", i)) in prng_open()
H A Dsum-crc.c155 if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1)) in crc_open()
157 else if (strneq(t, "done", i)) in crc_open()
159 else if (strneq(t, "init", i)) in crc_open()
161 else if (strneq(t, "rotate", i)) in crc_open()
163 else if (strneq(t, "size", i)) in crc_open()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dmime.c311 …if ((strneq(s, "~/", n = 2) || strneq(s, "$HOME/", n = 6) || strneq(s, "${HOME}/", n = 8)) && (t =… in mimeload()
634 …if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name… in mimeview()
649 else if (a1.name.size == 4 && strneq(a1.name.data, "test", 4)) in mimeview()
654 … == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a… in mimeview()
668 if (!arg(&a1, -1) || a1.name.size != 4 || !strneq(a1.name.data, "echo", 4) || !arg(&a1, -1)) in mimeview()
671 if (!arg(&a4, 1) || a4.name.size < 21 || !strneq(a4.name.data, "| tr '[A-Z]' '[a-z]'`", 21)) in mimeview()
H A Drecstr.c90 if (strneq(s, "data", 4)) in recstr()
96 else if (strneq(s, "path", 4)) in recstr()
H A Dmagic.c845 if (strneq(t, "Content Type=", 13)) in ckmagic()
1609 if (*(be - 1) == ',' || strneq(be + 1, "data", 4) || strneq(be + 1, "file", 4)) in type()
2220 …if ((strneq(s, "~/", n = 2) || strneq(s, "$HOME/", n = 6) || strneq(s, "${HOME}/", n = 8)) && (t =… in magicload()
H A Doptget.c830 if (strneq(s - 1, "+NAME?", 6)) in init()
855 if (strneq(s, "catalog?", 8)) in init()
868 …p->catalog = ((t = strchr(s, ']')) && (!p->id || (t - s) != strlen(p->id) || !strneq(s, p->id, t -… in init()
1815 if (strneq(t, attrs[j].name, m)) in textout()
2931 if (strneq(t, attrs[j].name, m)) in opthelp()
3471 if (style == STYLE_html && (*p != '<' || !strneq(p, "<BR>", 4) && !strneq(p, "<P>", 3))) in opthelp()
3551 if (strneq(p, "NOBR>", 5)) in opthelp()
3553 else if (n && strneq(p, "/NOBR>", 6) && !--n) in opthelp()
/titanic_41/usr/src/lib/libast/common/regex/
H A Dregclass.c169 if (n == cp->size && strneq(s, cp->name, n)) in regclass()
187 if (n == cp->size && strneq(s, cp->name, n)) in regclass()
211 if (cp->size == n && strneq(name, cp->name, n)) in regaddclass()
/titanic_41/usr/src/cmd/svr4pkg/pkgadm/
H A Dpkgadm.h48 #define strneq(a, b, c) (strncmp((a), (b), (c)) == 0) macro
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathcheck.c80 …else if (*s != '#' && !isspace(*s) && !strneq(s, "127.", 4) && !strmatch(s, PARANOID_FREE) && o++ … in pathcheck()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dmain.c563 #define strneq(s1, s2, n) (strncmp(s1, s2, n) == 0) macro
644 if (strneq(argv[i], "-v", 2)) { in scanargs()
650 } else if (strneq(argv[i], "-pid", 2)) { in scanargs()
654 } else if (strneq(argv[i], "-t", 2)) { in scanargs()
/titanic_41/usr/src/lib/libpp/common/
H A Dppsearch.c198 if (!(s = sfgetr(sp, '\n', 1)) || !strneq(s, pp.tmpbuf, variant)) in search()
269 if (!strneq(s, VDB_DIRECTORY, sizeof(VDB_DIRECTORY) - 1)) in search()
279 if (!strneq(s, VDB_DIRECTORY, sizeof(VDB_DIRECTORY)) - 1) in search()
622 if (strneq(file, cp->value, cp->op)) in ppsearch()
650 if (type == T_HEADER && strneq(fp->name, "...", 3) && (!fp->name[3] || fp->name[3] == '/')) in ppsearch()
H A Dppargs.c512 else if (strneq(s, "-lang-", 6)) in ppargs()
H A Dppop.c252 return !strchr(b, ' ') && !strneq(b, "__STD", 5) ? strncmp(a, b, pp.truncate) : strcmp(a, b); in trunccomp()
266 …return memhash(a, (n = strlen(a)) > pp.truncate && !strchr(a, ' ') && !strneq(a, "__STD", 5) ? pp.… in trunchash()
/titanic_41/usr/src/lib/libast/common/port/
H A Dastconf.c387 if (strneq(d, s, n) && isspace(d[n])) in synthesize()
402 … *path == *p && strlen(path) == (v - p - 1) && !memcmp(path, p, v - p - 1)) && strneq(v, value, n)) in synthesize()
566 if (strneq(p, "xpg", 3) || strneq(p, "5bin", 4)) in initialize()
571 if (strneq(p, "bsd", 3) || strneq(p, "ucb", 3)) in initialize()
826 …if (strneq(name, p->name, p->length) && ((c = name[p->length] == '_' || name[p->length] == '(' || …
H A Dmc.c171 …if (category != AST_LC_MESSAGES && strneq(p, lc_messages, sizeof(lc_messages) - 1) && p[sizeof(lc_… in mcfind()
/titanic_41/usr/src/lib/libshell/misc/
H A DERRATA.txt470 - if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1))
472 - else if (strneq(t, "done", i))
474 - else if (strneq(t, "init", i))
476 - else if (strneq(t, "rotate", i))
478 - else if (strneq(t, "size", i))
516 + if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1))
518 + else if (strneq(t, "done", i))
520 + else if (strneq(t, "init", i))
522 + else if (strneq(t, "rotate", i))
524 + else if (strneq(t, "size", i))
/titanic_41/usr/src/lib/libast/common/string/
H A Dtokscan.c93 else if (strneq(b, "null)", 5)) in lextok()
/titanic_41/usr/src/lib/libast/common/include/
H A Dast.h199 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) macro
/titanic_41/usr/src/lib/libcmd/common/
H A Dcp.c494 …if (strneq(s, sub->fts_name, n) && sub->fts_name[n] == '.' && strneq(sub->fts_name + n + 1, state-… in visit()
H A Dcksum.c387 else if (strneq(s, "method=", 7)) in verify()
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dast.h208 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) macro
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dast.h208 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) macro
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h208 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) macro
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dast.h208 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n)) macro
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkglib.h404 #define strneq(a, b, c) (strncmp((a), (b), (c)) == 0) macro

12