Lines Matching defs:base
3357 // Return true if this an input file whose base name matches
3358 // FILE_NAME. The base name must have an extension of ".o", and
4981 // NULL, open that file as the base for incremental linking, and
4998 gold_fatal(_("%s: incremental base and output file name are the same"),
5010 gold_info(_("%s: incremental base file is empty"), base_name);
5014 // If we're using a base file, we want to open it read-only.
5026 // If the base file and the output file are different, open a
5027 // new output file and read the contents from the base file into
5138 void* base;
5141 base = ::mremap(this->base_, this->file_size_, file_size,
5143 if (base == MAP_FAILED)
5148 base = realloc(this->base_, file_size);
5149 if (base == NULL)
5152 memset(static_cast<char*>(base) + this->file_size_, 0,
5155 this->base_ = static_cast<unsigned char*>(base);
5173 void* base = ::mmap(NULL, this->file_size_, PROT_READ | PROT_WRITE,
5175 if (base == MAP_FAILED)
5177 base = malloc(this->file_size_);
5178 if (base == NULL)
5180 memset(base, 0, this->file_size_);
5183 this->base_ = static_cast<unsigned char*>(base);
5199 void* base;
5225 base = ::mmap(NULL, this->file_size_, prot, MAP_SHARED, o, 0);
5230 if (base == MAP_FAILED)
5234 this->base_ = static_cast<unsigned char*>(base);