search for: lastindexof

Displaying 12 results from an estimated 12 matches for "lastindexof".

2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...ct_as.h | 31 -- libswfdec/swfdec_movie_asprops.c | 11 libswfdec/swfdec_player.c | 6 libswfdec/swfdec_script.c | 8 libswfdec/swfdec_xml.c | 5 test/trace/Makefile.am | 9 test/trace/string-lastIndexOf-5.swf |binary test/trace/string-lastIndexOf-5.swf.trace | 342 ++++++++++++++++++++++++++++++ test/trace/string-lastIndexOf-6.swf |binary test/trace/string-lastIndexOf-6.swf.trace | 342 ++++++++++++++++++++++++++++++ test/trace/string-lastIndexOf-7.swf |binary test/trace/str...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...debugger, not frame and actually include it fix documentation add SwfdecKey docs document the SwfdecScript object document Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec add -undeclared.txt file, too implement String.lastIndexOf add test for lastIndexOf implement _url end when there's no time left abort if we don't get a new image handle the case where a decoder couldn't be created due to errors ctually set the background color, don't just claim to have done so (Fixes #12...
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
...+ g_return_val_if_fail (SWFDEC_IS_AS_OBJECT (object), NULL); + + SWFDEC_AS_VALUE_SET_OBJECT (&val, object); + + return swfdec_as_value_to_string (context, &val); +} + static inline const char * swfdec_as_str_nth_char (const char *s, guint n) { @@ -82,7 +95,7 @@ void swfdec_as_string_lastIndexOf (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { - const char *string = swfdec_as_object_to_string (cx, object); + const char *string = swfdec_as_string_object_to_string (cx, object); gsize len; const char *s; @@ -110,7 +123,7 @@ v...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...oject, if a parent div''s id is "Div1", all children elements'' id''s are as such; "Div1_Child1", "Div1_Child2", etc.. Then in my mouseout handlers I can do something like this... onMouseOut: function(event) { if (event.toElement.id.lastIndexOf(event.fromElement.id) != -1) { // do mouseout stuff } } 2) The other way is to use a timer mechanism instead of the mouseout. This is a bit imperfect though, as you could potentially move your mouse around within the same element for the duration of the...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...oject, if a parent div''s id is "Div1", all children elements'' id''s are as such; "Div1_Child1", "Div1_Child2", etc.. Then in my mouseout handlers I can do something like this... onMouseOut: function(event) { if (event.toElement.id.lastIndexOf(event.fromElement.id) != -1) { // do mouseout stuff } } 2) The other way is to use a timer mechanism instead of the mouseout. This is a bit imperfect though, as you could potentially move your mouse around within the same element for the duration of the ti...
2008 Sep 23
3
odds ratio: how to create reference
HI there, i know this is a basic question, though i need some help because this is somewhat away from my current issue, but nevertheless interesting to me... Lets assume i have some estimated probabilities, say estimated by a logit model. i know i can also state them as an odds ratio. Now i?d like to state these odds ratios as a reference to a specific outcome of my investigated
2009 Jul 30
1
[PATCH server] fixes to the multiple vm/nets component
...twork_config_rows).bind('change', function(e){ - row = e.target.id.substr(33) - - // find nic w/ selected network id + return null; + } + + // parses a row out of a div id + function get_row_from_div_id(id){ + return parseInt(id.substr(id.lastIndexOf('_') + 1)); + } + + // show / hide ip address column header + // depending if any static networks + // are selected + function toggle_ip_address_column(){ for(i = 0; i < nics.length; ++i){ - if(nics[i].network_id == e.target.value){ -...
2012 May 11
0
Wine release 1.5.4
...esult in Array.splice. jscript: Better handling of to_integer result in String.charAt. jscript: Better handling of to_integer result in String.charCodeAt. jscript: Bettter handling of to_number result in String.indexOf. jscript: Better handling of to_integer result in String.lastIndexOf. jscript: Better handling of to_integer result in String.slice. jscript: Better handling of to_integer result in String.substring. jscript: Better handling of to_integer in String.substr. jscript: Return double from to_integer. wininet: Clean up HTTP_QUERY_STATUS_CODE...
2009 Sep 02
0
Wine release 1.1.29
.... mshtml: Moved dynamic_data allocation to separated function. mshtml: Added function object implementation. mshtml: Added function object tests. mshtml: Properly release DispatchEx data. jscript: Code clean up. jscript: Code clean up. jscript: Added String.lastIndexOf implementation. jscript.idl: Added IActiveScriptDebug declaration. mshtml: Fixed script tests on IE6 and IE7. jscript: Added to_primitive on hosting objects test. jscript: Make Array.slice generic. jscript: Added Array.unshift implementation. mshtml: Fixed tests...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...c index 04b0790..661cfd0 100644 --- a/libswfdec/swfdec_as_strings.c +++ b/libswfdec/swfdec_as_strings.c @@ -254,6 +254,34 @@ const char swfdec_as_strings[] = SWFDEC_AS_CONSTANT_STRING ("_bytesTotal") SWFDEC_AS_CONSTANT_STRING ("loaded") SWFDEC_AS_CONSTANT_STRING ("lastIndexOf") + SWFDEC_AS_CONSTANT_STRING ("hasAudio") + SWFDEC_AS_CONSTANT_STRING ("hasStreamingAudio") + SWFDEC_AS_CONSTANT_STRING ("hasStreamingVideo") + SWFDEC_AS_CONSTANT_STRING ("hasEmbeddedVideo") + SWFDEC_AS_CONSTANT_STRING ("hasMP3") + SWFDE...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...l.Function + concat (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + constructor (hp) = _global.String + indexOf (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + lastIndexOf (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + slice (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + split (hp) = function + __proto__ (hp) = _global.Function....
2007 Aug 26
0
3 commits - libswfdec/swfdec_as_context.c player/swfplay.c test/trace
...ce/ASSetPropFlags-extended.as new file mode 100644 index 0000000..badb93f --- /dev/null +++ b/test/trace/ASSetPropFlags-extended.as @@ -0,0 +1,34 @@ +// makeswf -v 7 -s 200x150 -r 1 -o ASSetPropFlags-extended.swf ASSetPropFlags-extended.as + +trace (">>>> " + _url.substr (_url.lastIndexOf ("/")) + " (" + _level0.count + ")"); +this.check = Object; +if (_level0.count == undefined) { + trace ("init"); + _level0.count = 0; + _level0.o = {}; + for (var i = 0; i < 16384; i += 8) { + _level0.o["x" + i] = "Hello World";...