search for: getvari

Displaying 20 results from an estimated 64 matches for "getvari".

Did you mean: getvar
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...o figure out if the object has the property use the right frame when creating an audio stream make this work when time_t is 32bit, too merge the too get_variable functions, so we can export swfdec_movie_get_by_path() implement swfdec_action_get_movie_by_path() and use it for GetVariable add special magic for movie lookups make the init script take a version and always run it as Flash 8 require the GC to be only run when the player is running make sure the player isn't interrupted when unlocking check the given version here, not the context one...
2013 Nov 02
4
[LLVMdev] get function local debug info?
Hi, If I have an instance of DISubprogram, can I get the debug info of local variables of the function, including parameters? I tried to use the getVariables() function defined in DISubprogram, but it seemed to return an empty DIArray node when I ran my pass alone using opt. Do I need to enable any other analysis passes in order to populate the data? My related snippet of code is like the following: NamedMDNode *M_Nodes = M.getNamedMetada...
2010 Aug 27
8
R.matlab package help
Hi,all I have a problem running R.matlab package (under 2.10.1 version). I can set up the matlab server under local machine(run the MatlabServer.m), " And I can use setVariable and evaluate matlab functions in R. But when I ask Matlab to send the value back to R using getVariable function it always returns an error: " ??? Error: A MATLAB string constant is not terminated properly. Error in ==> MatlabServer at 197 eval(expr); " it seems matlab have put the data into a temporary file, so my remote option is actually FALSE? (how to set it to be true?),...
2007 Apr 17
0
GETVARIABLE and IAX
.... For SIP-based calls, for example, we find it useful to capture the SIP call ID so that we can use it to marry together the CDR and a wireshark log of the SIP and RTP packets involved in the call. I now have a requirement to do the same thing for IAX-based calls. Is there an IAX equivalent to GETVARIABLE(SIP_HEADER(Call-ID)) that would return the 15-bit Call Number(s?) for the IAX streams involved in the call? Are there any IAX-specific variables at all that can be accessed via GETVARIABLE (or some alternative method)? Best wishes, Dominic Fox
2007 Jul 07
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h libswfdec/swfdec_as_with.c test/trace
...ons that aren't overwritten are handled when called via super"); + +function One () { + trace (1); +}; +function Two () { + super (); + trace (2); +}; +function Three () { + super (); + trace (3); +}; +function Four () { + super (); + trace (4); +}; +asm { + push "Two" + getvariable + push "One" + getvariable + extends +}; +asm { + push "Three" + getvariable + push "Two" + getvariable + extends +}; +asm { + push "Four" + getvariable + push "Three" + getvariable + extends +}; +One.prototype.foo = function () { +...
2013 Nov 03
0
[LLVMdev] get function local debug info?
On Sat, Nov 2, 2013 at 4:17 PM, lu zhao <luzhao at cs.utah.edu> wrote: > Hi, > > If I have an instance of DISubprogram, can I get the debug info of local > variables of the function, including parameters? > > I tried to use the getVariables() function defined in DISubprogram, but it > seemed to return an empty DIArray node when I ran my pass alone using opt. > Do I need to enable any other analysis passes in order to populate the data? > > My related snippet of code is like the following: > > NamedMDNode *M_...
2013 Nov 03
0
[LLVMdev] get function local debug info?
...t; it isn't already > On Nov 3, 2013 12:11 AM, "lu zhao" <luzhao at cs.utah.edu> wrote: > >> Hi David, >> >> Thank you! Your suggested method works. >> >> I think that you or someone should write what you said in the comments >> for the getVariable() function. :) >> >> Best, >> Lu >> >> On 11/03/2013 06:30 AM, David Blaikie wrote: >> >> >> >> >> On Sat, Nov 2, 2013 at 4:17 PM, lu zhao <luzhao at cs.utah.edu> wrote: >> >>> Hi, >>> >>> If I h...
2006 Feb 08
1
expand.grid without expanding
...;,'b'))[4,] par1 par2 4 -1 b but obviously without having to use expand.grid() as that involves generating a data frame that in my case wouldn't fit in the memory of my computer. Now, the function I've created was the following: -------------------------------------------- getVariant <- function(id,vars) { if (!is.list(vars)) stop('vars needs to be a list!') nv <- length(vars) lims <- sapply(vars,length) if (id > prod(lims)) stop('id above the number of combinations!') res <- vector("list",nv) for(i in nv:2) {...
2016 May 29
1
How to find variable names from LLVM IR?
...rator Iter = inst_begin(Func), End = inst_end(Func); Iter != End; ++Iter) { if (const DbgDeclareInst* DbgDeclare = dyn_cast<DbgDeclareInst>(&*Iter)) { if (DbgDeclare->getAddress() == V) Var = DbgDeclare->getVariable(); } else if (const DbgValueInst* DbgValue = dyn_cast<DbgValueInst>(&*Iter)) { if (DbgValue->getValue() == V) Var = DbgValue->getVariable(); } }...
2006 Dec 30
2
Evaluating Entire Matlab code at a time
...To me this looks like Matlab can't find those commands, and then it has nothing to with R. Make sure your Matlab scripts are available in the Matlab path or in the working directory of Matlab. You check the working directory of Matlab with: evaluate(matlab, "pwd=cd();"); pwd <- getVariable(matlab, "pwd")$pwd; print(pwd); Check to see if your scripts are in the working directory: evaluate(matlab, "files=dir();") files <- getVariable(matlab, "files")$files unlist(files["name",,]) If not, you have to update your Matlab path or change...
2007 Oct 14
0
4 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c test/trace
...perty-target.as \ + getsetproperty-target-5.swf \ + getsetproperty-target-5.swf.trace \ + getsetproperty-target-6.swf \ + getsetproperty-target-6.swf.trace \ + getsetproperty-target-7.swf \ + getsetproperty-target-7.swf.trace \ + getsetproperty-target-8.swf \ + getsetproperty-target-8.swf.trace \ getvariable-delimiters.as \ getvariable-delimiters-5.swf \ getvariable-delimiters-5.swf.trace \ diff --git a/test/trace/getsetproperty-target-5.swf b/test/trace/getsetproperty-target-5.swf new file mode 100644 index 0000000..8e87bec Binary files /dev/null and b/test/trace/getsetproperty-target-5.swf di...
2007 Jul 30
0
10 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_super.c libswfdec/swfdec_video_movie_as.c test/trace
...nts="1" reserved="0"> + <actions> + <PushData> + <items> + <StackRegister reg="1"/> + <StackString value="arguments"/> + </items> + </PushData> + <GetVariable/> + <Trace/> + <Trace/> + </actions> + </DeclareFunction2> + <PushData> + <items> + <StackInteger value="0"/> + <StackString value="foo"/> + </ite...
2007 Nov 28
0
[Bug 13424] New: Extends doesn't work correctly with objects that can be created without new
...QAContact: swfdec at lists.freedesktop.org Extends action doesn't work correctly for objects that can be created without the new keyword, like Date and Number. Here is a test case: Foo = function () { trace (this); super (1983, 11, 9); trace (this); }; asm { push "Foo" getvariable push "Date" getvariable extends }; var a = new Foo (); trace (a); loadMovie ("FSCommand:quit", ""); -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for...
2007 Sep 26
1
Youtube broken by 89d295a94
Hello! The current swfdec from git won't play videos on youtube. I had bisected the change. 8fc53e76 ("merge the too get_variable functions") is the last good revision. 89d295a94 ("implement swfdec_action_get_movie_by_path() and use it for GetVariable") is broken. Broken revisions show "share" and "watch" on blinking white background with two labels saying "_level0" instead of "From:" and "Views:". This can be tested simply by running "swfplay player2.swf", where player2.swf...
2007 Jun 17
2
Branch 'as' - test/trace
test/trace/Makefile.am | 1 test/trace/values.as | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) New commits: diff-tree aaca94203d8a0ccb8feb32c0d57df3401fca0350 (from 987074e275ac77f8799e5fdf41890e8ef126b291) Author: Benjamin Otte <otte at gnome.org> Date: Sun Jun 17 12:56:42 2007 +0200 add values.as which provides some default values
2007 Oct 26
0
2 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h test/trace
...() { + return { + constructor: A, + __proto__: A.prototype + }; +}; + +trace ("Before"); +var o = new A (); +trace (o instanceOf A); +trace (o instanceOf Array); +trace (o instanceOf XML); +trace (o instanceOf String); + +asm { + push "test" + push "Array" + getvariable + push "XML" + getvariable + push 2 + push "A" + getvariable + implements + trace +}; + +trace ("After"); +var o = new A (); +trace (o instanceOf A); +trace (o instanceOf Array); +trace (o instanceOf XML); +trace (o instanceOf String); + + +trace ("B ch...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c test/trace
...ace @@ -0,0 +1,2 @@ +null +[object Object] diff --git a/test/trace/cast.as b/test/trace/cast.as new file mode 100644 index 0000000..66ae59d --- /dev/null +++ b/test/trace/cast.as @@ -0,0 +1,23 @@ +// makeswf -v 7 -r 1 -o cast-7.swf cast.as + +var o = new Object (); + +asm { + push "o" + getvariable + push "Object" + getvariable + cast + trace +}; + +asm { + push "Object" + getvariable + push "o" + getvariable + cast + trace +}; + +loadMovie ("FSCommand:quit", ""); commit 85b0e8b36a6ccadd5bd54dbd9e384bc5fa73292d Author: Pekka Lamp...
2007 Apr 10
2
Matlab import
Dear R-Experts, here again a question concerning matlab. With the command "matrixM=[1 2 3;4 5 6]" a matrix under Matlab was constructed. It was than stored with the command "save('matrixM.txt','matrixM')". Now I tried to import the data in R with the help of the command "Z=matrix(scan("Z:/Software/R-Programme/matrixM.txt"))" An error
2007 Nov 14
0
4 commits - libswfdec/swfdec_as_interpret.c test/trace
...{ + 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 + pop + push 0, "super" + getvariable + push undefined + callmethod + pop + }; +}; +function call_huh () { + trace ("calling last fun...
2006 Dec 15
6
Query regarding linking R with Matlab
Thank you sir for your prompt reply. Currently i am stuck at point where I need to call an available Matlab program from an R 2.4.0 interface. How can I do this? I have downloaded the R.matlab file and also the manual in pdf. But still i am not able to get through the problem. I will be grateful to you if you can elaborate me on this. Awaiting your reply, regards, Bhanu Kalyan K