search for: resulttyp

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

Did you mean: resultty
2005 Aug 25
2
Custom Application For Asterisk
...; struct queue_ent *next; }; static int abcd_exec(struct ast_channel *chan, void *data) { int retried = 0; int res = 0; int res_type; int tdsret; int rowtype; int computeid; int i; int sucs = 0; struct localuser *u; char mysqlcmd[1024]; char myretnumber[6]; const void *value; char resulttype[4]; if (!data) { ast_log(LOG_WARNING, "abcd requires an argument (number)\n"); return -1; } LOCAL_USER_ADD(u); ast_mutex_lock(&tdslock); memset(mysqlcmd, 0, sizeof(mysqlcmd)); sprintf(mysqlcmd, "Select MyFunction(\'%s\') As result",((char *) data)); do {...
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
...eax holds the lower 32/64 bit >From what I understood this needs a Token Factor node, nodes which are dependent on each other? case X86ISD::RDMSR: { unsigned idReg; SDValue idRegValue; unsigned resultReg; SDLoc dl = SDLoc(Node); SDValue id = Node->getOperand(0); EVT resultType = Node->getValueType(0); if(Subtarget->is64Bit()) { idReg = X86::RCX; resultReg = X86::RAX; } else { idReg = X86::ECX; resultReg = X86::EAX; } idRegValue = CurDAG->getRegister(idReg, resultType); SmallVector<SDValue, 8> Ops; SDValue set...
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
Hello. I come back to this thread. But I want to ask a slightly different question. Is there a way to have LLVM IR language intrinsics that are given at construction time a string that is written at assembly generation time as it is? (so, basically having placeholders of strings in LLVM that remain untouched until the end, including code generation time.) More exactly, I would
2012 Aug 16
1
[LLVMdev] Question on C++ code completion - function parameter list
...uot;9:10" is the line:column number just after the parenthesis behind the function name. If the function is a C function, "c-index-test" returns a function parameter list for the function with the node 'CurrentParameter' which is important for code completion: NotImplemented:{ResultType int}{Text geti}{LeftParen (}{CurrentParameter int i}{Comma , }{Text char c}{RightParen )} (1) But if I use the same command line asking for the C++ function parameter list, the expected result is not returned. Hereafter is the source code x.cpp: int geti(int i, char c) { return 1; } // C functio...
2019 Jan 27
2
Missing formal definition of "declare"?
Hi, I don't find the formal definition of "declare", although it is used in ~300 hundred of places. Do I miss something? If it is not formally defined, should it be defined? Thanks. https://llvm.org/docs/LangRef.html -- Regards, Peng
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
...the picture below). if(Subtarget->is64Bit()) { idReg = X86::RCX; resultReg = MF.addLiveIn(X86::RAX, &X86::GR64RegClass); } else { idReg = X86::ECX; resultReg = MF.addLiveIn(X86::EAX, &X86::GR32RegClass); } idRegValue = CurDAG->getRegister(idReg, resultType); SDValue setIdNode = CurDAG->getCopyToReg(CurDAG->getEntryNode(), dl, idRegValue, id, SDValue()); SDValue rdmsrNode = SDValue(CurDAG->getMachineNode(X86::RDMSR, dl, MVT::Glue, setIdNode.getValue(1)), 0); SDValue resultNode = CurDAG->getCopyFromReg(CurDAG->getEntryNode(),...
2004 Apr 22
15
Cisco phones
Hello all, I haven't used cisco phones as yet - do they work with asterisk, are they good which models are the best? I am after a starting point! Thanks Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040422/f5246238/attachment.htm