Lines Matching refs:line
31 BString line;
45 while (lineProvider.Next(line)) {
46 line.RemoveAll("\n");
47 line.RemoveAll("\r");
51 if (line.IsEmpty())
54 line.Trim();
55 int32 sequenceNumber = atoi(line.String());
58 "file: %" B_PRId32 ", expected: %" B_PRId32 ", line %"
69 line.Trim();
70 int32 separatorPos = line.FindFirst(" --> ");
72 fprintf(stderr, "Error: Time code expected on line %"
73 B_PRId32 ", got '%s'\n", currentLine, line.String());
76 BString timeCode(line.String(), separatorPos);
78 fprintf(stderr, "Warning: Time code broken on line %"
88 "line %" B_PRId32 "\n", currentLine);
97 timeCode.SetTo(line.String() + endTimePos);
101 "line %" B_PRId32 "\n", currentLine);
116 if (line.IsEmpty()) {
131 // We try to guess the encoding from the first line of
133 decoder = new BPrivate::BTextEncoding(line.String(),
134 line.Length());
136 char buffer[line.Length() * 4];
137 size_t inLength = line.Length();
138 size_t outLength = line.Length() * 4;
139 decoder->Decode(line.String(), inLength, buffer, outLength);
145 line.SetTo("");