Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-pdp11.c308 skip_whitespace (char *str) in skip_whitespace() argument
310 while (*str == ' ' || *str == '\t') in skip_whitespace()
311 str++; in skip_whitespace()
312 return str; in skip_whitespace()
316 find_whitespace (char *str) in find_whitespace() argument
318 while (*str != ' ' && *str != '\t' && *str != 0) in find_whitespace()
319 str++; in find_whitespace()
320 return str; in find_whitespace()
324 parse_reg (char *str, struct pdp11_code *operand) in parse_reg() argument
326 str = skip_whitespace (str); in parse_reg()
[all …]
Dtc-score.c60 static void s3_assemble (char *str);
266 #define s3_skip_whitespace(str) while (*(str) == ' ') ++(str) argument
296 #define s3_INSN_IS_PCE_P(s) (strstr (str, "||") != NULL)
297 #define s3_INSN_IS_48_P(s) (strstr (str, "48") != NULL)
391 char str[s3_MAX_LITERAL_POOL_SIZE]; member
1014 s3_end_of_line (char *str) in s3_end_of_line() argument
1018 s3_skip_whitespace (str); in s3_end_of_line()
1019 if (*str != '\0') in s3_end_of_line()
1062 s3_reg_required_here (char **str, int shift, enum s3_score_reg_type reg_type) in s3_reg_required_here() argument
1066 char *start = *str; in s3_reg_required_here()
[all …]
Dtc-score7.c108 #define s7_skip_whitespace(str) while (*(str) == ' ') ++(str) argument
139 #define s7_INSN_IS_PCE_P(s) (strstr (str, "||") != NULL)
454 char str[s7_MAX_LITERAL_POOL_SIZE]; member
1100 s7_end_of_line (char *str) in s7_end_of_line() argument
1104 s7_skip_whitespace (str); in s7_end_of_line()
1105 if (*str != '\0') in s7_end_of_line()
1147 s7_reg_required_here (char **str, int shift, enum s7_score_reg_type reg_type) in s7_reg_required_here() argument
1151 char *start = *str; in s7_reg_required_here()
1153 if ((reg = s7_score_reg_parse (str, s7_all_reg_maps[reg_type].htab)) != (int) s7_FAIL) in s7_reg_required_here()
1177 *str = start; in s7_reg_required_here()
[all …]
Dtc-avr.c539 char str[20]; in avr_set_arch() local
541 input_line_pointer = extract_word (input_line_pointer, str, 20); in avr_set_arch()
542 md_parse_option (OPTION_MMCU, str); in avr_set_arch()
662 avr_get_constant (char *str, int max) in avr_get_constant() argument
666 str = skip_space (str); in avr_get_constant()
667 input_line_pointer = str; in avr_get_constant()
684 char *str = input_line_pointer; in avr_offset_expression() local
688 tmp = str; in avr_offset_expression()
689 str = extract_word (str, op, sizeof (op)); in avr_offset_expression()
726 char *str = input_line_pointer; in avr_ldi_expression() local
[all …]
Dtc-aarch64.c494 #define skip_whitespace(str) do { if (*(str) == ' ') ++(str); } while (0) argument
497 skip_past_char (char **str, char c) in skip_past_char() argument
499 if (**str == c) in skip_past_char()
501 (*str)++; in skip_past_char()
508 #define skip_past_comma(str) skip_past_char (str, ',') argument
523 my_get_expression (expressionS * ep, char **str, int prefix_mode, in my_get_expression() argument
535 if (is_immediate_prefix (**str)) in my_get_expression()
537 (*str)++; in my_get_expression()
548 input_line_pointer = *str; in my_get_expression()
556 *str = input_line_pointer; in my_get_expression()
[all …]
Dtc-ns32k.c379 char *str; in addr_mode() local
396 str = operand; in addr_mode()
398 if (str[0] == 0) in addr_mode()
401 strl = strlen (str); in addr_mode()
403 switch (str[0]) in addr_mode()
409 if (str[strl - 1] == ']') in addr_mode()
412 addrmodeP->disp[0] = str + 1; in addr_mode()
417 if (str[strl - 1] == ']') in addr_mode()
420 addrmodeP->disp[0] = str + 1; in addr_mode()
424 if (str[strl - 1] != ']') in addr_mode()
[all …]
Dm68k-parse.y678 static char *str;
759 if (*str == ' ') in yylex()
760 ++str; in yylex()
762 if (*str == '\0') in yylex()
766 switch (*str) in yylex()
772 if (ISDIGIT (str[1]) in yylex()
773 || ((str[1] == '+' || str[1] == '-') in yylex()
774 && ISDIGIT (str[2]))) in yylex()
787 return *str++; in yylex()
792 if (str[1] == '\0' || (str[1] == '&' && str[2] == '\0')) in yylex()
[all …]
Dtc-dlx.c316 dlx_parse_loadop (char * str) in dlx_parse_loadop() argument
318 char *ptr = str; in dlx_parse_loadop()
332 as_bad (_("Bad operand for a load instruction: <%s>"), str); in dlx_parse_loadop()
343 switch (str[idx]) in dlx_parse_loadop()
366 for (pb = idx - 1; str[pb] != match; pb -= 1) in dlx_parse_loadop()
370 if (str[pb] == endm || pb < (idx - 5)) in dlx_parse_loadop()
375 rs1[i] = str[pb+i]; in dlx_parse_loadop()
396 for (i = 0; i < 7 && str[i] != ','; i++) in dlx_parse_loadop()
399 if (str[i] != ',') in dlx_parse_loadop()
434 dlx_parse_storeop (char * str) in dlx_parse_storeop() argument
[all …]
Dtc-s390.c686 char *str; in s390_tls_suffix() local
690 str = *str_p; in s390_tls_suffix()
691 if (*str++ != ':') in s390_tls_suffix()
694 ident = str; in s390_tls_suffix()
695 while (ISIDNUM (*str)) in s390_tls_suffix()
696 str++; in s390_tls_suffix()
697 len = str - ident; in s390_tls_suffix()
698 if (*str++ != ':') in s390_tls_suffix()
702 input_line_pointer = str; in s390_tls_suffix()
704 str = input_line_pointer; in s390_tls_suffix()
[all …]
Dtc-mn10200.c877 md_assemble (char *str) in md_assemble() argument
890 for (s = str; *s != '\0' && !ISSPACE (*s); s++) in md_assemble()
896 opcode = (struct mn10200_opcode *) hash_find (mn10200_hash, str); in md_assemble()
899 as_bad (_("Unrecognized opcode: `%s'"), str); in md_assemble()
903 str = s; in md_assemble()
904 while (ISSPACE (*str)) in md_assemble()
905 ++str; in md_assemble()
907 input_line_pointer = str; in md_assemble()
941 while (*str == ' ' || *str == ',') in md_assemble()
942 ++str; in md_assemble()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/
Dldst-reg-imm-post-ind.d8 0: 3c1007e7 str b7, \[sp\],#-256
9 4: 3c1557e7 str b7, \[sp\],#-171
10 8: 3c0007e7 str b7, \[sp\],#0
11 c: 3c0027e7 str b7, \[sp\],#2
12 10: 3c0047e7 str b7, \[sp\],#4
13 14: 3c0087e7 str b7, \[sp\],#8
14 18: 3c0107e7 str b7, \[sp\],#16
15 1c: 3c0557e7 str b7, \[sp\],#85
16 20: 3c0ff7e7 str b7, \[sp\],#255
17 24: 7c1007e7 str h7, \[sp\],#-256
[all …]
Dldst-reg-imm-pre-ind.d8 0: 3c100fe7 str b7, \[sp,#-256\]!
9 4: 3c155fe7 str b7, \[sp,#-171\]!
10 8: 3c000fe7 str b7, \[sp,#0\]!
11 c: 3c002fe7 str b7, \[sp,#2\]!
12 10: 3c004fe7 str b7, \[sp,#4\]!
13 14: 3c008fe7 str b7, \[sp,#8\]!
14 18: 3c010fe7 str b7, \[sp,#16\]!
15 1c: 3c055fe7 str b7, \[sp,#85\]!
16 20: 3c0fffe7 str b7, \[sp,#255\]!
17 24: 7c100fe7 str h7, \[sp,#-256\]!
[all …]
Dldst-reg-reg-offset.d8 0: 3c274be7 str b7, \[sp,w7,uxtw\]
9 4: 3c275be7 str b7, \[sp,w7,uxtw #0\]
10 8: 7c274be7 str h7, \[sp,w7,uxtw\]
11 c: 7c275be7 str h7, \[sp,w7,uxtw #1\]
12 10: bc274be7 str s7, \[sp,w7,uxtw\]
13 14: bc275be7 str s7, \[sp,w7,uxtw #2\]
14 18: fc274be7 str d7, \[sp,w7,uxtw\]
15 1c: fc275be7 str d7, \[sp,w7,uxtw #3\]
16 20: 3ca74be7 str q7, \[sp,w7,uxtw\]
17 24: 3ca75be7 str q7, \[sp,w7,uxtw #4\]
[all …]
Dldst-reg-uns-imm.d10 8: 3d0003e7 str b7, \[sp\]
11 c: 3d0003e7 str b7, \[sp\]
12 10: 3d000be7 str b7, \[sp,#2\]
13 14: 3d0013e7 str b7, \[sp,#4\]
14 18: 3d0023e7 str b7, \[sp,#8\]
15 1c: 3d0043e7 str b7, \[sp,#16\]
16 20: 3d0157e7 str b7, \[sp,#85\]
17 24: 3d03ffe7 str b7, \[sp,#255\]
18 28: 3d3fffe7 str b7, \[sp,#4095\]
21 34: 7d0003e7 str h7, \[sp\]
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Di386-gen.c628 remove_leading_whitespaces (char *str) in remove_leading_whitespaces() argument
630 while (ISSPACE (*str)) in remove_leading_whitespaces()
631 str++; in remove_leading_whitespaces()
632 return str; in remove_leading_whitespaces()
638 remove_trailing_whitespaces (char *str) in remove_trailing_whitespaces() argument
640 size_t last = strlen (str); in remove_trailing_whitespaces()
648 if (ISSPACE (str [last])) in remove_trailing_whitespaces()
649 str[last] = '\0'; in remove_trailing_whitespaces()
660 next_field (char *str, char sep, char **next, char *last) in next_field() argument
664 p = remove_leading_whitespaces (str); in next_field()
[all …]
Ds390-mkopc.c76 char *str; in insertOpcode() local
88 str = opcode; in insertOpcode()
91 if (*str >= '0' && *str <= '9') in insertOpcode()
92 sort_value = (sort_value << 4) + (*str - '0'); in insertOpcode()
93 else if (*str >= 'a' && *str <= 'f') in insertOpcode()
94 sort_value = (sort_value << 4) + (*str - 'a' + 10); in insertOpcode()
95 else if (*str >= 'A' && *str <= 'F') in insertOpcode()
96 sort_value = (sort_value << 4) + (*str - 'A' + 10); in insertOpcode()
97 else if (*str == '?') in insertOpcode()
101 str ++; in insertOpcode()
[all …]
Dxstormy16-asm.c443 const char *str = *strp; in parse_insn_normal() local
457 while (*p && TOLOWER (*p) == TOLOWER (*str)) in parse_insn_normal()
458 ++p, ++str; in parse_insn_normal()
464 if (* str && ! ISSPACE (* str)) in parse_insn_normal()
493 if (TOLOWER (*str) == TOLOWER (CGEN_SYNTAX_CHAR (* syn))) in parse_insn_normal()
500 ++ str; in parse_insn_normal()
502 else if (*str) in parse_insn_normal()
509 CGEN_SYNTAX_CHAR(*syn), *str); in parse_insn_normal()
529 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields); in parse_insn_normal()
544 while (ISSPACE (* str)) in parse_insn_normal()
[all …]
/toolchain/binutils/binutils-2.25/bfd/doc/
DMakefile.am98 aoutx.stamp: $(srcdir)/../aoutx.h $(srcdir)/doc.str $(MKDOC)
99 ./$(MKDOC) -f $(srcdir)/doc.str < $< >aoutx.tmp
104 archive.stamp: $(srcdir)/../archive.c $(srcdir)/doc.str $(MKDOC)
105 ./$(MKDOC) -f $(srcdir)/doc.str < $< >archive.tmp
110 archures.stamp: $(srcdir)/../archures.c $(srcdir)/doc.str $(MKDOC)
111 ./$(MKDOC) -f $(srcdir)/doc.str < $< >archures.tmp
118 bfdt.stamp: $(srcdir)/../bfd.c $(srcdir)/doc.str $(MKDOC)
119 ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfd.tmp
124 cache.stamp: $(srcdir)/../cache.c $(srcdir)/doc.str $(MKDOC)
125 ./$(MKDOC) -f $(srcdir)/doc.str < $< >cache.tmp
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
Dldst-offset0.s34 str r1, [r2, #-0]
35 str r1, [r2, #-1+1]
37 str r1, [r2, #1-1]
38 str r1, [r2, #0]
40 str r1, [r2, #-0]!
41 str r1, [r2, #-1+1]!
43 str r1, [r2, #1-1]!
44 str r1, [r2, #0]!
46 str r1, [r2], #-0
47 str r1, [r2], #-1+1
[all …]
Dldst-offset0.d29 0+04c <[^>]*> e5021000 str r1, \[r2, #-0\]
30 0+050 <[^>]*> e5021000 str r1, \[r2, #-0\]
31 0+054 <[^>]*> e5821000 str r1, \[r2\]
32 0+058 <[^>]*> e5821000 str r1, \[r2\]
33 0+05c <[^>]*> e5221000 str r1, \[r2, #-0\]!
34 0+060 <[^>]*> e5221000 str r1, \[r2, #-0\]!
35 0+064 <[^>]*> e5a21000 str r1, \[r2, #0\]!
36 0+068 <[^>]*> e5a21000 str r1, \[r2, #0\]!
37 0+06c <[^>]*> e4021000 str r1, \[r2\], #-0
38 0+070 <[^>]*> e4021000 str r1, \[r2\], #-0
[all …]
Dgroup-reloc-ldr.d20 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
22 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
24 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
26 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
28 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
30 0[0-9a-f]+ <[^>]+> e5800fff str r0, \[r0, #4095\].*
68 0[0-9a-f]+ <[^>]+> e5000fff str r0, \[r0, #-4095\].*
70 0[0-9a-f]+ <[^>]+> e5000fff str r0, \[r0, #-4095\].*
72 0[0-9a-f]+ <[^>]+> e5000fff str r0, \[r0, #-4095\].*
74 0[0-9a-f]+ <[^>]+> e5000fff str r0, \[r0, #-4095\].*
[all …]
Dthumb2_ldmstm.d21 0[0-9a-f]+ <[^>]+> f84d 9b04 str.w r9, \[sp\], #4
22 0[0-9a-f]+ <[^>]+> f8c3 c000 str.w ip, \[r3\]
23 0[0-9a-f]+ <[^>]+> f844 cb04 str.w ip, \[r4\], #4
24 0[0-9a-f]+ <[^>]+> f84d 3d04 str.w r3, \[sp, #-4\]!
25 0[0-9a-f]+ <[^>]+> f84d 9d04 str.w r9, \[sp, #-4\]!
26 0[0-9a-f]+ <[^>]+> f847 5c04 str.w r5, \[r7, #-4\]
27 0[0-9a-f]+ <[^>]+> f846 cc04 str.w ip, \[r6, #-4\]
28 0[0-9a-f]+ <[^>]+> f846 bd04 str.w fp, \[r6, #-4\]!
29 0[0-9a-f]+ <[^>]+> f845 8d04 str.w r8, \[r5, #-4\]!
50 0[0-9a-f]+ <[^>]+> f840 1b04 str.w r1, \[r0\], #4
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dfilemode.c107 mode_string (unsigned long mode, char *str) in mode_string() argument
109 str[0] = ftypelet ((unsigned long) mode); in mode_string()
110 str[1] = (mode & S_IRUSR) != 0 ? 'r' : '-'; in mode_string()
111 str[2] = (mode & S_IWUSR) != 0 ? 'w' : '-'; in mode_string()
112 str[3] = (mode & S_IXUSR) != 0 ? 'x' : '-'; in mode_string()
113 str[4] = (mode & S_IRGRP) != 0 ? 'r' : '-'; in mode_string()
114 str[5] = (mode & S_IWGRP) != 0 ? 'w' : '-'; in mode_string()
115 str[6] = (mode & S_IXGRP) != 0 ? 'x' : '-'; in mode_string()
116 str[7] = (mode & S_IROTH) != 0 ? 'r' : '-'; in mode_string()
117 str[8] = (mode & S_IWOTH) != 0 ? 'w' : '-'; in mode_string()
[all …]
/toolchain/binutils/binutils-2.25/libiberty/
Dstrtod.c51 strtod (char *str, char **ptr) in strtod() argument
56 return atof (str); in strtod()
58 p = str; in strtod()
78 return atof (str); in strtod()
83 return atof (str); in strtod()
102 return atof (str); in strtod()
128 return atof (str); in strtod()
132 return atof (str); in strtod()
135 *ptr = str; in strtod()
/toolchain/binutils/binutils-2.25/intl/
Dlog.c31 print_escaped (stream, str) in print_escaped() argument
33 const char *str;
36 for (; *str != '\0'; str++)
37 if (*str == '\n')
40 if (str[1] == '\0')
46 if (*str == '"' || *str == '\\')
48 putc (*str, stream);

12345678910>>...18