Home
last modified time | relevance | path

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

1234

/external/openfst/src/include/fst/
Dmap.h32 void Map(MutableFst<A> *fst, C* mapper) { in Map() argument
33 ArcMap(fst, mapper); in Map()
37 void Map(MutableFst<A> *fst, C mapper) { in Map() argument
38 ArcMap(fst, mapper); in Map()
42 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { in Map() argument
43 ArcMap(ifst, ofst, mapper); in Map()
47 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) { in Map() argument
48 ArcMap(ifst, ofst, mapper); in Map()
61 MapFst(const Fst<A> &fst, const C &mapper, const MapFstOptions& opts) in MapFst() argument
62 : ArcMapFst<A, B, C>(fst, mapper, opts) {} in MapFst()
[all …]
Dstate-map.h90 void StateMap(MutableFst<A> *fst, C* mapper) { in StateMap() argument
94 if (mapper->InputSymbolsAction() == MAP_CLEAR_SYMBOLS) in StateMap()
97 if (mapper->OutputSymbolsAction() == MAP_CLEAR_SYMBOLS) in StateMap()
105 fst->SetStart(mapper->Start()); in StateMap()
108 mapper->SetState(s); in StateMap()
110 for (; !mapper->Done(); mapper->Next()) in StateMap()
111 fst->AddArc(s, mapper->Value()); in StateMap()
112 fst->SetFinal(s, mapper->Final(s)); in StateMap()
115 fst->SetProperties(mapper->Properties(props), kFstProperties); in StateMap()
121 void StateMap(MutableFst<A> *fst, C mapper) { in StateMap() argument
[all …]
Darc-map.h112 void ArcMap(MutableFst<A> *fst, C* mapper) { in ArcMap() argument
116 if (mapper->InputSymbolsAction() == MAP_CLEAR_SYMBOLS) in ArcMap()
119 if (mapper->OutputSymbolsAction() == MAP_CLEAR_SYMBOLS) in ArcMap()
127 MapFinalAction final_action = mapper->FinalAction(); in ArcMap()
138 aiter.SetValue((*mapper)(arc)); in ArcMap()
144 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
155 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
173 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
184 fst->SetProperties(mapper->Properties(props), kFstProperties); in ArcMap()
191 void ArcMap(MutableFst<A> *fst, C mapper) { in ArcMap() argument
[all …]
Dencode.h315 EncodeMapper(const EncodeMapper& mapper) in EncodeMapper() argument
316 : flags_(mapper.flags_), in EncodeMapper()
317 type_(mapper.type_), in EncodeMapper()
318 table_(mapper.table_), in EncodeMapper()
324 EncodeMapper(const EncodeMapper& mapper, EncodeType type) in EncodeMapper() argument
325 : flags_(mapper.flags_), in EncodeMapper()
327 table_(mapper.table_), in EncodeMapper()
328 error_(mapper.error_) { in EncodeMapper()
466 void Encode(MutableFst<A> *fst, EncodeMapper<A>* mapper) { in Encode() argument
467 mapper->SetInputSymbols(fst->InputSymbols()); in Encode()
[all …]
Darcsort.h49 ArcSortMapper(const ArcSortMapper<Arc, Compare> &mapper,
51 : fst_(fst ? *fst : mapper.fst_), comp_(mapper.comp_), i_(0) {}
98 ArcSortMapper<Arc, Compare> mapper(*fst, comp); in ArcSort()
99 StateMap(fst, mapper); in ArcSort()
/external/chromium_org/components/gcm_driver/
Dgcm_account_mapper_unittest.cc253 GCMAccountMapper* mapper() { return account_mapper_.get(); } in mapper() function in gcm::GCMAccountMapperTest
285 mapper()->Initialize(GCMAccountMapper::AccountMappings()); in TEST_F()
293 mapper()->Initialize(GCMAccountMapper::AccountMappings()); in TEST_F()
303 mapper()->SetAccountTokens(account_tokens); in TEST_F()
326 mapper()->Initialize(account_mappings); in TEST_F()
354 mapper()->Initialize(GCMAccountMapper::AccountMappings()); in TEST_F()
358 mapper()->SetAccountTokens(account_tokens); in TEST_F()
365 mapper()->SetAccountTokens(account_tokens); in TEST_F()
380 mapper()->Initialize(GCMAccountMapper::AccountMappings()); in TEST_F()
386 mapper()->SetAccountTokens(account_tokens); in TEST_F()
[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()
DLEFontInstance.h244 …], le_int32 offset, le_int32 count, le_bool reverse, const LECharMapper *mapper, le_bool filterZer…
261 …virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWid…
277 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dmap.h81 void Map(MutableFst<A> *fst, C* mapper) { in Map() argument
90 MapFinalAction final_action = mapper->FinalAction(); in Map()
101 aiter.SetValue((*mapper)(arc)); in Map()
107 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
114 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
132 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
143 fst->SetProperties(mapper->Properties(props), kFstProperties); in Map()
149 void Map(MutableFst<A> *fst, C mapper) { in Map() argument
150 Map(fst, &mapper); in Map()
158 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { in Map() argument
[all …]
Dencode.h214 EncodeMapper(const EncodeMapper& mapper) in EncodeMapper() argument
215 : ref_count_(mapper.ref_count_ + 1), in EncodeMapper()
216 flags_(mapper.flags_), in EncodeMapper()
217 type_(mapper.type_), in EncodeMapper()
218 table_(mapper.table_) { } in EncodeMapper()
221 EncodeMapper(const EncodeMapper& mapper, EncodeType type) in EncodeMapper() argument
222 : ref_count_(mapper.ref_count_ + 1), in EncodeMapper()
223 flags_(mapper.flags_), in EncodeMapper()
225 table_(mapper.table_) { } in EncodeMapper()
321 void Encode(MutableFst<A> *fst, EncodeMapper<A>* mapper) { in Encode() argument
[all …]
/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/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()
DSimpleFontInstance.h49 …virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWid…
53 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
/external/icu/icu4c/source/test/letest/
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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/test/letest/
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/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_rdebug.cpp374 ScopedPageMapper mapper; in AddEntryImpl() local
376 mapper.MapReadWrite(before); in AddEntryImpl()
381 ScopedPageMapper mapper; in AddEntryImpl() local
383 mapper.MapReadWrite(after); in AddEntryImpl()
405 ScopedPageMapper mapper; in DelEntryImpl() local
407 mapper.MapReadWrite(entry->l_prev); in DelEntryImpl()
412 ScopedPageMapper mapper; in DelEntryImpl() local
414 mapper.MapReadWrite(entry->l_next); in DelEntryImpl()
/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/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/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_win.cc116 pad_state_[pad_index].mapper = NULL; in EnumerateDevices()
139 state.mapper = GetGamepadStandardMappingFunction(vendor, product); in EnumerateDevices()
143 gamepad->id, state.mapper ? L"STANDARD GAMEPAD " : L"", in EnumerateDevices()
146 if (state.mapper) in EnumerateDevices()
295 if (pad_state_[index].mapper) in GetRawInputPadData()
296 pad_state_[index].mapper(raw_pad, pad); in GetRawInputPadData()
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc75 BufferAutoMapper mapper(buffer.get()); in MakeBufferResource() local
76 if (!mapper.data() || mapper.size() < size) in MakeBufferResource()
78 memcpy(mapper.data(), data, size); in MakeBufferResource()
958 BufferAutoMapper mapper(enter.object()); in DeliverBlock() local
959 if (!mapper.data() || !mapper.size() || in DeliverBlock()
960 mapper.size() < block_info->data_size) { in DeliverBlock()
968 media::DecoderBuffer::CopyFrom(static_cast<uint8*>(mapper.data()), in DeliverBlock()
1182 BufferAutoMapper mapper(media_resource.get()); in MakeMediaBufferResource() local
1183 if (!mapper.data() || mapper.size() < data_size) { in MakeMediaBufferResource()
1187 memcpy(mapper.data(), encrypted_buffer->data(), data_size); in MakeMediaBufferResource()
[all …]
/external/openfst/src/include/fst/script/
Dmap.h31 const M &mapper) { in ArcMap() argument
34 ArcMap(fst, ofst, mapper); in ArcMap()
40 const M &mapper) { in StateMap() argument
43 StateMap(fst, ofst, mapper); in StateMap()

1234