Lines Matching defs:name

181    dump_names means pass #define and the macro name through to output.
391 char *fname; /* The name of the directory. */
409 /* For cross-compilation, this dir name is generated
478 Otherwise, if it is nonzero, it is a macro name.
487 include_hashtab is by full name; include_ino_hashtab is by inode number. */
597 /* This is the implicit parameter name when using variable number of
659 U_CHAR *name; /* the actual name */
724 /* In the definition of a #assert name, this structure forms
727 These are strings that are compared by name. */
742 U_CHAR *name; /* the actual name */
768 int length; /* Length of name */
770 char *name; /* Name of directive */
864 this is the macro name tested. */
1157 printf (" -std=<std name> Specify the conformance standard; one of:\n");
1188 printf (" -H Print the name of header files as they are used\n");
1232 /* File name which deps are being written to.
1239 /* Target-name to write with the dependency information. */
1318 /* Process switches and find input file name. */
1375 with the default prefix at the front of its name. */
1400 with the default prefix at the front of its name. */
1659 fatal ("Macro name missing after -D option");
1694 fatal ("Macro name missing after -U option");
1748 case '\0': /* JF handle '-' as file name meaning stdin or stdout */
2014 /* For -M, print the expected object file name
2245 /* Find the end of this name. */
2255 /* Advance past this name. */
2403 /* Like newline_fix but for use within a directive-name.
2505 * * Newline - follows a macro name that was not expanded
3284 register U_CHAR *p = hp->name;
3296 /* We found a use of a macro name.
3323 just copy its name and put in a marker if requested. */
3331 error ("recursive use of macro `%s'", hp->name);
3346 after the macro name. Then, if there is no '(',
3501 Discard the macro name from the output,
3728 /* Now find end of directive name.
3730 symbol-constituents so that we end up with a contiguous name. */
3786 error ("invalid preprocessing directive name");
3796 if (kt->length == ident_length && !bcmp (kt->name, ident, ident_length)) {
3942 /* Output directive name. */
3950 bcopy (kt->name, op->bufp, kt->length);
4087 /* Output directive name. */
4090 bcopy (kt->name, (char *) op->bufp, kt->length);
4094 /* Output `#define name' only. */
4166 hp->name);
4244 && hp->length == 8 && bcmp (hp->name, "__STDC__", 8) == 0
4250 fprintf (pcp_outfile, "#define %s %s\n", hp->name, buf);
4289 fprintf (pcp_outfile, "#define %s\n", hp->name);
4553 error ("`#%s' expects \"FILENAME\" or <FILENAME>", keyword->name);
4564 with an absolute file name. In that case, don't skip anything. */
4576 error ("empty file name in `#%s'", keyword->name);
4587 /* If specified file name is absolute, just open it. */
4777 it is the name of a file which resides either directly in a "system"
4798 /* Yield the non-directory suffix of a file name. */
4912 /* Trim . component at end of nonempty name. */
4939 such as DOS. The format of the file name map file is just a series
4940 of lines with two tokens on each line. The first token is the name
4941 to map, and the second token is the actual name to use. */
4984 /* Read the file name map file for DIRNAME.
4992 /* This structure holds a linked list of file name maps, one per
5002 char *name;
5017 name = (char *) alloca (dirlen + strlen (FILE_NAME_MAP_FILE) + 1);
5018 strcpy (name, dirname);
5019 strcat (name, FILE_NAME_MAP_FILE);
5020 f = fopen (name, "r");
5077 Return -2 if found, either a matching name or a matching inode.
5159 /* Return the remapped name of the include file FILENAME.
5207 If a file with different name but same dev+ino was already in the table,
5236 or 0 if the file name was absolute. */
5315 /* Must do this before calling trigraph_pcp, so that the correct file name
5363 FNAME indicates the file name of the original header.
5460 char *name;
5466 name = prec;
5469 len = prec - name;
5471 if (lookup ((U_CHAR *) name, len, -1))
5485 character past the end. NAME is the name of the file being read
5489 pcfinclude (buf, name, op)
5490 U_CHAR *buf, *name;
5539 str->filename = name;
5681 bcopy (keyword->name, (char *) op->bufp, keyword_length);
5708 U_CHAR *name;
5723 U_CHAR *symname; /* remember where symbol name starts */
5760 temp->name = bp;
5781 pedwarn ("invalid character in macro parameter name");
5784 /* Find the end of the arg name. */
5797 if (bp == temp->name && rest_args == 1)
5800 temp->name = (U_CHAR *) va_args_name;
5804 temp->length = bp - temp->name;
5833 && bcmp (temp->name, otemp->name, temp->length) == 0)
5835 error ("duplicate argument name `%.*s' in `#define'",
5836 temp->length, temp->name);
5840 && bcmp (temp->name, va_args_name, VA_ARGS_NAME_LENGTH) == 0)
5843 reserved name `%s' used as argument name in `#define'", va_args_name);
5863 bcopy (temp->name, &defn->args.argnames[i], temp->length);
5991 /* Check a purported macro name SYMNAME, and yield its length.
5992 ASSERTION is nonzero if this is really for an assertion name. */
6007 error (assertion ? "invalid assertion name" : "invalid macro name");
6011 ? "invalid assertion name `%.*s'"
6012 : "invalid macro name `%.*s'"),
6096 in that list, or -1 for a macro name that wants no argument list.
6097 MACRONAME is the macro name itself (so we can avoid recursive expansion)
6238 error ("`#' operator is not followed by a macro argument name");
6326 if (arg->name[0] == c
6328 && bcmp (arg->name, id_beg, id_len) == 0) {
6334 id_len, arg->name);
6337 id_len, arg->name);
6389 error ("`#' operator should be followed by a macro argument name");
6426 U_CHAR *symname; /* remember where symbol name starts */
6471 /* If this name isn't already an assertion name, make it one.
6503 U_CHAR *symname; /* remember where symbol name starts */
6597 check_assertion (name, sym_length, tokens_specified, tokens)
6598 U_CHAR *name;
6604 int hashcode = hashf (name, sym_length, ASSERTION_HASHSIZE);
6609 hp = assertion_lookup (name, sym_length, hashcode);
6646 if (bcmp (l1->name, l2->name, l1->length))
6697 temp->name = (U_CHAR *) xmalloc (bp - beg + 1);
6698 bcopy ((char *) beg, (char *) temp->name, bp - beg);
6699 temp->name[bp - beg] = 0;
6733 free (tokens->name);
6739 /* Install a name in the assertion hash table.
6741 If LEN is >= 0, it is the length of the name.
6742 Otherwise, compute the length by scanning the entire name.
6748 assertion_install (name, len, hash)
6749 U_CHAR *name;
6768 hp->name = ((U_CHAR *) hp) + sizeof (ASSERTION_HASHNODE);
6769 p = hp->name;
6770 q = name;
6773 hp->name[len] = 0;
6777 /* Find the most recent hash node for name "name" (ending with first
6780 If LEN is >= 0, it is the length of the name.
6781 Otherwise, compute the length by scanning the entire name.
6787 assertion_lookup (name, len, hash)
6788 U_CHAR *name;
6796 if (bucket->length == len && bcmp (bucket->name, name, len) == 0)
6881 /* Turn the file name, which is a character string literal,
7001 warning ("undefining `%s'", hp->name);
7058 /* Remember the name of the current file being read from so that we can
7338 keyword->name);
7344 pedwarn ("`#%s' argument starts with a digit", keyword->name);
7346 pedwarn ("garbage at end of `#%s' argument", keyword->name);
7356 fprintf (pcp_outfile, "#define %s\n", hp->name);
7380 CONTROL_MACRO is the macro name tested by the #ifndef.
7637 /* Now find end of directive name.
7639 symbol-constituents so that we end up with a contiguous name. */
7687 pedwarn ("invalid preprocessing directive name");
7694 && bcmp (cp, kt->name, kt->length) == 0) {
7717 error ("`#%s' not within a conditional", kt->name);
7749 pedwarn ("invalid preprocessing directive name");
7892 the directive name. P points to the first char after the directive
7893 name. */
8445 error ("arguments given to macro `%s'", hp->name);
8456 error ("macro `%s' used without args", hp->name);
8458 error ("macro `%s' used with just one arg", hp->name);
8460 error ("macro `%s' used with only %d args", hp->name, i);
8463 error ("macro `%s' used with too many (%d) args", hp->name, i);
9393 error_from_errno (name)
9394 char *name;
9413 fprintf (stderr, "%s: %s\n", name, my_strerror (e));
9615 giving specified file name and line number, not current. */
9783 * install a name in the main hash table, even if it is already there.
9784 * name stops with first non alphanumeric, except leading '#'.
9790 * If LEN is >= 0, it is the length of the name.
9791 * Otherwise, compute the length by scanning the entire name.
9798 install (name, len, type, value, hash)
9799 U_CHAR *name;
9810 p = name;
9813 len = p - name;
9817 hash = hashf (name, len, HASHSIZE);
9831 hp->name = ((U_CHAR *) hp) + sizeof (HASHNODE);
9832 p = hp->name;
9833 q = name;
9836 hp->name[len] = 0;
9841 * find the most recent hash node for name "name" (ending with first
9844 * If LEN is >= 0, it is the length of the name.
9845 * Otherwise, compute the length by scanning the entire name.
9852 lookup (name, len, hash)
9853 U_CHAR *name;
9861 for (bp = name; is_idchar[*bp]; bp++) ;
9862 len = bp - name;
9866 hash = hashf (name, len, HASHSIZE);
9870 if (bucket->length == len && bcmp (bucket->name, name, len) == 0)
9922 * return hash function on name. must be compatible with the one
9927 hashf (name, len, hashsize)
9928 register U_CHAR *name;
9935 r = HASHSTEP (r, *name++);
9956 fprintf (of, "#define %s", hp->name);
10078 /* Print the name of argument number ARGNUM of macro definition DEFN
10364 OPTION is the option name for which STR was the argument. */
10424 Allocate a new include prefix whose name is the
10431 new_include_prefix (prev_file_name, component, prefix, name)
10435 const char *name;
10437 if (name == 0)
10438 fatal ("Directory name missing after command line option");
10440 if (*name == 0)
10445 name = update_path (name, component);
10451 + strlen (prefix) + strlen (name) + 2));
10454 strcat (dir->fname, name);
10457 /* Convert directory name to a prefix. */
10471 /* Ignore a directory whose name matches the previous one. */
10577 the end of a file name; and backslashes in other
10690 perror_with_name (name)
10691 char *name;
10693 fprintf (stderr, "%s: %s: %s\n", progname, name, my_strerror (errno));
10698 pfatal_with_name (name)
10699 char *name;
10701 perror_with_name (name);
10780 name name
10781 ./dir/name [.dir]name
10782 /dir/name dir:name
10783 /name [000000]name, name
10784 dir/name dir:[000000]name, dir:name, dir/name
10785 dir1/dir2/name dir1:[dir2]name, dir1:[000000.dir2]name
10786 path:/name path:[000000]name, path:name
10787 path:/dir/name path:[000000.dir]name, path:[dir]name
10788 path:dir/name path:[dir]name
10789 [path]:[dir]name [path.dir]name
10790 path/[dir]name [path.dir]name
10792 The path:/name input is constructed when expanding <> includes.
10794 return 1 if name was changed, 0 else. */
10857 If the file name contains something like [dir.], then it recognizes this
10861 If no device is specified, then the first directory name is taken to be
10862 a device name (or a rooted logical). */
10889 -> PATH]:/name (basename = '/name', unixname = 'name')
10890 We strip the `]', and then splice the two parts of the name in the
11029 remove the [000000], and return that name. This provides flexibility
11038 /* The file name is OK as it is, so return it as is. */
11043 /* The filename did not work. Try to remove the [000000] from the name,
11119 that absolute name to stat().
11148 VMS_stat (name, statbuf)
11149 const char *name;
11152 int result = stat (name, statbuf);
11158 char exp_nam[NAM$C_MAXRSS+1], /* expanded name buffer for SYS$PARSE */
11159 res_nam[NAM$C_MAXRSS+1]; /* resultant name buffer for SYS$SEARCH */
11162 fab.fab$l_fna = (char *) name;
11163 fab.fab$b_fns = (unsigned char) strlen (name);