Home | History | Annotate | Download | only in config

Lines Matching defs:c_str

688 is_internal_label (const char *c_str)
692 if (*c_str != ':')
694 c_str++;
695 if (!('0' <= *c_str && *c_str <= '9'))
697 while ('0' <= *c_str && *c_str <= '9')
698 c_str++;
699 if (*c_str != 'b' && *c_str != 'f')
701 c_str++;
702 return *c_str == '\0';
709 is_label (const char *c_str)
711 if (is_internal_label (c_str))
713 else if ('0' <= *c_str && *c_str <= '9')
716 while ('0' <= *c_str && *c_str <= '9')
717 c_str++;
718 return *c_str == 'b' || *c_str == 'f';
720 else if (is_name_beginner (*c_str))
723 c_str++;
724 while (is_part_of_name (*c_str))
725 c_str++;
726 return *c_str == '\0';
733 is_label_with_addend (const char *c_str)
735 if (is_internal_label (c_str))
737 else if ('0' <= *c_str && *c_str <= '9')
740 while ('0' <= *c_str && *c_str <= '9')
741 c_str++;
742 if (*c_str == 'b' || *c_str == 'f')
743 c_str++;
746 return *c_str == '\0'
747 || ((*c_str == '-' || *c_str == '+')
748 && is_unsigned (c_str + 1));
750 else if (is_name_beginner (*c_str))
753 c_str++;
754 while (is_part_of_name (*c_str))
755 c_str++;
756 return *c_str == '\0'
757 || ((*c_str == '-' || *c_str == '+')
758 && is_unsigned (c_str + 1));
1288 /* Ask helper for returning a malloced c_str or NULL. */
1377 * empty c_str. */
1435 char *c_str = loongarch_expand_macro (the_one.insn->macro,
1440 loongarch_assemble_INSNs (c_str, new_expand_from_macro);
1441 free (c_str);