Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/Include/
Dstrings.h52 #define rindex(x,y) strrchr((x), (y)) macro
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/
Dstrings.h61 char *rindex(const char *, int) __pure; /* LEGACY */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/importlib/
D__init__.py13 dot = package.rindex('.', 0, dot)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/importlib/
D__init__.py13 dot = package.rindex('.', 0, dot)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstringold.py145 def rindex(s, *args): function
151 return _apply(s.rindex, args)
Dstring.py331 def rindex(s, *args): function
337 return s.rindex(*args)
DUserString.py111 def rindex(self, sub, start=0, end=sys.maxint): member in UserString
112 return self.data.rindex(sub, start, end)
Dmarkupbase.py56 pos = rawdata.rindex("\n", i, j) # Should not fail
Dihooks.py444 dot = pkgname.rindex('.', 0, dot)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_bigmem.py319 self.assertEqual(s.rindex(' '),
320 sublen + size + SUBSTR.rindex(' '))
321 self.assertEqual(s.rindex(SUBSTR), sublen + size)
322 self.assertEqual(s.rindex(' ', 0, sublen + size - 1),
323 SUBSTR.rindex(' '))
324 self.assertEqual(s.rindex(SUBSTR, 0, sublen + size), 0)
325 self.assertEqual(s.rindex('i'),
326 sublen + size + SUBSTR.rindex('i'))
327 self.assertEqual(s.rindex('i', 0, sublen), SUBSTR.rindex('i'))
328 self.assertEqual(s.rindex('i', 0, sublen + size),
[all …]
Dtest_bytes.py331 self.assertEqual(b.rindex(b'w'), 0)
332 self.assertEqual(b.rindex(b'orl'), 1)
333 self.assertRaises(ValueError, b.rindex, b'worm')
334 self.assertRaises(ValueError, b.rindex, b'ldo')
482 self.assertEqual(3, b.rindex(l, None))
483 self.assertEqual(3, b.rindex(l, -2, None))
484 self.assertEqual(2, b.rindex(l, None, -2))
485 self.assertEqual(0, b.rindex(h, None, None))
512 self.assertRaisesRegexp(TypeError, r'\brindex\b', b.rindex,
Dtest_pep352.py60 depth = exc_line.rindex('-')
Dtest_unicode.py159 self.assertRaises(ValueError, t1('abcdefghiabc').rindex, t2('hib'))
160 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('def'), 1)
161 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('abc'), 0, -1)
162 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, 8)
163 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, -1)
Dstring_tests.py1228 self.assertRaisesRegexp(TypeError, r'\brindex\b', s.rindex,
Dtest_descr.py3644 try: ''.rindex('5')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dstring.py333 def rindex(s, *args): function
339 return s.rindex(*args)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCodeFragmentCollector.py331 SlashIndex = CurrentLine.rindex(T_CHAR_BACKSLASH)
453 SlashIndex = CurrentLine.rindex(T_CHAR_BACKSLASH)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/
Ddecoder.py32 colno = pos - doc.rindex('\n', 0, pos)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCodeFragmentCollector.py318 SlashIndex = CurrentLine.rindex(T_CHAR_BACKSLASH)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/
Ddecoder.py32 colno = pos - doc.rindex('\n', 0, pos)