Lines Matching defs:terminal
141 /* @label_terminal: terminal character of a label, updated to point to the terminal character of
145 const char *terminal;
160 terminal = *label_terminal;
161 assert(*terminal == '.' || *terminal == 0);
163 /* Skip current terminal character (and accept domain names ending it ".") */
164 if (*terminal == 0)
165 terminal--;
166 if (terminal >= name && *terminal == '.')
167 terminal--;
169 /* Point name to the last label, and terminal to the preceding terminal symbol (or make it a NULL pointer) */
171 if (terminal < name) {
173 terminal = NULL;
178 if (*terminal == '.') {
182 for (y = terminal - 1; y >= name && *y == '\\'; y--)
187 name = terminal + 1;
190 terminal = y;
195 terminal --;
202 *label_terminal = terminal;