Lines Matching refs:StringRef
50 explicit Executor(StringRef s) : prog(saver.save(s)) {}
51 void add(StringRef s) { args.push_back(saver.save(s)); }
60 StringRef exe = saver.save(*exeOrErr);
69 StringRef prog;
70 std::vector<StringRef> args;
76 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size) {
77 StringRef s1, s2;
87 void parseVersion(StringRef arg, uint32_t *major, uint32_t *minor) {
88 StringRef s1, s2;
97 void parseGuard(StringRef fullArg) {
98 SmallVector<StringRef, 1> splitArgs;
100 for (StringRef arg : splitArgs) {
113 void parseSubsystem(StringRef arg, WindowsSubsystem *sys, uint32_t *major,
115 StringRef sysStr, ver;
138 void parseAlternateName(StringRef s) {
139 StringRef from, to;
151 void parseMerge(StringRef s) {
152 StringRef from, to;
163 StringRef existing = pair.first->second;
169 static uint32_t parseSectionAttributes(StringRef s) {
202 void parseSection(StringRef s) {
203 StringRef name, attrs;
211 void parseAligncomm(StringRef s) {
212 StringRef name, align;
229 StringRef arg = a->getNumValues() ? a->getValue() : "";
250 void parseManifest(StringRef arg) {
270 void parseManifestUAC(StringRef arg) {
295 void parseSwaprun(StringRef arg) {
297 StringRef swaprun, newArg;
318 TemporaryFile(StringRef prefix, StringRef extn, StringRef contents = "") {
390 static std::string createManifestXmlWithInternalMt(StringRef defaultXml) {
399 for (StringRef filename : config->manifestInput) {
410 static std::string createManifestXmlWithExternalMt(StringRef defaultXml) {
427 for (StringRef filename : config->manifestInput) {
432 e.add("/out:" + StringRef(user.path));
526 Export parseExport(StringRef arg) {
528 StringRef rest;
534 StringRef x, y;
552 StringRef tok;
589 static StringRef undecorate(StringRef sym) {
603 static StringRef killAt(StringRef sym, bool prefix) {
651 DenseMap<StringRef, Export *> map(config->exports.size());
686 void checkFailIfMismatch(StringRef arg, InputFile *source) {
687 StringRef k, v;
691 std::pair<StringRef, InputFile *> existing = config->mustMatch[k];
784 StringRef s = arg->getValue();
796 StringRef s = arg->getValue();
865 ParsedDirectives ArgParser::parseDirectives(StringRef s) {
871 SmallVector<StringRef, 16> tokens;
873 for (StringRef tok : tokens) {
914 std::vector<const char *> ArgParser::tokenize(StringRef s) {