Home
last modified time | relevance | path

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

123456789

/third_party/alsa-utils/axfer/
Dmapper.c25 int mapper_context_init(struct mapper_context *mapper, in mapper_context_init() argument
31 assert(mapper); in mapper_context_init()
35 assert(mapper->private_data == NULL); in mapper_context_init()
37 memset(mapper, 0, sizeof(*mapper)); in mapper_context_init()
42 mapper->target = MAPPER_TARGET_SINGLE; in mapper_context_init()
45 mapper->target = MAPPER_TARGET_MULTIPLE; in mapper_context_init()
50 mapper->target = MAPPER_TARGET_SINGLE; in mapper_context_init()
53 mapper->target = MAPPER_TARGET_MULTIPLE; in mapper_context_init()
57 mapper->ops = &data->ops; in mapper_context_init()
58 mapper->type = type; in mapper_context_init()
[all …]
Dmapper-single.c63 static int single_pre_process(struct mapper_context *mapper, in single_pre_process() argument
67 struct single_state *state = mapper->private_data; in single_pre_process()
70 if (cntrs->bytes_per_sample != mapper->bytes_per_sample || in single_pre_process()
71 cntrs->samples_per_frame != mapper->samples_per_frame) in single_pre_process()
75 if (mapper->type == MAPPER_TYPE_DEMUXER) { in single_pre_process()
76 if (mapper->access == SND_PCM_ACCESS_RW_NONINTERLEAVED || in single_pre_process()
77 mapper->access == SND_PCM_ACCESS_MMAP_NONINTERLEAVED) in single_pre_process()
79 else if (mapper->access == SND_PCM_ACCESS_RW_INTERLEAVED || in single_pre_process()
80 mapper->access == SND_PCM_ACCESS_MMAP_INTERLEAVED) in single_pre_process()
85 if (mapper->access == SND_PCM_ACCESS_RW_NONINTERLEAVED || in single_pre_process()
[all …]
Dmapper-multiple.c74 static int multiple_pre_process(struct mapper_context *mapper, in multiple_pre_process() argument
78 struct multiple_state *state = mapper->private_data; in multiple_pre_process()
86 if (mapper->bytes_per_sample != cntr->bytes_per_sample) in multiple_pre_process()
92 if (mapper->type == MAPPER_TYPE_DEMUXER) { in multiple_pre_process()
93 if (mapper->access == SND_PCM_ACCESS_RW_INTERLEAVED || in multiple_pre_process()
94 mapper->access == SND_PCM_ACCESS_MMAP_INTERLEAVED) in multiple_pre_process()
96 else if (mapper->access == SND_PCM_ACCESS_RW_NONINTERLEAVED || in multiple_pre_process()
97 mapper->access == SND_PCM_ACCESS_MMAP_NONINTERLEAVED) in multiple_pre_process()
102 if (mapper->access == SND_PCM_ACCESS_RW_INTERLEAVED || in multiple_pre_process()
103 mapper->access == SND_PCM_ACCESS_MMAP_INTERLEAVED) in multiple_pre_process()
[all …]
Dmapper.h47 int mapper_context_init(struct mapper_context *mapper,
50 int mapper_context_pre_process(struct mapper_context *mapper,
56 int mapper_context_process_frames(struct mapper_context *mapper,
60 void mapper_context_post_process(struct mapper_context *mapper);
61 void mapper_context_destroy(struct mapper_context *mapper);
66 int (*pre_process)(struct mapper_context *mapper,
69 int (*process_frames)(struct mapper_context *mapper,
73 void (*post_process)(struct mapper_context *mapper);
Dxfer-libasound-irq-rw.c17 struct mapper_context *mapper,
58 unsigned int avail_count, struct mapper_context *mapper, in read_frames() argument
95 err = mapper_context_process_frames(mapper, closure->cache.buf, in read_frames()
110 struct mapper_context *mapper, in r_process_frames_blocking() argument
145 err = read_frames(state, frame_count, avail_count, mapper, cntrs); in r_process_frames_blocking()
158 struct mapper_context *mapper, in r_process_frames_nonblocking() argument
191 err = read_frames(state, frame_count, avail_count, mapper, cntrs); in r_process_frames_nonblocking()
203 struct mapper_context *mapper, in write_frames() argument
220 err = mapper_context_process_frames(mapper, in write_frames()
254 struct mapper_context *mapper, in w_process_frames_blocking() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/buffer/
Dbuffer_piece_border.cpp148 Mapper& mapper, std::string const& color) in test_point() argument
162 mapper.map(point, style); in test_point()
167 mapper.text(point, out.str(), "fill:rgb(0,0,0);font-family='Arial';font-size:9px;", 10, -10); in test_point()
169 boost::ignore_unused(mapper, color); in test_point()
175 void start_svg(Mapper& mapper, Ring const& original, Ring const& offsetted, in start_svg() argument
182 mapper.add(box); in start_svg()
183 mapper.add(offsetted); in start_svg()
184 mapper.map(offsetted, in start_svg()
186 mapper.map(original, in start_svg()
188 mapper.map(border.get_full_ring(), in start_svg()
[all …]
Dtest_buffer_svg.hpp50 svg_visitor(SvgMapper& mapper) in svg_visitor() argument
51 : m_mapper(mapper) in svg_visitor()
315 …void prepare(Mapper& mapper, Visitor& visitor, Envelope const& envelope, double box_buffer_distanc… in prepare() argument
321 mapper.add(alternate_box); in prepare()
329 mapper.add(box); in prepare()
342 void map_input_output(Mapper& mapper, Geometry const& geometry, in map_input_output() argument
356 map_io_zoomed(mapper, geometry, buffered, negative, areal); in map_input_output()
360 map_io(mapper, geometry, buffered, negative, areal); in map_input_output()
365 …void map_self_ips(Mapper& mapper, Geometry const& geometry, Strategy const& strategy, RescalePolic… in map_self_ips() argument
383 mapper.map(turn.point, "fill:rgb(255,128,0);stroke:rgb(0,0,100);stroke-width:1", 3); in map_self_ips()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DAbstractPathValueMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.mapper;
29 FakeMapper mapper = new FakeMapper(); in testUngroupedConcatenation() local
30 mapper.addUngroupedResult("foo/bar", "one", "two"); in testUngroupedConcatenation()
31 mapper.addUngroupedResult("foo/baz", "other", "path"); in testUngroupedConcatenation()
32 mapper.addUngroupedResult("foo/bar", "three", "four"); in testUngroupedConcatenation()
33 IcuData icuData = mapper.addIcuData("foo"); in testUngroupedConcatenation()
42 FakeMapper mapper = new FakeMapper(); in testGrouping() local
43 mapper.addGroupedResult("foo/bar", "one", "two"); in testGrouping()
44 mapper.addGroupedResult("foo/baz", "other", "path"); in testGrouping()
45 mapper.addGroupedResult("foo/bar", "three", "four"); in testGrouping()
[all …]
/third_party/boost/libs/geometry/test/io/svg/
Dsvg.cpp122 bg::svg_mapper<P> mapper(os, 500, 500); in test_all() local
123 mapper.add(pt); in test_all()
124 mapper.add(b); in test_all()
125 mapper.add(s); in test_all()
126 mapper.add(ls); in test_all()
127 mapper.add(r); in test_all()
128 mapper.add(po); in test_all()
129 mapper.add(m_pt); in test_all()
130 mapper.add(m_ls); in test_all()
131 mapper.add(m_po); in test_all()
[all …]
/third_party/boost/libs/geometry/doc/doxy/doxygen_input/sourcecode/
Ddoxygen_4.cpp94 boost::geometry::svg_mapper<point_type> mapper(svg, 300, 300); in svg_simplify_road() local
102 mapper.add(original[i]); in svg_simplify_road()
103 mapper.add(simplified[i]); in svg_simplify_road()
113 mapper.map(original[i], "opacity:0.8;stroke:rgb(0,0,255);stroke-width:3"); in svg_simplify_road()
114 mapper.map(simplified[i], "opacity:0.8;stroke:rgb(0,255,0);stroke-width:2"); in svg_simplify_road()
126 boost::geometry::svg_mapper<point_type> mapper(svg, 300, 300); in svg_simplify_country() local
135 mapper.add(original[i]); in svg_simplify_country()
136 mapper.add(simplified[i]); in svg_simplify_country()
146 mapper.map(original[i], "opacity:0.8;fill:none;stroke:rgb(0,0,255);stroke-width:3"); in svg_simplify_country()
147 mapper.map(simplified[i], "opacity:0.8;fill:none;stroke:rgb(0,255,0);stroke-width:2"); in svg_simplify_country()
[all …]
/third_party/ltp/testscripts/
Dltpdmmapper.sh25 files (libdevmapper and dmsetup). They are in the device-mapper
67 echo "0 10240 linear " $part1 "0" > ltp-dev-mapper-table1
68 echo "0 100000 linear " $part1 "0" > ltp-dev-mapper-table2
69 echo "0 100000 linear " $part2 "0" > ltp-dev-mapper-table3
70 echo "0 200000 striped 2 16 " $part1 "0" $part2 "0" > ltp-dev-mapper-table4
74 dmsetup create dm-test-1 ltp-dev-mapper-table1
75 dmsetup create dm-test-2 ltp-dev-mapper-table2
76 dmsetup create dm-test-3 ltp-dev-mapper-table3
77 dmsetup create dm-test-4 ltp-dev-mapper-table4
127 dmsetup create dm-test-1 ltp-dev-mapper-table1
[all …]
/third_party/boost/libs/geometry/test/
Dto_svg.hpp32 inline void turns_to_svg(Turns const& turns, Mapper & mapper, bool /*enrich*/ = false) in turns_to_svg() argument
48 mapper.map(turn.point, "fill:rgb(255,128,0);" in turns_to_svg()
185 mapper.text(turn.point, out.str(), style, margin, offset, lineheight); in turns_to_svg()
194 boost::geometry::svg_mapper<P> & mapper) in geom_to_svg() argument
196 mapper.add(g1); in geom_to_svg()
198 mapper.map(g1, "fill-opacity:0.5;fill:rgb(153,204,0);" in geom_to_svg()
204 boost::geometry::svg_mapper<P> & mapper) in geom_to_svg() argument
206 mapper.add(g1); in geom_to_svg()
207 mapper.add(g2); in geom_to_svg()
209 mapper.map(g1, "fill-opacity:0.5;fill:rgb(153,204,0);" in geom_to_svg()
[all …]
/third_party/boost/libs/geometry/doc/src/examples/io/
Dsvg.cpp38 boost::geometry::svg_mapper<point_type> mapper(svg, 400, 400); in main() local
41 mapper.add(a); in main()
42 mapper.add(b); in main()
43 mapper.add(c); in main()
46 mapper.map(a, "fill-opacity:0.5;fill:rgb(153,204,0);stroke:rgb(153,204,0);stroke-width:2", 5); in main()
47 mapper.map(b, "fill-opacity:0.3;fill:rgb(51,51,153);stroke:rgb(51,51,153);stroke-width:2"); in main()
48 mapper.map(c, "opacity:0.4;fill:none;stroke:rgb(212,0,0);stroke-width:5"); in main()
/third_party/alsa-utils/axfer/test/
DMakefile.am3 mapper-test
7 mapper-test
27 ../mapper.h \
28 ../mapper.c \
29 ../mapper-single.c \
30 ../mapper-multiple.c \
33 mapper-test.c
/third_party/grpc/src/core/ext/filters/client_channel/
Dproxy_mapper_registry.cc53 bool at_start, std::unique_ptr<ProxyMapperInterface> mapper) { in Register() argument
57 std::move(mapper)); in Register()
59 g_proxy_mapper_list->emplace_back(std::move(mapper)); in Register()
68 for (const auto& mapper : *g_proxy_mapper_list) { in MapName()
69 if (mapper->MapName(server_uri, args, name_to_resolve, new_args)) { in MapName()
81 for (const auto& mapper : *g_proxy_mapper_list) { in MapAddress()
82 if (mapper->MapAddress(address, args, new_address, new_args)) { in MapAddress()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_android_mapper.cpp43 using android::hardware::graphics::mapper::V4_0::Error;
44 using android::hardware::graphics::mapper::V4_0::IMapper;
48 android::hardware::graphics::mapper::V4_0::IMapper::MetadataType;
51 GetMetadata(android::sp<IMapper> mapper, const native_handle_t *buffer, in GetMetadata() argument
58 auto ret = mapper->get(native_handle, type, in GetMetadata()
71 android::sp<IMapper> mapper, const native_handle_t *buffer) in GetPlaneLayouts() argument
75 Error error = GetMetadata(mapper, buffer, in GetPlaneLayouts()
99 static android::sp<IMapper> mapper = IMapper::getService(); in mapper_metadata_get_buffer_info() local
101 if (mapper == nullptr) in mapper_metadata_get_buffer_info()
111 …auto err = GetMetadata(mapper, buf->handle, android::gralloc4::MetadataType_PixelFormatFourCC, &en… in mapper_metadata_get_buffer_info()
[all …]
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dcreate_svg_overlay.hpp33 boost::geometry::svg_mapper<point_type> mapper(svg, 400, 400); in create_svg() local
34 mapper.add(a); in create_svg()
35 mapper.add(b); in create_svg()
37 mapper.map(a, "fill-opacity:0.5;fill:rgb(153,204,0);stroke:rgb(153,204,0);stroke-width:2"); in create_svg()
38 mapper.map(b, "fill-opacity:0.3;fill:rgb(51,51,153);stroke:rgb(51,51,153);stroke-width:2"); in create_svg()
42mapper.map(g, "opacity:0.8;fill:none;stroke:rgb(255,128,0);stroke-width:4;stroke-dasharray:1,7;str… in create_svg()
45 mapper.text(boost::geometry::return_centroid<point_type>(g), out.str(), in create_svg()
Dcreate_svg_two.hpp30 boost::geometry::svg_mapper<point_type> mapper(svg, 400, 400); in create_svg() local
31 mapper.add(a); in create_svg()
32 mapper.add(b); in create_svg()
34 mapper.map(a, "fill-opacity:0.5;fill:rgb(153,204,0);stroke:rgb(153,204,0);stroke-width:2"); in create_svg()
37 mapper.map(b, "fill:rgb(255,128,0);stroke:rgb(0,0,100);stroke-width:1"); in create_svg()
41mapper.map(b, "opacity:0.8;fill:none;stroke:rgb(255,128,0);stroke-width:4;stroke-dasharray:1,7;str… in create_svg()
/third_party/boost/libs/geometry/test/algorithms/overlay/
Ddebug_sort_by_side_svg.hpp48 mapper_type mapper(svg, 500, 500); in sorted_side_map() local
53 mapper.add(er.point); in sorted_side_map()
58mapper.map(geometry1, "fill-opacity:0.5;fill:rgb(153,204,0);stroke:rgb(153,204,0);stroke-width:0"); in sorted_side_map()
62mapper.map(geometry2, "fill-opacity:0.3;fill:rgb(51,51,153);stroke:rgb(51,51,153);stroke-width:0"); in sorted_side_map()
101 mapper.map(seg(point, er.point), source_style); in sorted_side_map()
108 mapper.map(er.point, "opacity:0.7;fill:rgb(255,0,255);", 3); in sorted_side_map()
112 mapper.map(er.point, "opacity:0.7;fill:rgb(0,0,0);", 3); in sorted_side_map()
116 mapper.text(er.point, out.str(), style + align, x_offset, y_offset); in sorted_side_map()
118 mapper.map(sbs.m_origin, "opacity:0.9;fill:rgb(255,0,0);", 5); in sorted_side_map()
Denrich_intersection_points.cpp88 bg::svg_mapper<typename bg::point_type<G2>::type> mapper(svg, 500, 500); in apply() local
89 mapper.add(g1); in apply()
90 mapper.add(g2); in apply()
92 mapper.map(g1, "fill:rgb(0,255,0);stroke:rgb(0,0,0);stroke-width:1"); in apply()
93 mapper.map(g2, "opacity:0.8;fill:rgb(0,0,255);stroke:rgb(0,0,0);stroke-width:1"); in apply()
97 mapper.map(it->point, "fill:rgb(255,128,0);stroke:rgb(0,0,100);stroke-width:1"); in apply()
/third_party/boost/libs/geometry/test/algorithms/detail/
Dpartition.cpp284 svg_visitor(SvgMapper& mapper) in svg_visitor()
285 : m_mapper(mapper) in svg_visitor()
371 bg::svg_mapper<point_item> mapper(svg, 800, 800); in test_many_points() local
375 p.x = -1; p.y = -1; mapper.add(p); in test_many_points()
376 p.x = size + 1; p.y = size + 1; mapper.add(p); in test_many_points()
380 box_visitor_type box_visitor(mapper); in test_many_points()
400 mapper.map(item, "fill:rgb(255,128,0);stroke:rgb(0,0,100);stroke-width:1", 8); in test_many_points()
404 mapper.map(item, "fill:rgb(0,128,255);stroke:rgb(0,0,100);stroke-width:1", 4); in test_many_points()
473 bg::svg_mapper<point_item> mapper(svg, 800, 800); in test_many_boxes() local
477 p.x = -1; p.y = -1; mapper.add(p); in test_many_boxes()
[all …]
/third_party/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp82 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_scale() local
83 *xy++ = tiley(mapper.fixedY(), s.fPixmap.height() - 1); in nofilter_scale()
84 fx = mapper.fractionalIntX(); in nofilter_scale()
125 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_affine() local
127 SkFractionalInt fx = mapper.fractionalIntX(), in nofilter_affine()
128 fy = mapper.fractionalIntY(), in nofilter_affine()
174 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_scale() local
177 *xy++ = pack<tiley, extract_low_bits>(mapper.fixedY(), maxY, s.fFilterOneY); in filter_scale()
179 fx = mapper.fractionalIntX(); in filter_scale()
207 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_affine() local
[all …]
/third_party/boost/libs/geometry/doc/src/examples/examples_utils/
Dcreate_svg_buffer.hpp27 boost::geometry::svg_mapper<point_type> mapper(svg, 400, 400); in create_svg_buffer() local
28 mapper.add(original); in create_svg_buffer()
29 mapper.add(buffer); in create_svg_buffer()
32mapper.map(buffer, "fill-opacity:0.6;fill:rgb(255,255,64);stroke:rgb(255,128,0);stroke-width:3"); in create_svg_buffer()
35mapper.map(original, "fill-opacity:0.6;fill:rgb(51,51,153);stroke:rgb(51,51,153);stroke-width:2"); in create_svg_buffer()
/third_party/boost/boost/geometry/strategies/geographic/
Dmapping_ssf.hpp49 struct mapper struct
51 explicit inline mapper(Spheroid const& /*spheroid*/) {} in mapper() function
61 struct mapper<Spheroid, mapping_reduced> struct
68 explicit inline mapper(Spheroid const& spheroid) in mapper() function
85 struct mapper<Spheroid, mapping_geocentric> struct
92 explicit inline mapper(Spheroid const& spheroid) in mapper() function
161 side::detail::mapper<Spheroid, Mapping> const m_mapper;
/third_party/typescript/tests/cases/compiler/
DcomplexRecursiveCollections.ts6 map<M>(mapper: (value: V, key: K, iter: this) => M): Collection<K, M>;
7 flatMap<M>(mapper: (value: V, key: K, iter: this) => Ara<M>, context?: any): Collection<K, M>;
16 map<M>(mapper: (value: T, key: void, iter: this) => M): N1<M>;
17 flatMap<M>(mapper: (value: T, key: void, iter: this) => Ara<M>, context?: any): N1<M>;
20 map<M>(mapper: (value: T, key: void, iter: this) => M): N2<M>;
21 flatMap<M>(mapper: (value: T, key: void, iter: this) => Ara<M>, context?: any): N2<M>;
83 map<M>(mapper: (value: T, key: number, iter: this) => M, context?: any): List<M>;
84 flatMap<M>(mapper: (value: T, key: number, iter: this) => Iterable<M>, context?: any): List<M>;
127 map<M>(mapper: (value: V, key: K, iter: this) => M, context?: any): Map<K, M>;
128 mapKeys<M>(mapper: (key: K, value: V, iter: this) => M, context?: any): Map<M, V>;
[all …]

123456789