search for: format_prev

Displaying 7 results from an estimated 7 matches for "format_prev".

2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...: FACE / SIZE / COLOR / LETTERSPACING / KERNING + * A: HREF / TARGET + * B: none + * I: none + * U: none + */ +static GString * +swfdec_text_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text, + GString *string, guint start_index, guint end_index) +{ + SwfdecTextFormat *format, *format_prev, *format_font; + GSList *iter, *fonts, *iter_font; + guint index_, index_prev; + gboolean textformat, bullet, font; + char *escaped; + + g_return_val_if_fail (SWFDEC_IS_TEXT_FIELD_MOVIE (text), string); + g_return_val_if_fail (string != NULL, string); + g_return_val_if_fail (start_index <...
2007 Oct 19
0
3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_text_field_movie.c
...t_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text, break; } } - if (iter_font != NULL) { - while (fonts != iter_font) { - string = g_string_append (string, "</FONT>"); - fonts = g_slist_remove (fonts, fonts->data); - } - } if (format_prev->underline) string = g_string_append (string, "</U>"); if (format_prev->italic) @@ -1366,6 +1360,12 @@ swfdec_text_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text, string = g_string_append (string, "</B>"); if (format_...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...ck (SwfdecParagraph *paragraph, int index_, static void swfdec_text_field_movie_generate_paragraph (SwfdecTextFieldMovie *text, - SwfdecParagraph *paragraph, guint start_index, guint end_index) + SwfdecParagraph *paragraph, guint start_index, guint length) { SwfdecTextFormat *format, *format_prev; guint index_; @@ -113,18 +113,14 @@ swfdec_text_field_movie_generate_paragraph (SwfdecTextFieldMovie *text, g_assert (SWFDEC_IS_TEXT_FIELD_MOVIE (text)); g_assert (paragraph != NULL); - g_assert (start_index <= end_index); - g_assert (end_index <= text->input->len); + g_a...
2012 Aug 02
0
[LLVMdev] TableGen related question for the Hexagon backend
On Aug 1, 2012, at 1:53 PM, Jyotsna Verma <jverma at codeaurora.org> wrote: > > Currently, we rely on switch tables to transform between formats. However, > we would like to have a different mechanism to represent these relationships > instead of switch tables. I am thinking of modeling these relations in > HexagonInstrInfo.td file and use TableGen to generate a table with
2012 Aug 16
2
[LLVMdev] TableGen related question for the Hexagon backend
...r) string InstFormat2; //ri (register immediate) string InstFormat3; //pred true string InstFormat4; //pred false } Define Instruction formats which are IFormat objects and have a unique integer value associated with them. It is used to access appropriate field within RelHexagon Class. def Format_prev : IFormat<0>; // previous form def Format_rr : IFormat<1>; // register register def Format_ri : IFormat<2>; // register immediate def Format_predt : IFormat<3>; // pred true def Format_predf : IFormat<4>; // pred false 4) Prototype relationship mod...
2012 Aug 01
3
[LLVMdev] TableGen related question for the Hexagon backend
Hi, I'm looking for some suggestions on a problem related to the Hexagon backend. Hexagon architecture allows instructions in various formats. For example, we have 3 variations of the add instruction as defined below: ADDrr : r1 = add(r2, r3) --> add 2 32-bit registers ADDrr_p : if(p0) r1 = add(r2, r3) --> predicated version of ADDrr instruction, executed when p0 is true ADDrr_np :
2008 Jan 10
0
8 commits - libswfdec/swfdec_as_date.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_bits.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_text_field_movie_html.c test/trace
....c b/libswfdec/swfdec_text_field_movie_html.c index 0fc6897..b0aa94f 100644 --- a/libswfdec/swfdec_text_field_movie_html.c +++ b/libswfdec/swfdec_text_field_movie_html.c @@ -542,7 +542,7 @@ swfdec_text_field_movie_html_text_append_paragraph (SwfdecTextFieldMovie *text, SwfdecTextFormat *format, *format_prev, *format_font; GSList *iter, *fonts, *iter_font; guint index_, index_prev; - gboolean textformat, bullet, font; + gboolean textformat, bullet, font = FALSE; char *escaped; g_return_val_if_fail (SWFDEC_IS_TEXT_FIELD_MOVIE (text), string); commit bfaa75ec99c1b7dea4168811a97ef2071c5313...