OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cfstring
(Results
1 - 25
of
43
) sorted by null
1
2
/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/libchrome/base/strings/
sys_string_conversions_mac.mm
20
// Convert the supplied
CFString
into the specified encoding, and return it as
25
static StringType CFStringToSTLStringWithEncodingT(CFStringRef
cfstring
,
27
CFIndex length = CFStringGetLength(
cfstring
);
33
CFIndex converted = CFStringGetBytes(
cfstring
,
53
converted = CFStringGetBytes(
cfstring
,
82
base::ScopedCFTypeRef<CFStringRef>
cfstring
(CFStringCreateWithBytesNoCopy(
89
if (!
cfstring
)
92
return CFStringToSTLStringWithEncodingT<OutStringType>(
cfstring
,
114
// Specify the byte ordering explicitly, otherwise
CFString
will be confused
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/iphone/
iPhonePrereqs.h
37
Simple wrapper class for
CFString
which will create a valid
CFString
and retain ownership until class instance is outof scope
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/mac/
MacPrereqs.h
38
Simple wrapper class for
CFString
which will create a valid
CFString
and retain ownership until class instance is outof scope
MacHIDManager.h
30
#import <CoreFoundation/
CFString
.h>
/external/llvm/test/tools/llvm-objdump/AArch64/
macho-symbolized-disassembly.test
22
ObjC-EXE: 0000000100007f2c add x0, x0, #32 ; Objc
cfstring
ref: @"The current date and time is: %@"
/toolchain/binutils/binutils-2.25/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
15
#include <CoreFoundation/
CFString
.h>
gcc_darwin_arm64.c
16
#include <CoreFoundation/
CFString
.h>
/prebuilts/go/linux-x86/src/runtime/cgo/
gcc_darwin_arm.c
15
#include <CoreFoundation/
CFString
.h>
gcc_darwin_arm64.c
16
#include <CoreFoundation/
CFString
.h>
/external/opencv3/modules/highgui/src/
window_carbon.cpp
495
CFMutableStringRef
cfstring
= CFStringCreateMutable(alloc_default,maxLength);
local
498
CFStringAppendCString(
cfstring
,trackbar->name,encoding);
499
CFStringAppendCString(
cfstring
,valueinchar,encoding);
501
SetControlData(trackbar->label, kControlEntireControl,kControlStaticTextCFStringTag, sizeof(
cfstring
), &
cfstring
);
/external/libchrome/base/mac/
foundation_util.mm
203
TYPE_NAME_FOR_CF_TYPE_DEFN(
CFString
);
363
CF_CAST_DEFN(
CFString
);
foundation_util.h
135
TYPE_NAME_FOR_CF_TYPE_DECL(
CFString
);
293
CF_CAST_DECL(
CFString
);
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
MacHIDManager.cpp
208
const char* getCString(CFStringRef
cfString
, bool* requireFree) {
213
CFIndex stringLength = CFStringGetLength(
cfString
), usedBytes = 0L;
215
if ((useUTF8StringPtr = CFStringGetCStringPtr(
cfString
, kCFStringEncodingUTF8)) == NULL) {
217
CFStringGetBytes(
cfString
, CFRangeMake(0L, stringLength),
/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
141
CommentStream << "Objc
cfstring
ref: @\"" << ReferenceName << "\"";
/external/llvm/lib/Transforms/IPO/
ConstantMerge.cpp
141
// (like the Darwin linker in cases involving
CFString
) don't expect it.
Completed in 1485 milliseconds
1
2