Lines Matching refs:new_content
2140 rich_location::add_fixit_insert_before (const char *new_content) in add_fixit_insert_before() argument
2142 add_fixit_insert_before (get_loc (), new_content); in add_fixit_insert_before()
2150 const char *new_content) in add_fixit_insert_before() argument
2153 maybe_add_fixit (start, start, new_content); in add_fixit_insert_before()
2160 rich_location::add_fixit_insert_after (const char *new_content) in add_fixit_insert_after() argument
2162 add_fixit_insert_after (get_loc (), new_content); in add_fixit_insert_after()
2170 const char *new_content) in add_fixit_insert_after() argument
2184 maybe_add_fixit (next_loc, next_loc, new_content); in add_fixit_insert_after()
2221 rich_location::add_fixit_replace (const char *new_content) in add_fixit_replace() argument
2223 add_fixit_replace (get_loc (), new_content); in add_fixit_replace()
2233 const char *new_content) in add_fixit_replace() argument
2236 add_fixit_replace (range, new_content); in add_fixit_replace()
2244 const char *new_content) in add_fixit_replace() argument
2261 maybe_add_fixit (start, finish, new_content); in add_fixit_replace()
2321 const char *new_content) in maybe_add_fixit() argument
2357 const char *newline = strchr (new_content, '\n'); in maybe_add_fixit()
2393 if (prev->maybe_append (start, next_loc, new_content)) in maybe_add_fixit()
2396 m_fixit_hints.push (new fixit_hint (start, next_loc, new_content)); in maybe_add_fixit()
2403 const char *new_content) in fixit_hint() argument
2406 m_bytes (xstrdup (new_content)), in fixit_hint()
2407 m_len (strlen (new_content)) in fixit_hint()
2442 const char *new_content) in maybe_append() argument
2451 size_t extra_len = strlen (new_content); in maybe_append()
2453 memcpy (m_bytes + m_len, new_content, extra_len); in maybe_append()