search for: valueof

Displaying 20 results from an estimated 53 matches for "valueof".

2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...true (string) +restrict: (19) _level0 (string) = _level0 (string) +restrict: (20) ???????????? (string) = ???????????? (string) +restrict: (21) _level0 (movieclip) = _level0 (movieclip) +restrict: (22) [object Object] (object) = [object Object] (object) +restrict: (23) (undefined) = (undefined) +valueOf called +toString called +restrict: (24) [type Object] (object) = [type Object] (object) +toString called with +restrict: (25) [type Object] (object) = [type Object] (object) +valueOf called with +restrict: (26) [object Object] (object) = [object Object] (object) +restrict: (27) (object) = (obje...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
...b80 Binary files /dev/null and b/test/trace/fromcharcode-other-5.swf differ diff --git a/test/trace/fromcharcode-other-5.swf.trace b/test/trace/fromcharcode-other-5.swf.trace new file mode 100644 index 0000000..8cb67e9 --- /dev/null +++ b/test/trace/fromcharcode-other-5.swf.trace @@ -0,0 +1,124 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2008 Jan 01
0
4 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_sprite_movie_as.c test/trace
...index 0000000..6e0a993 --- /dev/null +++ b/test/trace/localToGlobal-various-5.swf.trace @@ -0,0 +1,507 @@ +Test empty or semi-empty stuctures +, => => , +, => => , +10, => => 10, +, 10 => => , 10 +10, => => 10, +, 10 => => , 10 +Test various values +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...nd b/test/trace/String-split-count-values-5.swf differ diff --git a/test/trace/String-split-count-values-5.swf.trace b/test/trace/String-split-count-values-5.swf.trace new file mode 100644 index 0000000..214a170 --- /dev/null +++ b/test/trace/String-split-count-values-5.swf.trace @@ -0,0 +1,133 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Nov 14
0
4 commits - libswfdec/swfdec_as_interpret.c test/trace
...this-5.swf differ diff --git a/test/trace/callmethod-this-5.swf.trace b/test/trace/callmethod-this-5.swf.trace new file mode 100644 index 0000000..d930251 --- /dev/null +++ b/test/trace/callmethod-this-5.swf.trace @@ -0,0 +1,136 @@ +Check which objects work as this property for a CallMethod action +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...mode 100644 index 0000000..54bbdfc Binary files /dev/null and b/test/trace/enumerate2-5.swf differ diff --git a/test/trace/enumerate2-5.swf.trace b/test/trace/enumerate2-5.swf.trace new file mode 100644 index 0000000..5233b1b --- /dev/null +++ b/test/trace/enumerate2-5.swf.trace @@ -0,0 +1,235 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...00000..7d75570 Binary files /dev/null and b/test/trace/point-construct-6.swf differ diff --git a/test/trace/point-construct-6.swf.trace b/test/trace/point-construct-6.swf.trace new file mode 100644 index 0000000..79b9744 --- /dev/null +++ b/test/trace/point-construct-6.swf.trace @@ -0,0 +1,7201 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Sep 11
0
8 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c test/trace
...ex 0000000..e478c90 Binary files /dev/null and b/test/trace/function-apply-5.swf differ diff --git a/test/trace/function-apply-5.swf.trace b/test/trace/function-apply-5.swf.trace new file mode 100644 index 0000000..e35f023 --- /dev/null +++ b/test/trace/function-apply-5.swf.trace @@ -0,0 +1,160 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...ring (SwfdecAsContext *cx, SwfdecAsObject *object, + guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) +{ + SwfdecAsBoolean *b = SWFDEC_AS_BOOLEAN (object); + + SWFDEC_AS_VALUE_SET_STRING (ret, b->boolean ? SWFDEC_AS_STR_true : SWFDEC_AS_STR_false); +} + +static void +swfdec_as_boolean_valueOf (SwfdecAsContext *cx, SwfdecAsObject *object, + guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) +{ + SwfdecAsBoolean *b = SWFDEC_AS_BOOLEAN (object); + + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, b->boolean); +} + +void +swfdec_as_boolean_init_context (SwfdecAsContext *context, guint version)...
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...f86c7c3 100644 Binary files a/test/trace/xml-node-5.swf and b/test/trace/xml-node-5.swf differ diff --git a/test/trace/xml-node-5.swf.trace b/test/trace/xml-node-5.swf.trace index 801ebec..eb42aef 100644 --- a/test/trace/xml-node-5.swf.trace +++ b/test/trace/xml-node-5.swf.trace @@ -24,16 +24,17 @@ valueOf called with 19: valueOf! 20: valueOf! 21: valueOf! -21: toString! 22: valueOf! +22: toString! 23: valueOf! -23: toString! 24: valueOf! 24: toString! 25: valueOf! 25: toString! 26: valueOf! 26: toString! +27: valueOf! +27: toString! <root><a /><b />c<d /></root...
2007 Sep 12
0
9 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player_as.c test/trace
...as +++ b/libswfdec/swfdec_as_initialize.as @@ -24,6 +24,9 @@ ASSetNativeAccessor = ASnative (4, 1); /*** BASE OBJECTS ***/ +ASSetNative (Function.prototype, 101, "6call,6apply", 10); +ASSetPropFlags(o, null, 3); + ASSetNative(Object.prototype, 101, "6watch,6unwatch,6addProperty,valueOf,toString,6hasOwnProperty,6isPrototypeOf,6isPropertyEnumerable"); Object.prototype.toLocaleString = function () { return this.toString (); diff --git a/libswfdec/swfdec_as_initialize.h b/libswfdec/swfdec_as_initialize.h index 82b1a36..77a8d0c 100644 --- a/libswfdec/swfdec_as_initialize.h ++...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...race/array-new-5.swf differ diff --git a/test/trace/array-new-5.swf.trace b/test/trace/array-new-5.swf.trace new file mode 100644 index 0000000..ed6d1e2 --- /dev/null +++ b/test/trace/array-new-5.swf.trace @@ -0,0 +1,271 @@ +Check how "Array" and "new Array" react to parameters +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
...ing) +styleSheet: (19) _level0 (string) = _level0 (string) +styleSheet: (20) ???????????? (string) = ???????????? (string) +styleSheet: (21) _level0 (movieclip) = _level0 (movieclip) +styleSheet: (22) [object Object] (object) = [object Object] (object) +styleSheet: (23) (undefined) = (undefined) +valueOf called +toString called +styleSheet: (24) [type Object] (object) = [type Object] (object) +toString called with +styleSheet: (25) [type Object] (object) = [type Object] (object) +valueOf called with +styleSheet: (26) [object Object] (object) = [object Object] (object) +styleSheet: (27) (object)...
2007 Nov 26
0
14 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_file_reference.c libswfdec/swfdec_load_object.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_system_security.c test/trace
...p-get-instance-at-depth-5.swf differ diff --git a/test/trace/movieclip-get-instance-at-depth-5.swf.trace b/test/trace/movieclip-get-instance-at-depth-5.swf.trace new file mode 100644 index 0000000..e5dfec5 --- /dev/null +++ b/test/trace/movieclip-get-instance-at-depth-5.swf.trace @@ -0,0 +1,118 @@ +valueOf called +toString called +toString called with +valueOf called with +0: valueOf! +1: valueOf! +2: valueOf! +3: valueOf! +4: valueOf! +5: valueOf! +6: valueOf! +7: valueOf! +8: valueOf! +9: valueOf! +10: valueOf! +11: valueOf! +12: valueOf! +13: valueOf! +14: valueOf! +15: valueOf! +16: valueOf! +1...
2007 Jun 17
2
Branch 'as' - test/trace
...// It defines 2 variables: +// - "values": The array of values to be checked +// - "names": The array of corresponding string representations for values. +// It's suggested to use these instead of using values directly to +// avoid spurious toString and valueOf calls. + +printall = new Object (); +printall.valueOf = function () { + trace ("valueOf called"); + return this; +}; +printall.toString = function () { + trace ("toString called"); + return this; +}; + +tostring = new Object (); +tostring.toString = function () { + trace (&...
2007 Nov 15
0
4 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c test/trace
...rguments: caller: null -callee: func +callee: run +Child CallFunction: +arguments: +caller: run +callee: child +Child CallMethod: +arguments: +caller: run +callee: child + +toString: +arguments: +caller: run +callee: func_and_child +Child: +arguments: +caller: func_and_child +callee: child + +valueOf: +arguments: +caller: run +callee: func_and_child +Child: +arguments: +caller: func_and_child +callee: child Method: arguments: -caller: null +caller: run callee: func_and_child Child: arguments: caller: func_and_child -callee: func +callee: child Call: @@ -26,12 +52,12 @@ Apply:...
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
...ll and b/test/trace/string-trace-5.swf differ diff --git a/test/trace/string-trace-5.swf.trace b/test/trace/string-trace-5.swf.trace new file mode 100644 index 0000000..7ce9d46 --- /dev/null +++ b/test/trace/string-trace-5.swf.trace @@ -0,0 +1,8 @@ +internal +internal +internal +internal +internal +valueOf +internal +valueOf diff --git a/test/trace/string-trace-6.swf b/test/trace/string-trace-6.swf new file mode 100644 index 0000000..d554fae Binary files /dev/null and b/test/trace/string-trace-6.swf differ diff --git a/test/trace/string-trace-6.swf.trace b/test/trace/string-trace-6.swf.trace new file...
2009 Apr 01
0
[LLVMdev] Type operator defenition
...; int_t a, b; ... a + b we have to do : O(n) const Type* ta = typeof("a"); for (int i=0, e=ta->getNumContainedTypes(); i<e; i++) if( isa<Function>(*ta->getContainedType(i)) ) if( ta->getName() == "$operator +" ) call(function, valueof("a"), valueof("b") ); where else we could do something like: O(1) enum { operator_add = 0, ... } ; call( typeof("a")->operator[operator_add], valueof("a"), valueof("b")); With best regards, -- Kasra
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...90); + lineTo (x * 100 + 90, y * 100 + 90); + lineTo (x * 100 + 90, y * 100 + 10); + lineTo (x * 100 + 10, y * 100 + 10); + endFill (); + x++; + if (x > 3) { + x = 0; + y++; + } +}; + +// 1 +foo = function (o, s) { + if (!o.x) + o.x = 7; + else + o.x--; + trace (s + " valueof: " + o.x); + return o.x; +}; +c = { }; +c.length = { valueOf: function () { return foo (this, "color"); } }; +c[0] = c[2] = c[4] = c[6] = c[8] = 0xFF; +c[1] = c[3] = c[5] = c[7] = c[9] = 0xFF00; +a = { }; +a.length = { valueOf: function () { return foo (this, "alpha"); }...
2007 May 06
4
install failure
...Unknown Source) at java.util.TimeZone.getTimeZone(Unknown Source) at java.util.TimeZone.getDefault(Unknown Source) at java.text.SimpleDateFormat.initialize(Unknown Source) at java.text.SimpleDateFormat.<init>(Unknown Source) at java.util.Date.toString(Unknown Source) at java.lang.String.valueOf(Unknown Source) at java.io.PrintStream.print(Unknown Source) at java.io.PrintStream.println(Unknown Source) at ZeroGd.a(DashoA8113) at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113) at com.zerog.ia.installer.LifeCycleManager.b(DashoA8113) at com.zerog.ia.installer.LifeCycleManager.a(Da...