/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 34 import org.antlr.tool.Interpreter; 52 Interpreter lexEngine = new Interpreter(g, input); in testInsertBeforeIndex0() 67 Interpreter lexEngine = new Interpreter(g, input); in testInsertAfterLastIndex() 82 Interpreter lexEngine = new Interpreter(g, input); in test2InsertBeforeAfterMiddleIndex() 99 Interpreter lexEngine = new Interpreter(g, input); in testReplaceIndex0() 115 Interpreter lexEngine = new Interpreter(g, input); in testReplaceLastIndex() 131 Interpreter lexEngine = new Interpreter(g, input); in testReplaceMiddleIndex() 152 Interpreter lexEngine = new Interpreter(g, input); in testToStringStartStop() 187 Interpreter lexEngine = new Interpreter(g, input); in testToStringStartStop2() 234 Interpreter lexEngine = new Interpreter(g, input); in test2ReplaceMiddleIndex() [all …]
|
D | TestInterpretedLexing.java | 35 import org.antlr.tool.Interpreter; 86 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testSimpleAltCharTest() 87 engine = new Interpreter(g, new ANTLRStringStream("b")); in testSimpleAltCharTest() 90 engine = new Interpreter(g, new ANTLRStringStream("c")); in testSimpleAltCharTest() 101 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x in testSingleRuleRef() 112 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x in testSimpleLoop() 115 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testSimpleLoop() 125 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop() 127 engine = new Interpreter(g, new ANTLRStringStream("a")); in testMultAltLoop() 130 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testMultAltLoop() [all …]
|
D | TestInterpretedParsing.java | 34 import org.antlr.tool.Interpreter; 66 Interpreter lexEngine = new Interpreter(g, input); in testSimpleParse() 71 Interpreter parseEngine = new Interpreter(pg, tokens); in testSimpleParse() 101 Interpreter lexEngine = new Interpreter(g, input); in testMismatchedTokenError() 106 Interpreter parseEngine = new Interpreter(pg, tokens); in testMismatchedTokenError() 136 Interpreter lexEngine = new Interpreter(g, input); in testMismatchedSetError() 141 Interpreter parseEngine = new Interpreter(pg, tokens); in testMismatchedSetError() 171 Interpreter lexEngine = new Interpreter(g, input); in testNoViableAltError() 176 Interpreter parseEngine = new Interpreter(pg, tokens); in testNoViableAltError()
|
D | TestCommonTokenStream.java | 33 import org.antlr.tool.Interpreter; 53 Interpreter lexEngine = new Interpreter(g, input); in testFirstToken() 74 Interpreter lexEngine = new Interpreter(g, input); in test2ndToken() 95 Interpreter lexEngine = new Interpreter(g, input); in testCompleteBuffer() 125 Interpreter lexEngine = new Interpreter(g, input); in testCompleteBufferAfterConsuming() 156 Interpreter lexEngine = new Interpreter(g, input); in testLookback()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | InterpreterTest.java | 52 Interpreter interpreter = new Interpreter(MODEL_FILE); in testInterpreter() 63 Interpreter interpreter = in testInterpreterWithOptions() 64 new Interpreter(MODEL_FILE, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true)); in testInterpreterWithOptions() 80 Interpreter interpreter = new Interpreter(mappedByteBuffer); in testRunWithMappedByteBufferModel() 102 Interpreter interpreter = new Interpreter(byteBuffer); in testRunWithDirectByteBufferModel() 125 new Interpreter(byteBuffer); in testRunWithInvalidByteBufferModel() 139 Interpreter interpreter = new Interpreter(MODEL_FILE); in testRun() 156 Interpreter interpreter = new Interpreter(MODEL_FILE); in testRunWithBoxedInputs() 171 Interpreter interpreter = new Interpreter(MULTIPLE_INPUTS_MODEL_FILE); in testRunForMultipleInputsOutputs() 206 try (Interpreter interpreter = new Interpreter(MODEL_FILE)) { in testRunWithByteBufferOutput() [all …]
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter.cc | 57 Interpreter::Interpreter(ErrorReporter* error_reporter) in Interpreter() function in tflite::Interpreter 79 Interpreter::~Interpreter() {} in ~Interpreter() 81 void Interpreter::SetExternalContext(TfLiteExternalContextType type, in SetExternalContext() 86 TfLiteStatus Interpreter::SetInputs(std::vector<int> inputs) { in SetInputs() 90 TfLiteStatus Interpreter::SetOutputs(std::vector<int> outputs) { in SetOutputs() 94 TfLiteStatus Interpreter::SetVariables(std::vector<int> variables) { in SetVariables() 98 TfLiteStatus Interpreter::AllocateTensors() { in AllocateTensors() 102 void Interpreter::ReserveNodes(int count) { in ReserveNodes() 106 void Interpreter::AddSubgraphs(int subgraphs_to_add, in AddSubgraphs() 119 TfLiteStatus Interpreter::AddNodeWithParameters( in AddNodeWithParameters() [all …]
|
D | model_test.cc | 81 std::unique_ptr<Interpreter> interpreter; in TEST() 94 std::unique_ptr<Interpreter> interpreter; in TEST() 102 std::unique_ptr<Interpreter> interpreter; in TEST() 113 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() 125 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() 208 std::unique_ptr<Interpreter> interpreter; in TEST() 228 std::unique_ptr<Interpreter> interpreter(new Interpreter); in TEST() 276 std::unique_ptr<Interpreter> interpreter; in TEST() 290 std::unique_ptr<Interpreter> interpreter; in TEST() 311 std::unique_ptr<Interpreter> interpreter; in TEST()
|
D | interpreter_test.cc | 33 Interpreter* interpreter, std::unique_ptr<Delegate> delegate) { in ModifyGraphWithDelegate() 34 Interpreter::TfLiteDelegatePtr tflite_delegate( in ModifyGraphWithDelegate() 44 Interpreter interpreter_; 61 Interpreter interpreter; in TEST() 72 Interpreter interpreter2; in TEST() 78 Interpreter interpreter; in TEST() 85 Interpreter interpreter; in TEST() 103 Interpreter interpreter; in TEST() 122 Interpreter interpreter; in TEST() 130 Interpreter interpreter; in TEST() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterConfiguration.java | 52 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 …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.cpp | 26 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()
|
D | Execution.cpp | 257 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/ |
D | Interpreter.cpp | 26 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.cpp | 26 RegisterInterp() { Interpreter::Register(); } in RegisterInterp() 35 ExecutionEngine *Interpreter::create(std::unique_ptr<Module> M, in create() 49 return new Interpreter(std::move(M)); in create() 55 Interpreter::Interpreter(std::unique_ptr<Module> M) in Interpreter() function in Interpreter 67 Interpreter::~Interpreter() { in ~Interpreter() 71 void Interpreter::runAtExitHandlers () { in runAtExitHandlers() 81 GenericValue Interpreter::runFunction(Function *F, in runFunction()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | ExecutionDriver.cpp | 158 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | ExecutionDriver.cpp | 159 if (!Interpreter) { in initializeExecutionEnvironment() 161 Interpreter = in initializeExecutionEnvironment() 164 if (!Interpreter) { in initializeExecutionEnvironment() 166 Interpreter = AbstractInterpreter::createLLC( in initializeExecutionEnvironment() 169 if (!Interpreter) { in initializeExecutionEnvironment() 171 Interpreter = in initializeExecutionEnvironment() 174 if (!Interpreter) { in initializeExecutionEnvironment() 180 Interpreter = in initializeExecutionEnvironment() 186 Interpreter = AbstractInterpreter::createLLC( in initializeExecutionEnvironment() 191 Interpreter = in initializeExecutionEnvironment() [all …]
|
/external/llvm/tools/bugpoint/ |
D | ExecutionDriver.cpp | 160 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 …]
|
/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 30 void Interpreter::run() { in run() 47 void Interpreter::run(const FunctionDefinition& f) { in run() 60 void Interpreter::push(Value value) { in push() 64 Interpreter::Value Interpreter::pop() { in pop() 71 Interpreter::StackIndex Interpreter::stackAlloc(int count) { in stackAlloc() 79 void Interpreter::runStatement() { in runStatement() 179 static Interpreter::TypeKind type_kind(const Type& type) { in type_kind() 181 return Interpreter::kInt_TypeKind; in type_kind() 183 return Interpreter::kFloat_TypeKind; in type_kind() 188 Interpreter::StackIndex Interpreter::getLValue(const Expression& expr) { in getLValue() [all …]
|
/external/skia/src/sksl/ |
D | SkSLInterpreter.cpp | 30 void Interpreter::run() { in run() 47 void Interpreter::run(const FunctionDefinition& f) { in run() 60 void Interpreter::push(Value value) { in push() 64 Interpreter::Value Interpreter::pop() { in pop() 71 Interpreter::StackIndex Interpreter::stackAlloc(int count) { in stackAlloc() 79 void Interpreter::runStatement() { in runStatement() 179 static Interpreter::TypeKind type_kind(const Type& type) { in type_kind() 181 return Interpreter::kInt_TypeKind; in type_kind() 183 return Interpreter::kFloat_TypeKind; in type_kind() 188 Interpreter::StackIndex Interpreter::getLValue(const Expression& expr) { in getLValue() [all …]
|
/external/testng/src/main/java/org/testng/internal/ |
D | Bsh.java | 4 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/tensorflow/tensorflow/lite/g3doc/performance/ |
D | gpu_advanced.md | 63 GpuDelegate through `Interpreter.Options`. 68 Interpreter.Options options = (new Interpreter.Options()).addDelegate(delegate); 71 Interpreter interpreter = new Interpreter(model, options); 85 then pass it to `Interpreter::ModifyGraphWithDelegate()` (instead of calling 86 `Interpreter::AllocateTensors()`). 93 std::unique_ptr<Interpreter> interpreter; 115 Note: When calling `Interpreter::ModifyGraphWithDelegate()` or 116 `Interpreter::Invoke()`, the caller must have an `EGLContext` in the current 117 thread and `Interpreter::Invoke()` must be called from the same `EGLContext`. If 119 then the developer must ensure that `Interpreter::Invoke()` is always called [all …]
|
/external/libtextclassifier/utils/ |
D | tflite-model-executor.h | 65 std::unique_ptr<tflite::Interpreter> CreateInterpreter() const; 69 tflite::Interpreter* interpreter) const { in SetInput() 76 tflite::Interpreter* interpreter) const { in SetInput() 83 tflite::Interpreter* interpreter) const { in SetInput() 115 const tflite::Interpreter* interpreter) const { in OutputView() 126 const tflite::Interpreter* interpreter) const { in Output() 143 tflite::Interpreter* interpreter) const; 147 const int output_index, const tflite::Interpreter* interpreter) const; 151 const int output_index, const tflite::Interpreter* interpreter) const;
|
/external/v8/src/interpreter/ |
D | interpreter.cc | 50 Interpreter::Interpreter(Isolate* isolate) : isolate_(isolate) { in Interpreter() function in v8::internal::interpreter::Interpreter 62 Code* Interpreter::GetAndMaybeDeserializeBytecodeHandler( in GetAndMaybeDeserializeBytecodeHandler() 82 Code* Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() 91 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() 100 size_t Interpreter::GetDispatchTableIndex(Bytecode bytecode, in GetDispatchTableIndex() 115 void Interpreter::IterateDispatchTable(RootVisitor* v) { in IterateDispatchTable() 129 int Interpreter::InterruptBudget() { in InterruptBudget() 224 UnoptimizedCompilationJob* Interpreter::NewCompilationJob( in NewCompilationJob() 232 bool Interpreter::IsDispatchTableInitialized() const { in IsDispatchTableInitialized() 236 const char* Interpreter::LookupNameOfBytecodeHandler(const Code* code) { in LookupNameOfBytecodeHandler() [all …]
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.cc | 19 tflite::Interpreter* convertLongToInterpreter(JNIEnv* env, jlong handle) { in convertLongToInterpreter() 25 return reinterpret_cast<tflite::Interpreter*>(handle); in convertLongToInterpreter() 136 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() 158 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors() 176 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputTensorIndex() 184 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputTensorIndex() 193 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputCount() 202 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputCount() 211 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() 235 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_useNNAPI() [all …]
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Interpreter.java | 78 public final class Interpreter implements AutoCloseable { class 147 public Interpreter(@NonNull File modelFile) { in Interpreter() method in Interpreter 160 public Interpreter(@NonNull File modelFile, int numThreads) { in Interpreter() method in Interpreter 170 public Interpreter(@NonNull File modelFile, Options options) { in Interpreter() method in Interpreter 181 public Interpreter(@NonNull ByteBuffer byteBuffer) { in Interpreter() method in Interpreter 197 public Interpreter(@NonNull ByteBuffer byteBuffer, int numThreads) { in Interpreter() method in Interpreter 211 public Interpreter(@NonNull MappedByteBuffer mappedByteBuffer) { in Interpreter() method in Interpreter 223 public Interpreter(@NonNull ByteBuffer byteBuffer, Options options) { in Interpreter() method in Interpreter
|
/external/tensorflow/tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite/ |
D | TestHelper.java | 28 public static Long getLastNativeInferenceDurationNanoseconds(Interpreter interpreter) { in getLastNativeInferenceDurationNanoseconds() 44 public static int[] getInputDims(Interpreter interpreter, int index) { in getInputDims() 63 public static String getInputDataType(Interpreter interpreter, int index) { in getInputDataType() 82 public static String getOutputDataType(Interpreter interpreter, int index) { in getOutputDataType()
|