Lines Matching refs:Locations
1390 CursorSourceLocation *Locations = 0;
1395 /* Count the number of locations. */
1399 /* Parse the locations. */
1400 assert(NumLocations > 0 && "Unable to count locations?");
1401 Locations = (CursorSourceLocation *)malloc(
1405 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
1406 &Locations[Loc].line,
1407 &Locations[Loc].column, 0, 0)))
1448 CXFile file = clang_getFile(TU, Locations[Loc].filename);
1453 clang_getLocation(TU, file, Locations[Loc].line,
1454 Locations[Loc].column));
1492 free(Locations[Loc].filename);
1500 free(Locations);
1523 CursorSourceLocation *Locations = 0;
1528 /* Count the number of locations. */
1532 /* Parse the locations. */
1533 assert(NumLocations > 0 && "Unable to count locations?");
1534 Locations = (CursorSourceLocation *)malloc(
1538 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
1539 &Locations[Loc].line,
1540 &Locations[Loc].column, 0, 0)))
1581 CXFile file = clang_getFile(TU, Locations[Loc].filename);
1586 clang_getLocation(TU, file, Locations[Loc].line,
1587 Locations[Loc].column));
1597 free(Locations[Loc].filename);
1608 free(Locations);