Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 248) sorted by relevance

12345678910

/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Daarch64-sve-types.m7 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 Dencode-test-3.m6 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 Dencode-test.m88 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 Dencode-test-4.m7 return @encode(int) == @encode(int) &&
8 @encode(Color) == @encode(long) &&
9 @encode(PrintColor) == @encode(int);
H A Dencode-test-5.m5 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 Dencode.mm250 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 Dtest_shell.py14 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 Dprogress.py24 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 Dexprs.m20 …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 Dencode-typeof-test.m25 …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 DTestGdbRemotePlatformFile.py106 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 Dthumb2-branches.s4 @ 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 Dobjc-encode-cxx-class-template-spec.m2 // 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 DSourceLocationEncoding.h55 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 Drewrite-typeof.mm28 char *a1t = (char *)@encode(__typeof__(a));
30 char *a2t = (char *)@encode(__typeof__(bVal));
32 char *a3t = (char *)@encode(__typeof__(cVal));
H A Drewrite-modern-typeof.mm30 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 Dvalid-mips32r6.txt40 # 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 DExpectedTypes.cpp66 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 Dencode.m5 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 DTestGDBRemoteDiskFileCompletion.py12 "test".encode().hex(),
13 "123".encode().hex()
/llvm-project-15.0.7/llvm/test/MC/Disassembler/Mips/mips64r6/
H A Dvalid-mips64r6.txt57 # 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 Dinstantiate-objc-1.mm39 // @encode expressions
41 static const char *encode(T t) {
42 return @encode(T);
/llvm-project-15.0.7/libcxx/utils/
H A Dgenerate_extended_grapheme_cluster_test.py75 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 Dcomplete-at-exprstmt.m9 @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 Dunicode_strings.py39 return '"%s"' % (string_data.decode('utf-16').encode('utf-8'))
53 return '"%s"' % (string_data.decode('utf-32').encode('utf-8'))

12345678910