Home
last modified time | relevance | path

Searched refs:rindex (Results 1 – 25 of 52) sorted by relevance

123

/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationKey.java531 int rindex = 0; in merge() local
538 result[rindex++] = m_key_[index++]; in merge()
542 result[rindex++] = MERGE_SEPERATOR_; in merge()
547 result[rindex++] = source.m_key_[sourceindex++]; in merge()
557 result[rindex++] = Collation.LEVEL_SEPARATOR_BYTE; in merge()
569 System.arraycopy(m_key_, index, result, rindex, remainingLength); in merge()
570 rindex += remainingLength; in merge()
573 System.arraycopy(source.m_key_, sourceindex, result, rindex, remainingLength); in merge()
574 rindex += remainingLength; in merge()
576 result[rindex] = 0; in merge()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollationKey.java519 int rindex = 0; in merge() local
526 result[rindex++] = m_key_[index++]; in merge()
530 result[rindex++] = MERGE_SEPERATOR_; in merge()
535 result[rindex++] = source.m_key_[sourceindex++]; in merge()
545 result[rindex++] = Collation.LEVEL_SEPARATOR_BYTE; in merge()
557 System.arraycopy(m_key_, index, result, rindex, remainingLength); in merge()
558 rindex += remainingLength; in merge()
561 System.arraycopy(source.m_key_, sourceindex, result, rindex, remainingLength); in merge()
562 rindex += remainingLength; in merge()
564 result[rindex] = 0; in merge()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dtagstruct.c49 size_t rindex; member
70 t->length = t->rindex = 0; in pa_tagstruct_new()
85 t->rindex = 0; in pa_tagstruct_new_fixed()
122 if (t->rindex + 1 > t->length) in read_u8()
125 *u = t->data[t->rindex++]; in read_u8()
137 if (t->rindex + 4 > t->length) in read_u32()
140 memcpy(u, t->data + t->rindex, 4); in read_u32()
142 t->rindex += 4; in read_u32()
192 if (t->rindex + length > t->length) in read_arbitrary()
195 *p = t->data + t->rindex; in read_arbitrary()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdbmp.c187 register int rindex = rgb_red[cinfo->in_color_space]; in get_8bit_row() local
198 outptr[rindex] = colormap[0][t]; in get_8bit_row()
209 outptr[rindex] = colormap[0][t]; in get_8bit_row()
256 register int rindex = rgb_red[cinfo->in_color_space]; in get_24bit_row() local
266 outptr[rindex] = *inptr++; in get_24bit_row()
274 outptr[rindex] = *inptr++; in get_24bit_row()
321 register int rindex = rgb_red[cinfo->in_color_space]; in get_32bit_row() local
331 outptr[rindex] = *inptr++; in get_32bit_row()
339 outptr[rindex] = *inptr++; in get_32bit_row()
Drdppm.c155 ptr[rindex] = ptr[gindex] = ptr[bindex] = read_op; \
172 register int rindex = rgb_red[cinfo->in_color_space]; in get_text_gray_rgb_row() local
228 ptr[rindex] = read_op; \
246 register int rindex = rgb_red[cinfo->in_color_space]; in get_text_rgb_row() local
336 register int rindex = rgb_red[cinfo->in_color_space]; in get_gray_rgb_row() local
404 register int rindex = rgb_red[cinfo->in_color_space]; in get_rgb_row() local
518 register int rindex = rgb_red[cinfo->in_color_space]; in get_word_rgb_row() local
534 ptr[rindex] = rescale[temp]; in get_word_rgb_row()
Dwrppm.c139 register int rindex = rgb_red[cinfo->out_color_space]; in put_rgb() local
147 PUTPPMSAMPLE(bufferptr, ptr[rindex]); in put_rgb()
Dwrbmp.c149 register int rindex = rgb_red[cinfo->out_color_space]; in put_pixel_rows() local
157 outptr[2] = inptr[rindex]; in put_pixel_rows()
Dtjbench.c285 unsigned long rindex = index2 + tjRedOffset[pf]; in decomp() local
288 int y = (int)((double)srcBuf[rindex] * 0.299 + in decomp()
294 dstBuf[rindex] = abs(dstBuf[rindex] - y); in decomp()
/third_party/cef/tools/yapf/yapf/yapflib/
Dcomment_splicer.py188 rindex = (0 if '\n' not in comment_prefix.rstrip() else
189 comment_prefix.rstrip().rindex('\n') + 1)
190 comment_column = (len(comment_prefix[rindex:]) -
191 len(comment_prefix[rindex:].lstrip()))
/third_party/mbedtls/tests/scripts/
Dtranslate_ciphers.py118 index = s_cipher.rindex("-")
157 index = s_cipher.rindex("POLY1305")
/third_party/python/Lib/test/
Dtest_bigmem.py310 self.assertEqual(s.rindex(_(' ')),
311 sublen + size + SUBSTR.rindex(_(' ')))
312 self.assertEqual(s.rindex(SUBSTR), sublen + size)
313 self.assertEqual(s.rindex(_(' '), 0, sublen + size - 1),
314 SUBSTR.rindex(_(' ')))
315 self.assertEqual(s.rindex(SUBSTR, 0, sublen + size), 0)
316 self.assertEqual(s.rindex(_('i')),
317 sublen + size + SUBSTR.rindex(_('i')))
318 self.assertEqual(s.rindex(_('i'), 0, sublen), SUBSTR.rindex(_('i')))
319 self.assertEqual(s.rindex(_('i'), 0, sublen + size),
[all …]
Dtest_bytes.py687 self.assertEqual(b.rindex(b'ss'), 5)
688 self.assertRaises(ValueError, b.rindex, b'w')
689 self.assertRaises(ValueError, b.rindex, b'mississippian')
691 self.assertEqual(b.rindex(i), 10)
692 self.assertRaises(ValueError, b.rindex, w)
694 self.assertEqual(b.rindex(b'ss', 3), 5)
695 self.assertEqual(b.rindex(b'ss', 0, 6), 2)
697 self.assertEqual(b.rindex(i, 1, 3), 1)
698 self.assertEqual(b.rindex(i, 3, 9), 7)
699 self.assertRaises(ValueError, b.rindex, w, 1, 3)
[all …]
Dtest_unicode.py299 self.assertRaises(ValueError, 'abcdefghiabc'.rindex, 'hib')
300 self.assertRaises(ValueError, 'defghiabc'.rindex, 'def', 1)
301 self.assertRaises(ValueError, 'defghiabc'.rindex, 'abc', 0, -1)
302 self.assertRaises(ValueError, 'abcdefghi'.rindex, 'ghi', 0, 8)
303 self.assertRaises(ValueError, 'abcdefghi'.rindex, 'ghi', 0, -1)
308 self.assertRaises(ValueError, ('a' * 100).rindex, '\u0102')
309 self.assertRaises(ValueError, ('a' * 100).rindex, '\U00100304')
310 self.assertRaises(ValueError, ('\u0102' * 100).rindex, '\U00100304')
314 self.assertRaises(ValueError, ('a' * 100).rindex, '\u0102a')
315 self.assertRaises(ValueError, ('a' * 100).rindex, '\U00100304a')
[all …]
Dtest_baseexception.py47 depth = exc_line.rindex('-')
/third_party/musl/src/string/
Drindex.c5 char *rindex(const char *s, int c) in rindex() function
/third_party/musl/porting/liteos_m/kernel/include/
Dstrings.h20 char *rindex (const char *, int);
/third_party/musl/include/
Dstrings.h20 char *rindex (const char *, int);
/third_party/musl/porting/liteos_m/user/include/
Dstrings.h20 char *rindex (const char *, int);
/third_party/musl/porting/uniproton/kernel/include/
Dstrings.h20 char *rindex (const char *, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dstrings.h20 char *rindex (const char *, int);
/third_party/PyYAML/tests/lib/
Dtest_multi_constructor.py19 i = tag.rindex(':') + 1
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs210 pub fn nonzero(x: &[Limb], rindex: usize) -> bool { in nonzero()
211 debug_assert!(rindex <= x.len()); in nonzero()
214 let slc = &x[..len - rindex]; in nonzero()
/third_party/libinput/src/
Dutil-strings.c233 suffix = rindex(base, '.'); in trunkname()
/third_party/python/Tools/stringbench/
Dstringbench.py352 s1_rindex = s1.rindex
360 s1_rindex = s1.rindex
368 s1_rindex = s1.rindex
380 s1_rindex = s1.rindex
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c201 char *ext = rindex(filename[0], '.'); in main()

123