• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/

Lines Matching defs:string

30 #include <string.h>
69 8. Concatenates adjacent string literals to form single string
707 string literal with a space character. We need to remember the
708 comment for later, because it may be attached to a keyword string.
824 char *string; /* for token_type_name, token_type_string_literal */
851 between the user requesting a newline in the string (e.g. using
852 "\n" or "\012") from the user failing to terminate the string or
862 stuff. Could I have a ``gcc -Wnewline-in-string'' option, or
863 better yet a ``gcc -fno-newline-in-string'' option, please? Gcc is
864 also inconsistent between string literals and character constants:
988 free (tp->string);
1015 tp->string = NULL;
1099 tp->string = xstrdup (buffer);
1207 /* We could worry about the 'L' before wide string constants,
1208 but since gettext's argument is not a wide character string,
1218 error (0, 0, _("%s:%d: warning: unterminated string literal"),
1242 tp->string = xstrdup (buffer);
1388 && strcmp (tp->string, "define") == 0)
1404 && strcmp (buf[0].string, "line") == 0
1408 logical_file_name = xstrdup (buf[2].string);
1414 logical_file_name = xstrdup (buf[1].string);
1441 /* 8a. Convert ISO C 99 section 7.8.1 format string directives to string
1444 /* Test for an ISO C 99 section 7.8.1 format string directive. */
1487 if (tp->type == token_type_name && is_inttypes_macro (tp->string))
1490 char *new_string = xasprintf ("<%s>", tp->string);
1491 free (tp->string);
1492 tp->string = new_string;
1518 /* We have to track the last occurrence of a string. One
1543 /* 8c. In ObjectiveC mode, drop '@' before a literal string. We need to
1544 do this before performing concatenation of adjacent string literals. */
1559 /* Drop the '@' token and return immediately the following string. */
1573 /* 8. Concatenate adjacent string literals to form single string
1594 len = strlen (tp->string);
1595 tp->string = xrealloc (tp->string, len + strlen (tmp.string) + 1);
1596 strcpy (tp->string + len, tmp.string);
1629 char *string;
1663 token.string, strlen (token.string),
1674 tp->string = token.string;
1705 tp->string = token.string;
1733 a keyword, followed by a left paren, followed by a string. When we
1796 token.string, strlen (token.string)));
1799 size_t token_string_len = strlen (token.string);
1800 token.string = xrealloc (token.string, token_string_len + 2);
1801 token.string[token_string_len] = ':';
1802 token.string[token_string_len + 1] = '\0';
1807 token.string, token_string_len + 1));
1809 free (token.string);
1861 remember_a_message (mlp, NULL, token.string, inner_context,
1864 arglist_parser_remember (argparser, arg, token.string,