Lines Matching refs:line
1464 char line[1000]; in readSpec() local
1466 while (fgets(line, sizeof(line), specfp) != NULL) { in readSpec()
1469 if (ref.parse(lc, std::string(line))) { in readSpec()
1495 std::string line(buf); in readAttributes() local
1496 if (line.size() == 0) continue; // could that happen? in readAttributes()
1498 if (line.at(0) == '#') continue; // comment in readAttributes()
1500 size_t first = line.find_first_not_of(" \t\n"); in readAttributes()
1503 line = trim(line); in readAttributes()
1504 if (line.size() == 0 || line.at(0) == '#') continue; in readAttributes()
1508 if (line == "GLOBAL") { in readAttributes()
1512 currentEntry = findEntryByName(line); in readAttributes()
1514 …stderr, "WARNING: %u: attribute of non existant entry point %s\n", (unsigned int)lc, line.c_str()); in readAttributes()
1521 setGlobalAttribute(line, lc); in readAttributes()
1523 currentEntry->setAttribute(line, lc); in readAttributes()
1532 int ApiGen::setGlobalAttribute(const std::string & line, size_t lc) in setGlobalAttribute() argument
1536 std::string token = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1540 std::string str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1547 std::string str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1551 str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1555 std::string str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1559 str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1563 std::string str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1567 str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1571 std::string str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1575 str = getNextToken(line, pos, &last, WHITESPACE); in setGlobalAttribute()
1580 … fprintf(stderr, "WARNING: %u : unknown global attribute %s\n", (unsigned int)lc, line.c_str()); in setGlobalAttribute()