Lines Matching refs:line
3280 char line[B_FILE_NAME_LENGTH + 5];
3291 sprintf(line, "%" B_PRId32 " %s\n", entry->count, entry->name);
3292 if (file.Write(line, strlen(line)) < B_OK)
3420 char line[B_FILE_NAME_LENGTH + 5];
3421 while (fgets(line, sizeof(line), file) != NULL) {
3422 int32 length = (int32)strlen(line) - 1;
3423 if (length >= 0 && line[length] == '\n')
3424 line[length] = '\0';
3426 int32 count = atoi(line);
3428 char* name = strchr(line, ' ');