Home
last modified time | relevance | path

Searched refs:Interpreter (Results 1 – 25 of 97) sorted by relevance

1234

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTokenRewriteStream.java34 import org.antlr.tool.Interpreter;
50 Interpreter lexEngine = new Interpreter(g, input); in testInsertBeforeIndex0()
65 Interpreter lexEngine = new Interpreter(g, input); in testInsertAfterLastIndex()
80 Interpreter lexEngine = new Interpreter(g, input); in test2InsertBeforeAfterMiddleIndex()
97 Interpreter lexEngine = new Interpreter(g, input); in testReplaceIndex0()
113 Interpreter lexEngine = new Interpreter(g, input); in testReplaceLastIndex()
129 Interpreter lexEngine = new Interpreter(g, input); in testReplaceMiddleIndex()
150 Interpreter lexEngine = new Interpreter(g, input); in testToStringStartStop()
185 Interpreter lexEngine = new Interpreter(g, input); in testToStringStartStop2()
232 Interpreter lexEngine = new Interpreter(g, input); in test2ReplaceMiddleIndex()
[all …]
DTestInterpretedLexing.java35 import org.antlr.tool.Interpreter;
84 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testSimpleAltCharTest()
85 engine = new Interpreter(g, new ANTLRStringStream("b")); in testSimpleAltCharTest()
88 engine = new Interpreter(g, new ANTLRStringStream("c")); in testSimpleAltCharTest()
99 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x in testSingleRuleRef()
110 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x in testSimpleLoop()
113 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testSimpleLoop()
123 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop()
125 engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop()
128 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testMultAltLoop()
[all …]
DTestInterpretedParsing.java34 import org.antlr.tool.Interpreter;
64 Interpreter lexEngine = new Interpreter(g, input); in testSimpleParse()
69 Interpreter parseEngine = new Interpreter(pg, tokens); in testSimpleParse()
99 Interpreter lexEngine = new Interpreter(g, input); in testMismatchedTokenError()
104 Interpreter parseEngine = new Interpreter(pg, tokens); in testMismatchedTokenError()
134 Interpreter lexEngine = new Interpreter(g, input); in testMismatchedSetError()
139 Interpreter parseEngine = new Interpreter(pg, tokens); in testMismatchedSetError()
169 Interpreter lexEngine = new Interpreter(g, input); in testNoViableAltError()
174 Interpreter parseEngine = new Interpreter(pg, tokens); in testNoViableAltError()
DTestCommonTokenStream.java33 import org.antlr.tool.Interpreter;
51 Interpreter lexEngine = new Interpreter(g, input); in testFirstToken()
72 Interpreter lexEngine = new Interpreter(g, input); in test2ndToken()
93 Interpreter lexEngine = new Interpreter(g, input); in testCompleteBuffer()
123 Interpreter lexEngine = new Interpreter(g, input); in testCompleteBufferAfterConsuming()
154 Interpreter lexEngine = new Interpreter(g, input); in testLookback()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreterConfiguration.java52 private final Set<Interpreter> mInterpreterSet;
65 private final Map<String, Interpreter> mmDiscoveredInterpreters;
71 mmDiscoveredInterpreters = new HashMap<String, Interpreter>(); in InterpreterListener()
118 Interpreter discoveredInterpreter = buildInterpreter(packageName); in addInterpreter()
135 Interpreter interpreter = mmDiscoveredInterpreters.get(packageName); in remove()
148 private Interpreter buildInterpreter(String packageName) { in buildInterpreter()
172 return Interpreter.buildFromMaps(interpreterMap, environmentMap, argumentsMap); in buildInterpreter()
214 mInterpreterSet = new CopyOnWriteArraySet<Interpreter>(); in InterpreterConfiguration()
255 public List<? extends Interpreter> getSupportedInterpreters() { in getSupportedInterpreters()
256 return new ArrayList<Interpreter>(mInterpreterSet); in getSupportedInterpreters()
[all …]
DInterpreter.java35 public class Interpreter implements InterpreterPropertyNames { class
48 public Interpreter() { in Interpreter() method in Interpreter
53 public static Interpreter buildFromMaps(Map<String, String> data, in buildFromMaps()
69 Interpreter interpreter = new Interpreter(); in buildFromMaps()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp26 RegisterInterp() { Interpreter::Register(); } in RegisterInterp()
35 ExecutionEngine *Interpreter::create(Module *M, std::string* ErrStr) { in create()
41 return new Interpreter(M); in create()
47 Interpreter::Interpreter(Module *M) in Interpreter() function in Interpreter
60 Interpreter::~Interpreter() { in ~Interpreter()
64 void Interpreter::runAtExitHandlers () { in runAtExitHandlers()
75 Interpreter::runFunction(Function *F, in runFunction()
DExecution.cpp257 void Interpreter::visitICmpInst(ICmpInst &I) { in visitICmpInst()
445 void Interpreter::visitFCmpInst(FCmpInst &I) { in visitFCmpInst()
521 void Interpreter::visitBinaryOperator(BinaryOperator &I) { in visitBinaryOperator()
557 void Interpreter::visitSelectInst(SelectInst &I) { in visitSelectInst()
571 void Interpreter::exitCalled(GenericValue GV) { in exitCalled()
588 void Interpreter::popStackAndReturnValueToCaller(Type *RetTy, in popStackAndReturnValueToCaller()
614 void Interpreter::visitReturnInst(ReturnInst &I) { in visitReturnInst()
628 void Interpreter::visitUnwindInst(UnwindInst &I) { in visitUnwindInst()
646 void Interpreter::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
650 void Interpreter::visitBranchInst(BranchInst &I) { in visitBranchInst()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp26 RegisterInterp() { Interpreter::Register(); } in RegisterInterp()
35 ExecutionEngine *Interpreter::create(std::unique_ptr<Module> M, in create()
45 return new Interpreter(std::move(M)); in create()
51 Interpreter::Interpreter(std::unique_ptr<Module> M) in Interpreter() function in Interpreter
63 Interpreter::~Interpreter() { in ~Interpreter()
67 void Interpreter::runAtExitHandlers () { in runAtExitHandlers()
77 GenericValue Interpreter::runFunction(Function *F, in runFunction()
DExecution.cpp278 void Interpreter::visitICmpInst(ICmpInst &I) { in visitICmpInst()
610 void Interpreter::visitFCmpInst(FCmpInst &I) { in visitFCmpInst()
681 void Interpreter::visitBinaryOperator(BinaryOperator &I) { in visitBinaryOperator()
806 void Interpreter::visitSelectInst(SelectInst &I) { in visitSelectInst()
820 void Interpreter::exitCalled(GenericValue GV) { in exitCalled()
837 void Interpreter::popStackAndReturnValueToCaller(Type *RetTy, in popStackAndReturnValueToCaller()
863 void Interpreter::visitReturnInst(ReturnInst &I) { in visitReturnInst()
877 void Interpreter::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
881 void Interpreter::visitBranchInst(BranchInst &I) { in visitBranchInst()
894 void Interpreter::visitSwitchInst(SwitchInst &I) { in visitSwitchInst()
[all …]
/external/v8/src/interpreter/
Dinterpreter.cc90 Interpreter::Interpreter(Isolate* isolate) : isolate_(isolate) { in Interpreter() function in v8::internal::interpreter::Interpreter
94 void Interpreter::Initialize() { in Initialize()
117 &Interpreter::Do##Name); in Initialize()
135 void Interpreter::InstallBytecodeHandler(Zone* zone, Bytecode bytecode, in InstallBytecodeHandler()
159 Code* Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler()
169 size_t Interpreter::GetDispatchTableIndex(Bytecode bytecode, in GetDispatchTableIndex()
185 void Interpreter::IterateDispatchTable(ObjectVisitor* v) { in IterateDispatchTable()
200 int Interpreter::InterruptBudget() { in InterruptBudget()
283 CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info) { in NewCompilationJob()
287 bool Interpreter::IsDispatchTableInitialized() { in IsDispatchTableInitialized()
[all …]
Dinterpreter.h35 class Interpreter {
37 explicit Interpreter(Isolate* isolate);
38 virtual ~Interpreter() {} in ~Interpreter()
79 typedef void (Interpreter::*BytecodeGeneratorFunc)(InterpreterAssembler*);
184 DISALLOW_COPY_AND_ASSIGN(Interpreter);
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DExecutionDriver.cpp158 Interpreter = in initializeExecutionEnvironment()
161 if (!Interpreter) { in initializeExecutionEnvironment()
163 Interpreter = AbstractInterpreter::createJIT(getToolName(), Message, in initializeExecutionEnvironment()
166 if (!Interpreter) { in initializeExecutionEnvironment()
168 Interpreter = AbstractInterpreter::createLLC(getToolName(), Message, in initializeExecutionEnvironment()
172 if (!Interpreter) { in initializeExecutionEnvironment()
174 Interpreter = AbstractInterpreter::createLLI(getToolName(), Message, in initializeExecutionEnvironment()
177 if (!Interpreter) { in initializeExecutionEnvironment()
183 Interpreter = AbstractInterpreter::createLLI(getToolName(), Message, in initializeExecutionEnvironment()
189 Interpreter = AbstractInterpreter::createLLC(getToolName(), Message, in initializeExecutionEnvironment()
[all …]
DBugDriver.h52 AbstractInterpreter *Interpreter; // How to run the program variable
149 AbstractInterpreter *Old = Interpreter; in switchToSafeInterpreter()
150 Interpreter = (AbstractInterpreter*)SafeInterpreter; in switchToSafeInterpreter()
155 Interpreter = AI; in switchToInterpreter()
/external/llvm/tools/bugpoint/
DExecutionDriver.cpp160 if (!Interpreter) { in initializeExecutionEnvironment()
162 Interpreter = AbstractInterpreter::createJIT(getToolName(), Message, in initializeExecutionEnvironment()
165 if (!Interpreter) { in initializeExecutionEnvironment()
167 Interpreter = AbstractInterpreter::createLLC(getToolName(), Message, in initializeExecutionEnvironment()
171 if (!Interpreter) { in initializeExecutionEnvironment()
173 Interpreter = AbstractInterpreter::createLLI(getToolName(), Message, in initializeExecutionEnvironment()
176 if (!Interpreter) { in initializeExecutionEnvironment()
182 Interpreter = AbstractInterpreter::createLLI(getToolName(), Message, in initializeExecutionEnvironment()
188 Interpreter = AbstractInterpreter::createLLC(getToolName(), Message, in initializeExecutionEnvironment()
194 Interpreter = AbstractInterpreter::createJIT(getToolName(), Message, in initializeExecutionEnvironment()
[all …]
DBugDriver.h53 AbstractInterpreter *Interpreter; // How to run the program variable
144 AbstractInterpreter *Old = Interpreter; in switchToSafeInterpreter()
145 Interpreter = (AbstractInterpreter*)SafeInterpreter; in switchToSafeInterpreter()
150 Interpreter = AI; in switchToInterpreter()
/external/testng/src/main/java/org/testng/internal/
DBsh.java4 import bsh.Interpreter;
14 private static Interpreter s_interpreter;
20 Interpreter interpreter = getInterpreter(); in includeMethodFromExpression()
42 private static Interpreter getInterpreter() { in getInterpreter()
44 s_interpreter= new Interpreter(); in getInterpreter()
50 …private void setContext(Interpreter interpreter, Method method, Map<String, String> groups, ITestN… in setContext()
61 private void resetContext(Interpreter interpreter) { in resetContext()
/external/python/cpython2/Doc/library/
Dautogil.rst2 :mod:`autoGIL` --- Global Interpreter Lock handling in event loops
7 :synopsis: Global Interpreter Lock handling in event loops.
13 automatically locks and unlocks Python's :term:`Global Interpreter Lock` when
30 thread, that will lock and unlock the Global Interpreter Lock (GIL) at
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DInterpreterPicker.java38 import com.googlecode.android_scripting.interpreter.Interpreter;
50 private List<Interpreter> mInterpreters;
70 final Interpreter interpreter = (Interpreter) list.getItemAtPosition(position); in onListItemClick()
125 Interpreter interpreter = mInterpreters.get(position); in getView()
DInterpreterManager.java47 import com.googlecode.android_scripting.interpreter.Interpreter;
59 private List<Interpreter> mInterpreters;
76 mInterpreters = new ArrayList<Interpreter>(); in onCreate()
173 private void launchTerminal(Interpreter interpreter) { in launchTerminal()
182 Interpreter interpreter = (Interpreter) list.getItemAtPosition(position); in onListItemClick()
235 Interpreter interpreter = mInterpreters.get(position); in getView()
DScriptManager.java54 import com.googlecode.android_scripting.interpreter.Interpreter;
78 private HashMap<Integer, Interpreter> mAddMenuIds;
289 mAddMenuIds = new LinkedHashMap<Integer, Interpreter>(); in buildMenuIdMaps()
291 List<Interpreter> installed = mConfiguration.getInstalledInterpreters(); in buildMenuIdMaps()
292 Collections.sort(installed, new Comparator<Interpreter>() { in buildMenuIdMaps()
294 public int compare(Interpreter interpreterA, Interpreter interpreterB) { in buildMenuIdMaps()
298 for (Interpreter interpreter : installed) { in buildMenuIdMaps()
309 for (Entry<Integer, Interpreter> entry : mAddMenuIds.entrySet()) { in buildAddMenu()
325 Interpreter interpreter = mAddMenuIds.get(itemId); in onOptionsItemSelected()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DInterp.java113 Interpreter lexEngine = new Interpreter(lexer, input); in main()
125 Interpreter parseEngine = new Interpreter(parser, tokens); in main()
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/interpreter/
DInterpreterProcess.java36 private final Interpreter mInterpreter;
47 public InterpreterProcess(Interpreter interpreter, AndroidProxy proxy) { in InterpreterProcess()
68 public Interpreter getInterpreter() { in getInterpreter()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/shell/
DShellInterpreter.java19 import com.googlecode.android_scripting.interpreter.Interpreter;
28 public class ShellInterpreter extends Interpreter {
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/
DScriptProcess.java19 import com.googlecode.android_scripting.interpreter.Interpreter;
34 Interpreter interpreter = configuration.getInterpreterForScript(scriptName); in ScriptProcess()

1234