Home
last modified time | relevance | path

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

123

/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/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.c197 register int rindex = rgb_red[cinfo->in_color_space]; in get_8bit_row() local
208 outptr[rindex] = colormap[0][t]; in get_8bit_row()
219 outptr[rindex] = colormap[0][t]; in get_8bit_row()
267 register int rindex = rgb_red[cinfo->in_color_space]; in get_24bit_row() local
277 outptr[rindex] = *inptr++; in get_24bit_row()
285 outptr[rindex] = *inptr++; in get_24bit_row()
333 register int rindex = rgb_red[cinfo->in_color_space]; in get_32bit_row() local
343 outptr[rindex] = *inptr++; in get_32bit_row()
351 outptr[rindex] = *inptr++; in get_32bit_row()
Drdppm.c166 ptr[rindex] = ptr[gindex] = ptr[bindex] = read_op; \
183 register int rindex = rgb_red[cinfo->in_color_space]; in get_text_gray_rgb_row() local
239 ptr[rindex] = read_op; \
257 register int rindex = rgb_red[cinfo->in_color_space]; in get_text_rgb_row() local
347 register int rindex = rgb_red[cinfo->in_color_space]; in get_gray_rgb_row() local
415 register int rindex = rgb_red[cinfo->in_color_space]; in get_rgb_row() local
Dwrppm.c139 register int rindex = rgb_red[cinfo->out_color_space]; in put_rgb() local
147 PUTPPMSAMPLE(bufferptr, ptr[rindex]); in put_rgb()
/external/u-boot/drivers/soc/ti/
Dk3-navss-ringacc.c160 u32 rindex; member
336 ring->rindex = 0; in k3_nav_ringacc_ring_reset()
544 ring->rindex = 0; in k3_nav_ringacc_ring_cfg()
773 ring->free, ring->windex, ring->occ, ring->rindex); in k3_nav_ringacc_ring_access_io()
824 elem_ptr = k3_nav_ringacc_get_elm_addr(ring, ring->rindex); in k3_nav_ringacc_ring_pop_mem()
828 ring->rindex = (ring->rindex + 1) % ring->size; in k3_nav_ringacc_ring_pop_mem()
833 ring->occ, ring->rindex, elem_ptr); in k3_nav_ringacc_ring_pop_mem()
886 ring->ring_id, ring->occ, ring->rindex); in k3_nav_ringacc_ring_pop()
908 ring->occ, ring->rindex); in k3_nav_ringacc_ring_pop_tail()
/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.py623 self.assertEqual(b.rindex(b'ss'), 5)
624 self.assertRaises(ValueError, b.rindex, b'w')
625 self.assertRaises(ValueError, b.rindex, b'mississippian')
627 self.assertEqual(b.rindex(i), 10)
628 self.assertRaises(ValueError, b.rindex, w)
630 self.assertEqual(b.rindex(b'ss', 3), 5)
631 self.assertEqual(b.rindex(b'ss', 0, 6), 2)
633 self.assertEqual(b.rindex(i, 1, 3), 1)
634 self.assertEqual(b.rindex(i, 3, 9), 7)
635 self.assertRaises(ValueError, b.rindex, w, 1, 3)
[all …]
/external/python/cpython2/Lib/importlib/
D__init__.py13 dot = package.rindex('.', 0, dot)
/external/libjpeg-turbo/java/
DTJBench.java121 int rindex = TJ.getRedOffset(pixelFormat); in loadImage() local
130 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage()
145 int rindex = TJ.getRedOffset(pixelFormat); in saveImage() local
151 int pixel = (srcBuf[srcPtr + rindex] & 0xff) << 16 | in saveImage()
300 int rindex = index2 + TJ.getRedOffset(pf); in decomp() local
303 int lum = (int)((double)(srcBuf[rindex] & 0xff) * 0.299 + in decomp()
309 dstBuf[rindex] = (byte)Math.abs((dstBuf[rindex] & 0xff) - lum); in decomp()
/external/perfetto/tools/
Dstrip_android_host_binary.py37 start, end = versionLine.index('"'), versionLine.rindex('"')
/external/tensorflow/tensorflow/core/kernels/
Davgpooling_op.cc328 int rindex, rsize; in Compute() local
331 pad_rows, &rindex, &rsize)); in Compute()
346 for (int64 r_dst = rindex; r_dst < rindex + rsize; ++r_dst) { in Compute()
Dpooling_ops_3d.cc233 int rindex, rsize; in launch() local
236 padding[1], &rindex, &rsize)); in launch()
245 {rindex, rsize}, in launch()
408 int rindex, rsize; in launch() local
411 padding[1], &rindex, &rsize)); in launch()
420 {rindex, rsize}, in launch()
/external/tensorflow/tensorflow/python/tpu/
Ddevice_assignment.py402 for rindex in xrange(num_replicas):
405 logical_id = rindex * devices_per_replica + index

123