Home
last modified time | relevance | path

Searched refs:mapper (Results 1 – 25 of 84) sorted by relevance

1234

/external/opencv3/modules/viz/src/
Dclouds.cpp77 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WCloud() local
78 VtkUtils::SetInputData(mapper, cloud_source->GetOutput()); in WCloud()
79 mapper->SetScalarModeToUsePointData(); in WCloud()
80 mapper->ImmediateModeRenderingOff(); in WCloud()
81 mapper->SetScalarRange(0, 255); in WCloud()
82 mapper->ScalarVisibilityOn(); in WCloud()
87 actor->SetMapper(mapper); in WCloud()
118 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WPaintedCloud() local
119 VtkUtils::SetInputData(mapper, vtkPolyData::SafeDownCast(elevation->GetOutput())); in WPaintedCloud()
120 mapper->ImmediateModeRenderingOff(); in WPaintedCloud()
[all …]
Dshapes.cpp60 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WLine() local
61 VtkUtils::SetInputData(mapper, polydata); in WLine()
64 actor->SetMapper(mapper); in WLine()
91 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WSphere() local
92 VtkUtils::SetInputData(mapper, polydata); in WSphere()
95 actor->SetMapper(mapper); in WSphere()
120 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WPlane() local
121 VtkUtils::SetInputData(mapper, polydata); in WPlane()
124 actor->SetMapper(mapper); in WPlane()
172 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WArrow() local
[all …]
Dwidget.cpp92 vtkSmartPointer<vtkDataSetMapper> mapper = vtkSmartPointer<vtkDataSetMapper>::New(); in fromPlyFile() local
93 mapper->SetInputConnection( reader->GetOutputPort() ); in fromPlyFile()
94 mapper->ImmediateModeRenderingOff(); in fromPlyFile()
99 actor->SetMapper(mapper); in fromPlyFile()
143 … vtkSmartPointer<vtkPolyDataMapper> mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper()); in setRenderingProperty() local
144 CV_Assert("Can't set shading property for such type of widget" && mapper); in setRenderingProperty()
146 … vtkSmartPointer<vtkPolyData> with_normals = VtkUtils::ComputeNormals(mapper->GetInput()); in setRenderingProperty()
147 VtkUtils::SetInputData(mapper, with_normals); in setRenderingProperty()
156 … vtkSmartPointer<vtkPolyDataMapper> mapper = vtkPolyDataMapper::SafeDownCast(actor->GetMapper()); in setRenderingProperty() local
157 CV_Assert("Can't set shading property for such type of widget" && mapper); in setRenderingProperty()
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DDependencyRequestMapperTest.java104 DependencyRequestMapper mapper = DependencyRequestMapper.FOR_PROVIDER; in forProvider() local
105 assertThat(mapper.getFrameworkClass(dependencyRequestForInstance())) in forProvider()
107 assertThat(mapper.getFrameworkClass(dependencyRequestForLazy())) in forProvider()
109 assertThat(mapper.getFrameworkClass(dependencyRequestForProvider())) in forProvider()
111 assertThat(mapper.getFrameworkClass(dependencyRequestForMembersInjector())) in forProvider()
116 DependencyRequestMapper mapper = DependencyRequestMapper.FOR_PRODUCER; in forProducer() local
117 assertThat(mapper.getFrameworkClass(dependencyRequestForInstance())) in forProducer()
119 assertThat(mapper.getFrameworkClass(dependencyRequestForLazy())) in forProducer()
121 assertThat(mapper.getFrameworkClass(dependencyRequestForProvider())) in forProducer()
123 assertThat(mapper.getFrameworkClass(dependencyRequestForMembersInjector())) in forProducer()
[all …]
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_urlmap.py16 mapper = URLMap({})
17 app = TestApp(mapper)
19 mapper[''] = make_app(text % 'root')
20 mapper['/foo'] = make_app(text % 'foo-only')
21 mapper['/foo/bar'] = make_app(text % 'foo:bar')
22 mapper['/f'] = make_app(text % 'f-only')
48 mapper = URLMap({})
49 app = TestApp(mapper, extra_environ={'HTTP_ACCEPT': 'text/html'})
/external/chromium-trace/catapult/third_party/Paste/paste/
Derrordocument.py155 def __init__(self, app, mapper, global_conf=None, **params): argument
165 self.mapper = mapper
182 new_url = self.mapper(
249 def custom_forward(app, mapper, global_conf=None, **kw): argument
259 return _StatusBasedRedirect(app, mapper, global_conf, **kw)
265 def __init__(self, app, mapper, global_conf=None, **kw): argument
275 self.mapper = mapper
311 new_url = self.mapper(
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py308 def add_request_mapper(self, mapper): argument
310 self.__request_mappers.append(mapper)
462 mapper, argument
467 mapper.build_response(self, status)
468 self.response.headers['content-type'] = mapper.default_content_type
560 for mapper in self.__factory.all_request_mappers():
561 if content_type in mapper.content_types:
573 if http_method not in mapper.http_methods:
590 mapper)
593 request = mapper.build_request(self, method_info.request_type)
[all …]
Dservice_handlers_test.py298 def ExpectRpcError(self, mapper, state, error_message, error_name=None): argument
299 mapper.build_response(self.handler,
874 mapper = service_handlers.RPCMapper(['GET', 'POST'],
878 self.assertEquals(frozenset(['GET', 'POST']), mapper.http_methods)
879 self.assertEquals('my-content-type', mapper.default_content_type)
881 mapper.content_types)
889 mapper = service_handlers.RPCMapper(['GET', 'POST'],
894 self.assertEquals(frozenset(['GET', 'POST']), mapper.http_methods)
895 self.assertEquals('my-content-type', mapper.default_content_type)
897 mapper.content_types)
[all …]
/external/icu/icu4c/source/layout/
DLEFontInstance.cpp50 …le_bool reverse, const LECharMapper *mapper, le_bool filterZeroWidth, LEGlyphStorage &glyphStorage… in mapCharsToGlyphs() argument
71 glyphStorage[out] = mapCharToGlyph(code, mapper, filterZeroWidth); in mapCharsToGlyphs()
80 LEGlyphID LEFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const in mapCharToGlyph()
82 return mapCharToGlyph(ch, mapper, TRUE); in mapCharToGlyph()
85 LEGlyphID LEFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filter… in mapCharToGlyph() argument
87 LEUnicode32 mappedChar = mapper->mapChar(ch); in mapCharToGlyph()
/external/skia/src/core/
DSkBitmapProcState_matrix_template.h25 const SkBitmapProcStateAutoMapper mapper(s, x, y); in NoFilterProc_Scale()
27 *xy++ = TileProc::Y(s, mapper.fixedY(), maxY); in NoFilterProc_Scale()
28 fx = mapper.fractionalIntX(); in NoFilterProc_Scale()
80 const SkBitmapProcStateAutoMapper mapper(s, x, y); in NoFilterProc_Affine()
82 SkFractionalInt fx = mapper.fractionalIntX(); in NoFilterProc_Affine()
83 SkFractionalInt fy = mapper.fractionalIntY(); in NoFilterProc_Affine()
DSkBitmapProcState_matrix.h64 const SkBitmapProcStateAutoMapper mapper(s, x, y); in SCALE_FILTER_NAME()
65 const SkFixed fy = mapper.fixedY(); in SCALE_FILTER_NAME()
70 fx = mapper.fractionalIntX(); in SCALE_FILTER_NAME()
96 const SkBitmapProcStateAutoMapper mapper(s, x, y); in AFFINE_FILTER_NAME()
100 SkFixed fx = mapper.fixedX(); in AFFINE_FILTER_NAME()
101 SkFixed fy = mapper.fixedY(); in AFFINE_FILTER_NAME()
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
DFirstFitAllocator.java65 BasicRegisterMapper mapper in allocateRegisters() local
101 mapper.addMapping(i, newReg, maxCategory); in allocateRegisters()
104 mapper.addMapping(i, nextNewRegister, maxCategory); in allocateRegisters()
127 mapper.addMapping(j, newReg, maxCategory); in allocateRegisters()
138 return mapper; in allocateRegisters()
DNullRegisterAllocator.java50 BasicRegisterMapper mapper = new BasicRegisterMapper(oldRegCount); in allocateRegisters() local
53 mapper.addMapping(i, i*2, 2); in allocateRegisters()
56 return mapper; in allocateRegisters()
DFirstFitLocalCombiningAllocator.java62 private final InterferenceRegisterMapper mapper; field in FirstFitLocalCombiningAllocator
91 mapper = new InterferenceRegisterMapper( in FirstFitLocalCombiningAllocator()
152 return mapper; in allocateRegisters()
492 int moveRopReg = mapper.oldToNew(moveReg); in handleCheckCastResults()
496 int checkRopReg = mapper.oldToNew(checkReg); in handleCheckCastResults()
520 int moveRopReg = mapper.oldToNew(moveReg); in handleCheckCastResults()
521 int checkRopReg = mapper.oldToNew(checkReg); in handleCheckCastResults()
596 || mapper.interferes(ssaSpec, ropReg)); in canMapReg()
706 mapper.addMapping(ssaSpec.getReg(), ropReg, category); in addMapping()
814 int rangeStart = mapper.oldToNew(ssaCenterReg) + rangeStartOffset; in findRangeAndAdjust()
[all …]
DSsaToRop.java105 RegisterMapper mapper = allocator.allocateRegisters(); in convert() local
109 System.out.println(((BasicRegisterMapper)mapper).toHuman()); in convert()
114 ssaMeth.mapRegisters(mapper); in convert()
219 BasicRegisterMapper mapper in moveParametersToHighRegisters() local
225 mapper.addMapping(i, regCount - paramWidth + i, 1); in moveParametersToHighRegisters()
227 mapper.addMapping(i, i - paramWidth, 1); in moveParametersToHighRegisters()
236 ssaMeth.mapRegisters(mapper); in moveParametersToHighRegisters()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dstatus.py136 "mapper_input_reader": config.mapper.input_reader,
137 "mapper_handler": config.mapper.handler,
139 if config.mapper.params_validator:
140 out["mapper_params_validator"] = config.mapper.params_validator
141 if config.mapper.params:
143 for param in config.mapper.params:
151 if config.mapper.output_writer:
152 out["mapper_output_writer"] = config.mapper.output_writer
344 "shards": job.mapreduce_spec.mapper.shard_count,
/external/icu/icu4c/source/test/perf/leperf/
DSimpleFontInstance.cpp91 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool fi… in mapCharToGlyph() argument
93 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); in mapCharToGlyph()
98 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const in mapCharToGlyph()
100 return LEFontInstance::mapCharToGlyph(ch, mapper); in mapCharToGlyph()
/external/icu/icu4c/source/test/letest/
DSimpleFontInstance.cpp97 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool fi… in mapCharToGlyph() argument
99 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); in mapCharToGlyph()
104 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const in mapCharToGlyph()
106 return LEFontInstance::mapCharToGlyph(ch, mapper); in mapCharToGlyph()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java394 public Iterator<Range> iterator(ValueMapper mapper) { in iterator() argument
395 return new Trie2Iterator(mapper); in iterator()
412 public Iterator<Range> iteratorForLeadSurrogate(char lead, ValueMapper mapper) { in iteratorForLeadSurrogate() argument
413 return new Trie2Iterator(lead, mapper); in iteratorForLeadSurrogate()
848 mapper = vm; in Trie2Iterator()
860 mapper = vm; in Trie2Iterator()
888 mappedVal = mapper.map(val); in next()
897 if (mapper.map(val) != mappedVal) { in next()
905 mappedVal = mapper.map(val); in next()
914 if (mapper.map(val) != mappedVal) { in next()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java392 public Iterator<Range> iterator(ValueMapper mapper) { in iterator() argument
393 return new Trie2Iterator(mapper); in iterator()
410 public Iterator<Range> iteratorForLeadSurrogate(char lead, ValueMapper mapper) { in iteratorForLeadSurrogate() argument
411 return new Trie2Iterator(lead, mapper); in iteratorForLeadSurrogate()
846 mapper = vm; in Trie2Iterator()
858 mapper = vm; in Trie2Iterator()
886 mappedVal = mapper.map(val); in next()
895 if (mapper.map(val) != mappedVal) { in next()
903 mappedVal = mapper.map(val); in next()
912 if (mapper.map(val) != mappedVal) { in next()
[all …]
/external/opencv3/samples/cpp/tutorial_code/viz/
Dcreating_widgets.cpp76 vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New(); in WTriangle() local
78 mapper->SetInput(polyData); in WTriangle()
80 mapper->SetInputData(polyData); in WTriangle()
84 actor->SetMapper(mapper); in WTriangle()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DSsaInsn.java152 public final void mapRegisters(RegisterMapper mapper) { in mapRegisters() argument
155 result = mapper.map(result); in mapRegisters()
157 mapSourceRegisters(mapper); in mapRegisters()
165 abstract public void mapSourceRegisters(RegisterMapper mapper); in mapSourceRegisters() argument
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/resources/scripts/
Dbuild-ios.xml.template87 <mapper type="glob" from="*.cpp" to="*.o"/>
88 <mapper type="glob" from="*.mm" to="*.o"/>
102 <mapper type="glob" from="*.c" to="*.o"/>
139 <mapper type="glob" from="*.cpp" to="*.o"/>
140 <mapper type="glob" from="*.mm" to="*.o"/>
154 <mapper type="glob" from="*.c" to="*.o"/>
191 <mapper type="glob" from="*.cpp" to="*.o"/>
192 <mapper type="glob" from="*.mm" to="*.o"/>
206 <mapper type="glob" from="*.c" to="*.o"/>
243 <mapper type="glob" from="*.cpp" to="*.o"/>
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
Dmap_job_config.py9 from mapreduce.api.map_job import mapper as mapper_module
42 mapper = _Option(mapper_module.Mapper, required=True) variable in JobConfig
115 handler_spec=util._obj_to_path(self.mapper),
167 mapper_spec = mr_spec.mapper
196 mapper=util.for_name(mapper_spec.handler_spec),
/external/parameter-framework/upstream/parameter/
DInstanceConfigurableElement.cpp79 bool CInstanceConfigurableElement::map(IMapper &mapper, std::string &strError) in map() argument
85 if (bHasMappingData && !mapper.mapBegin(this, bKeepDiving, strError)) { in map()
102 if (!pInstanceConfigurableChildElement->map(mapper, strError)) { in map()
112 mapper.mapEnd(); in map()

1234