Home
last modified time | relevance | path

Searched refs:inputs (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case()
164 std::vector<tcu::Vec2> inputs; in iterate() local
171 inputs.push_back(tcu::Vec2(0.0f, 0.0f)); in iterate()
172 inputs.push_back(tcu::Vec2(-1.0f, 1.0f)); in iterate()
173 inputs.push_back(tcu::Vec2(0.5f, -0.5f)); in iterate()
174 inputs.push_back(tcu::Vec2(-1.5f, 1.5f)); in iterate()
175 inputs.push_back(tcu::Vec2(0.25f, -0.75f)); in iterate()
182 inputs.push_back(tcu::Vec2(x, y)); in iterate()
190 inputs.push_back(tcu::Vec2(x, y)); in iterate()
193 outputs.resize(inputs.size()); in iterate()
[all …]
Des31fShaderIntegerFunctionTests.cpp177 virtual bool compare (const void* const* inputs, const void* const* outputs) = 0;
258 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate()
262 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate()
274 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate()
297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
[all …]
Des31fShaderCommonFunctionTests.cpp252 virtual bool compare (const void* const* inputs, const void* const* outputs) = 0;
399 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate()
403 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate()
415 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate()
438 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
439 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
502 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
523 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
524 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
533 bool compare (const void* const* inputs, const void* const* outputs) in compare() argument
[all …]
Des31fShaderAtomicOpTests.cpp76 virtual void getInputs (int numValues, int stride, void* inputs) const = 0;
77 …virtual bool verify (int numValues, int inputStride, const void* inputs, int outputStride, co…
265 void getInputs (int numValues, int stride, void* inputs) const in getInputs()
274 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
277 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
292 … const int inputValue = *(const int*)((const deUint8*)inputs + inputStride*(groupOffset+localNdx)); in verify()
304 …const int inputValue = *(const int*)((const deUint8*)inputs + inputStride*(groupOffset+localNdx)); in verify()
419 void getInputs (int numValues, int stride, void* inputs) const in getInputs()
427 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
430 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case()
160 std::vector<tcu::Vec2> inputs; in iterate() local
167 inputs.push_back(tcu::Vec2(0.0f, 0.0f)); in iterate()
168 inputs.push_back(tcu::Vec2(-1.0f, 1.0f)); in iterate()
169 inputs.push_back(tcu::Vec2(0.5f, -0.5f)); in iterate()
170 inputs.push_back(tcu::Vec2(-1.5f, 1.5f)); in iterate()
171 inputs.push_back(tcu::Vec2(0.25f, -0.75f)); in iterate()
178 inputs.push_back(tcu::Vec2(x, y)); in iterate()
186 inputs.push_back(tcu::Vec2(x, y)); in iterate()
189 outputs.resize(inputs.size()); in iterate()
[all …]
Des3fShaderCommonFunctionTests.cpp179 virtual bool compare (const void* const* inputs, const void* const* outputs) = 0;
326 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate()
330 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate()
342 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate()
365 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
456 bool compare (const void* const* inputs, const void* const* outputs) in compare() argument
[all …]
/external/v8/src/compiler/
Dvalue-numbering-reducer-unittest.cc59 Node* inputs[kMaxInputCount]; in TEST_F() local
60 for (size_t i = 0; i < arraysize(inputs); ++i) { in TEST_F()
63 inputs[i] = graph()->NewNode(new (zone()) SimpleOperator( in TEST_F()
66 TRACED_FORRANGE(size_t, input_count, 0, arraysize(inputs)) { in TEST_F()
70 Node* n1 = graph()->NewNode(&op1, static_cast<int>(input_count), inputs); in TEST_F()
77 Node* n2 = graph()->NewNode(&op2, static_cast<int>(input_count), inputs); in TEST_F()
87 Node* inputs[kMaxInputCount]; in TEST_F() local
88 for (size_t i = 0; i < arraysize(inputs); ++i) { in TEST_F()
91 inputs[i] = graph()->NewNode(new (zone()) SimpleOperator( in TEST_F()
94 TRACED_FORRANGE(size_t, input_count, 0, arraysize(inputs)) { in TEST_F()
[all …]
Dgraph-builder.cc185 int inputs = OperatorProperties::GetControlInputCount(control->op()) + 1; in MergeControl() local
188 const Operator* op = common()->Loop(inputs); in MergeControl()
193 const Operator* op = common()->Merge(inputs); in MergeControl()
198 const Operator* op = common()->Merge(inputs); in MergeControl()
207 int inputs = OperatorProperties::GetControlInputCount(control->op()); in MergeEffect() local
211 value->set_op(common()->EffectPhi(inputs)); in MergeEffect()
212 value->InsertInput(zone(), inputs - 1, other); in MergeEffect()
215 value = NewEffectPhi(inputs, value, control); in MergeEffect()
216 value->ReplaceInput(inputs - 1, other); in MergeEffect()
224 int inputs = OperatorProperties::GetControlInputCount(control->op()); in MergeValue() local
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.h119 struct lp_rast_shader_inputs inputs; member
124 #define GET_A0(inputs) ((float (*)[4])((inputs)+1)) argument
125 #define GET_DADX(inputs) ((float (*)[4])((char *)((inputs) + 1) + (inputs)->stride)) argument
126 #define GET_DADY(inputs) ((float (*)[4])((char *)((inputs) + 1) + 2 * (inputs)->stride)) argument
127 #define GET_PLANES(tri) ((struct lp_rast_plane *)((char *)(&(tri)->inputs + 1) + 3 * (tri)->inputs.…
Dlp_setup_tri.c99 tri->inputs.stride = input_array_sz; in lp_setup_alloc_triangle()
123 const float *in = v[key->inputs[i].src_index]; in lp_setup_print_vertex()
127 name, key->inputs[i].src_index, in lp_setup_print_vertex()
128 (key->inputs[i].usage_mask & 0x1) ? "x" : " ", in lp_setup_print_vertex()
129 (key->inputs[i].usage_mask & 0x2) ? "y" : " ", in lp_setup_print_vertex()
130 (key->inputs[i].usage_mask & 0x4) ? "z" : " ", in lp_setup_print_vertex()
131 (key->inputs[i].usage_mask & 0x8) ? "w" : " "); in lp_setup_print_vertex()
134 if (key->inputs[i].usage_mask & (1<<j)) in lp_setup_print_vertex()
198 const struct lp_rast_shader_inputs *inputs, in lp_setup_whole_tile() argument
206 if (inputs->opaque) { in lp_setup_whole_tile()
[all …]
Dlp_setup_point.c217 unsigned vert_attr = key->inputs[slot].src_index; in setup_point_coefficients()
218 unsigned usage_mask = key->inputs[slot].usage_mask; in setup_point_coefficients()
219 enum lp_interp interp = key->inputs[slot].interp; in setup_point_coefficients()
374 info.a0 = GET_A0(&point->inputs); in try_setup_point()
375 info.dadx = GET_DADX(&point->inputs); in try_setup_point()
376 info.dady = GET_DADY(&point->inputs); in try_setup_point()
382 point->inputs.frontfacing = TRUE; in try_setup_point()
383 point->inputs.disable = FALSE; in try_setup_point()
384 point->inputs.opaque = FALSE; in try_setup_point()
/external/clang/utils/ABITest/
DMakefile.test.common110 temps/test.%.ref.o: inputs/test.%.c temps/.dir
113 temps/test.%.x.o: inputs/test.%.c temps/.dir
116 temps/test.%.y.o: inputs/test.%.c temps/.dir
127 temps/test.%.a.x.ll: inputs/test.%.a.c temps/.dir
130 temps/test.%.b.x.ll: inputs/test.%.b.c temps/.dir
133 temps/test.%.a.y.ll: inputs/test.%.a.c temps/.dir
136 temps/test.%.b.y.ll: inputs/test.%.b.c temps/.dir
142 test.%.top: inputs/test.%.a.c inputs/test.%.b.c inputs/test.%.driver.c
145 .PRECIOUS: inputs/test.%.a.c inputs/test.%.b.c inputs/test.%.driver.c
146 inputs/test.%.a.c: test.%.generate
[all …]
/external/eigen/test/
DsparseLM.cpp26 sparseGaussianTest(int inputs, int values) : SparseFunctor<Scalar,int>(inputs,values) in sparseGaussianTest()
33 int n = Base::inputs(); in model()
62 int n = Base::inputs(); in operator ()()
86 int n = Base::inputs(); in df()
133 int inputs = 10; in test_sparseLM_T() local
135 sparseGaussianTest<T> sparse_gaussian(inputs, values); in test_sparseLM_T()
136 VectorType uv(inputs),uv_ref(inputs); in test_sparseLM_T()
148 VectorBlock<VectorType> u(uv, 0, inputs/2); in test_sparseLM_T()
149 VectorBlock<VectorType> v(uv, inputs/2, inputs/2); in test_sparseLM_T()
DdenseLM.cpp34 int n = Base::inputs(); in model()
60 int n = Base::inputs(); in operator ()()
81 int n = Base::inputs(); in df()
150 int inputs = 10; in test_denseLM_T() local
152 DenseLM<T> dense_gaussian(inputs, values); in test_denseLM_T()
153 VectorType uv(inputs),uv_ref(inputs); in test_denseLM_T()
166 VectorBlock<VectorType> u(uv, 0, inputs/2); in test_denseLM_T()
167 VectorBlock<VectorType> v(uv, inputs/2, inputs/2); in test_denseLM_T()
/external/openfst/src/include/fst/extensions/far/
Dcompile-strings.h214 vector<string> inputs; in FarCompileStrings() local
221 inputs.push_back(str); in FarCompileStrings()
226 inputs = in_fnames; in FarCompileStrings()
229 for (int i = 0, n = 0; i < inputs.size(); ++i) { in FarCompileStrings()
230 if (generate_keys == 0 && inputs[i].empty()) { in FarCompileStrings()
239 KeySize(inputs[i].c_str())); in FarCompileStrings()
240 istream *istrm = inputs[i].empty() ? &cin : in FarCompileStrings()
241 new ifstream(inputs[i].c_str()); in FarCompileStrings()
245 *istrm, inputs[i].empty() ? "stdin" : inputs[i], in FarCompileStrings()
260 << " in file " << inputs[i] << " failed with token_type = " in FarCompileStrings()
[all …]
Dcreate.h49 vector<string> inputs; in FarCreate() local
55 inputs.push_back(str); in FarCreate()
58 inputs = in_fnames; in FarCreate()
61 for (int i = 0; i < inputs.size(); ++i) { in FarCreate()
62 Fst<Arc> *ifst = Fst<Arc>::Read(inputs[i]); in FarCreate()
72 char* filename = new char[inputs[i].size() + 1]; in FarCreate()
73 strcpy(filename, inputs[i].c_str()); in FarCreate()
/external/eigen/unsupported/test/
Dforward_adolc.cpp40 TestFunc1(int inputs, int values) : m_inputs(inputs), m_values(values) {} in TestFunc1()
42 int inputs() const { return m_inputs; } in inputs() function
52 if(inputs()>2) in operator ()()
61 if (inputs()>2 && values()>2) in operator ()()
79 if (inputs()>2) in operator ()()
89 if (inputs()>2 && values()>2) in operator ()()
103 typename Func::InputType x = Func::InputType::Random(f.inputs()); in adolc_forward_jacobian()
105 typename Func::JacobianType j(f.values(),f.inputs()), jref(f.values(),f.inputs()); in adolc_forward_jacobian()
Dautodiff.cpp46 TestFunc1(int inputs, int values) : m_inputs(inputs), m_values(values) {} in TestFunc1()
48 int inputs() const { return m_inputs; } in inputs() function
58 if(inputs()>2) in operator ()()
67 if (inputs()>2 && values()>2) in operator ()()
85 if (inputs()>2) in operator ()()
95 if (inputs()>2 && values()>2) in operator ()()
109 typename Func::InputType x = Func::InputType::Random(f.inputs()); in forward_jacobian()
111 typename Func::JacobianType j(f.values(),f.inputs()), jref(f.values(),f.inputs()); in forward_jacobian()
/external/skia/include/effects/
DSkComposeImageFilter.h24 SkImageFilter* inputs[2] = { outer, inner }; in Create() local
25 return SkNEW_ARGS(SkComposeImageFilter, (inputs)); in Create()
33 explicit SkComposeImageFilter(SkImageFilter* inputs[2]) : INHERITED(2, inputs) { in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
34 SkASSERT(inputs[0]); in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
35 SkASSERT(inputs[1]); in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
/external/javassist/src/main/javassist/bytecode/stackmap/
DLiveness.java68 if (tb.inputs != null) in computeLiveness1()
83 if (h.inputs[k]) in computeLiveness1()
95 in[k] = usage[k] == UNKNOWN && e.inputs[k]; in computeLiveness1()
100 if (tb.inputs == null) { in computeLiveness1()
101 tb.inputs = in; in computeLiveness1()
106 if (in[i] && !tb.inputs[i]) { in computeLiveness1()
107 tb.inputs[i] = true; in computeLiveness1()
114 if (tb.inputs == null) { in computeLiveness1u()
121 tb.inputs = in; in computeLiveness1u()
150 if (!tb.inputs[k]) { in computeLiveness2()
[all …]
/external/deqp/modules/gles2/scripts/
Dgen-swizzles.py145 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
150 self.inputs = inputs
157 "VALUES": genValues(self.inputs, self.outputs),
237 inputs = INPUTS[dataType] variable
238 outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
240 …izzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, inputs)], [("%s out0" % o…
/external/deqp/modules/gles3/scripts/
Dgen-swizzles.py149 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
154 self.inputs = inputs
161 "VALUES": genValues(self.inputs, self.outputs),
241 inputs = INPUTS[dataType] variable
242 outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
244 …izzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, inputs)], [("%s out0" % o…
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp291 Function *CodeExtractor::constructFunction(const ValueSet &inputs, in constructFunction() argument
298 DEBUG(dbgs() << "inputs: " << inputs.size() << "\n"); in constructFunction()
312 for (ValueSet::const_iterator i = inputs.begin(), e = inputs.end(); in constructFunction()
336 if (AggregateArgs && (inputs.size() + outputs.size() > 0)) { in constructFunction()
360 for (unsigned i = 0, e = inputs.size(); i != e; ++i) { in constructFunction()
368 StructTy, AI, Idx, "gep_" + inputs[i]->getName(), TI); in constructFunction()
369 RewriteVal = new LoadInst(GEP, "loadgep_" + inputs[i]->getName(), TI); in constructFunction()
373 std::vector<User*> Users(inputs[i]->user_begin(), inputs[i]->user_end()); in constructFunction()
378 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction()
384 for (unsigned i = 0, e = inputs.size(); i != e; ++i, ++AI) in constructFunction()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c47 check_buffers_are_unmapped(const struct gl_client_array **inputs) in check_buffers_are_unmapped() argument
53 if (inputs[i]) { in check_buffers_are_unmapped()
54 struct gl_buffer_object *obj = inputs[i]->BufferObj; in check_buffers_are_unmapped()
73 check_buffers_are_unmapped(exec->array.inputs); in vbo_check_buffers_are_unmapped()
361 struct gl_buffer_object *bufObj = exec->array.inputs[i]->BufferObj; in print_draw_arrays()
363 GLint stride = exec->array.inputs[i]->Stride; in print_draw_arrays()
367 exec->array.inputs[i]->Size, in print_draw_arrays()
371 exec->array.inputs[i]->Ptr, in print_draw_arrays()
377 int offset = (int) (GLintptr) exec->array.inputs[i]->Ptr; in print_draw_arrays()
408 const struct gl_client_array **inputs = &exec->array.inputs[0]; in recalculate_input_bindings() local
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc213 InstructionOperand** inputs) { in TryMatchImmediateOrShift() argument
217 inputs[0] = g.UseImmediate(node); in TryMatchImmediateOrShift()
221 if (TryMatchShift(selector, opcode_return, node, &inputs[0], &inputs[1])) { in TryMatchImmediateOrShift()
234 InstructionOperand* inputs[5]; in VisitBinop() local
240 &input_count, &inputs[1])) { in VisitBinop()
241 inputs[0] = g.UseRegister(m.left().node()); in VisitBinop()
245 &inputs[1])) { in VisitBinop()
246 inputs[0] = g.UseRegister(m.right().node()); in VisitBinop()
251 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
252 inputs[input_count++] = g.UseRegister(m.right().node()); in VisitBinop()
[all …]

12345678910>>...14