Lines Matching defs:location_t
82 /* The typedef "location_t" is a key within the location database,
292 To further see how location_t works in practice, see the
294 typedef unsigned int location_t;
304 const location_t LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES = 0x50000000;
309 const location_t LINE_MAP_MAX_LOCATION_WITH_COLS = 0x60000000;
312 const location_t LINE_MAP_MAX_LOCATION = 0x70000000;
324 location_t m_start;
325 location_t m_finish;
331 /* Make a source_range from a location_t. */
332 static source_range from_location (location_t loc)
340 /* Make a source_range from a pair of location_t. */
341 static source_range from_locations (location_t start,
342 location_t finish)
388 location_t start_location;
419 /* Number of the low-order location_t bits used for column numbers
447 location_t included_from;
454 const location_t MAX_LOCATION_T = 0x7FFFFFFF;
467 location_t
540 location_t * GTY((atomic)) macro_locations;
547 location_t m_expansion;
580 IS_ORDINARY_LOC (location_t loc)
588 IS_ADHOC_LOC (location_t loc)
649 inline location_t
711 inline location_t *
762 location_t locus;
782 location_t curr_loc;
793 bool pure_location_p (location_t loc) const;
794 location_t get_pure_location (location_t loc) const;
796 source_range get_range_from_loc (location_t loc) const;
797 location_t get_start (location_t loc) const
801 location_t
802 get_finish (location_t loc) const
807 location_t make_location (location_t caret,
808 location_t start,
809 location_t finish);
811 location_t
812 get_or_create_combined_loc (location_t locus,
818 bool can_be_stored_compactly_p (location_t locus,
822 source_range get_range_from_adhoc_loc (location_t loc) const;
838 /* Highest location_t "given out". */
839 location_t highest_location;
841 /* Start of line of highest location_t "given out". */
842 location_t highest_line;
859 location_t builtin_location;
997 inline location_t
1005 extern void *get_data_from_adhoc_loc (const line_maps *, location_t);
1006 extern unsigned get_discriminator_from_adhoc_loc (const line_maps *, location_t);
1007 extern location_t get_location_from_adhoc_loc (const line_maps *,
1008 location_t);
1010 extern source_range get_range_from_loc (const line_maps *set, location_t loc);
1011 extern unsigned get_discriminator_from_loc (const line_maps *set, location_t loc);
1017 pure_location_p (const line_maps *set, location_t loc);
1022 extern location_t get_pure_location (const line_maps *set, location_t loc);
1031 location_t builtin_location);
1037 /* Return a location_t for the start (i.e. column==0) of
1043 extern location_t linemap_line_start
1084 location_t, unsigned int);
1090 extern location_t linemap_module_loc
1091 (line_maps *, location_t from, const char *name);
1093 (line_maps *, location_t loc, location_t new_parent);
1107 (const line_maps *, location_t);
1109 unsigned linemap_lookup_macro_index (const line_maps *, location_t);
1128 location_t);
1133 location_t);
1138 location_t);
1145 extern location_t
1148 location_t location);
1150 /* location_t values from 0 to RESERVED_LOCATION_COUNT-1 will
1153 const location_t RESERVED_LOCATION_COUNT = 2;
1155 /* Converts a map and a location_t to source line. */
1157 SOURCE_LINE (const line_map_ordinary *ord_map, location_t loc)
1163 /* Convert a map and location_t to source column number. */
1165 SOURCE_COLUMN (const line_map_ordinary *ord_map, location_t loc)
1172 inline location_t
1191 /* Encode and return a location_t from a column number. The
1195 extern location_t
1200 location_t
1205 /* Encode and return a location_t starting from location LOC and
1208 location_t
1210 location_t loc,
1238 location_t loc0,
1239 location_t loc1,
1240 location_t *res_loc0,
1241 location_t *res_loc1);
1248 location_t pre,
1249 location_t post);
1256 location_t loc_a,
1257 location_t loc_b)
1336 location_t linemap_resolve_location (const line_maps *,
1337 location_t loc,
1348 location_t linemap_unwind_toward_expansion (const line_maps *,
1349 location_t loc,
1366 location_t linemap_unwind_to_first_non_reserved_loc (const line_maps *,
1367 location_t loc,
1376 location_t loc);
1403 location_t *loc);
1411 void linemap_dump_location (const line_maps *, location_t, FILE *);
1423 /* An enum for distinguishing the various parts within a location_t. */
1432 /* The rich_location class requires a way to expand location_t instances.
1440 location_t,