Home | History | Annotate | Download | only in config

Lines Matching defs:c_str

695 is_internal_label (const char *c_str)
699 if (*c_str != ':')
701 c_str++;
702 if (!('0' <= *c_str && *c_str <= '9'))
704 while ('0' <= *c_str && *c_str <= '9')
705 c_str++;
706 if (*c_str != 'b' && *c_str != 'f')
708 c_str++;
709 return *c_str == '\0';
716 is_label (const char *c_str)
718 if (is_internal_label (c_str))
720 else if ('0' <= *c_str && *c_str <= '9')
723 while ('0' <= *c_str && *c_str <= '9')
724 c_str++;
725 return *c_str == 'b' || *c_str == 'f';
727 else if (is_name_beginner (*c_str))
730 c_str++;
731 while (is_part_of_name (*c_str))
732 c_str++;
733 return *c_str == '\0';
740 is_label_with_addend (const char *c_str)
742 if (is_internal_label (c_str))
744 else if ('0' <= *c_str && *c_str <= '9')
747 while ('0' <= *c_str && *c_str <= '9')
748 c_str++;
749 if (*c_str == 'b' || *c_str == 'f')
750 c_str++;
753 return *c_str == '\0'
754 || ((*c_str == '-' || *c_str == '+')
755 && is_unsigned (c_str + 1));
757 else if (is_name_beginner (*c_str))
760 c_str++;
761 while (is_part_of_name (*c_str))
762 c_str++;
763 return *c_str == '\0'
764 || ((*c_str == '-' || *c_str == '+')
765 && is_unsigned (c_str + 1));
1309 /* Ask helper for returning a malloced c_str or NULL. */
1410 * empty c_str. */
1500 char *c_str = loongarch_expand_macro (the_one.insn->macro,
1505 loongarch_assemble_INSNs (c_str, new_expand_from_macro);
1506 free (c_str);