Home | History | Annotate | Download | only in libiberty

Lines Matching defs:string

40 #include <string.h>
53 /* A mini string-handling package */
55 typedef struct string /* Beware: these aren't required to be */
57 char *b; /* pointer to start of string */
60 } string;
63 string_need (string *s, int n)
88 string_delete (string *s)
98 string_init (string *s)
104 string_length (string *s)
114 string_setlength (string *s, int n)
123 string_append (string *p, const char *s)
132 string_appendn (string *p, const char *s, int n)
143 string_prependn (string *p, const char *s, int n)
160 string_prepend (string *p, const char *s)
169 static const char *dlang_function_args (string *, const char *);
171 static const char *dlang_type (string *, const char *);
173 static const char *dlang_value (string *, const char *, const char *, char);
175 static const char *dlang_parse_symbol (string *, const char *);
177 static const char *dlang_parse_tuple (string *, const char *);
179 static const char *dlang_parse_template (string *, const char *, long);
183 Return the remaining string on success or NULL on failure. */
185 dlang_call_convention (string *decl, const char *mangled)
219 Return the remaining string on success or NULL on failure. */
221 dlang_attributes (string *decl, const char *mangled)
275 Return the remaining string on success or NULL on failure. */
277 dlang_function_type (string *decl, const char *mangled)
279 string attr, args, type;
285 /* The order of the mangled string is:
288 The demangled string is re-ordered as:
324 Return the remaining string on success or NULL on failure. */
326 dlang_function_args (string *decl, const char *mangled)
378 Return the remaining string on success or NULL on failure. */
380 dlang_type (string *decl, const char *mangled)
450 string type;
598 Return the remaining string on success or NULL on failure. */
600 dlang_identifier (string *decl, const char *mangled)
697 Return the remaining string on success or NULL on failure. */
699 dlang_parse_integer (string *decl, const char *mangled, char type)
807 Return the remaining string on success or NULL on failure. */
809 dlang_parse_real (string *decl, const char *mangled)
906 /* Extract the string value from MANGLED and append it to DECL.
907 Return the remaining string on success or NULL on failure. */
909 dlang_parse_string (string *decl, const char *mangled)
950 Return the remaining string on success or NULL on failure. */
952 dlang_parse_arrayliteral (string *decl, const char *mangled)
974 Return the remaining string on success or NULL on failure. */
976 dlang_parse_assocarray (string *decl, const char *mangled)
1001 Return the remaining string on success or NULL on failure. */
1003 dlang_parse_structlit (string *decl, const char *mangled, const char *name)
1028 Return the remaining string on success or NULL on failure. */
1030 dlang_value (string *decl, const char *mangled, const char *name, char type)
1078 /* String values. */
1138 dlang_parse_symbol (string *decl, const char *mangled)
1181 Return the remaining string on success or NULL on failure. */
1183 dlang_parse_tuple (string *decl, const char *mangled)
1206 Return the remaining string on success or NULL on failure. */
1208 dlang_template_args (string *decl, const char *mangled)
1236 string name;
1267 dlang_parse_template (string *decl, const char *mangled, long len)
1306 string decl;