Home
last modified time | relevance | path

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

1234567

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dproxy_mapper.cc24 grpc_proxy_mapper* mapper) { in grpc_proxy_mapper_init() argument
25 mapper->vtable = vtable; in grpc_proxy_mapper_init()
28 bool grpc_proxy_mapper_map_name(grpc_proxy_mapper* mapper, in grpc_proxy_mapper_map_name() argument
33 return mapper->vtable->map_name(mapper, server_uri, args, name_to_resolve, in grpc_proxy_mapper_map_name()
37 bool grpc_proxy_mapper_map_address(grpc_proxy_mapper* mapper, in grpc_proxy_mapper_map_address() argument
42 return mapper->vtable->map_address(mapper, address, args, new_address, in grpc_proxy_mapper_map_address()
46 void grpc_proxy_mapper_destroy(grpc_proxy_mapper* mapper) { in grpc_proxy_mapper_destroy() argument
47 mapper->vtable->destroy(mapper); in grpc_proxy_mapper_destroy()
Dproxy_mapper.h37 bool (*map_name)(grpc_proxy_mapper* mapper, const char* server_uri,
44 bool (*map_address)(grpc_proxy_mapper* mapper,
50 void (*destroy)(grpc_proxy_mapper* mapper);
58 grpc_proxy_mapper* mapper);
60 bool grpc_proxy_mapper_map_name(grpc_proxy_mapper* mapper,
66 bool grpc_proxy_mapper_map_address(grpc_proxy_mapper* mapper,
72 void grpc_proxy_mapper_destroy(grpc_proxy_mapper* mapper);
Dproxy_mapper_registry.cc38 grpc_proxy_mapper* mapper) { in grpc_proxy_mapper_list_register() argument
44 list->list[0] = mapper; in grpc_proxy_mapper_list_register()
46 list->list[list->num_mappers] = mapper; in grpc_proxy_mapper_list_register()
105 void grpc_proxy_mapper_register(bool at_start, grpc_proxy_mapper* mapper) { in grpc_proxy_mapper_register() argument
106 grpc_proxy_mapper_list_register(&g_proxy_mapper_list, at_start, mapper); in grpc_proxy_mapper_register()
/external/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 …]
/external/dagger2/javatests/dagger/internal/codegen/
DFrameworkTypeMapperTest.java34 FrameworkTypeMapper mapper = FrameworkTypeMapper.FOR_PROVIDER; in forProvider() local
35 assertThat(mapper.getFrameworkType(INSTANCE)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
36 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
37 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
41 FrameworkTypeMapper mapper = FrameworkTypeMapper.FOR_PRODUCER; in forProducer() local
42 assertThat(mapper.getFrameworkType(INSTANCE)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer()
43 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProducer()
44 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProducer()
45 assertThat(mapper.getFrameworkType(PRODUCER)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer()
46 assertThat(mapper.getFrameworkType(PRODUCED)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_control_flow.cc49 const BlockAndValueMapping& mapper, in ReplaceTerminators() argument
52 Block* block = mapper.lookup(&old_block); in ReplaceTerminators()
72 BlockAndValueMapping mapper; in LowerConditionalOp() local
74 Region::iterator(tail_block), mapper); in LowerConditionalOp()
76 Region::iterator(tail_block), mapper); in LowerConditionalOp()
79 Block* true_block = mapper.lookup(&conditional_op.true_branch().front()); in LowerConditionalOp()
80 Block* false_block = mapper.lookup(&conditional_op.false_branch().front()); in LowerConditionalOp()
96 mapper, &builder))) in LowerConditionalOp()
99 mapper, &builder))) in LowerConditionalOp()
130 BlockAndValueMapping mapper; in LowerWhileOp() local
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DNewLdml2IcuConverter.java221 Mapper mapper = null; in processArgs() local
245 mapper = localeMapper; in processArgs()
251 mapper = new BreakIteratorMapper(sourceDir, specialFactory); in processArgs()
254 mapper = new CollationMapper(sourceDir, specialFactory); in processArgs()
257 mapper = new RbnfMapper(new File(sourceDir), specialsDir); in processArgs()
263 if (mapper != null) { in processArgs()
264 convert(mapper); in processArgs()
266 generateSynthetics(mapper, option.getValue()); in processArgs()
271 Bcp47Mapper mapper = new Bcp47Mapper(sourceDir); in processBcp47Data() local
272 IcuData[] icuData = mapper.fillFromCldr(); in processBcp47Data()
[all …]
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp81 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_scale() local
82 *xy++ = tiley(mapper.fixedY(), s.fPixmap.height() - 1); in nofilter_scale()
83 fx = mapper.fractionalIntX(); in nofilter_scale()
124 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_affine() local
126 SkFractionalInt fx = mapper.fractionalIntX(), in nofilter_affine()
127 fy = mapper.fractionalIntY(), in nofilter_affine()
173 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_scale() local
176 *xy++ = pack<tiley, extract_low_bits>(mapper.fixedY(), maxY, s.fFilterOneY); in filter_scale()
178 fx = mapper.fractionalIntX(); in filter_scale()
206 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_affine() local
[all …]
DSkBitmapProcState.cpp37 const SkBitmapProcStateAutoMapper mapper(s, x, y); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
39 dstY = SkTPin<int>(mapper.intY(), 0, maxY); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
40 fx = mapper.fractionalIntX(); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
445 const SkBitmapProcStateAutoMapper mapper(s, x, y); in S32_D32_constX_shaderproc() local
452 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
454 yTemp = mapper.intY(); in S32_D32_constX_shaderproc()
474 const SkBitmapProcStateAutoMapper mapper(s, x, y); in S32_D32_constX_shaderproc() local
479 iY2 = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
481 iY2 = mapper.intY(); in S32_D32_constX_shaderproc()
527 const SkBitmapProcStateAutoMapper mapper(*this, 0, 0, &pt); in setupForTranslate() local
[all …]
/external/tensorflow/tensorflow/lite/experimental/writer/
Doption_writer_generator.cc327 std::string mapper = ""; in GenerateImportForOp() local
329 mapper = "TfLiteTypeToSchemaType"; in GenerateImportForOp()
331 mapper = "TfLiteActivationToSchemaActivation"; in GenerateImportForOp()
333 mapper = "TfLitePaddingToSchemaPadding"; in GenerateImportForOp()
335 mapper = "FullyConnectedOptionsWeightsFormatToSchema"; in GenerateImportForOp()
337 mapper = "LSTMKernelTypeToSchema"; in GenerateImportForOp()
339 mapper = "LSHProjectionTypeToSchema"; in GenerateImportForOp()
341 mapper = "MirrorPaddingModeToSchema"; in GenerateImportForOp()
343 mapper = "CombinerTypeToSchema"; in GenerateImportForOp()
349 i, mapper.c_str(), elem_name.c_str()); in GenerateImportForOp()
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.h12 class CrosGralloc4Mapper : public android::hardware::graphics::mapper::V4_0::IMapper {
22 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> freeBuffer(
25 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> validateBufferSize(
41 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> rereadLockedBuffer(
50 android::hardware::Return<android::hardware::graphics::mapper::V4_0::Error> set(
80 extern "C" android::hardware::graphics::mapper::V4_0::IMapper* HIDL_FETCH_IMapper(const char* name);
/external/skqp/src/core/
DSkBitmapProcState_matrixProcs.cpp89 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_scale() local
90 *xy++ = tile(mapper.fixedY(), s.fPixmap.height() - 1); in nofilter_scale()
91 fx = mapper.fractionalIntX(); in nofilter_scale()
156 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_scale() local
157 const SkFixed fy = mapper.fixedY(); in filter_scale()
162 fx = mapper.fractionalIntX(); in filter_scale()
411 const SkBitmapProcStateAutoMapper mapper(s, x, y); in nofilter_scale_neon() local
413 *xy++ = tile(mapper.fixedY(), maxY); in nofilter_scale_neon()
414 fx = mapper.fractionalIntX(); in nofilter_scale_neon()
516 const SkBitmapProcStateAutoMapper mapper(s, x, y); in filter_scale_neon() local
[all …]
DSkBitmapProcState.cpp38 const SkBitmapProcStateAutoMapper mapper(s, x, y); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
40 dstY = SkClampMax(mapper.intY(), maxY); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
41 fx = mapper.fractionalIntX(); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
428 const SkBitmapProcStateAutoMapper mapper(s, x, y); in S32_D32_constX_shaderproc() local
436 yTemp = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
438 yTemp = mapper.intY(); in S32_D32_constX_shaderproc()
460 const SkBitmapProcStateAutoMapper mapper(s, x, y); in S32_D32_constX_shaderproc() local
466 iY2 = SkFractionalIntToInt(mapper.fractionalIntY() * s.fPixmap.height()); in S32_D32_constX_shaderproc()
468 iY2 = mapper.intY(); in S32_D32_constX_shaderproc()
514 const SkBitmapProcStateAutoMapper mapper(*this, 0, 0, &pt); in setupForTranslate() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dname_mapper_test.cpp30 auto mapper = GetTrivialNameMapper(); in TEST() local
31 EXPECT_EQ(mapper(1), "1"); in TEST()
32 EXPECT_EQ(mapper(1999), "1999"); in TEST()
33 EXPECT_EQ(mapper(1024), "1024"); in TEST()
51 NameMapper mapper = friendly_mapper.GetNameMapper(); in TEST_P() local
52 EXPECT_THAT(mapper(GetParam().id), Eq(GetParam().expected_name)) in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dname_mapper_test.cpp30 auto mapper = GetTrivialNameMapper(); in TEST() local
31 EXPECT_EQ(mapper(1), "1"); in TEST()
32 EXPECT_EQ(mapper(1999), "1999"); in TEST()
33 EXPECT_EQ(mapper(1024), "1024"); in TEST()
51 NameMapper mapper = friendly_mapper.GetNameMapper(); in TEST_P() local
52 EXPECT_THAT(mapper(GetParam().id), Eq(GetParam().expected_name)) in TEST_P()
/external/angle/third_party/spirv-tools/src/test/
Dname_mapper_test.cpp30 auto mapper = GetTrivialNameMapper(); in TEST() local
31 EXPECT_EQ(mapper(1), "1"); in TEST()
32 EXPECT_EQ(mapper(1999), "1999"); in TEST()
33 EXPECT_EQ(mapper(1024), "1024"); in TEST()
51 NameMapper mapper = friendly_mapper.GetNameMapper(); in TEST_P() local
52 EXPECT_THAT(mapper(GetParam().id), Eq(GetParam().expected_name)) in TEST_P()
/external/icu/icu4c/source/test/perf/leperf/
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/icu4c/source/test/letest/
DSimpleFontInstance.cpp99 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool fi… in mapCharToGlyph() argument
101 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); in mapCharToGlyph()
106 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const in mapCharToGlyph()
108 return LEFontInstance::mapCharToGlyph(ch, mapper); in mapCharToGlyph()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java403 public Iterator<Range> iterator(ValueMapper mapper) { in iterator() argument
404 return new Trie2Iterator(mapper); in iterator()
421 public Iterator<Range> iteratorForLeadSurrogate(char lead, ValueMapper mapper) { in iteratorForLeadSurrogate() argument
422 return new Trie2Iterator(lead, mapper); in iteratorForLeadSurrogate()
863 mapper = vm; in Trie2Iterator()
875 mapper = vm; in Trie2Iterator()
904 mappedVal = mapper.map(val); in next()
913 if (mapper.map(val) != mappedVal) { in next()
921 mappedVal = mapper.map(val); in next()
930 if (mapper.map(val) != mappedVal) { in next()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java400 public Iterator<Range> iterator(ValueMapper mapper) { in iterator() argument
401 return new Trie2Iterator(mapper); in iterator()
418 public Iterator<Range> iteratorForLeadSurrogate(char lead, ValueMapper mapper) { in iteratorForLeadSurrogate() argument
419 return new Trie2Iterator(lead, mapper); in iteratorForLeadSurrogate()
857 mapper = vm; in Trie2Iterator()
869 mapper = vm; in Trie2Iterator()
898 mappedVal = mapper.map(val); in next()
907 if (mapper.map(val) != mappedVal) { in next()
915 mappedVal = mapper.map(val); in next()
924 if (mapper.map(val) != mappedVal) { in next()
[all …]
/external/e2fsprogs/tests/f_mke2fs_baddisk/
Dscript1 test_description="mke2fs /dev/mapper/bad_disk should fail"
11 echo mke2fs /dev/mapper/bad_disk >> $OUT
12 $MKE2FS /dev/mapper/bad_disk >> $OUT 2>&1
/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()
/external/junit-params/src/main/java/junitparams/custom/
DFileParametersProvider.java29 DataMapper mapper = fileParameters.mapper().newInstance(); in paramsFromFile() local
31 return mapper.map(reader); in paramsFromFile()
/external/emma/core/java12/com/vladium/util/
DIProperties.java70 public static IProperties create (final IMapper mapper) in create() argument
72 return new PropertiesImpl (null, mapper); in create()
85 public static IProperties wrap (final Properties properties, final IMapper mapper) in wrap() argument
99 return new PropertiesImpl (map, mapper); // note: map is a defensive clone in wrap()
299 PropertiesImpl (final HashMap values, final IMapper mapper) in PropertiesImpl() argument
301 m_mapper = mapper; in PropertiesImpl()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_functional_ops.cc97 BlockAndValueMapping mapper; in matchAndRewrite() local
99 mapper.map(func.getArgument(i), op.getOperand(i + 1)); in matchAndRewrite()
108 updated_results.push_back(mapper.lookup(operand)); in matchAndRewrite()
113 rewriter.clone(op_to_inline, mapper); in matchAndRewrite()

1234567