/external/clang/test/Analysis/ |
cfref_rdar6080742.c | 5 // It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality). 48 CFStringRef cfString; 50 cfString = CFStringCreateWithCString(0, "hello", kCFStringEncodingUTF8); 51 RequireAction(cfString != 0, return memFullErr;) //no - warning 52 printf("cfstring %p\n", cfString); 54 CFRelease(cfString);
|
NSString.m | 180 // Test double release of CFString (PR 4014).
|
/external/clang/test/SemaObjC/ |
format-cstrings-warning.m | 50 CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4))); 53 CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expected-note {{'CFStringCreateWithFormatAndArguments' declared here}} 56 void CFStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, ...) __attribute__((format(CFString, 3, 4))); 59 void CFStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments) __attribute__((format(CFString, 3, 0))); // expected-note {{'CFStringAppendFormatAndArguments' declared here}} 63 CFStringCreateWithFormatAndArguments (alloc, 0, (CFStringRef)@"%s\n", argList); // expected-warning {{using %s directive in CFString which is being passed as a formatting argument to the formatting CFfunction}} 64 CFStringAppendFormatAndArguments ((CFMutableStringRef)@"AAAA", 0, (CFStringRef)"Hello %s there %d\n", argList); // expected-warning {{using %s directive in CFString which is being passed as a formatting argument to the formatting CFfunction}} 74 MyNSLog(@"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being passed as a formatting argument to the formatting CFfunction}} 76 MyCFStringCreateWithFormat((CFStringRef)@"%s", "Hello"); // expected-warning {{using %s directive in CFString which is being passed as a formatting argument to the formatting CFfunction}} 77 XMyNSLog(4, @"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being passed as a formatting argument to the formatting CFfunction}}
|
format-strings-objc.m | 34 extern void CFStringCreateWithFormat(CFStringRef format, ...) __attribute__((format(CFString, 1, 2))); 55 extern void CFStringCreateWithFormat2(int *format, ...) __attribute__((format(CFString, 1, 2))); // expected-error {{format argument not a CFString}} 77 // <rdar://problem/10696348>, PR 10274 - CFString and NSString formats are ignored
|
/external/clang/test/CodeGen/ |
CFStrings.c | 24 // CHECK-COFF: @_unnamed_cfstring_ = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 1992, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 3 }, section "cfstring", align {{[48]}} 25 // CHECK-ELF32: @_unnamed_cfstring_ = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 1992, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 3 }, section "cfstring", align 4 26 // CHECK-ELF64: @_unnamed_cfstring_ = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 1992, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i64 3 }, section "cfstring", align 8 34 // CHECK-COFF: @_unnamed_cfstring_.2 = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([7 x i16]* @.str.1 to i8*), i32 6 }, section "cfstring", align {{[48]}} 35 // CHECK-ELF32: @_unnamed_cfstring_.2 = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([7 x i16]* @.str.1 to i8*), i32 6 }, section "cfstring", align 4 36 // CHECK-ELF64: @_unnamed_cfstring_.2 = private constant %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([7 x i16]* @.str.1 to i8*), i64 6 }, section "cfstring", align 8
|
/external/python/cpython2/Mac/Modules/cf/ |
cfscan.py | 35 "CFString.h", 114 "va_list", # For printf-to-a-cfstring. Use Python.
|
pycfbridge.c | 300 "Cannot convert %.500s objects to CFString",
|
/external/llvm/test/tools/llvm-objdump/AArch64/ |
macho-symbolized-disassembly.test | 21 ObjC-EXE: 0000000100007f2c add x0, x0, #0x20 ; Objc cfstring ref: @"The current date and time is: %@"
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mach-o/ |
sections-1.s | 34 # CFstring
|
/external/llvm/test/tools/llvm-objdump/X86/ |
macho-symbolized-disassembly.test | 19 ObjC-OBJ: 0000000000000008 leaq 0xb1(%rip), %rax ## Objc cfstring ref: @"The current date and time is: %@" 25 ObjC-EXE: 0000000100000ee8 leaq 0x159(%rip), %rax ## Objc cfstring ref: @"The current date and time is: %@"
|
/external/webrtc/webrtc/base/ |
macconversion.cc | 24 // it must actually *be* a CFString, and not something just masquerading
|
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
gcc_darwin_arm.c | 16 #include <CoreFoundation/CFString.h>
|
gcc_darwin_arm64.c | 17 #include <CoreFoundation/CFString.h>
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
gcc_darwin_arm.c | 16 #include <CoreFoundation/CFString.h>
|
gcc_darwin_arm64.c | 17 #include <CoreFoundation/CFString.h>
|
/external/clang/test/Sema/ |
builtins.c | 31 X = CFSTR(242); // expected-error {{CFString literal is not a string constant}} expected-warning {{incompatible integer to pointer conversion}}
|
/external/compiler-rt/lib/asan/tests/ |
asan_mac_test.cc | 20 #include <CoreFoundation/CFString.h>
|
/external/llvm/lib/MC/MCDisassembler/ |
MCExternalSymbolizer.cpp | 174 cStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64ExternalSymbolizer.cpp | 143 CommentStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
|
/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 112 // (like the Darwin linker in cases involving CFString) don't expect it.
|
/external/libchrome/base/files/ |
file_path.cc | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/lld/Core/ |
DefinedAtom.h | 133 typeCFString, // NS/CFString object [Darwin]
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/lld/Core/ |
DefinedAtom.h | 133 typeCFString, // NS/CFString object [Darwin]
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/lld/Core/ |
DefinedAtom.h | 133 typeCFString, // NS/CFString object [Darwin]
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/lld/Core/ |
DefinedAtom.h | 133 typeCFString, // NS/CFString object [Darwin]
|