Lines Matching refs:name
38 int regno, char *name, size_t namelen,
42 if (name == NULL)
72 name[0] = 'r';
73 name[1] = regno + '0';
78 name[0] = 'r';
79 name[1] = regno / 10 + '0';
80 name[2] = regno % 10 + '0';
85 name[0] = 'f';
86 name[1] = (regno - 32) + '0';
91 name[0] = 'f';
92 name[1] = (regno - 32) / 10 + '0';
93 name[2] = (regno - 32) % 10 + '0';
98 return stpcpy (name, "cr") + 1 - name;
100 return stpcpy (name, "fpscr") + 1 - name;
102 return stpcpy (name, "msr") + 1 - name;
104 return stpcpy (name, "vscr") + 1 - name;
107 name[0] = 's';
108 name[1] = 'r';
109 name[2] = (regno - 70) + '0';
114 name[0] = 's';
115 name[1] = 'r';
116 name[2] = (regno - 70) / 10 + '0';
117 name[3] = (regno - 70) % 10 + '0';
122 return stpcpy (name, "xer") + 1 - name;
124 return stpcpy (name, "lr") + 1 - name;
126 return stpcpy (name, "ctr") + 1 - name;
128 return stpcpy (name, "dsisr") + 1 - name;
130 return stpcpy (name, "dar") + 1 - name;
132 return stpcpy (name, "dec") + 1 - name;
134 return stpcpy (name, "vrsave") + 1 - name;
136 return stpcpy (name, "spefscr") + 1 - name;
139 return stpcpy (name, "mq") + 1 - name;
142 name[0] = 's';
143 name[1] = 'p';
144 name[2] = 'r';
145 name[3] = (regno - 100) + '0';
152 name[0] = 's';
153 name[1] = 'p';
154 name[2] = 'r';
155 name[3] = (regno - 100) / 10 + '0';
156 name[4] = (regno - 100) % 10 + '0';
163 name[0] = 's';
164 name[1] = 'p';
165 name[2] = 'r';
166 name[3] = (regno - 100) / 100 + '0';
167 name[4] = ((regno - 100) % 100 / 10) + '0';
168 name[5] = (regno - 100) % 10 + '0';
173 name[0] = 'v';
174 name[1] = 'r';
175 name[2] = (regno - 1124) + '0';
180 name[0] = 'v';
181 name[1] = 'r';
182 name[2] = (regno - 1124) / 10 + '0';
183 name[3] = (regno - 1124) % 10 + '0';
192 name[namelen++] = '\0';