/external/openfst/src/include/fst/ |
D | map.h | 32 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 …]
|
D | state-map.h | 90 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 …]
|
D | arc-map.h | 112 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 …]
|
D | encode.h | 315 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 …]
|
/external/marisa-trie/lib/marisa/ |
D | trie.cc | 12 void Trie::mmap(Mapper *mapper, const char *filename, in mmap() argument 14 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 18 temp_mapper.swap(mapper); in mmap() 22 Mapper mapper(ptr, size); in map() local 23 map(mapper); in map() 26 void Trie::map(Mapper &mapper) { in map() argument 28 temp.louds_.map(mapper); in map() 29 temp.labels_.map(mapper); in map() 30 temp.terminal_flags_.map(mapper); in map() 31 temp.link_flags_.map(mapper); in map() [all …]
|
D | intvector.cc | 43 void IntVector::mmap(Mapper *mapper, const char *filename, in mmap() argument 45 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 49 temp_mapper.swap(mapper); in mmap() 53 Mapper mapper(ptr, size); in map() local 54 map(mapper); in map() 57 void IntVector::map(Mapper &mapper) { in map() argument 59 temp.units_.map(mapper); in map() 60 mapper.map(&temp.num_bits_per_int_); in map() 61 mapper.map(&temp.mask_); in map() 62 mapper.map(&temp.size_); in map()
|
D | bitvector.cc | 256 void BitVector::mmap(Mapper *mapper, const char *filename, in mmap() argument 258 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 262 temp_mapper.swap(mapper); in mmap() 266 Mapper mapper(ptr, size); in map() local 267 map(mapper); in map() 270 void BitVector::map(Mapper &mapper) { in map() argument 272 temp.blocks_.map(mapper); in map() 273 mapper.map(&temp.size_); in map() 274 temp.ranks_.map(mapper); in map() 275 temp.select0s_.map(mapper); in map() [all …]
|
D | tail.cc | 30 void Tail::mmap(Mapper *mapper, const char *filename, in mmap() argument 32 if (mapper == NULL) { in mmap() 38 temp_mapper.swap(mapper); in mmap() 42 Mapper mapper(ptr, size); in map() local 43 map(mapper); in map() 46 void Tail::map(Mapper &mapper) { in map() argument 48 temp.buf_.map(mapper); in map()
|
D | vector-inline.h | 21 void Vector<T>::mmap(Mapper *mapper, const char *filename, in mmap() argument 23 MARISA_THROW_IF(mapper == NULL, MARISA_PARAM_ERROR); in mmap() 27 temp_mapper.swap(mapper); in mmap() 32 Mapper mapper(ptr, size); in map() 33 map(mapper); in map() 37 void Vector<T>::map(Mapper &mapper) { in map() argument 39 mapper.map(&size); in map() 41 mapper.map(&temp.objs_, size); in map()
|
D | trie-c.cc | 53 marisa_trie_() : trie(), mapper() {} in marisa_trie_() 56 marisa::Mapper mapper; member 87 h->mapper.clear(); in marisa_build() 96 h->trie.mmap(&h->mapper, filename, offset, whence); in marisa_mmap() 105 h->mapper.clear(); in marisa_map() 115 h->mapper.clear(); in marisa_load() 124 h->mapper.clear(); in marisa_fread() 133 h->mapper.clear(); in marisa_read() 340 h->mapper.clear(); in marisa_clear()
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | trie.cc | 12 void Trie::mmap(Mapper *mapper, const char *filename, in mmap() argument 14 MARISA_ALPHA_THROW_IF(mapper == NULL, MARISA_ALPHA_PARAM_ERROR); in mmap() 18 temp_mapper.swap(mapper); in mmap() 22 Mapper mapper(ptr, size); in map() local 23 map(mapper); in map() 26 void Trie::map(Mapper &mapper) { in map() argument 28 temp.louds_.map(mapper); in map() 29 temp.labels_.map(mapper); in map() 30 temp.terminal_flags_.map(mapper); in map() 31 temp.link_flags_.map(mapper); in map() [all …]
|
D | intvector.cc | 43 void IntVector::mmap(Mapper *mapper, const char *filename, in mmap() argument 45 MARISA_ALPHA_THROW_IF(mapper == NULL, MARISA_ALPHA_PARAM_ERROR); in mmap() 49 temp_mapper.swap(mapper); in mmap() 53 Mapper mapper(ptr, size); in map() local 54 map(mapper); in map() 57 void IntVector::map(Mapper &mapper) { in map() argument 59 temp.units_.map(mapper); in map() 60 mapper.map(&temp.num_bits_per_int_); in map() 61 mapper.map(&temp.mask_); in map() 62 mapper.map(&temp.size_); in map()
|
D | bitvector.cc | 256 void BitVector::mmap(Mapper *mapper, const char *filename, in mmap() argument 258 MARISA_ALPHA_THROW_IF(mapper == NULL, MARISA_ALPHA_PARAM_ERROR); in mmap() 262 temp_mapper.swap(mapper); in mmap() 266 Mapper mapper(ptr, size); in map() local 267 map(mapper); in map() 270 void BitVector::map(Mapper &mapper) { in map() argument 272 temp.blocks_.map(mapper); in map() 273 mapper.map(&temp.size_); in map() 274 temp.ranks_.map(mapper); in map() 275 temp.select0s_.map(mapper); in map() [all …]
|
D | tail.cc | 30 void Tail::mmap(Mapper *mapper, const char *filename, in mmap() argument 32 if (mapper == NULL) { in mmap() 38 temp_mapper.swap(mapper); in mmap() 42 Mapper mapper(ptr, size); in map() local 43 map(mapper); in map() 46 void Tail::map(Mapper &mapper) { in map() argument 48 temp.buf_.map(mapper); in map()
|
D | vector-inline.h | 21 void Vector<T>::mmap(Mapper *mapper, const char *filename, in mmap() argument 23 MARISA_ALPHA_THROW_IF(mapper == NULL, MARISA_ALPHA_PARAM_ERROR); in mmap() 27 temp_mapper.swap(mapper); in mmap() 32 Mapper mapper(ptr, size); in map() 33 map(mapper); in map() 37 void Vector<T>::map(Mapper &mapper) { in map() argument 39 mapper.map(&size); in map() 41 mapper.map(&temp.objs_, size); in map()
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
D | test_urlmap.py | 16 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/trace-viewer/third_party/Paste/paste/ |
D | errordocument.py | 155 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/icu/icu4c/source/layout/ |
D | LEFontInstance.cpp | 50 …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/dexmaker/src/dx/java/com/android/dx/ssa/back/ |
D | FirstFitAllocator.java | 65 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()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | SimpleFontInstance.cpp | 91 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/ |
D | SimpleFontInstance.cpp | 97 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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2.java | 402 public Iterator<Range> iterator(ValueMapper mapper) { in iterator() argument 403 return new Trie2Iterator(mapper); in iterator() 420 public Iterator<Range> iteratorForLeadSurrogate(char lead, ValueMapper mapper) { in iteratorForLeadSurrogate() argument 421 return new Trie2Iterator(lead, mapper); in iteratorForLeadSurrogate() 856 mapper = vm; in Trie2Iterator() 868 mapper = vm; in Trie2Iterator() 896 mappedVal = mapper.map(val); in next() 905 if (mapper.map(val) != mappedVal) { in next() 913 mappedVal = mapper.map(val); in next() 922 if (mapper.map(val) != mappedVal) { in next() [all …]
|
/external/marisa-trie/v0_1_5/tests/ |
D | io-test.cc | 66 marisa_alpha::Mapper mapper; in TestFilename() local 67 mapper.open("io-test.dat"); in TestFilename() 69 mapper.map(&value); in TestFilename() 71 mapper.map(&value); in TestFilename() 74 mapper.map(&values, 3); in TestFilename() 79 EXCEPT(mapper.map(&byte), MARISA_ALPHA_IO_ERROR); in TestFilename()
|
/external/marisa-trie/tests/ |
D | io-test.cc | 65 marisa::Mapper mapper; in TestFilename() local 66 mapper.open("io-test.dat"); in TestFilename() 68 mapper.map(&value); in TestFilename() 70 mapper.map(&value); in TestFilename() 73 mapper.map(&values, 3); in TestFilename() 78 EXCEPT(mapper.map(&byte), MARISA_IO_ERROR); in TestFilename()
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | SsaInsn.java | 152 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
|