Lines Matching refs:line
101 BString line;
102 while (lineReader.Next(line)) {
103 if (line.FindFirst("#") != 0)
105 _AppendItemToPlaylist(line, playlist);
106 line.Truncate(0);
115 // The total number of tracks in the PLS file, taken from the NumberOfEntries line.
118 // The version of the PLS standard used in this playlist file, taken from the Version line.
126 BString line;
128 // Check for the "[playlist]" header on the first line
129 lineReader.Next(line);
130 if (line != "[playlist]") {
134 line.Truncate(0);
137 bool lineRead = lineReader.Next(line);
142 int32 equalIndex = line.FindFirst("=");
144 line.Truncate(0);
149 // Will be set for each line to one of: File, Title, Length, NumberOfEntries, Version
153 if (isdigit(line[equalIndex - 1])) {
157 while (isdigit(line[trackIndex - 1]))
159 line.CopyInto(lineType, 0, trackIndex);
160 line.CopyInto(trackNumber, trackIndex, equalIndex - trackIndex);
162 line.CopyInto(lineType, 0, equalIndex);
167 line.CopyInto(lineContent, equalIndex + 1, line.Length() - (equalIndex + 1));
171 // A File line may be followed by optional Title and/or Length lines.
176 // The file should include one NumberOfEntries line and one Version line.
182 // Ignore the line
185 line.Truncate(0);