Lines Matching defs:Length
44 size_t Length;
47 StringRef(): Data(0), Length(0) {}
48 StringRef(const char *Str) : Data(Str), Length(magic_length(Str)) {}
49 StringRef(const char *data, size_t length) : Data(data), Length(length) {}
51 size_t size() const { return Length; }
53 return Length >= Prefix.Length &&
54 memcmp(Data, Prefix.Data, Prefix.Length) == 0;
57 return Length >= Suffix.Length &&
58 memcmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
61 return StringRef(Data + Start, min(N, Length - Start));
455 // CHECK-tokens: Identifier: "Length" [44:10 - 44:16] FieldDecl=Length:44:10 (Definition)
489 // CHECK-tokens: Identifier: "Length" [47:25 - 47:31] MemberRef=Length:44:10
508 // CHECK-tokens: Identifier: "Length" [48:43 - 48:49] MemberRef=Length:44:10
525 // CHECK-tokens: Identifier: "length" [49:38 - 49:44] ParmDecl=length:49:38 (Definition)
533 // CHECK-tokens: Identifier: "Length" [49:60 - 49:66] MemberRef=Length:44:10
535 // CHECK-tokens: Identifier: "length" [49:67 - 49:73] DeclRefExpr=length:49:38
556 // CHECK-tokens: Identifier: "Length" [51:32 - 51:38] MemberRefExpr=Length:44:10
568 // CHECK-tokens: Identifier: "Length" [53:12 - 53:18] MemberRefExpr=Length:44:10
571 // CHECK-tokens: Punctuation: "." [53:28 - 53:29] MemberRefExpr=Length:44:10
572 // CHECK-tokens: Identifier: "Length" [53:29 - 53:35] MemberRefExpr=Length:44:10
583 // CHECK-tokens: Punctuation: "." [54:43 - 54:44] MemberRefExpr=Length:44:10
584 // CHECK-tokens: Identifier: "Length" [54:44 - 54:50] MemberRefExpr=Length:44:10
599 // CHECK-tokens: Identifier: "Length" [57:12 - 57:18] MemberRefExpr=Length:44:10
602 // CHECK-tokens: Punctuation: "." [57:28 - 57:29] MemberRefExpr=Length:44:10
603 // CHECK-tokens: Identifier: "Length" [57:29 - 57:35] MemberRefExpr=Length:44:10
612 // CHECK-tokens: Punctuation: "." [58:28 - 58:29] MemberRefExpr=Length:44:10
613 // CHECK-tokens: Identifier: "Length" [58:29 - 58:35] MemberRefExpr=Length:44:10
620 // CHECK-tokens: Punctuation: "." [58:56 - 58:57] MemberRefExpr=Length:44:10
621 // CHECK-tokens: Identifier: "Length" [58:57 - 58:63] MemberRefExpr=Length:44:10
651 // CHECK-tokens: Identifier: "Length" [61:43 - 61:49] MemberRefExpr=Length:44:10
1639 // CHECK: 44:10: FieldDecl=Length:44:10 (Definition) Extent=[44:3 - 44:16]
1660 // CHECK: 47:25: MemberRef=Length:44:10 Extent=[47:25 - 47:31]
1668 // CHECK: 48:43: MemberRef=Length:44:10 Extent=[48:43 - 48:49]
1676 // CHECK: 49:38: ParmDecl=length:49:38 (Definition) Extent=[49:31 - 49:44]
1680 // CHECK: 49:60: MemberRef=Length:44:10 Extent=[49:60 - 49:66]
1681 // CHECK: 49:67: DeclRefExpr=length:49:38 Extent=[49:67 - 49:73]
1692 // CHECK: 51:32: MemberRefExpr=Length:44:10 Extent=[51:32 - 51:38]
1700 // CHECK: 53:12: UnexposedExpr=Length:44:10 Extent=[53:12 - 53:18]
1701 // CHECK: 53:12: MemberRefExpr=Length:44:10 Extent=[53:12 - 53:18]
1702 // CHECK: 53:29: MemberRefExpr=Length:44:10 SingleRefName=[53:29 - 53:35] RefName=[53:29 - 53:35] Extent=[53:22 - 53:35]
1713 // CHECK: 54:44: MemberRefExpr=Length:44:10 SingleRefName=[54:44 - 54:50] RefName=[54:44 - 54:50] Extent=[54:37 - 54:50]
1723 // CHECK: 57:12: UnexposedExpr=Length:44:10 Extent=[57:12 - 57:18]
1724 // CHECK: 57:12: MemberRefExpr=Length:44:10 Extent=[57:12 - 57:18]
1725 // CHECK: 57:29: MemberRefExpr=Length:44:10 SingleRefName=[57:29 - 57:35] RefName=[57:29 - 57:35] Extent=[57:22 - 57:35]
1735 // CHECK: 58:29: MemberRefExpr=Length:44:10 SingleRefName=[58:29 - 58:35] RefName=[58:29 - 58:35] Extent=[58:22 - 58:35]
1740 // CHECK: 58:57: MemberRefExpr=Length:44:10 SingleRefName=[58:57 - 58:63] RefName=[58:57 - 58:63] Extent=[58:50 - 58:63]
1765 // CHECK: 61:43: UnexposedExpr=Length:44:10 Extent=[61:43 - 61:49]
1766 // CHECK: 61:43: MemberRefExpr=Length:44:10 Extent=[61:43 - 61:49]