| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | aarch64-sve-types.m | 7 const char s8[] = @encode(__SVInt8_t); 9 const char s16[] = @encode(__SVInt16_t); 11 const char s32[] = @encode(__SVInt32_t); 13 const char s64[] = @encode(__SVInt64_t); 16 const char u8[] = @encode(__SVUint8_t); 18 const char u16[] = @encode(__SVUint16_t); 20 const char u32[] = @encode(__SVUint32_t); 22 const char u64[] = @encode(__SVUint64_t); 25 const char f16[] = @encode(__SVFloat16_t); 27 const char f32[] = @encode(__SVFloat32_t); [all …]
|
| H A D | encode-test-3.m | 6 const char * inc = @encode(int[]); 9 const char * vla = @encode(int[n]); 15 int a[sizeof(@encode(int)) == 2 ? 1 : -1]; // Type is char[2] 16 const char *B = @encode(int); 17 char (*c)[2] = &@encode(int); // @encode is an lvalue 19 char d[] = @encode(int); // infer size. 20 char e[1] = @encode(int); // truncate 21 char f[2] = @encode(int); // fits 22 char g[3] = @encode(int); // zero fill
|
| H A D | encode-test.m | 88 const char *en = @encode(Derived); 89 const char *eb = @encode(B1); 99 const char g1[] = @encode(Derived); 102 const char g2[] = @encode(B1); 137 const char g6[] = @encode(Base1X); 140 const char g7[] = @encode(Derived1X); 146 const char g8[] = @encode(struct s8); 153 const char g9[] = @encode(struct S9); 167 const char g11[] = @encode(void); 182 const char g15[] = @encode(SEL); [all …]
|
| H A D | encode-test-4.m | 7 return @encode(int) == @encode(int) && 8 @encode(Color) == @encode(long) && 9 @encode(PrintColor) == @encode(int);
|
| H A D | encode-test-5.m | 5 char *a = @encode(_Complex int); 9 char *b = @encode(_Complex float); 13 char *c = @encode(_Complex double); 17 char *e = @encode(__int128_t); 21 char *f = @encode(__uint128_t);
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | encode.mm | 250 return @encode(N); 327 const char *b0 = @encode(B0<int>); 330 const char *d0 = @encode(D0 *); 331 const char *d1 = @encode(D1 *); 332 const char *d2 = @encode(D2 *); 333 const char *d21 = @encode(D2 **); 334 const char *s0 = @encode(S0 *); 335 const char *s1 = @encode(S1 *); 336 const char *s2 = @encode(S2 *); 338 const char *td0 = @encode(TD0 *); [all …]
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/unit/ |
| H A D | test_shell.py | 14 self.assertEqual(sut.encode(sut.decode(value)), value) 22 self.assertEqual(sut.decode(sut.encode(value)), value) 32 self.assertEqual(sut.encode(['clang', "it's me", 'again']), 34 self.assertEqual(sut.encode(['clang', "it(s me", 'again)']), 36 self.assertEqual(sut.encode(['clang', 'redirect > it']), 38 self.assertEqual(sut.encode(['clang', '-DKEY="VALUE"']), 40 self.assertEqual(sut.encode(['clang', '-DKEY="value with spaces"']),
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/progress/ |
| H A D | progress.py | 24 light_block = six.unichr(0x2591).encode("utf-8") 25 solid_block = six.unichr(0x2588).encode("utf-8") 26 solid_right_arrow = six.unichr(0x25BA).encode("utf-8") 32 fill=six.unichr(0x25C9).encode("utf-8"), 33 blank=six.unichr(0x25CC).encode("utf-8"), 34 marker=six.unichr(0x25CE).encode("utf-8"), 94 fill=six.unichr(0x25C9).encode("utf-8"), 95 blank=six.unichr(0x25CC).encode("utf-8"), 96 marker=six.unichr(0x25CE).encode("utf-8"), 132 fill=six.unichr(0x25C9).encode("utf-8"), [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | exprs.m | 20 …if (@encode(int) == "foo") { } // expected-warning {{result of comparison against @encode is unsp… 40 (void)@encode(Incomplete_ObjC_class); // expected-error {{incomplete type}} 41 (void)@encode(struct Incomplete_struct); // expected-error {{incomplete type}} 42 (void)@encode(Incomplete_ObjC_class*); 43 (void)@encode(id);
|
| H A D | encode-typeof-test.m | 25 …typeof(@encode(typeof(i))) e = @encode(typeof(Intf)); // expected-warning {{initializer-string for… 43 …return @encode(struct foo); // expected-warning {{encoding of 'struct foo' type is incomplete beca…
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/ |
| H A D | TestGdbRemotePlatformFile.py | 106 binascii.b2a_hex(temp_path.encode()).decode(),), 126 binascii.b2a_hex(temp_file.encode()).decode(),), 146 binascii.b2a_hex(temp_path.encode()).decode(),), 169 binascii.b2a_hex(temp_path.encode()).decode(),), 188 binascii.b2a_hex(temp_path.encode()).decode(),), 207 binascii.b2a_hex(temp_path.encode()).decode(),), 222 binascii.b2a_hex(test_path.encode()).decode(),), 264 .encode("iso-8859-1"))) 330 temp_file.write(test_data.encode()) 336 binascii.b2a_hex(temp_path.encode()).decode(), [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | thumb2-branches.s | 4 @ unconditional branches accept narrow suffix and encode to short encodings 14 @ unconditional branches accept wide suffix and encode to wide encodings 28 @ unconditional branches without width suffix encode depending of offset size 82 @ conditional branches accept narrow suffix and encode to short encodings 92 @ unconditional branches accept wide suffix and encode to wide encodings 112 @ unconditional branches without width suffix encode depending of offset size 153 @ unconditional branches accept narrow suffix and encode to short encodings 163 @ unconditional branches accept wide suffix and encode to wide encodings 177 @ unconditional branches without width suffix encode depending of offset size 231 @ conditional branches accept narrow suffix and encode to short encodings [all …]
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | objc-encode-cxx-class-template-spec.m | 2 // RUN: %clang -target arm64-apple-ios11 -fobjc-encode-cxx-class-template-spec -### %s -o - 2>&1 | … 4 // RUN: %clang -target x86_64-linux-gnu -fobjc-runtime=gnustep -fno-objc-encode-cxx-class-template-… 6 // DISABLE-ENC-NOT: -fobjc-encode-cxx-class-template-spec 7 // ENABLE-ENC: -fobjc-encode-cxx-class-template-spec
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | SourceLocationEncoding.h | 55 static uint64_t encode(SourceLocation Loc, 130 EncodedTy encode(SourceLocation Loc) { in encode() function 152 inline uint64_t SourceLocationEncoding::encode(SourceLocation Loc, in encode() function 154 return Seq ? Seq->encode(Loc) : encodeRaw(Loc.getRawEncoding()); in encode()
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | rewrite-typeof.mm | 28 char *a1t = (char *)@encode(__typeof__(a)); 30 char *a2t = (char *)@encode(__typeof__(bVal)); 32 char *a3t = (char *)@encode(__typeof__(cVal));
|
| H A D | rewrite-modern-typeof.mm | 30 char *a1t = (char *)@encode(__typeof__(a)); 32 char *a2t = (char *)@encode(__typeof__(bVal)); 34 char *a3t = (char *)@encode(__typeof__(cVal));
|
| /llvm-project-15.0.7/llvm/test/MC/Disassembler/Mips/mips32r6/ |
| H A D | valid-mips32r6.txt | 40 # The encode/decode functions are not inverses of each other. 43 # The encode/decode functions are not inverses of each other in the immediate case. 48 # The encode/decode functions are not inverses of each other in the immediate case. 77 # FIXME: The encode/decode functions are not inverses of each other. 80 # FIXME: The encode/decode functions are not inverses of each other. 83 # FIXME: The encode/decode functions are not inverses of each other. 86 # FIXME: The encode/decode functions are not inverses of each other. 148 # FIXME: The encode/decode functions are not inverses of each other. 151 # FIXME: The encode/decode functions are not inverses of each other. 156 # FIXME: The encode/decode functions are not inverses of each other. [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ExpectedTypes.cpp | 66 llvm::Optional<OpaqueType> OpaqueType::encode(ASTContext &Ctx, QualType T) { in encode() function in clang::clangd::OpaqueType 82 return encode(Ctx, Type); in fromType() 91 return encode(Ctx, *T); in fromCompletionResult()
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | encode.m | 5 const char ch = @encode(char *)[0]; 6 char c = @encode(char *)[0] + 4;
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestGDBRemoteDiskFileCompletion.py | 12 "test".encode().hex(), 13 "123".encode().hex()
|
| /llvm-project-15.0.7/llvm/test/MC/Disassembler/Mips/mips64r6/ |
| H A D | valid-mips64r6.txt | 57 # The encode/decode functions are not inverses of each other in the immediate case. 60 # The encode/decode functions are not inverses of each other in the immediate case. 65 # The encode/decode functions are not inverses of each other in the immediate case. 96 # FIXME: The encode/decode functions are not inverses of each other. 99 # FIXME: The encode/decode functions are not inverses of each other. 102 # FIXME: The encode/decode functions are not inverses of each other. 105 # FIXME: The encode/decode functions are not inverses of each other. 167 # FIXME: The encode/decode functions are not inverses of each other. 170 # FIXME: The encode/decode functions are not inverses of each other. 175 # FIXME: The encode/decode functions are not inverses of each other. [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-objc-1.mm | 39 // @encode expressions 41 static const char *encode(T t) { 42 return @encode(T);
|
| /llvm-project-15.0.7/libcxx/utils/ |
| H A D | generate_extended_grapheme_cluster_test.py | 75 utf8 += c.encode().__len__() 78 utf16 += int(c.encode("utf-16-le").__len__() / 2) 79 utf32 += int(c.encode("utf-32-le").__len__() / 4)
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-at-exprstmt.m | 9 @synchronized (@encode(MyClass)) { } 23 // CHECK-CC1: {TypedText encode}{LeftParen (}{Placeholder type-name}{RightParen )} 30 // CHECK-CC2: {TypedText encode}{LeftParen (}{Placeholder type-name}{RightParen )} 34 // CHECK-CC3: NotImplemented:{ResultType char[]}{TypedText @encode}{LeftParen (}{Placeholder type-n…
|
| /llvm-project-15.0.7/lldb/examples/summaries/ |
| H A D | unicode_strings.py | 39 return '"%s"' % (string_data.decode('utf-16').encode('utf-8')) 53 return '"%s"' % (string_data.decode('utf-32').encode('utf-8'))
|