Lines Matching refs:BlobLen
43 llvm::StringRef makeString(const char *blob, unsigned blobLen);
57 unsigned bloblen) {
58 char *mem = Alloc.Allocate<char>(bloblen + 1);
59 memcpy(mem, blob, bloblen);
62 mem[bloblen] = '\0';
63 return llvm::StringRef(mem, bloblen);
226 unsigned BlobLen,
234 unsigned BlobLen,
429 unsigned BlobLen;
430 unsigned recordID = Stream.ReadRecord(blockOrCode, Record, &Blob, &BlobLen);
452 unsigned BlobLen,
456 if (BlobLen > 65536) {
462 if (allowEmptyString && Record.size() >= 1 && BlobLen == 0) {
467 if (Record.size() < 1 || BlobLen == 0) {
473 RetStr = TopDiags.makeString(BlobStart, BlobLen);
482 unsigned BlobLen,
485 if (readString(TopDiags, RetStr, errorContext, Record, BlobStart, BlobLen,
586 unsigned BlobLen = 0;
588 BlobStart, BlobLen);
599 BlobStart, BlobLen,
606 BlobStart, BlobLen))
612 BlobStart, BlobLen))
642 if (readString(TopDiags, RetStr, "FIXIT", Record, BlobStart, BlobLen,
658 D->Spelling = TopDiags.makeString(BlobStart, BlobLen);