/toolchain/binutils/binutils-2.27/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 …]
|
D | s390-mkopc.c | 377 if (strncmp (str, "esa", 3) == 0 in main() 381 } else if (strncmp (str, "zarch", 5) == 0 in main() 400 if (strncmp (str, "optparm", 7) == 0 in main() 404 } else if (strncmp (str, "htm", 3) == 0 in main() 408 } else if (strncmp (str, "vx", 2) == 0 in main()
|
/toolchain/binutils/binutils-2.27/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.27/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() 340 else if (strncmp (str, "sp", 2) == 0 in parse_reg() 341 || strncmp (str, "SP", 2) == 0) in parse_reg() 346 else if (strncmp (str, "pc", 2) == 0 in parse_reg() 347 || strncmp (str, "PC", 2) == 0) in parse_reg() 365 if (strncmp (str, "fr", 2) == 0 in parse_ac5() 366 || strncmp (str, "FR", 2) == 0 in parse_ac5() 367 || 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() 1904 if (strncmp (p->name, s, len) == 0) in sparc_ip() 1942 if (strncmp (p->name, s, len) == 0) in sparc_ip() 1980 if (strncmp (p->name, s, len) == 0) in sparc_ip() 2007 if (strncmp (s, "%asr", 4) == 0) in sparc_ip() 2154 if ((strncmp (s, "%icc", 4) == 0) in sparc_ip() 2155 || (sparc_arch_size == 32 && strncmp (s, "%ncc", 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 | 329 if (strncmp (input_line_pointer, "bss\"", 4) == 0) in elf_common_parse() 331 else if (strncmp (input_line_pointer, "data\"", 5) == 0) in elf_common_parse() 853 if (len == 8 && strncmp (str, "progbits", 8) == 0) in obj_elf_section_type() 855 if (len == 6 && strncmp (str, "nobits", 6) == 0) in obj_elf_section_type() 857 if (len == 4 && strncmp (str, "note", 4) == 0) in obj_elf_section_type() 859 if (len == 10 && strncmp (str, "init_array", 10) == 0) in obj_elf_section_type() 861 if (len == 10 && strncmp (str, "fini_array", 10) == 0) in obj_elf_section_type() 863 if (len == 13 && strncmp (str, "preinit_array", 13) == 0) in obj_elf_section_type() 895 if (len == 5 && strncmp (str, "write", 5) == 0) in obj_elf_section_word() 897 if (len == 5 && strncmp (str, "alloc", 5) == 0) in obj_elf_section_word() [all …]
|
D | tc-ns32k.c | 444 if ((!strncmp (str, "ext(", 4)) && strl > 7) in addr_mode() 498 if (!strncmp (str, "tos", 3)) in addr_mode() 515 if (!strncmp (&str[strl - 5], "(fp", 3)) in addr_mode() 517 else if (!strncmp (&str[strl - 5], "(sp", 3)) in addr_mode() 519 else if (!strncmp (&str[strl - 5], "(sb", 3)) in addr_mode() 570 if (!strncmp (&str[strl - 4], "(fp", 3)) in addr_mode() 572 else if (!strncmp (&str[strl - 4], "(sp", 3)) in addr_mode() 574 else if (!strncmp (&str[strl - 4], "(sb", 3)) in addr_mode() 576 else if (!strncmp (&str[strl - 4], "(pc", 3)) in addr_mode() 850 if (!strncmp (optionP[i].pattern, str, 20)) in list_search()
|
/toolchain/binutils/binutils-2.27/ld/ |
D | testplug4.c | 327 if (!strncmp ("fatal", opt, 5)) in parse_option() 332 else if (!strncmp ("error", opt, 5)) in parse_option() 337 else if (!strncmp ("warning", opt, 7)) in parse_option() 342 else if (!strncmp ("fail", opt, 4)) in parse_option() 344 else if (!strncmp ("pass", opt, 4)) in parse_option() 346 else if (!strncmp ("register", opt, 8)) in parse_option() 348 else if (!strncmp ("noregister", opt, 10)) in parse_option() 350 else if (!strncmp ("claim:", opt, 6)) in parse_option() 352 else if (!strncmp ("sym:", opt, 4)) in parse_option() 354 else if (!strncmp ("add:", opt, 4)) in parse_option() [all …]
|
D | testplug2.c | 327 if (!strncmp ("fatal", opt, 5)) in parse_option() 332 else if (!strncmp ("error", opt, 5)) in parse_option() 337 else if (!strncmp ("warning", opt, 7)) in parse_option() 342 else if (!strncmp ("fail", opt, 4)) in parse_option() 344 else if (!strncmp ("pass", opt, 4)) in parse_option() 346 else if (!strncmp ("register", opt, 8)) in parse_option() 348 else if (!strncmp ("noregister", opt, 10)) in parse_option() 350 else if (!strncmp ("claim:", opt, 6)) in parse_option() 352 else if (!strncmp ("sym:", opt, 4)) in parse_option() 354 else if (!strncmp ("add:", opt, 4)) in parse_option() [all …]
|
D | testplug.c | 318 if (!strncmp ("fail", opt, 4)) in parse_option() 320 else if (!strncmp ("pass", opt, 4)) in parse_option() 322 else if (!strncmp ("register", opt, 8)) in parse_option() 324 else if (!strncmp ("noregister", opt, 10)) in parse_option() 326 else if (!strncmp ("claim:", opt, 6)) in parse_option() 328 else if (!strncmp ("sym:", opt, 4)) in parse_option() 330 else if (!strncmp ("add:", opt, 4)) in parse_option() 332 else if (!strncmp ("lib:", opt, 4)) in parse_option() 334 else if (!strncmp ("dir:", opt, 4)) in parse_option()
|
D | testplug3.c | 321 if (!strncmp ("fail", opt, 4)) in parse_option() 323 else if (!strncmp ("pass", opt, 4)) in parse_option() 325 else if (!strncmp ("register", opt, 8)) in parse_option() 327 else if (!strncmp ("noregister", opt, 10)) in parse_option() 329 else if (!strncmp ("claim:", opt, 6)) in parse_option() 331 else if (!strncmp ("sym:", opt, 4)) in parse_option() 333 else if (!strncmp ("add:", opt, 4)) in parse_option() 335 else if (!strncmp ("lib:", opt, 4)) in parse_option() 337 else if (!strncmp ("dir:", opt, 4)) in parse_option()
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
D | plugin_test.c | 300 if (len < 13 || strncmp(buf, "\nSymbol table", 13) != 0) in claim_file_hook() 325 if (strncmp(info.bind, "LOCAL", 5) == 0) in claim_file_hook() 328 weak = strncmp(info.bind, "WEAK", 4) == 0; in claim_file_hook() 329 if (strncmp(info.sect, "UND", 3) == 0) in claim_file_hook() 331 else if (strncmp(info.sect, "COM", 3) == 0) in claim_file_hook() 336 if (strncmp(info.vis, "INTERNAL", 8) == 0) in claim_file_hook() 338 else if (strncmp(info.vis, "HIDDEN", 6) == 0) in claim_file_hook() 340 else if (strncmp(info.vis, "PROTECTED", 9) == 0) in claim_file_hook() 534 if (len < 13 || strncmp(buf, "\nSymbol table", 13) != 0) in all_symbols_read_hook() 552 if (strncmp(info.type, "FILE", 4) == 0) in all_symbols_read_hook()
|
/toolchain/binutils/binutils-2.27/gas/ |
D | listing.c | 321 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 322 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 430 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 in listing_newline() 431 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) in listing_newline() 1162 if (strncmp (line, "def", 3) == 0) in debugging_pseudo() 1164 if (strncmp (line, "val", 3) == 0) in debugging_pseudo() 1166 if (strncmp (line, "scl", 3) == 0) in debugging_pseudo() 1168 if (strncmp (line, "line", 4) == 0) in debugging_pseudo() 1170 if (strncmp (line, "endef", 5) == 0) in debugging_pseudo() 1172 if (strncmp (line, "ln", 2) == 0) in debugging_pseudo() [all …]
|
D | input-file.c | 174 && !strncmp (buf, "O_APP", 5) && ISSPACE (buf[5])) in input_file_open() 184 && !strncmp (buf, "PP", 2) && ISSPACE (buf[2])) in input_file_open()
|
/toolchain/binutils/binutils-2.27/libiberty/ |
D | d-demangle.c | 743 else if (strncmp (mangled, "_D", 2) == 0) in dlang_identifier() 768 if (len >= 5 && strncmp (mangled, "__T", 3) == 0) in dlang_identifier() 780 if (strncmp (mangled, "__ctor", len) == 0) in dlang_identifier() 787 else if (strncmp (mangled, "__dtor", len) == 0) in dlang_identifier() 794 else if (strncmp (mangled, "__initZ", len+1) == 0) in dlang_identifier() 801 else if (strncmp (mangled, "__vtblZ", len+1) == 0) in dlang_identifier() 812 if (strncmp (mangled, "__ClassZ", len+1) == 0) in dlang_identifier() 823 if (strncmp (mangled, "__postblitMFZ", len+3) == 0) in dlang_identifier() 833 if (strncmp (mangled, "__InterfaceZ", len+1) == 0) in dlang_identifier() 844 if (strncmp (mangled, "__ModuleInfoZ", len+1) == 0) in dlang_identifier() [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 | 96 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') in setenv() 172 if (!strncmp (*ep, name, len) && (*ep)[len] == '=') in unsetenv()
|
/toolchain/binutils/binutils-2.27/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.27/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.27/gold/ |
D | layout.h | 750 { return strncmp(name, ".gnu.linkonce", sizeof(".gnu.linkonce") - 1) == 0; } in is_linkonce() 762 return (strncmp(name, ".debug", sizeof(".debug") - 1) == 0 in is_debug_info_section() 763 || strncmp(name, ".zdebug", sizeof(".zdebug") - 1) == 0 in is_debug_info_section() 764 || strncmp(name, ".gnu.linkonce.wi.", in is_debug_info_section() 766 || strncmp(name, ".line", sizeof(".line") - 1) == 0 in is_debug_info_section() 767 || strncmp(name, ".stab", sizeof(".stab") - 1) == 0 in is_debug_info_section() 768 || strncmp(name, ".pdr", sizeof(".pdr") - 1) == 0); in is_debug_info_section()
|