Home
last modified time | relevance | path

Searched refs:TargetStart (Results 1 – 10 of 10) sorted by relevance

/external/licenseclassifier/stringclassifier/searchset/
Dsearchset_test.go103 {SrcStart: 0, SrcEnd: 27, TargetStart: 0, TargetEnd: 27},
104 {SrcStart: 37, SrcEnd: 927, TargetStart: 37, TargetEnd: 927},
107 {SrcStart: 0, SrcEnd: 27, TargetStart: 0, TargetEnd: 27},
108 {SrcStart: 37, SrcEnd: 927, TargetStart: 37, TargetEnd: 927},
114 {SrcStart: 0, SrcEnd: 37, TargetStart: 0, TargetEnd: 37},
115 {SrcStart: 0, SrcEnd: 37, TargetStart: 0, TargetEnd: 37},
117 want: MatchRanges{{SrcStart: 0, SrcEnd: 37, TargetStart: 0, TargetEnd: 37}},
122 {SrcStart: 0, SrcEnd: 37, TargetStart: 0, TargetEnd: 37},
123 {SrcStart: 37, SrcEnd: 927, TargetStart: 37, TargetEnd: 927},
125 want: MatchRanges{{SrcStart: 0, SrcEnd: 927, TargetStart: 0, TargetEnd: 927}},
[all …]
Dsearchset.go138 TargetStart, TargetEnd int member
143 return start >= m.TargetStart && end <= m.TargetEnd
147 return fmt.Sprintf("[%v, %v)->[%v, %v)", m.SrcStart, m.SrcEnd, m.TargetStart, m.TargetEnd)
158 if m[i].TargetStart < m[j].TargetStart {
161 return m[i].TargetStart == m[j].TargetStart && m[i].SrcStart < m[j].SrcStart
166 start = target.Tokens[m[0].TargetStart].Offset
215 if tv.Start >= mv[0].TargetStart && tv.Start <= mv[len(mv)-1].TargetEnd {
254 TargetStart: tv.Start,
261 …if sv.Start >= last.SrcStart && sv.Start <= last.SrcEnd && tv.Start >= last.TargetStart && tv.Star…
286 if p1[0].SrcStart >= (*p2)[0].SrcStart && p1[0].TargetStart >= (*p2)[0].TargetStart {
[all …]
/external/licenseclassifier/v2/
Dsearchset_test.go189 TargetStart: 0,
196 TargetStart: 0,
203 TargetStart: 60,
210 TargetStart: 60,
219 TargetStart: 0,
233 TargetStart: 0,
240 TargetStart: 0,
247 TargetStart: 60,
254 TargetStart: 60,
263 TargetStart: 0,
[all …]
Dsearchset.go133 TargetStart, TargetEnd int member
144 return m.TargetStart >= other.TargetStart && m.TargetEnd <= other.TargetEnd
148 …, %v)-> T: [%v, %v) => %v [%v]", m.SrcStart, m.SrcEnd, m.TargetStart, m.TargetEnd, m.TargetStart-m…
164 if m[i].TargetStart != m[j].TargetStart {
165 return m[i].TargetStart < m[j].TargetStart
226 off := m.TargetStart - m.SrcStart
256 moff := m.TargetStart - m.SrcStart
257 coff := c.TargetStart - c.SrcStart
282 if m.TargetStart < c.TargetStart && m.SrcStart < c.SrcStart {
283 c.TargetStart = m.TargetStart
[all …]
Dclassifier.go103 startIndex := m.TargetStart
/external/llvm/lib/Support/
DConvertUTFWrapper.cpp69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() local
70 UTF8 *TargetEnd = TargetStart + 4; in ConvertCodePointToUTF8()
72 &TargetStart, TargetEnd, in ConvertCodePointToUTF8()
77 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DConvertUTFWrapper.cpp68 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() local
69 UTF8 *TargetEnd = TargetStart + 4; in ConvertCodePointToUTF8()
71 &TargetStart, TargetEnd, in ConvertCodePointToUTF8()
76 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
/external/llvm/unittests/Support/
DConvertUTFTest.cpp158 UTF32 *TargetStart = Decoded.data(); in ConvertUTF8ToUnicodeScalarsLenient() local
161 ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsLenient()
164 Decoded.resize(TargetStart - Decoded.data()); in ConvertUTF8ToUnicodeScalarsLenient()
175 UTF32 *TargetStart = Decoded.data(); in ConvertUTF8ToUnicodeScalarsPartialLenient() local
178 &SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsPartialLenient()
181 Decoded.resize(TargetStart - Decoded.data()); in ConvertUTF8ToUnicodeScalarsPartialLenient()
/external/licenseclassifier/stringclassifier/
Dclassifier.go379 TargetStart: start,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp3626 SMLoc TargetStart = getTok().getLoc(); in ParseDirectiveAMDGCNTarget() local
3629 SMRange TargetRange = SMRange(TargetStart, getTok().getLoc()); in ParseDirectiveAMDGCNTarget()