• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/groff-38/groff/src/devices/grohtml/

Lines Matching +defs:orig +defs:file +defs:name

11 This file is part of groff.
24 with groff; see the file COPYING. If not, write to the Free Software
59 /* there is no name then we use &#nnn; */
70 char *get_html_translation (font *f, const string &name);
139 struct file {
141 file *next;
146 file (FILE *f);
150 * file - initialize all fields to NULL
153 file::file (FILE *f)
166 void set_file_name (string name);
173 file *head;
174 file *tail;
175 file *ptr;
219 * add_new_file - adds a new file, f, to the list.
225 head = new file(f);
228 tail->next = new file(f);
235 * set_file_name - sets the final file name to contain the html
236 * data to name.
239 void files::set_file_name (string name)
242 ptr->output_file_name = name;
249 * of the file.
259 * are_links_required - returns TRUE if this section of the file
271 * is_new_output_file - returns TRUE if this component of the file
272 * is the start of a new output file.
283 * file_name - returns the name of the file.
294 * next_file_name - returns the name of the next file.
1383 * "cost = \(Po\)3.00 file = \\foo\\bar"
1385 * "cost = £3.00 file = \foo\bar"
1545 list header_filename; // in which file is this header?
1658 void check_value (const char *s, int v, const char *name,
1661 const char *name,
1877 const char *name,
1886 f, l, name, s, v);
1892 void assert_state::check_value (const char *s, int v, const char *name,
1896 *flag = check_value_error(v <= atoi(&s[2]), v, s, name, f, l, *flag);
1898 *flag = check_value_error(v >= atoi(&s[2]), v, s, name, f, l, *flag);
1900 *flag = check_value_error(v == atoi(&s[2]), v, s, name, f, l, *flag);
1902 *flag = check_value_error(v != atoi(&s[2]), v, s, name, f, l, *flag);
1904 *flag = check_value_error(v < atoi(&s[2]), v, s, name, f, l, *flag);
1906 *flag = check_value_error(v > atoi(&s[2]), v, s, name, f, l, *flag);
1908 *flag = check_value_error(v == atoi(&s[1]), v, s, name, f, l, *flag);
1910 *flag = check_value_error(v == atoi(s), v, s, name, f, l, *flag);
2014 int sbuf_continuation (int index, const char *name, const environment *env, int w);
2022 void start_font (const char *name);
2023 void end_font (const char *name);
2053 void do_job_name (char *name);
2054 void do_head (char *name);
2065 int overstrike (int index, const char *name, const environment *env, int w);
2089 void emit_link (const string &to, const char *name);
2103 void set_char (int i, font *f, const environment *env, int w, const char *name);
2448 html.nl().nl().put_string("<a name=\"");
2488 /* and now we save the file name in which this header will occur */
2591 text_glob *orig = page_contents->glyphs.get_data();
2609 while (page_contents->glyphs.get_data() != orig)
2873 * do_links - moves onto a new temporary file and sets auto_links to FALSE.
2894 html.set_file(file_list.get_file()); // flush current file
2909 * do_job_name - assigns the job_name to name.
2912 void html_printer::do_job_name (char *name)
2916 while (name != NULL && (*name != (char)0) && (*name == ' '))
2917 name++;
2918 job_name = name;
2927 void html_printer::do_head (char *name)
2929 head_info += string(name);
3155 } else if (strncmp(t, ".job-name", 9) == 0) {
3357 text_glob *orig = page_contents->glyphs.get_data();
3365 if (g == orig)
3366 orig = page_contents->glyphs.get_data();
3375 while (page_contents->glyphs.get_data() != orig)
3771 text_glob *orig = page_contents->glyphs.get_data();
3788 while (page_contents->glyphs.get_data() != orig)
3837 * start_font - starts the font corresponding to name.
4228 * add_to_sbuf - adds character code or name to the sbuf.
4257 int html_printer::sbuf_continuation (int idx, const char *name,
4267 add_to_sbuf(idx, name);
4279 add_to_sbuf(idx, name);
4290 * get_html_translation - given the position of the character and its name
4294 char *get_html_translation (font *f, const string &name)
4298 if ((f == 0) || name.empty())
4301 idx = f->name_to_index((char *)(name + '\0').contents());
4303 error("character `%s' not found", (name + '\0').contents());
4314 * overstrike - returns TRUE if the glyph (i, name) is going to overstrike
4320 int html_printer::overstrike(int idx, const char *name, const environment *env, int w)
4330 add_to_sbuf(idx, name);
4339 add_to_sbuf(idx, name);
4354 int w, const char *name)
4364 && (sbuf_continuation(i, name, env, w) || overstrike(i, name, env, w)))
4370 add_to_sbuf(i, name);
4539 * emit_link - generates: <a href="to">name</a>
4542 void html_printer::emit_link (const string &to, const char *name)
4547 fputs(name, stdout);
4553 * file fragments.
4585 * do_file_components - scan the file list copying each temporary
4586 * file in turn. This is used twofold:
4589 * between file fragments if required and
4590 * secondly to generate jobname file fragments
4611 fatal("fseek on temporary file failed");
4652 fputs("<meta name=\"generator\" "
4656 fputs("<meta name=\"Content-Style\" content=\"text/css\">\n", stdout);
4792 char *file= get_str(n, &n);
4796 as.addx(cmd, id, make_val(val, minh, id, file, line), file, line);
4798 as.addy(cmd, id, make_val(val, minv, id, file, line), file, line);
4817 char *file= get_str(n, &n);
4820 as.build(cmd, val, file, line);