Home
last modified time | relevance | path

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

1234

/external/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 …]
/external/icu/android_icu4j/src/main/java/android/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 …]
/external/ltp/testcases/kernel/syscalls/epoll2/examples/
Depoll-test.c81 int nbytes, rindex; member
132 conn->nbytes = conn->rindex = 0; in eph_new_conn()
296 if (conn->rindex && conn->rindex < conn->nbytes) { in eph_read_data()
297 memmove(conn->buffer, conn->buffer + conn->rindex, in eph_read_data()
298 conn->nbytes - conn->rindex); in eph_read_data()
299 conn->nbytes -= conn->rindex; in eph_read_data()
303 conn->rindex = 0; in eph_read_data()
332 if (conn->nbytes > conn->rindex) { in eph_read_line()
333 if ((nline = memchr(conn->buffer + conn->rindex, '\n', in eph_read_line()
334 conn->nbytes - conn->rindex))) { in eph_read_line()
[all …]
/external/clang/test/Preprocessor/
Dpragma_poison.c3 #pragma GCC poison rindex
4 rindex(some_string, 'h'); // expected-error {{attempt to use a poisoned identifier}}
/external/llvm-project/clang/test/Preprocessor/
Dpragma_poison.c3 #pragma GCC poison rindex
4 rindex(some_string, 'h'); // expected-error {{attempt to use a poisoned identifier}}
/external/clang/test/Sema/
Dknr-def-call.c22 char *rindex(); in f4()
25 char *rindex(s, c) in rindex() function
Dimplicit-builtin-redecl.c26 typedef int rindex; typedef
Dbuiltins-gnu-mode.c11 int rindex; variable
/external/llvm-project/clang/test/Sema/
Dknr-def-call.c22 char *rindex(); in f4()
25 char *rindex(s, c) in rindex() function
Dimplicit-builtin-redecl.c26 typedef int rindex; typedef
Dbuiltins-gnu-mode.c11 int rindex; variable
/external/yapf/yapf/yapflib/
Dcomment_splicer.py177 rindex = (0 if '\n' not in comment_prefix.rstrip() else
178 comment_prefix.rstrip().rindex('\n') + 1)
180 len(comment_prefix[rindex:]) - len(
181 comment_prefix[rindex:].lstrip()))
/external/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()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_graphs.py127 debug_op = name[name.rindex("_") + 1:]
128 name = name[:name.rindex("_")]
130 debug_op_index = int(name[name.rindex("_") + 1:])
131 name = name[:name.rindex("_")]
/external/python/cpython2/Lib/test/
Dtest_bigmem.py312 self.assertEqual(s.rindex(' '),
313 sublen + size + SUBSTR.rindex(' '))
314 self.assertEqual(s.rindex(SUBSTR), sublen + size)
315 self.assertEqual(s.rindex(' ', 0, sublen + size - 1),
316 SUBSTR.rindex(' '))
317 self.assertEqual(s.rindex(SUBSTR, 0, sublen + size), 0)
318 self.assertEqual(s.rindex('i'),
319 sublen + size + SUBSTR.rindex('i'))
320 self.assertEqual(s.rindex('i', 0, sublen), SUBSTR.rindex('i'))
321 self.assertEqual(s.rindex('i', 0, sublen + size),
[all …]
Dtest_bytes.py329 self.assertEqual(b.rindex(b'w'), 0)
330 self.assertEqual(b.rindex(b'orl'), 1)
331 self.assertRaises(ValueError, b.rindex, b'worm')
332 self.assertRaises(ValueError, b.rindex, b'ldo')
436 self.assertEqual(3, b.rindex(l, None))
437 self.assertEqual(3, b.rindex(l, -2, None))
438 self.assertEqual(2, b.rindex(l, None, -2))
439 self.assertEqual(0, b.rindex(h, None, None))
466 self.assertRaisesRegexp(TypeError, r'\brindex\b', b.rindex,
/external/python/cpython2/Lib/
Dstringold.py145 def rindex(s, *args): function
151 return _apply(s.rindex, args)
Dstring.py333 def rindex(s, *args): function
339 return s.rindex(*args)
/external/python/cpython3/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.py685 self.assertEqual(b.rindex(b'ss'), 5)
686 self.assertRaises(ValueError, b.rindex, b'w')
687 self.assertRaises(ValueError, b.rindex, b'mississippian')
689 self.assertEqual(b.rindex(i), 10)
690 self.assertRaises(ValueError, b.rindex, w)
692 self.assertEqual(b.rindex(b'ss', 3), 5)
693 self.assertEqual(b.rindex(b'ss', 0, 6), 2)
695 self.assertEqual(b.rindex(i, 1, 3), 1)
696 self.assertEqual(b.rindex(i, 3, 9), 7)
697 self.assertRaises(ValueError, b.rindex, w, 1, 3)
[all …]
/external/python/cpython2/Lib/importlib/
D__init__.py13 dot = package.rindex('.', 0, dot)
/external/tensorflow/tensorflow/core/kernels/
Davgpooling_op.cc345 int rindex, rsize; in Compute() local
348 pad_rows, &rindex, &rsize)); in Compute()
363 for (int64 r_dst = rindex; r_dst < rindex + rsize; ++r_dst) { in Compute()
Dpooling_ops_3d.cc229 int rindex, rsize; in launch() local
232 padding[1], &rindex, &rsize)); in launch()
241 {rindex, rsize}, in launch()
404 int rindex, rsize; in launch() local
407 padding[1], &rindex, &rsize)); in launch()
416 {rindex, rsize}, in launch()

1234