Home
last modified time | relevance | path

Searched refs:SUBSTR (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_bigmem.py44 SUBSTR = ' abc def ghi'
45 s = '-' * size + SUBSTR
47 self.assertEqual(caps[-len(SUBSTR):],
48 SUBSTR.capitalize())
49 self.assertEqual(caps.lstrip('-'), SUBSTR)
53 SUBSTR = ' abc def ghi'
54 s = SUBSTR.center(size)
56 lpadsize = rpadsize = (len(s) - len(SUBSTR)) // 2
59 self.assertEqual(s[lpadsize:-rpadsize], SUBSTR)
60 self.assertEqual(s.strip(), SUBSTR.strip())
[all …]
/external/python/cpython3/Lib/test/
Dtest_bigmem.py74 SUBSTR = self.from_latin1(' abc def ghi')
75 s = _('-') * size + SUBSTR
77 self.assertEqual(caps[-len(SUBSTR):],
78 SUBSTR.capitalize())
79 self.assertEqual(caps.lstrip(_('-')), SUBSTR)
83 SUBSTR = self.from_latin1(' abc def ghi')
84 s = SUBSTR.center(size)
86 lpadsize = rpadsize = (len(s) - len(SUBSTR)) // 2
89 self.assertEqual(s[lpadsize:-rpadsize], SUBSTR)
90 self.assertEqual(s.strip(), SUBSTR.strip())
[all …]
/external/one-true-awk/
Dytab.h131 SUBSTR = 341, enumerator
228 #define SUBSTR 341 macro
Dawkgram.y84 %left PRINT PRINTF RETURN SPLIT SPRINTF STRING SUB SUBSTR
412 | SUBSTR '(' pattern comma pattern comma pattern ')'
413 { $$ = op3(SUBSTR, $3, $5, $7); }
414 | SUBSTR '(' pattern comma pattern ')'
415 { $$ = op3(SUBSTR, $3, $5, NIL); }
Dmaketab.c54 { SUBSTR, "substr", "substr" },
Dlex.c85 { "substr", SUBSTR, SUBSTR },
Dytab.c199 SUBSTR = 341, enumerator
296 #define SUBSTR 341 macro
3350 { (yyval.p) = op3(SUBSTR, (yyvsp[-5].p), (yyvsp[-3].p), (yyvsp[-1].p)); } in yyparse()
3356 { (yyval.p) = op3(SUBSTR, (yyvsp[-3].p), (yyvsp[-1].p), NIL); } in yyparse()
/external/epid-sdk/ext/ipp/sources/include/
Dia_32e.inc180 txt SUBSTR txt, 1, @SizeStr( %txt ) - 1
241 XMM_CUR SUBSTR XMM_CUR, 1, @SizeStr( %XMM_CUR ) - 1
353 XMM_CUR SUBSTR XMM_CUR, 1, @SizeStr( %XMM_CUR ) - 1
2270 f1gpr SUBSTR <x>, 1, posgpr-1
2271 f2gpr SUBSTR <x>, posgpr + @SizeStr( ygpr )
3033 f1mem SUBSTR <src>, 1, memtype - 1
3034 f2mem SUBSTR <src>, memtype + @SizeStr( memlc )
3082 f1mem SUBSTR <src>, 1, memtype - 1
3083 f2mem SUBSTR <src>, memtype + @SizeStr( memlc )
3131 f1mem SUBSTR <dst>, 1, memtype - 1
[all …]
Dia_emm.inc1806 f1 SUBSTR <x>, 1, posx-1
1807 f2 SUBSTR <x>, posx + @SizeStr( y )
2042 f1 SUBSTR <x>, 1, posx-1
2043 f2 SUBSTR <x>, posx + @SizeStr( y )