Home
last modified time | relevance | path

Searched refs:testline (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_file.py265 testline = testlines.pop(0)
271 if line != testline:
273 "failed. Got %r, expected %r" % (line, testline))
274 testline = testlines.pop(0)
275 buf = array("b", b"\x00" * len(testline))
282 if line != testline:
284 "failed. Got %r, expected %r" % (line, testline))
286 testline = testlines.pop(0)
288 line = f.read(len(testline))
292 if line != testline:
[all …]
Dtest_file2k.py377 testline = testlines.pop(0)
383 if line != testline:
385 "failed. Got %r, expected %r" % (line, testline))
386 testline = testlines.pop(0)
387 buf = array("c", "\x00" * len(testline))
394 if line != testline:
396 "failed. Got %r, expected %r" % (line, testline))
398 testline = testlines.pop(0)
400 line = f.read(len(testline))
404 if line != testline:
[all …]
/external/python/cpython3/Lib/test/
Dtest_file.py259 testline = testlines.pop(0)
265 if line != testline:
267 "failed. Got %r, expected %r" % (line, testline))
268 testline = testlines.pop(0)
269 buf = array("b", b"\x00" * len(testline))
276 if line != testline:
278 "failed. Got %r, expected %r" % (line, testline))
280 testline = testlines.pop(0)
282 line = f.read(len(testline))
286 if line != testline:
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c782 const char* testline = "This is a test line"; in TestFileStream() local
783 int32_t bufLen = (int32_t)strlen(testline)+10; in TestFileStream()
866 T_FileStream_writeLine(stream,testline); in TestFileStream()
869 if(uprv_strncmp(testline, buf,uprv_strlen(buf))!=0){ in TestFileStream()
874 T_FileStream_write(stream,testline,(int32_t)strlen(testline)); in TestFileStream()
877 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
/external/u-boot/scripts/
Dcheckpatch.pl5421 my $testline = $lines[$linenr - 3];