/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CollationKey.java | 519 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/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | CollationKey.java | 531 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/ltp/testcases/kernel/syscalls/epoll2/examples/ |
D | epoll-test.c | 81 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/ |
D | pragma_poison.c | 3 #pragma GCC poison rindex 4 rindex(some_string, 'h'); // expected-error {{attempt to use a poisoned identifier}}
|
/external/clang/test/Sema/ |
D | knr-def-call.c | 22 char *rindex(); in f4() 25 char *rindex(s, c) in rindex() function
|
D | implicit-builtin-redecl.c | 26 typedef int rindex; typedef
|
D | builtins-gnu-mode.c | 11 int rindex; variable
|
/external/valgrind/memcheck/tests/ |
D | strchr.stderr.exp2 | 10 at 0x........: rindex (vg_replace_strmem.c:...) 14 at 0x........: rindex (vg_replace_strmem.c:...)
|
D | strchr.stderr.exp | 10 at 0x........: rindex (vg_replace_strmem.c:...)
|
D | str_tester.c | 635 check (rindex ("abcd", 'z') == NULL, 1); /* Not found. */ in test_rindex() 637 check (rindex (one, 'c') == one+2, 2); /* Basic test. */ in test_rindex() 638 check (rindex (one, 'd') == one+3, 3); /* End of string. */ in test_rindex() 639 check (rindex (one, 'a') == one, 4); /* Beginning. */ in test_rindex() 640 check (rindex (one, '\0') == one+4, 5); /* Finding NUL. */ in test_rindex() 642 check (rindex (one, 'b') == one+3, 6); /* Finding last. */ in test_rindex() 644 check (rindex (one, 'b') == NULL, 7); /* Empty string. */ in test_rindex() 645 check (rindex (one, '\0') == one, 8); /* NUL in empty string. */ in test_rindex()
|
/external/ltp/tools/pounder21/ |
D | infinite_loop.c | 81 progname = rindex(argv[3], '/'); in main() 88 progname = rindex(argv[1], '/'); in main()
|
D | timed_loop.c | 98 progname = rindex(argv[4], '/'); in main() 105 progname = rindex(argv[2], '/'); in main()
|
D | fancy_timed_loop.c | 96 progname = rindex(argv[7], '/'); in main() 103 progname = rindex(argv[5], '/'); in main()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_graphs.py | 129 debug_op = name[name.rindex("_") + 1:] 130 name = name[:name.rindex("_")] 132 debug_op_index = int(name[name.rindex("_") + 1:]) 133 name = name[:name.rindex("_")]
|
/external/python/cpython2/Lib/test/ |
D | test_bigmem.py | 312 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 …]
|
D | test_bytes.py | 329 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') 413 self.assertEqual(3, b.rindex(l, None)) 414 self.assertEqual(3, b.rindex(l, -2, None)) 415 self.assertEqual(2, b.rindex(l, None, -2)) 416 self.assertEqual(0, b.rindex(h, None, None)) 443 self.assertRaisesRegexp(TypeError, r'\brindex\b', b.rindex,
|
/external/python/cpython3/Lib/test/ |
D | test_bigmem.py | 309 self.assertEqual(s.rindex(_(' ')), 310 sublen + size + SUBSTR.rindex(_(' '))) 311 self.assertEqual(s.rindex(SUBSTR), sublen + size) 312 self.assertEqual(s.rindex(_(' '), 0, sublen + size - 1), 313 SUBSTR.rindex(_(' '))) 314 self.assertEqual(s.rindex(SUBSTR, 0, sublen + size), 0) 315 self.assertEqual(s.rindex(_('i')), 316 sublen + size + SUBSTR.rindex(_('i'))) 317 self.assertEqual(s.rindex(_('i'), 0, sublen), SUBSTR.rindex(_('i'))) 318 self.assertEqual(s.rindex(_('i'), 0, sublen + size), [all …]
|
D | test_bytes.py | 485 self.assertEqual(b.rindex(b'ss'), 5) 486 self.assertRaises(ValueError, b.rindex, b'w') 487 self.assertRaises(ValueError, b.rindex, b'mississippian') 489 self.assertEqual(b.rindex(i), 10) 490 self.assertRaises(ValueError, b.rindex, w) 492 self.assertEqual(b.rindex(b'ss', 3), 5) 493 self.assertEqual(b.rindex(b'ss', 0, 6), 2) 495 self.assertEqual(b.rindex(i, 1, 3), 1) 496 self.assertEqual(b.rindex(i, 3, 9), 7) 497 self.assertRaises(ValueError, b.rindex, w, 1, 3) [all …]
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 96 int rindex = TJ.getRedOffset(pixelFormat); in loadImage() local 104 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage() 119 int rindex = TJ.getRedOffset(pixelFormat); in saveImage() local 124 int pixel = (srcBuf[srcPtr + rindex] & 0xff) << 16 | in saveImage() 257 int rindex = index2 + TJ.getRedOffset(pf); in decomp() local 260 int lum = (int)((double)(srcBuf[rindex] & 0xff) * 0.299 + in decomp() 265 dstBuf[rindex] = (byte)Math.abs((dstBuf[rindex] & 0xff) - lum); in decomp()
|
/external/python/cpython2/Lib/ |
D | stringold.py | 145 def rindex(s, *args): function 151 return _apply(s.rindex, args)
|
/external/valgrind/exp-sgcheck/ |
D | h_intercepts.c | 64 STRRCHR(VG_Z_LIBC_SONAME, rindex) 67 STRRCHR(VG_Z_LD_LINUX_SO_2, rindex) 70 STRRCHR(VG_Z_DYLD, rindex)
|
/external/python/cpython2/Lib/importlib/ |
D | __init__.py | 13 dot = package.rindex('.', 0, dot)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | avgpooling_op.cc | 301 int rindex, rsize; in Compute() local 304 pad_rows, &rindex, &rsize)); in Compute() 319 for (int64 r_dst = rindex; r_dst < rindex + rsize; ++r_dst) { in Compute()
|
/external/bart/docs/api_reference/ |
D | conf.py | 85 version = bart.__version__[:bart.__version__.rindex(".")]
|
/external/trappy/doc/api_reference/ |
D | conf.py | 85 version = trappy.__version__[:trappy.__version__.rindex(".")]
|