/toolchain/binutils/binutils-2.25/opcodes/ |
D | mt-asm.c | 119 else if (strncmp (*strp, "%hi16", 5) == 0) in parse_imm16() 124 else if (strncmp (*strp, "%lo16", 5) == 0) in parse_imm16() 220 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0) in parse_dup() 225 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0) in parse_dup() 245 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0) in parse_ball() 250 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*strp, "ONE", 3) == 0) in parse_ball() 269 if (strncmp (*strp, "pm", 2) == 0 || strncmp (*strp, "PM", 2) == 0) in parse_xmode() 274 else if (strncmp (*strp, "xm", 2) == 0 || strncmp (*strp, "XM", 2) == 0) in parse_xmode() 293 if (strncmp (*strp, "r", 1) == 0 || strncmp (*strp, "R", 1) == 0) in parse_rc() 298 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 …]
|
/toolchain/binutils/binutils-2.25/cpu/ |
D | mt.opc | 156 else if (strncmp (*strp, "%hi16", 5) == 0) 161 else if (strncmp (*strp, "%lo16", 5) == 0) 257 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0) 262 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0) 282 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0) 287 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*strp, "ONE", 3) == 0) 306 if (strncmp (*strp, "pm", 2) == 0 || strncmp (*strp, "PM", 2) == 0) 311 else if (strncmp (*strp, "xm", 2) == 0 || strncmp (*strp, "XM", 2) == 0) 330 if (strncmp (*strp, "r", 1) == 0 || strncmp (*strp, "R", 1) == 0) 335 else if (strncmp (*strp, "c", 1) == 0 || strncmp (*strp, "C", 1) == 0) [all …]
|
D | ip2k.opc | 108 if ((strncmp (*strp, "w", 1) == 0) || (strncmp (*strp, "W", 1) == 0)) 112 if ((strncmp (*strp, ",", 1) == 0) || ISSPACE (**strp)) 357 if (strncmp (*strp, "%bank", 5) == 0) 362 else if (strncmp (*strp, "%lo8data", 8) == 0) 367 else if (strncmp (*strp, "%hi8data", 8) == 0) 372 else if (strncmp (*strp, "%ex8data", 8) == 0) 377 else if (strncmp (*strp, "%lo8insn", 8) == 0) 382 else if (strncmp (*strp, "%hi8insn", 8) == 0) 423 if (strncmp (*strp, "%bit", 4) == 0) 428 else if (strncmp (*strp, "%msbbit", 7) == 0) [all …]
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-i860.c | 149 if (strncmp (input_line_pointer, "sp", 2) == 0) in s_atmp() 154 else if (strncmp (input_line_pointer, "fp", 2) == 0) in s_atmp() 159 else if (strncmp (input_line_pointer, "r", 1) == 0) in s_atmp() 190 if (strncmp (parm, ".short", 6) == 0) in s_align_wrapper() 192 else if (strncmp (parm, ".long", 5) == 0) in s_align_wrapper() 194 else if (strncmp (parm, ".quad", 5) == 0) in s_align_wrapper() 196 else if (strncmp (parm, ".single", 7) == 0) in s_align_wrapper() 198 else if (strncmp (parm, ".double", 7) == 0) in s_align_wrapper() 494 if (strncmp (str, "d.", 2) == 0) in i860_process_insn() 688 if (strncmp (s, "fir", 3) == 0) in i860_process_insn() [all …]
|
D | tc-pdp11.c | 106 if (strncmp (arg, "no-", 3) == 0) in set_option() 146 else if (strncmp (arg, "mproc", 5) == 0 in set_option() 148 || strncmp (arg, "multiproc", 9) == 0) in set_option() 342 else if (strncmp (str, "sp", 2) == 0 in parse_reg() 343 || strncmp (str, "SP", 2) == 0) in parse_reg() 348 else if (strncmp (str, "pc", 2) == 0 in parse_reg() 349 || strncmp (str, "PC", 2) == 0) in parse_reg() 367 if (strncmp (str, "fr", 2) == 0 in parse_ac5() 368 || strncmp (str, "FR", 2) == 0 in parse_ac5() 369 || strncmp (str, "ac", 2) == 0 in parse_ac5() [all …]
|
D | tc-sparc.c | 509 if (!strncmp (arg, "v9", 2)) in md_parse_option() 513 if (!strncmp (arg, "v8", 2) in md_parse_option() 514 || !strncmp (arg, "v7", 2) in md_parse_option() 515 || !strncmp (arg, "v6", 2) in md_parse_option() 1720 if (strncmp (p->name, s, len) == 0) in sparc_ip() 1756 if (strncmp (p->name, s, len) == 0) in sparc_ip() 1792 if (strncmp (p->name, s, len) == 0) in sparc_ip() 1829 if (strncmp (s, "%asr", 4) == 0) in sparc_ip() 1976 if (strncmp (s, "%icc", 4) == 0) in sparc_ip() 1988 if (strncmp (s, "%xcc", 4) == 0) in sparc_ip() [all …]
|
D | m68k-parse.y | 1013 if (strncmp (cp - 7, "@TLSLDM", 7) == 0) in yylex() 1018 else if (strncmp (cp - 7, "@TLSLDO", 7) == 0) in yylex() 1026 if (strncmp (cp - 6, "@PLTPC", 6) == 0) in yylex() 1031 else if (strncmp (cp - 6, "@GOTPC", 6) == 0) in yylex() 1036 else if (strncmp (cp - 6, "@TLSGD", 6) == 0) in yylex() 1041 else if (strncmp (cp - 6, "@TLSIE", 6) == 0) in yylex() 1046 else if (strncmp (cp - 6, "@TLSLE", 6) == 0) in yylex() 1054 if (strncmp (cp - 4, "@PLT", 4) == 0) in yylex() 1059 else if (strncmp (cp - 4, "@GOT", 4) == 0) in yylex()
|
D | obj-elf.c | 326 if (strncmp (input_line_pointer, "bss\"", 4) == 0) in elf_common_parse() 328 else if (strncmp (input_line_pointer, "data\"", 5) == 0) in elf_common_parse() 829 if (len == 8 && strncmp (str, "progbits", 8) == 0) in obj_elf_section_type() 831 if (len == 6 && strncmp (str, "nobits", 6) == 0) in obj_elf_section_type() 833 if (len == 4 && strncmp (str, "note", 4) == 0) in obj_elf_section_type() 835 if (len == 10 && strncmp (str, "init_array", 10) == 0) in obj_elf_section_type() 837 if (len == 10 && strncmp (str, "fini_array", 10) == 0) in obj_elf_section_type() 839 if (len == 13 && strncmp (str, "preinit_array", 13) == 0) in obj_elf_section_type() 860 if (len == 5 && strncmp (str, "write", 5) == 0) in obj_elf_section_word() 862 if (len == 5 && strncmp (str, "alloc", 5) == 0) in obj_elf_section_word() [all …]
|
D | tc-arc.c | 463 if (!strncmp (mode, "r|w", 3)) in arc_extoper() 470 if (!strncmp (mode, "r", 1)) in arc_extoper() 477 if (strncmp (mode, "w", 1)) in arc_extoper() 504 if (!strncmp (input_line_pointer, "cannot_shortcut", 15)) in arc_extoper() 511 if (strncmp (input_line_pointer, "can_shortcut", 12)) in arc_extoper() 729 if (!strncmp (suffixclass[i].name,input_line_pointer, suffixclass[i].len)) in arc_extinst() 757 if (!strncmp (syntaxclass[i].name,input_line_pointer, syntaxclass[i].len)) in arc_extinst() 1101 if (strncmp (p, "%st(", 4) == 0) in md_operand() 1123 if (!strncmp (p, ext_oper->operand.name, l) && !ISALNUM (*(p + l))) in md_operand() 1135 if (!strncmp (p, arc_reg_names[i].name, l) && !ISALNUM (*(p + l))) in md_operand() [all …]
|
D | tc-ns32k.c | 445 if ((!strncmp (str, "ext(", 4)) && strl > 7) in addr_mode() 499 if (!strncmp (str, "tos", 3)) in addr_mode() 516 if (!strncmp (&str[strl - 5], "(fp", 3)) in addr_mode() 518 else if (!strncmp (&str[strl - 5], "(sp", 3)) in addr_mode() 520 else if (!strncmp (&str[strl - 5], "(sb", 3)) in addr_mode() 571 if (!strncmp (&str[strl - 4], "(fp", 3)) in addr_mode() 573 else if (!strncmp (&str[strl - 4], "(sp", 3)) in addr_mode() 575 else if (!strncmp (&str[strl - 4], "(sb", 3)) in addr_mode() 577 else if (!strncmp (&str[strl - 4], "(pc", 3)) in addr_mode() 851 if (!strncmp (optionP[i].pattern, str, 20)) in list_search()
|
D | tc-sh.h | 144 (strncmp (SEG_NAME (SEG), ".stabstr", 8) == 0 \ 146 : ((strncmp (SEG_NAME (SEG), ".stab", 5) == 0 \
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | d-demangle.c | 616 if (i >= 5 && strncmp (mangled, "__T", 3) == 0) in dlang_identifier() 625 if (strncmp (mangled, "__ctor", i) == 0) in dlang_identifier() 632 else if (strncmp (mangled, "__dtor", i) == 0) in dlang_identifier() 639 else if (strncmp (mangled, "__postblit", i) == 0) in dlang_identifier() 646 else if (strncmp (mangled, "__initZ", i+1) == 0) in dlang_identifier() 653 else if (strncmp (mangled, "__ClassZ", i+1) == 0) in dlang_identifier() 661 else if (strncmp (mangled, "__vtblZ", i+1) == 0) in dlang_identifier() 669 else if (strncmp (mangled, "__InterfaceZ", i+1) == 0) in dlang_identifier() 677 else if (strncmp (mangled, "__ModuleInfoZ", i+1) == 0) in dlang_identifier() 817 if (strncmp (mangled, "NAN", 3) == 0) in dlang_parse_real() [all …]
|
D | aclocal.m4 | 7 dnl See whether strncmp reads past the end of its string parameters. 8 dnl On some versions of SunOS4 at least, strncmp reads a word at a time 13 AC_CACHE_CHECK([for working strncmp], ac_cv_func_strncmp_works, 16 Check whether strncmp reads past the end of its string parameters. */ 69 strncmp (r, q, 14); 78 AC_LIBOBJ([strncmp])
|
D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0) in strstr()
|
D | setenv.c | 98 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') in setenv() 174 if (!strncmp (*ep, name, len) && (*ep)[len] == '=') in unsetenv()
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
D | plugin_test.c | 296 if (len < 13 || strncmp(buf, "\nSymbol table", 13) != 0) in claim_file_hook() 321 if (strncmp(info.bind, "LOCAL", 5) == 0) in claim_file_hook() 324 weak = strncmp(info.bind, "WEAK", 4) == 0; in claim_file_hook() 325 if (strncmp(info.sect, "UND", 3) == 0) in claim_file_hook() 327 else if (strncmp(info.sect, "COM", 3) == 0) in claim_file_hook() 332 if (strncmp(info.vis, "INTERNAL", 8) == 0) in claim_file_hook() 334 else if (strncmp(info.vis, "HIDDEN", 6) == 0) in claim_file_hook() 336 else if (strncmp(info.vis, "PROTECTED", 9) == 0) in claim_file_hook() 525 if (len < 13 || strncmp(buf, "\nSymbol table", 13) != 0) in all_symbols_read_hook() 543 if (strncmp(info.type, "FILE", 4) == 0) in all_symbols_read_hook()
|
/toolchain/binutils/binutils-2.25/gas/ |
D | listing.c | 323 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 324 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 435 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 436 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 1171 if (strncmp (line, "def", 3) == 0) in debugging_pseudo() 1173 if (strncmp (line, "val", 3) == 0) in debugging_pseudo() 1175 if (strncmp (line, "scl", 3) == 0) in debugging_pseudo() 1177 if (strncmp (line, "line", 4) == 0) in debugging_pseudo() 1179 if (strncmp (line, "endef", 5) == 0) in debugging_pseudo() 1181 if (strncmp (line, "ln", 2) == 0) in debugging_pseudo() [all …]
|
D | input-file.c | 172 && !strncmp (buf, "O_APP", 5) && ISSPACE (buf[5])) in input_file_open() 182 && !strncmp (buf, "PP", 2) && ISSPACE (buf[2])) in input_file_open()
|
D | ehopt.c | 122 if (strncmp (segment_name (now_seg), ".debug_frame", 12) == 0) in get_cie_info() 287 if (strncmp (segment_name (now_seg), ".eh_frame", 9) == 0 in check_eh_frame() 290 else if (strncmp (segment_name (now_seg), ".debug_frame", 12) == 0) in check_eh_frame()
|
/toolchain/binutils/binutils-2.25/ld/ |
D | testplug.c | 316 if (!strncmp ("fail", opt, 4)) in parse_option() 318 else if (!strncmp ("pass", opt, 4)) in parse_option() 320 else if (!strncmp ("register", opt, 8)) in parse_option() 322 else if (!strncmp ("noregister", opt, 10)) in parse_option() 324 else if (!strncmp ("claim:", opt, 6)) in parse_option() 326 else if (!strncmp ("sym:", opt, 4)) in parse_option() 328 else if (!strncmp ("add:", opt, 4)) in parse_option() 330 else if (!strncmp ("lib:", opt, 4)) in parse_option() 332 else if (!strncmp ("dir:", opt, 4)) in parse_option()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | elfcomm.h | 57 #define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0) 58 #define const_strneq(a,b) (strncmp ((a), (b), sizeof (b) - 1) == 0)
|
/toolchain/binutils/binutils-2.25/gprof/ |
D | corefile.c | 101 if (!strncmp (dummy, "No symbols in ", 14)) in read_function_mappings() 135 if (!strncmp (dummy, "No symbols in ", 14)) in read_function_mappings() 409 && strncmp (name, CLONE_NAME, CLONE_NAME_LEN) == 0) in core_sym_class() 413 && strncmp (name, CONSTPROP_NAME, CONSTPROP_NAME_LEN) == 0) in core_sym_class() 439 || !strncmp (sym->name, "__gnu_compiled", 14) in core_sym_class() 440 || !strncmp (sym->name, "___gnu_compiled", 15)) in core_sym_class()
|
/toolchain/binutils/binutils-2.25/gold/ |
D | compressed_output.cc | 158 && strncmp(reinterpret_cast<const char*>(compressed_data), in get_uncompressed_size() 178 && strncmp(reinterpret_cast<const char*>(compressed_data), in decompress_input_section()
|
D | layout.h | 746 { return strncmp(name, ".gnu.linkonce", sizeof(".gnu.linkonce") - 1) == 0; } in is_linkonce() 758 return (strncmp(name, ".debug", sizeof(".debug") - 1) == 0 in is_debug_info_section() 759 || strncmp(name, ".zdebug", sizeof(".zdebug") - 1) == 0 in is_debug_info_section() 760 || strncmp(name, ".gnu.linkonce.wi.", in is_debug_info_section() 762 || strncmp(name, ".line", sizeof(".line") - 1) == 0 in is_debug_info_section() 763 || strncmp(name, ".stab", sizeof(".stab") - 1) == 0); in is_debug_info_section()
|