Searched refs:strncmp (Results 76 - 100 of 1397) sorted by relevance

1234567891011>>

/freebsd-11-stable/libexec/rtld-aout/
H A Dshlib.c277 strncmp(dp->d_name, "lib", 3) != 0 ||
278 strncmp(dp->d_name + 3, name, namelen) != 0 ||
284 if(strncmp(extension, "so.", 3) == 0) {
/freebsd-11-stable/contrib/top/
H A Dutils.c31 if (strncmp(str, "infinity", len) == 0 ||
32 strncmp(str, "all", len) == 0 ||
33 strncmp(str, "maximum", len) == 0)
/freebsd-11-stable/contrib/telnet/telnet/
H A Dmain.c135 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
327 if (!strncmp("in", optarg, 2))
329 else if (!strncmp("out", optarg, 3))
/freebsd-11-stable/contrib/ntp/sntp/
H A Dnetworking.c253 if (strncmp(ref_char, "DENY", 4) == 0)
255 if (strncmp(ref_char, "RSTR", 4) == 0)
257 if (strncmp(ref_char, "RATE", 4) == 0)
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp90 ((DecoratedLength >= 2 && strncmp(DecoratedStr, "_Z", 2) == 0) ||
91 (DecoratedLength >= 4 && strncmp(DecoratedStr, "___Z", 4) == 0)))
95 (DecoratedLength > 6 && strncmp(DecoratedStr, "__imp_", 6) == 0)) {
/freebsd-11-stable/usr.bin/calendar/
H A Dio.c140 if (strncmp(line, "endif", 5) == 0) {
148 if (strncmp(line, "include", 7) == 0) {
193 if (strncmp(line, "define", 6) == 0) {
208 if (strncmp(line, "ifndef", 6) == 0) {
293 if (strncmp(buf, "LANG=", 5) == 0) {
308 if (strncmp(buf, "SEQUENCE=", 9) == 0) {
/freebsd-11-stable/contrib/gcc/
H A Dgen-protos.c118 if (strncmp (decl_start, "typedef ", 8) == 0)
120 if (strncmp (decl_start, "extern ", 7) == 0)
H A Dopts-common.c67 comp = strncmp (input, cl_options[md].opt_text + 1, opt_len);
88 if (!strncmp (input, opt->opt_text + 1, opt->opt_len)
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dsetenv.c96 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=')
172 if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
H A Dmkstemps.c93 || strncmp (&pattern[len - 6 - suffix_len], "XXXXXX", 6))
/freebsd-11-stable/contrib/gdb/gdb/
H A Dc-exp.y1341 if (strncmp (tokstart, tokentab3[i].operator, 3) == 0)
1350 if (strncmp (tokstart, tokentab2[i].operator, 2) == 0)
1646 if (strncmp (tokstart, "unsigned", 8) == 0)
1649 && strncmp (tokstart, "template", 8) == 0)
1651 if (strncmp (tokstart, "volatile", 8) == 0)
1655 if (strncmp (tokstart, "struct", 6) == 0)
1657 if (strncmp (tokstart, "signed", 6) == 0)
1659 if (strncmp (tokstart, "sizeof", 6) == 0)
1661 if (strncmp (tokstart, "double", 6) == 0)
1667 if (strncmp (tokstar
[all...]
H A Denviron.c111 if (strncmp (s, var, len) == 0 && s[len] == '=')
128 if (strncmp (s, var, len) == 0 && s[len] == '=')
/freebsd-11-stable/contrib/binutils/gas/
H A Dinput-file.c169 && !strncmp (buf, "O_APP", 5) && ISSPACE (buf[5]))
179 && !strncmp (buf, "PP", 2) && ISSPACE (buf[2]))
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dsetenv.c96 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=')
172 if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
/freebsd-11-stable/sbin/devd/tests/
H A Dclient_test.c120 cmp = strncmp(event, create_pat, sizeof(create_pat) - 1);
124 cmp = strncmp(event, destroy_pat, sizeof(destroy_pat) - 1);
/freebsd-11-stable/lib/libc/i386/string/
H A Dstrncmp.S35 * strncmp(s1, s2, n)
56 ENTRY(strncmp)
167 END(strncmp)
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_mod.c137 if (!strncmp(b->name, p->name, DLL_LEN))
153 if (!strncmp(b->name, p, DLL_LEN)) {
/freebsd-11-stable/usr.bin/mail/
H A Dhead.c58 if (strncmp(linebuf, "From ", 5) != 0)
117 if (cp != NULL && strncmp(cp, "tty", 3) == 0) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_memcpy.c135 ATF_CHECK(strncmp(buf, "foo bar", 7) == 0);
138 ATF_CHECK(strncmp(buf, "xxxxxxx", 7) == 0);
/freebsd-11-stable/sbin/iscontrol/
H A Dlogin.c112 if(strncmp(key, ptr, klen) == 0)
173 if(strncmp(ptr, "TargetAddress", klen) == 0) {
198 } else if(strncmp(ptr, "MaxRecvDataSegmentLength", klen) == 0) {
201 } else if(strncmp(ptr, "TargetPortalGroupTag", klen) == 0) {
203 } else if(strncmp(ptr, "HeaderDigest", klen) == 0) {
205 } else if(strncmp(ptr, "DataDigest", klen) == 0) {
207 } else if(strncmp(ptr, "MaxOutstandingR2T", klen) == 0)
212 if(strncmp(ptr, kp->name, kp->len) == 0 && ptr[kp->len] == '=')
/freebsd-11-stable/stand/uboot/fdt/
H A Duboot_fdt.c139 if (strncmp(env, "eth", 3) == 0 &&
140 strncmp(env + (strlen(env) - 4), "addr", 4) == 0) {
/freebsd-11-stable/contrib/bmake/
H A Darch.c656 (strncmp(magic, ARMAG, SARMAG) != 0)) {
669 if (strncmp( arh.AR_FMAG, ARFMAG, sizeof(arh.AR_FMAG)) != 0) {
719 if (strncmp(memName, AR_EFMT1, sizeof(AR_EFMT1) - 1) == 0 &&
798 if (strncmp(name, ARLONGNAMES1, sizeof(ARLONGNAMES1) - 1) == 0 ||
799 strncmp(name, ARLONGNAMES2, sizeof(ARLONGNAMES2) - 1) == 0) {
915 (strncmp(magic, ARMAG, SARMAG) != 0)) {
936 if (strncmp(arhPtr->AR_FMAG, ARFMAG, sizeof(arhPtr->AR_FMAG) ) != 0) {
943 } else if (strncmp(member, arhPtr->AR_NAME, tlen) == 0) {
973 if (strncmp(arhPtr->AR_NAME, AR_EFMT1,
992 if (strncmp(enam
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dfindconfig.c38 if (strncmp(unamebuf.machine, "9000/", 5) == 0)
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintdstlist.c25 if ((name != NULL) && strncmp(name, dst.ipld_name, FR_GROUPLEN))
H A Dprinthash.c28 if ((name != NULL) && strncmp(name, iph.iph_name, FR_GROUPLEN))

Completed in 237 milliseconds

1234567891011>>