Home
last modified time | relevance | path

Searched refs:unichar (Results 1 – 25 of 72) sorted by relevance

123

/external/libxkbcommon/xkbcommon/src/
Dutf8.c34 utf32_to_utf8(uint32_t unichar, char *buffer) in utf32_to_utf8() argument
39 if (unichar <= 0x007f) { in utf32_to_utf8()
40 buffer[0] = unichar; in utf32_to_utf8()
44 else if (unichar <= 0x07FF) { in utf32_to_utf8()
48 else if (unichar <= 0xffff) { in utf32_to_utf8()
52 else if (unichar <= 0x1fffff) { in utf32_to_utf8()
56 else if (unichar <= 0x3ffffff) { in utf32_to_utf8()
66 buffer[count] = 0x80 | ((unichar >> shift) & 0x3f); in utf32_to_utf8()
68 buffer[0] = head | ((unichar >> shift) & 0x3f); in utf32_to_utf8()
/external/clang/test/FixIt/
Dformat.mm11 …NSLog(@"%C", wchar_data); // expected-warning{{format specifies type 'unichar' (aka 'unsigned sho…
14 …NSLog(@"%C", 0x260300); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short…
18 typedef unsigned short unichar; typedef
20 …NSLog(@"%C", wchar_data); // expected-warning{{format specifies type 'unichar' (aka 'unsigned sho…
21 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:16-[[@LINE-1]]:16}:"(unichar)"
23 …NSLog(@"%C", 0x260300); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short…
25 // CHECK: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:16}:"(unichar)"
27 …NSLog(@"%C", 0.0); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short') but…
29 // CHECK-NOT: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:16}:"(unichar)"
Dformat.m189 …NSLog(@"%C", 0x260300); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short…
193 typedef unsigned short unichar;
195 …NSLog(@"%C", 0x260300); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short…
197 // CHECK: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:16}:"(unichar)"
199 …NSLog(@"%C", data ? 0x2F0000 : 0x260300); // expected-warning{{format specifies type 'unichar' (ak…
201 // CHECK: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:16}:"(unichar)("
204 …NSLog(@"%C", 0.0); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short') but…
206 // CHECK-NOT: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:16}:"(unichar)"
208 …NSLog(@"%C", (char)0x260300); // expected-warning{{format specifies type 'unichar' (aka 'unsigned …
210 // CHECK-NOT: fix-it:"{{.*}}":{[[@LINE-2]]:16-[[@LINE-2]]:22}:"(unichar)"
[all …]
/external/clang/test/Analysis/
Dmalloc.mm32 unichar *data = (unichar*)malloc(42);
43 unichar *data = (unichar*)malloc(42);
65 unichar *data = (unichar*)malloc(42);
269 unichar *characters = (unichar*)malloc(12);
275 unichar *characters = (unichar*)malloc(12);
280 unichar *characters = (unichar*)malloc(12);
285 void test12365078_no_malloc(unichar *characters) {
290 NSString *test12365078_no_malloc_returnValue(unichar *characters) {
298 void test12365078_nocheck_nomalloc(unichar *characters) {
303 void test12365078_nested(unichar *characters) {
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRMismatchedTokenException.h36 unichar expectingChar;
41 @property (assign, getter=getExpectingChar, setter=setExpectingChar:) unichar expectingChar;
48 + (id) newExceptionChar:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)anInput;
56 - (id) initWithCharacter:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)anInput;
DANTLRDFA.h36 const unichar *min;
37 const unichar *max;
73 @property const unichar *min;
74 @property const unichar *max;
DANTLRLexer.h72 - (void) matchChar:(unichar) aChar;
73 - (void) matchRangeFromChar:(unichar)fromChar to:(unichar)toChar;
DANTLRLexer.m221 unichar c;
247 - (void) matchChar:(unichar) aChar
251 unichar charLA; argument
267 - (void) matchRangeFromChar:(unichar)fromChar to:(unichar)toChar
269 unichar charLA = (unichar)[input LA:1]; argument
DANTLRRecognitionException.h39 unichar c;
48 @property (assign) unichar c;
DANTLRMismatchedTokenException.m49 + (id) newExceptionChar:(unichar) expectedCharacter Stream:(id<ANTLRIntStream>)anInput
79 - (id) initWithCharacter:(unichar) expectedCharacter Stream:(id<ANTLRIntStream>)anInput
94 [desc appendFormat:@" expected:%c got:%c", expectingChar, (unichar)[self unexpectedType]]; argument
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRMismatchedTokenException.h36 unichar expectingChar;
41 @property (assign, getter=getExpectingChar, setter=setExpectingChar:) unichar expectingChar;
48 + (id) newANTLRMismatchedTokenExceptionChar:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)a…
56 - (id) initWithCharacter:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)anInput;
DANTLRLexer.h72 - (void) matchChar:(unichar) aChar;
73 - (void) matchRangeFromChar:(unichar)fromChar to:(unichar)toChar;
DANTLRDFA.h36 const unichar *min;
37 const unichar *max;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRMismatchedTokenException.h36 unichar expectingChar;
41 @property (assign, getter=getExpectingChar, setter=setExpectingChar:) unichar expectingChar;
48 + (id) newANTLRMismatchedTokenExceptionChar:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)a…
56 - (id) initWithCharacter:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)anInput;
DANTLRLexer.h72 - (void) matchChar:(unichar) aChar;
73 - (void) matchRangeFromChar:(unichar)fromChar to:(unichar)toChar;
DANTLRDFA.h36 const unichar *min;
37 const unichar *max;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRMismatchedTokenException.h36 unichar expectingChar;
41 @property (assign, getter=getExpectingChar, setter=setExpectingChar:) unichar expectingChar;
48 + (id) newANTLRMismatchedTokenExceptionChar:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)a…
56 - (id) initWithCharacter:(unichar)expectedCharacter Stream:(id<ANTLRIntStream>)anInput;
DANTLRLexer.h72 - (void) matchChar:(unichar) aChar;
73 - (void) matchRangeFromChar:(unichar)fromChar to:(unichar)toChar;
DANTLRDFA.h36 const unichar *min;
37 const unichar *max;
/external/skia/samplecode/
DSampleCCPRGeometry.cpp347 SkUnichar unichar; in onQuery() local
348 if (SampleCode::CharQ(*evt, &unichar)) { in onQuery()
349 if (unichar >= '1' && unichar <= '7') { in onQuery()
350 fRenderPass = RenderPass(unichar - '1'); in onQuery()
354 if (unichar == 'D') { in onQuery()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp346 SkUnichar unichar; in onQuery() local
347 if (SampleCode::CharQ(*evt, &unichar)) { in onQuery()
348 if (unichar >= '1' && unichar <= '7') { in onQuery()
349 fRenderPass = RenderPass(unichar - '1'); in onQuery()
353 if (unichar == 'D') { in onQuery()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-objc.h14 typedef unsigned short unichar; typedef
91 - (id)initWithCharactersNoCopy:(unichar *)characters length:(NSUInteger)length freeWhenDone:(BOOL)f…
92 - (id)initWithCharacters:(const unichar *)characters length:(NSUInteger)length;
/external/skia/tools/debugger/
DSkObjectParser.cpp389 for (const SkUnichar* unichar = begin; unichar < end; ++unichar) { in TextToString() local
390 decodedText->appendUnichar(*unichar); in TextToString()
/external/skqp/tools/debugger/
DSkObjectParser.cpp392 for (const SkUnichar* unichar = begin; unichar < end; ++unichar) { in TextToString() local
393 decodedText->appendUnichar(*unichar); in TextToString()
/external/google-breakpad/src/processor/
Dminidump.cc250 uint32_t unichar; in UTF16ToUTF8() local
257 unichar = (in_word - 0xd7c0) << 10; in UTF16ToUTF8()
271 unichar |= in_word & 0x03ff; in UTF16ToUTF8()
275 unichar = in_word; in UTF16ToUTF8()
280 if (unichar < 0x80) { in UTF16ToUTF8()
281 (*out) += static_cast<char>(unichar); in UTF16ToUTF8()
282 } else if (unichar < 0x800) { in UTF16ToUTF8()
283 (*out) += 0xc0 | static_cast<char>(unichar >> 6); in UTF16ToUTF8()
284 (*out) += 0x80 | static_cast<char>(unichar & 0x3f); in UTF16ToUTF8()
285 } else if (unichar < 0x10000) { in UTF16ToUTF8()
[all …]

123