Lines Matching refs:tmp
303 char *tmp; in parse_expression() local
305 tmp = input_line_pointer; /* Save line pointer. */ in parse_expression()
309 input_line_pointer = tmp; /* Restore line pointer. */ in parse_expression()
325 char *tmp; in tic54x_asg() local
363 tmp = xmalloc (strlen (str) + 1); in tic54x_asg()
364 strcpy (tmp, str); in tic54x_asg()
365 str = tmp; in tic54x_asg()
366 tmp = xmalloc (strlen (name) + 1); in tic54x_asg()
367 strcpy (tmp, name); in tic54x_asg()
368 name = tmp; in tic54x_asg()
387 char valuestr[32], *tmp; in tic54x_eval() local
416 tmp = xmalloc (strlen (name) + 1); in tic54x_eval()
417 name = strcpy (tmp, name); in tic54x_eval()
435 tmp = xmalloc (strlen (valuestr) + 1); in tic54x_eval()
436 strcpy (tmp, valuestr); in tic54x_eval()
437 subsym_create_or_replace (name, tmp); in tic54x_eval()
1878 char *tmp = NULL; in tic54x_set_default_include() local
1887 tmp = strrchr (dir, '/'); in tic54x_set_default_include()
1889 if (tmp != NULL) in tic54x_set_default_include()
1893 *tmp = '\0'; in tic54x_set_default_include()
2583 char *tmp = strchr (a, val); in subsym_firstch() local
2585 return tmp ? tmp - a + 1 : 0; in subsym_firstch()
2594 char *tmp = strrchr (a, val); in subsym_lastch() local
2596 return tmp ? tmp - a + 1 : 0; in subsym_lastch()
3002 char *tmp = xstrdup (A_DIR); in md_begin() local
3006 char *next = strchr (tmp, ';'); in md_begin()
3010 add_include_dir (tmp); in md_begin()
3011 tmp = next; in md_begin()
3013 while (tmp != NULL); in md_begin()
3264 char *tmp = operand->buf + 3; in is_dual() local
3268 arf = *tmp++ - '0'; in is_dual()
3270 valid_mod = *tmp == '\0' || in is_dual()
3271 strcasecmp (tmp, "-") == 0 || in is_dual()
3272 strcasecmp (tmp, "+") == 0 || in is_dual()
3273 strcasecmp (tmp, "+0%") == 0; in is_dual()
4421 char *tmp; in subsym_substitute() local
4459 tmp = strstr (ptr + 2, "\"\"\""); in subsym_substitute()
4460 if (tmp) in subsym_substitute()
4461 tmp[0] = '\\'; in subsym_substitute()
4475 tmp = xmalloc (strlen (head) + 2 + strlen (ptr) + 1); in subsym_substitute()
4476 sprintf (tmp, "%s==%s", head, ptr); in subsym_substitute()
4478 ptr = tmp + strlen (head) + 2; in subsym_substitute()
4480 head = replacement = tmp; in subsym_substitute()
4719 tmp = xmalloc (strlen (head) + strlen (value) + in subsym_substitute()
4721 strcpy (tmp, head); in subsym_substitute()
4722 strcat (tmp, value); in subsym_substitute()
4736 strcat (tmp, tail); in subsym_substitute()
4738 ptr = tmp + strlen (head) + strlen (value); in subsym_substitute()
4740 head = replacement = tmp; in subsym_substitute()
4791 char *tmp = replacement; in tic54x_start_line_hook() local
4816 while (ISSPACE (tmp[0]) && ISSPACE (tmp[1])) in tic54x_start_line_hook()
4817 ++tmp; in tic54x_start_line_hook()
4820 input_scrub_insert_line (tmp); in tic54x_start_line_hook()
4905 char *tmp = strstr (line, "||"); in md_assemble() local
4906 if (tmp != NULL) in md_assemble()
4907 *tmp = '\0'; in md_assemble()
4914 if (tmp != NULL) in md_assemble()
4916 while (ISSPACE (tmp[2])) in md_assemble()
4917 ++tmp; in md_assemble()
4918 md_assemble (tmp + 2); in md_assemble()