Searched refs:tell (Results 1 - 25 of 105) sorted by relevance

12345

/openbsd-current/gnu/usr.bin/perl/t/io/
H A Dtell.t21 $secondpos = tell;
29 $lastpos = tell;
31 ok(eof, "tell() doesn't change current state of eof");
39 is($secondpos, tell, "position is the same after reading the first line");
45 is($secondpos, tell, "it doesn't change tell position");
49 is($lastpos, tell, "the position is the same as after reading whole file line by line");
64 tell OTHER;
65 ok(!$., "tell() does change filehandler for \$.");
86 tell OTHE
[all...]
H A Ddata.t52 my @data_positions = tell(DATA);
55 push @data_positions, tell(DATA);
63 push @fh_positions, tell($fh);
H A Dutf8.t22 cmp_ok( tell(F), '==', 4, tell(F) );
24 cmp_ok( tell(F), '>=', 5, tell(F) );
77 binmode(F); # we write a "\n" and then tell() - avoid CRLF issues.
81 { my $x = tell(F);
99 my $x = tell(F);
201 tell(F) == ($a += bytes::length($b))) {
206 print '# tell(F) == ', tell(
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_tell.t26 my $secondpos = tell;
34 my $lastpos = tell;
44 if ($secondpos == tell) { print "ok 7\n"; } else { print "not ok 7\n"; }
50 if ($secondpos == tell) { print "ok 10\n"; } else { print "not ok 10\n"; }
54 if ($lastpos == $tst->tell) { print "ok 12\n"; } else { print "not ok 12\n"; }
H A Dio_linenum.t44 $t = tell F; # tell F; provokes a warning
59 $t = tell F;
61 # input_line_number() used to use select and tell. When we did the
/openbsd-current/gnu/usr.bin/perl/cpan/Win32API-File/t/
H A Dtie.t32 my $tell = tell $fh;
33 is(0+$tell, 0, "tell \$fh == '$tell'");
39 $tell = tell $fh;
41 is($tell, $len, "after printing 'some text\\n', tell is: '$tell'");
[all...]
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dfilehandle.t19 is $fh->tell, 0, "after 'seek' and 'tell', got expected current fh position in bytes";
20 is <$fh>, "foo", "after 'seek' and 'tell', still got expected content";
23 is $@, '', "no errors after 'seek' or 'tell'";
H A Dreadline.t272 is tell, -1, 'tell returns -1 after last gv is unglobbed';
274 is tell, -1, 'unglobbery of last gv nullifies PL_last_in_gv';
276 is tell, tell *foom, 'readline *$glob_copy sets PL_last_in_gv';
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp66 uint64_t FileWriter::tell() {
67 return OS.tell();
71 off_t Offset = OS.tell();
H A DFunctionInfo.cpp105 const uint64_t FuncInfoOffset = O.tell();
117 const auto StartOffset = O.tell();
121 const auto Length = O.tell() - StartOffset;
135 const auto StartOffset = O.tell();
139 const auto Length = O.tell() - StartOffset;
/openbsd-current/gnu/llvm/llvm/lib/TableGen/
H A DTableGenBackend.cpp24 size_t Pos = (size_t)OS.tell();
28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size();
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DELFAttributeParser.cpp96 uint64_t end = cursor.tell() + length;
97 while ((pos = cursor.tell()) < end) {
123 uint64_t end = cursor.tell() - sizeof(length) + length;
135 while (cursor.tell() < end) {
150 Twine::utohexstr(cursor.tell() - 5));
172 Twine::utohexstr(cursor.tell() - 5));
216 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size())
220 utohexstr(cursor.tell() - 4));
/openbsd-current/gnu/llvm/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp32 size_t tell() const { return NextOffset; } function in class:__anon2416::BlobAllocator
109 size_t BeginOffset = OS.tell();
112 assert(OS.tell() == BeginOffset + NextOffset &&
125 size_t DataEnd = File.tell();
163 size_t DataEnd = File.tell();
166 DataEnd = File.tell();
176 Result.Location.RVA = File.tell();
209 DataEnd = File.tell();
223 DataEnd.value_or(File.tell()) - Result.Location.RVA;
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugPubTable.cpp46 Offset = C.tell() + NewSet.Length;
83 if (C.tell() != Offset)
89 SetOffset, C.tell() - OffsetSize, Offset - OffsetSize));
/openbsd-current/gnu/llvm/llvm/lib/MC/
H A DMCLinkerOptimizationHint.cpp58 return OutStream.tell();
H A DSPIRVObjectWriter.cpp67 uint64_t StartOffset = W.OS.tell();
71 return W.OS.tell() - StartOffset;
/openbsd-current/gnu/llvm/lld/wasm/
H A DWriterUtils.cpp84 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]");
89 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]");
95 debugWrite(os.tell(), msg + " [data[" + Twine(count) + "]]");
100 debugWrite(os.tell(),
107 debugWrite(os.tell(), msg + " [0x" + utohexstr(byte) + "]");
112 debugWrite(os.tell(), msg + "[0x" + utohexstr(number) + "]");
117 debugWrite(os.tell(), msg + "[0x" + utohexstr(number) + "]");
/openbsd-current/usr.bin/rpcgen/
H A Drpc_main.c385 long tell; local
398 tell = ftell(fout);
402 if (extend && tell == ftell(fout)) {
475 long tell; local
491 tell = ftell(fout);
504 if (extend && tell == ftell(fout)) {
691 long tell; local
707 tell = ftell(fout);
711 if (extend && tell == ftell(fout))
726 long tell; local
[all...]
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp126 uint64_t StartOfLocationInfo = OS.tell();
139 DiagMessageStream.str(), OS.tell() - StartOfLocationInfo,
/openbsd-current/gnu/usr.bin/perl/ext/PerlIO-scalar/t/
H A Dscalar.t43 my $off = tell($fh);
48 $off = tell($fh);
56 $off = tell($fh);
63 $off = tell($fh);
215 is(tell(F), 51);
225 is(tell(F), 101);
233 is(tell(F), 76);
516 is(tell($fh), 0, "shouldn't change the position");
/openbsd-current/gnu/llvm/llvm/tools/llvm-cov/
H A DTestingSupport.cpp115 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad)
119 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad)
/openbsd-current/gnu/llvm/llvm/tools/dsymutil/
H A DMachOUtils.cpp516 assert(OutFile.tell() == HeaderSize);
521 assert(OutFile.tell() == HeaderSize + sizeof(UUIDCmd));
578 assert(OutFile.tell() == LoadCommandSize + HeaderSize);
580 assert(OutFile.tell() == SymtabStart);
585 assert(OutFile.tell() == StringStart);
600 assert(OutFile.tell() == StringStart + NewStringsSize);
604 assert(OutFile.tell() == EHFrameStart);
609 assert(OutFile.tell() == EHFrameStart + EHFrameSize);
613 assert(OutFile.tell() == DwarfSegmentStart);
620 uint64_t Pos = OutFile.tell();
[all...]
/openbsd-current/gnu/usr.bin/cvs/contrib/
H A Dsccs2rcs.in24 # "rm -rf RCS; sccs unedit `sccs tell`; sccs clean"
37 # even destroyed as long as you don't tell anyone you wrote it.
64 set edits = (`sccs tell`)
264 foreach f (`sccs tell`)
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/
H A DFileWriter.h110 uint64_t tell();
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A Dcircular_raw_ostream.h90 return TheStream->tell() - TheStream->GetNumBytesInBuffer();

Completed in 528 milliseconds

12345