OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [stringpool.h] - Diff between revs 27 and 159

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 159
Line 1... Line 1...
// stringpool.h -- a string pool for gold    -*- C++ -*-
// stringpool.h -- a string pool for gold    -*- C++ -*-
 
 
// Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// Written by Ian Lance Taylor <iant@google.com>.
 
 
// This file is part of gold.
// This file is part of gold.
 
 
// This program is free software; you can redistribute it and/or modify
// This program is free software; you can redistribute it and/or modify
Line 217... Line 217...
  // is copied into permanent storage.  If PKEY is not NULL, this sets
  // is copied into permanent storage.  If PKEY is not NULL, this sets
  // *PKEY to the key for the string.
  // *PKEY to the key for the string.
  const Stringpool_char*
  const Stringpool_char*
  add(const Stringpool_char* s, bool copy, Key* pkey);
  add(const Stringpool_char* s, bool copy, Key* pkey);
 
 
 
  // Add the string S to the pool.
 
  const Stringpool_char*
 
  add(const std::basic_string<Stringpool_char>& s, bool copy, Key* pkey)
 
  { return this->add_with_length(s.data(), s.size(), copy, pkey); }
 
 
  // Add string S of length LEN characters to the pool.  If COPY is
  // Add string S of length LEN characters to the pool.  If COPY is
  // true, S need not be null terminated.
  // true, S need not be null terminated.
  const Stringpool_char*
  const Stringpool_char*
  add_with_length(const Stringpool_char* s, size_t len, bool copy, Key* pkey);
  add_with_length(const Stringpool_char* s, size_t len, bool copy, Key* pkey);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.