Home | History | Annotate | Download | only in c-index-test

Lines Matching refs:Locations

2134   CursorSourceLocation *Locations = 0;
2139 /* Count the number of locations. */
2143 /* Parse the locations. */
2144 assert(NumLocations > 0 && "Unable to count locations?");
2145 Locations = (CursorSourceLocation *)malloc(
2149 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
2150 &Locations[Loc].line,
2151 &Locations[Loc].column, 0, 0)))
2195 CXFile file = clang_getFile(TU, Locations[Loc].filename);
2200 clang_getLocation(TU, file, Locations[Loc].line,
2201 Locations[Loc].column));
2273 free(Locations[Loc].filename);
2281 free(Locations);
2305 CursorSourceLocation *Locations = 0;
2310 /* Count the number of locations. */
2314 /* Parse the locations. */
2315 assert(NumLocations > 0 && "Unable to count locations?");
2316 Locations = (CursorSourceLocation *)malloc(
2320 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
2321 &Locations[Loc].line,
2322 &Locations[Loc].column, 0, 0)))
2367 CXFile file = clang_getFile(TU, Locations[Loc].filename);
2372 clang_getLocation(TU, file, Locations[Loc].line,
2373 Locations[Loc].column));
2383 free(Locations[Loc].filename);
2394 free(Locations);
2418 /* Count the number of locations. */
2422 /* Parse the locations. */