search for: tostring

Displaying 20 results from an estimated 297 matches for "tostring".

Did you mean: to_string
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...t/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> <a />,<b />,c,<d /&...
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
...#47;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! +17: valueOf! +18:...
2007 Nov 14
0
4 commits - libswfdec/swfdec_as_interpret.c test/trace
...l +++ b/test/trace/super-existance.as @@ -0,0 +1,63 @@ +// makeswf -v 7 -s 200x150 -r 1 -o movie23.swf movie23.as + +trace (super); +fuz = function () { + trace ("fuz"); +}; +foo = function () extends fuz { + trace ("foo"); + trace (super); + trace (super.toString); + super (); +}; +bar = function () extends foo { + trace ("bar"); + trace (super); + if (huh) { + asm { + push 0, "huh" + getvariable + push undefined + callmethod + }; + } + huh = super; + asm { + push 0, "super" + callfunction...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...,38 @@ +// makeswf -v 7 -s 200x150 -r 1 -o newobject-paths.swf newobject-paths.as + +function construct (s) { + var ret; + asm { + push "ret", 0, "s" + getvariable + dup + trace + new + setvariable + }; + return ret; +}; + +function Foo () { + this.toString = function () { + return "hi"; + }; +}; + +createEmptyMovieClip ("a", 0); +a.Bar = Foo; + +values = [ + "Foo", + "/:Foo", + "/:::Foo", + "a.Bar", + "a/Bar", + "/a/..:a.Bar" +]; + +for (i =...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...---- libswfdec/swfdec_resource.c | 10 ++++---- libswfdec/swfdec_resource.h | 2 - libswfdec/swfdec_sprite_movie.c | 3 -- test/trace/Makefile.am | 37 ++++++++++++++++++------------ test/trace/settarget-tostring-5.swf |binary test/trace/settarget-tostring-5.swf.trace | 1 test/trace/settarget-tostring-6.swf |binary test/trace/settarget-tostring-6.swf.trace | 1 test/trace/settarget-tostring-7.swf |binary test/trace/settarget-tostring-7.sw...
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
...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) = (object) +0: valueOf!...
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
...object->context, &argv[0]); + } else { + b = FALSE; + } + + if (cx->frame->construct) { + SWFDEC_AS_BOOLEAN (object)->boolean = b; + SWFDEC_AS_VALUE_SET_OBJECT (ret, object); + } else { + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, b); + } +} + +static void +swfdec_as_boolean_toString (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_valu...
2007 Nov 14
0
5 commits - libswfdec/.gitignore libswfdec/swfdec_initialize.as test/image test/sound test/trace
....trace \ double.swf.trace.org \ - double-to-string.as + double-to-string.as \ double-to-string-5.swf \ double-to-string-5.swf.trace \ double-to-string-5.swf.trace.org \ @@ -1717,15 +1717,15 @@ EXTRA_DIST = \ settarget-6.swf.trace \ settarget-7.swf \ settarget-7.swf.trace \ - settarget-tostring-5.swf - settarget-tostring-5.swf.trace - settarget-tostring-6.swf - settarget-tostring-6.swf.trace - settarget-tostring-7.swf - settarget-tostring-7.swf.trace - settarget-tostring-8.swf - settarget-tostring-8.swf.trace - settarget-tostring.as + settarget-tostring-5.swf \ + settarget-tostring-5.swf....
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
...#47;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! +17: valueOf! +18:...
2007 Aug 02
7
Difficulty using match
A have an observer watch for a click on a link. Inside the triggered function, I want to extract a piece of information from the URL. Currently I am able to do: alert(Event.element(el)); This displays the url string of the link, which is exactly what I need to work with. However, when I try: Event.element(el).match(//); I get a javascript error "selector.match is not a
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
...er-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! +17: valueOf! +18:...
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
...callee: -Child CallFunction: +Child: arguments: caller: null -callee: func -Child CallMethod: +callee: child +Run: arguments: 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_a...
2010 Mar 06
3
[LLVMdev] constness of APFloat::toString
Hi! I wonder if llvm::APFloat::toString() can be const since it should not modify the APFloat. -Jochen
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
...-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! +17: valueOf! +18:...
2007 Jun 17
2
Branch 'as' - test/trace
...iables: +// - "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 () {...
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
...--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! +17: valueOf! +18:...
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
...ion (prop return new_value; }; -// create an object +var watch_delete = function (prop, old_value, new_value, user_data) { + trace (old_value + " -> " + new_value); + delete this[prop]; + return new_value; +}; + + +// create the object var o = new Object(); o.toString = function () { return "o"; }; -// normal + +trace ("normal"); o.test = 0; trace (o.watch ("test", watch_test, "user data")); o.test = 1; @@ -47,7 +55,21 @@ o.test = 1; trace (o.unwatch ("test")); o.test = 2; -// missing par...
2004 Dec 23
3
[LLVMdev] Undefined referenceto`llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Hi Reid, The error still exists. However, looking on the function in Win32/Path.cpp: -------------- void sys::CopyFile(const sys::Path &Dest, const sys::Path &Src) { if (!::CopyFile(Src.c_str(), Dest.c_str(), false)) ThrowError("Can't copy '" + Src.toString() + "' to '" + Dest.toString() + "'"); } -------------- I notice, that the function is living in the sys namespace. Shouldn't it live in the Path class instead? A copy-past to fast ;-) Henrik. __________________________________________________...
2010 Mar 06
0
[LLVMdev] constness of APFloat::toString
On Mar 6, 2010, at 3:39 AM, Jochen Wilhelmy wrote: > Hi! > > I wonder if llvm::APFloat::toString() can be const since > it should not modify the APFloat. Done in r97883, thanks.
2012 Dec 04
0
[LLVMdev] Assert with getZExtValue()?
So is there a way to return the value as a string instead? On Fri, Nov 16, 2012 at 3:00 PM, Ryan Taylor <ryta1203 at gmail.com> wrote: > Was hoping it might get some help or a better explanation of this: > > /ADT/APInt.h:1217: uint64_t llvm::APInt::getZExtValue() const: Assertion > `getActiveBits() <= 64 && "Too many bits for uint64_t"' failed.