| /mirbsd/src/usr.bin/sudo/ |
| D | env.c | 161 if (strncmp("HOME=", *ep, 5) == 0) 165 if (strncmp("KRB5CCNAME=", *ep, 11) == 0) 169 if (strncmp("LOGNAME=", *ep, 8) == 0) 173 if (strncmp("PATH=", *ep, 5) == 0) { 180 if (strncmp("SHELL=", *ep, 6) == 0) 182 else if (!user_prompt && strncmp("SUDO_PROMPT=", *ep, 12) == 0) 184 else if (strncmp("SUDO_USER=", *ep, 10) == 0) 188 if (strncmp("TZ=", *ep, 3) == 0) 192 if (strncmp("USER=", *ep, 5) == 0) 299 if (strncmp(str, *nep, varlen) == 0) { [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/opcodes/ |
| D | ms1-asm.c | 92 if (strncmp (*strp, "%hi16", 5) == 0) in parse_imm16() 97 else if (strncmp (*strp, "%lo16", 5) == 0) in parse_imm16() 193 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0) in parse_dup() 198 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0) in parse_dup() 218 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0) in parse_ball() 223 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*strp, "ONE", 3) == 0) in parse_ball() 242 if (strncmp (*strp, "pm", 2) == 0 || strncmp (*strp, "PM", 2) == 0) in parse_xmode() 247 else if (strncmp (*strp, "xm", 2) == 0 || strncmp (*strp, "XM", 2) == 0) in parse_xmode() 266 if (strncmp (*strp, "r", 1) == 0 || strncmp (*strp, "R", 1) == 0) in parse_rc() 271 else if (strncmp (*strp, "c", 1) == 0 || strncmp (*strp, "C", 1) == 0) in parse_rc() [all …]
|
| D | ip2k-asm.c | 72 if ((strncmp (*strp, "w", 1) == 0) || (strncmp (*strp, "W", 1) == 0)) in parse_fr() 76 if ((strncmp (*strp, ",", 1) == 0) || ISSPACE (**strp)) in parse_fr() 321 if (strncmp (*strp, "%bank", 5) == 0) in parse_lit8() 326 else if (strncmp (*strp, "%lo8data", 8) == 0) in parse_lit8() 331 else if (strncmp (*strp, "%hi8data", 8) == 0) in parse_lit8() 336 else if (strncmp (*strp, "%ex8data", 8) == 0) in parse_lit8() 341 else if (strncmp (*strp, "%lo8insn", 8) == 0) in parse_lit8() 346 else if (strncmp (*strp, "%hi8insn", 8) == 0) in parse_lit8() 387 if (strncmp (*strp, "%bit", 4) == 0) in parse_bit3() 392 else if (strncmp (*strp, "%msbbit", 7) == 0) in parse_bit3() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/cpu/ |
| D | ms1.opc | 132 if (strncmp (*strp, "%hi16", 5) == 0) 137 else if (strncmp (*strp, "%lo16", 5) == 0) 233 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0) 238 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0) 258 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0) 263 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*strp, "ONE", 3) == 0) 282 if (strncmp (*strp, "pm", 2) == 0 || strncmp (*strp, "PM", 2) == 0) 287 else if (strncmp (*strp, "xm", 2) == 0 || strncmp (*strp, "XM", 2) == 0) 306 if (strncmp (*strp, "r", 1) == 0 || strncmp (*strp, "R", 1) == 0) 311 else if (strncmp (*strp, "c", 1) == 0 || strncmp (*strp, "C", 1) == 0) [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/cli/ |
| D | cli-setshow.c | 49 if (strncmp (arg, "on", length) == 0 in parse_auto_binary_operation() 50 || strncmp (arg, "1", length) == 0 in parse_auto_binary_operation() 51 || strncmp (arg, "yes", length) == 0 in parse_auto_binary_operation() 52 || strncmp (arg, "enable", length) == 0) in parse_auto_binary_operation() 54 else if (strncmp (arg, "off", length) == 0 in parse_auto_binary_operation() 55 || strncmp (arg, "0", length) == 0 in parse_auto_binary_operation() 56 || strncmp (arg, "no", length) == 0 in parse_auto_binary_operation() 57 || strncmp (arg, "disable", length) == 0) in parse_auto_binary_operation() 59 else if (strncmp (arg, "auto", length) == 0 in parse_auto_binary_operation() 60 || (strncmp (arg, "-1", length) == 0 && length > 1)) in parse_auto_binary_operation() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/config/ |
| D | tc-i860.c | 152 if (strncmp (input_line_pointer, "sp", 2) == 0) in s_atmp() 157 else if (strncmp (input_line_pointer, "fp", 2) == 0) in s_atmp() 162 else if (strncmp (input_line_pointer, "r", 1) == 0) in s_atmp() 193 if (strncmp (parm, ".short", 6) == 0) in s_align_wrapper() 195 else if (strncmp (parm, ".long", 5) == 0) in s_align_wrapper() 197 else if (strncmp (parm, ".quad", 5) == 0) in s_align_wrapper() 199 else if (strncmp (parm, ".single", 7) == 0) in s_align_wrapper() 201 else if (strncmp (parm, ".double", 7) == 0) in s_align_wrapper() 496 if (strncmp (str, "d.", 2) == 0) in i860_process_insn() 690 if (strncmp (s, "fir", 3) == 0) in i860_process_insn() [all …]
|
| D | tc-pdp11.c | 105 if (strncmp (arg, "no-", 3) == 0) in set_option() 145 else if (strncmp (arg, "mproc", 5) == 0 in set_option() 147 || strncmp (arg, "multiproc", 9) == 0) in set_option() 341 else if (strncmp (str, "sp", 2) == 0 in parse_reg() 342 || strncmp (str, "SP", 2) == 0) in parse_reg() 347 else if (strncmp (str, "pc", 2) == 0 in parse_reg() 348 || strncmp (str, "PC", 2) == 0) in parse_reg() 366 if (strncmp (str, "fr", 2) == 0 in parse_ac5() 367 || strncmp (str, "FR", 2) == 0 in parse_ac5() 368 || strncmp (str, "ac", 2) == 0 in parse_ac5() [all …]
|
| D | tc-sparc.c | 473 if (strncmp (arg, "v9", 2) != 0) 1556 if (strncmp (p->name, s, len) == 0) 1592 if (strncmp (p->name, s, len) == 0) 1629 if (strncmp (s, "%asr", 4) == 0) 1730 if (strncmp (s, "%icc", 4) == 0) 1742 if (strncmp (s, "%xcc", 4) == 0) 1754 if (strncmp (s, "%fcc0", 5) == 0) 1766 if (strncmp (s, "%fcc1", 5) == 0) 1778 if (strncmp (s, "%fcc2", 5) == 0) 1790 if (strncmp (s, "%fcc3", 5) == 0) [all …]
|
| /mirbsd/src/lib/libssl/src/crypto/engine/ |
| D | eng_fat.c | 90 if (!strncmp(alg, "ALL", len)) in int_def_cb() 92 else if (!strncmp(alg, "RSA", len)) in int_def_cb() 94 else if (!strncmp(alg, "DSA", len)) in int_def_cb() 96 else if (!strncmp(alg, "DH", len)) in int_def_cb() 98 else if (!strncmp(alg, "RAND", len)) in int_def_cb() 100 else if (!strncmp(alg, "CIPHERS", len)) in int_def_cb() 102 else if (!strncmp(alg, "DIGESTS", len)) in int_def_cb()
|
| /mirbsd/src/usr.bin/sudo/auth/ |
| D | fwtk.c | 85 if (strncmp(resp, "Authsrv ready", 13) != 0) { 114 if (strncmp(resp, "challenge ", 10) == 0) { 121 } else if (strncmp(resp, "chalnecho ", 10) == 0) { 123 } else if (strncmp(resp, "password", 8) == 0) { 126 } else if (strncmp(resp, "display ", 8) == 0) { 148 if (strncmp(resp, "ok", 2) == 0) {
|
| /mirbsd/src/usr.bin/make/ |
| D | cond.c | 628 if (strncmp(condExpr, "empty", 5) == 0) { in CondHandleDefault() 666 if (strncmp(condExpr, op->s, op->len) == 0) { in CondHandleDefault() 909 strncmp(line, COND_IF, len) == 0) { in Cond_Eval() 916 strncmp(line, COND_IFDEF, len) == 0) { in Cond_Eval() 923 strncmp(line, COND_IFNDEF, len) == 0) { in Cond_Eval() 930 strncmp(line, COND_IFMAKE, len) == 0) { in Cond_Eval() 937 strncmp(line, COND_IFNMAKE, len) == 0) { in Cond_Eval() 944 strncmp(line, COND_ELIF, len) == 0) { in Cond_Eval() 951 strncmp(line, COND_ELIFDEF, len) == 0) { in Cond_Eval() 958 strncmp(line, COND_ELIFNDEF, len) == 0) { in Cond_Eval() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | cp-name-parser.y | 1506 if (strncmp (tokstart, string, sizeof (string) - 1) == 0) \ 1585 if (strncmp (tokstart, "(anonymous namespace)", 21) == 0) in yylex() 1618 if (strncmp (tokstart, "-in-", 4) == 0) in yylex() 1795 if (strncmp (tokstart, "reinterpret_cast", 16) == 0) in yylex() 1799 if (strncmp (tokstart, "construction vtable for ", 24) == 0) in yylex() 1804 if (strncmp (tokstart, "dynamic_cast", 12) == 0) in yylex() 1808 if (strncmp (tokstart, "static_cast", 11) == 0) in yylex() 1819 if (strncmp (tokstart, "operator", 8) == 0) in yylex() 1821 if (strncmp (tokstart, "restrict", 8) == 0) in yylex() 1823 if (strncmp (tokstart, "unsigned", 8) == 0) in yylex() [all …]
|
| D | c-exp.y | 1341 if (strncmp (tokstart, tokentab3[i].operator, 3) == 0) in yylex() 1350 if (strncmp (tokstart, tokentab2[i].operator, 2) == 0) in yylex() 1646 if (strncmp (tokstart, "unsigned", 8) == 0) in yylex() 1649 && strncmp (tokstart, "template", 8) == 0) in yylex() 1651 if (strncmp (tokstart, "volatile", 8) == 0) in yylex() 1655 if (strncmp (tokstart, "struct", 6) == 0) in yylex() 1657 if (strncmp (tokstart, "signed", 6) == 0) in yylex() 1659 if (strncmp (tokstart, "sizeof", 6) == 0) in yylex() 1661 if (strncmp (tokstart, "double", 6) == 0) in yylex() 1667 if (strncmp (tokstart, "false", 5) == 0) in yylex() [all …]
|
| D | kod-cisco.c | 153 if (! strncmp (&command[3], "a500005a", 8)) in cisco_kod_request() 177 if (strncmp (buffer, "KAL,", 4)) in cisco_kod_request() 276 if (strncmp (buffer, "KAI,", 4)) in cisco_kod_request() 283 if (strncmp (&buffer[off], sync_ids[i], 8) in cisco_kod_request()
|
| /mirbsd/src/sbin/restore/ |
| D | interactive.c | 135 if (strncmp(cmd, "add", strlen(cmd)) != 0) in runcmdshell() 148 if (strncmp(cmd, "cd", strlen(cmd)) != 0) in runcmdshell() 163 if (strncmp(cmd, "delete", strlen(cmd)) != 0) in runcmdshell() 176 if (strncmp(cmd, "extract", strlen(cmd)) != 0) in runcmdshell() 189 if (strncmp(cmd, "help", strlen(cmd)) != 0) in runcmdshell() 215 if (strncmp(cmd, "ls", strlen(cmd)) != 0) in runcmdshell() 223 if (strncmp(cmd, "pwd", strlen(cmd)) != 0) in runcmdshell() 234 if (strncmp(cmd, "quit", strlen(cmd)) != 0) in runcmdshell() 238 if (strncmp(cmd, "xit", strlen(cmd)) != 0) in runcmdshell() 245 if (strncmp(cmd, "verbose", strlen(cmd)) != 0) in runcmdshell() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/ |
| D | listing.c | 306 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 307 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 410 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 411 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 908 if (strncmp (line, "def", 3) == 0) in debugging_pseudo() 910 if (strncmp (line, "val", 3) == 0) in debugging_pseudo() 912 if (strncmp (line, "scl", 3) == 0) in debugging_pseudo() 914 if (strncmp (line, "line", 4) == 0) in debugging_pseudo() 916 if (strncmp (line, "endef", 5) == 0) in debugging_pseudo() 918 if (strncmp (line, "ln", 2) == 0) in debugging_pseudo() [all …]
|
| /mirbsd/src/usr.bin/file/ |
| D | apprentice.c | 543 if (strncmp(l, "char", NBYTE)==0) { /* HP/UX compat */ in parse() 546 } else if (strncmp(l, "byte", NBYTE)==0) { in parse() 549 } else if (strncmp(l, "short", NSHORT)==0) { in parse() 552 } else if (strncmp(l, "long", NLONG)==0) { in parse() 555 } else if (strncmp(l, "string", NSTRING)==0) { in parse() 558 } else if (strncmp(l, "date", NDATE)==0) { in parse() 561 } else if (strncmp(l, "beshort", NBESHORT)==0) { in parse() 564 } else if (strncmp(l, "belong", NBELONG)==0) { in parse() 567 } else if (strncmp(l, "bedate", NBEDATE)==0) { in parse() 570 } else if (strncmp(l, "leshort", NLESHORT)==0) { in parse() [all …]
|
| /mirbsd/src/sys/arch/i386/i386/ |
| D | db_trace.c | 255 } else if (!strncmp(name, "Xintr", 5) || 256 !strncmp(name, "Xresume", 7) || 257 !strncmp(name, "Xstray", 6) || 258 !strncmp(name, "Xhold", 5) || 259 !strncmp(name, "Xrecurse", 8) || 261 !strncmp(name, "Xsoft", 5)) {
|
| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | watch.c | 67 if (strncmp (who, p, who_len) == 0 in watch_modify_watchers() 121 if (pend - p == 4 && strncmp ("edit", p, 4) == 0) in watch_modify_watchers() 127 else if (pend - p == 6 && strncmp ("unedit", p, 6) == 0) in watch_modify_watchers() 133 else if (pend - p == 6 && strncmp ("commit", p, 6) == 0) in watch_modify_watchers() 139 else if (pend - p == 5 && strncmp ("tedit", p, 5) == 0) in watch_modify_watchers() 145 else if (pend - p == 7 && strncmp ("tunedit", p, 7) == 0) in watch_modify_watchers() 151 else if (pend - p == 7 && strncmp ("tcommit", p, 7) == 0) in watch_modify_watchers() 240 …set_default = strncmp( update_dir, the_args.dirs[ dir_check ], strlen( the_args.dirs[ dir_check ] … in addremove_filesdoneproc()
|
| /mirbsd/src/bin/pax/ |
| D | options.c | 1826 if (!strncmp(arg, "no-", 3)) { in process_M() 1831 if (!strncmp(arg, "uid", 3) || in process_M() 1832 !strncmp(arg, "gid", 3)) { in process_M() 1834 } else if (!strncmp(arg, "ino", 3)) { in process_M() 1836 } else if (!strncmp(arg, "mtim", 4)) { in process_M() 1838 } else if (!strncmp(arg, "link", 4)) { in process_M() 1840 } else if (!strncmp(arg, "norm", 4)) { in process_M() 1843 } else if (!strncmp(arg, "root", 4)) { in process_M() 1845 } else if (!strncmp(arg, "dist", 4)) { in process_M() 1848 } else if (!strncmp(arg, "set", 3)) { in process_M() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/binutils/ |
| D | emul_aix.c | 129 if (strncmp (arg, "-X32_64", 6) == 0) in ar_emul_aix_parse_arg() 135 else if (strncmp (arg, "-X32", 3) == 0) in ar_emul_aix_parse_arg() 141 else if (strncmp (arg, "-X64", 3) == 0) in ar_emul_aix_parse_arg() 147 else if (strncmp (arg, "-g", 2) == 0) in ar_emul_aix_parse_arg()
|
| /mirbsd/src/usr.bin/unifdef/ |
| D | unifdef.c | 718 if (strncmp(cp, "\\\n", 2) == 0) in getline() 899 } else if (strncmp(cp, "defined", 7) == 0 && endsym(cp[7])) { in eval_unary() 953 if (strncmp(cp, op->str, strlen(op->str)) == 0) in eval_table() 1003 if (strncmp(cp, "\\\n", 2) == 0) in skipcomment() 1007 if (strncmp(cp, "/\\\n", 3) == 0) { in skipcomment() 1010 } else if (strncmp(cp, "/*", 2) == 0) { in skipcomment() 1013 } else if (strncmp(cp, "//", 2) == 0) { in skipcomment() 1016 } else if (strncmp(cp, "\n", 1) == 0) { in skipcomment() 1025 if (strncmp(cp, "\n", 1) == 0) { in skipcomment() 1032 if (strncmp(cp, "*\\\n", 3) == 0) { in skipcomment() [all …]
|
| /mirbsd/src/usr.bin/gzsig/ |
| D | ssh2.c | 80 if (strncmp(str, "rsa", len) == 0 || in _keyfromstr() 81 strncmp(str, "ssh-rsa", len) == 0) in _keyfromstr() 83 else if (strncmp(str, "dsa", len) == 0 || in _keyfromstr() 84 strncmp(str, "ssh-dss", len) == 0) in _keyfromstr()
|
| /mirbsd/src/sbin/pfctl/ |
| D | pfctl_altq.c | 105 if (strncmp(a->ifname, altq->ifname, IFNAMSIZ) == 0 && in pfaltq_free() 106 strncmp(a->qname, altq->qname, PF_QNAME_SIZE) == 0) { in pfaltq_free() 120 if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 && in pfaltq_lookup() 133 if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 && in qname_to_pfaltq() 134 strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0) in qname_to_pfaltq() 152 if (strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0) in qname_to_qid() 360 if (strncmp(altq->ifname, pa->ifname, in eval_pfqueue() 363 strncmp(altq->parent, pa->parent, in eval_pfqueue() 537 if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0) in check_commit_cbq() 606 if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) == 0 && in eval_pfqueue_priq() [all …]
|
| /mirbsd/src/usr.bin/last/ |
| D | last.c | 272 crmsg = strncmp(bp->ut_name, "shutdown", in wtmp() 342 if (!strncmp(T->tty, bp->ut_line, UT_LINESIZE)) in wtmp() 439 if (!strncmp(bp->ut_line, "ftp", sizeof("ftp") - 1)) in want() 441 else if (!strncmp(bp->ut_line, "uucp", sizeof("uucp") - 1)) in want() 458 if (!strncmp(step->name, bp->ut_line, UT_LINESIZE)) in want() 462 if (!strncmp(step->name, bp->ut_name, UT_NAMESIZE)) in want() 553 if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1)) in ttyconv()
|