/haiku-buildtools/gcc/gcc/go/ |
H A D | go-c.h | 36 const char* pkgpath, const char *prefix,
|
H A D | go-gcc.cc | 386 const std::string& pkgpath, 2383 const std::string& pkgpath, 2413 std::string asm_name(pkgpath); 2382 global_variable(const std::string& package_name, const std::string& pkgpath, const std::string& name, Btype* btype, bool is_external, bool is_hidden, bool in_unique_section, Location location) argument
|
/haiku-buildtools/gcc/gcc/go/gofrontend/ |
H A D | go.cc | 23 go_create_gogo(int int_type_size, int pointer_size, const char *pkgpath, argument 31 if (pkgpath != NULL) 32 ::gogo->set_pkgpath(pkgpath);
|
H A D | import.cc | 303 std::string pkgpath; local 310 pkgpath = unique_prefix + '.' + package_name; 316 this->require_c_string("pkgpath "); 317 pkgpath = this->read_identifier(); 319 pkgpath_symbol = Gogo::pkgpath_for_symbol(pkgpath); 324 pkgpath, pkgpath_symbol, 387 // Read a package line. This let us reliably determine the pkgpath 396 std::string pkgpath = this->read_identifier(); local 401 Package* p = this->gogo_->register_package(pkgpath, pkgpath_symbol, 414 std::string pkgpath local 643 std::string pkgpath; local [all...] |
H A D | export.cc | 95 const std::string& pkgpath, 148 go_assert(!pkgpath.empty()); 149 this->write_c_string("pkgpath "); 150 this->write_string(pkgpath); 204 // Write out all the known packages whose pkgpath symbol is not a 205 // simple transformation of the pkgpath, so that the importing code 218 != Gogo::pkgpath_for_symbol(p->second->pkgpath())) 231 this->write_string((*p)->pkgpath()); 269 this->write_string(p->second->pkgpath()); 405 s += package->pkgpath(); 93 export_globals(const std::string& package_name, const std::string& prefix, const std::string& pkgpath, int package_priority, const std::map<std::string, Package*>& packages, const std::map<std::string, Package*>& imports, const std::string& import_init_fn, const std::set<Import_init>& imported_init_fns, const Bindings* bindings) argument [all...] |
H A D | export.h | 132 const std::string& pkgpath,
|
H A D | gogo.h | 148 : '.' + this->pkgpath() + '.' + name); 184 // Convert a pkgpath into a string suitable for a symbol 186 pkgpath_for_symbol(const std::string& pkgpath); 190 pkgpath() const; 204 // Return whether pkgpath was set from a command line option. 278 const std::string& pkgpath, 287 register_package(const std::string& pkgpath, 754 // Whether an explicit package path was set by -fgo-pkgpath. 2627 Package(const std::string& pkgpath, const std::string& pkgpath_symbol, 2633 pkgpath() cons function in class:Package [all...] |
H A D | gogo.cc | 247 // Convert a pkgpath into a string suitable for a symbol. Note that 248 // this transformation is convenient but imperfect. A -fgo-pkgpath 249 // option of a/b_c will conflict with a -fgo-pkgpath option of a_b/c, 253 Gogo::pkgpath_for_symbol(const std::string& pkgpath) argument 255 std::string s = pkgpath; 273 Gogo::pkgpath() const function in class:Gogo 279 // Set the package path from the -fgo-pkgpath command line option. 380 // -fgo-pkgpath or -fgo-prefix was used. 504 if (package->pkgpath() == this->pkgpath()) 1528 add_imported_package(const std::string& real_name, const std::string& alias_arg, bool is_alias_exported, const std::string& pkgpath, const std::string& pkgpath_symbol, Location location, bool* padd_to_globals) argument 1570 register_package(const std::string& pkgpath, const std::string& pkgpath_symbol, Location location) argument 4350 std::string pkgpath; local 4998 std::string pkgpath = gogo->pkgpath_symbol(); local 7510 Package(const std::string& pkgpath, const std::string& pkgpath_symbol, Location location) argument [all...] |
H A D | backend.h | 483 // path for that package, from the -fgo-pkgpath or -fgo-prefix 494 const std::string& pkgpath,
|
H A D | types.cc | 1292 const std::string& pkgpath(no->package() == NULL 1295 ret.append(pkgpath); 1319 // FIXME: This adds in pkgpath twice for hidden symbols, which is 2262 const std::string& pkgpath(package == NULL 2263 ? gogo->pkgpath() 2264 : package->pkgpath()); 2265 n.assign(pkgpath); 7903 // If no -fgo-pkgpath option, backward compatibility 7904 // for how this used to work before -fgo-pkgpath was 7906 std::string pkgpath local 7962 std::string pkgpath = Gogo::hidden_name_pkgpath(p->name()); local [all...] |
H A D | parse.cc | 325 std::string s = ('.' + package->package_value()->pkgpath()
|
H A D | expressions.cc | 10908 s.append(gogo->pkgpath()); 10910 s.append(nt->named_object()->package()->pkgpath());
|