/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.memfn/ |
member_function_const_volatile.pass.cpp | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 46 A* ap = &a; local 47 assert(f(ap, 2) == 'b'); 60 A* ap = &a; local 61 assert(f(ap, 2, 3.5) == 'c');
|
member_function_volatile.pass.cpp | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 46 A* ap = &a; local 47 assert(f(ap, 2) == 'b'); 60 A* ap = &a; local 61 assert(f(ap, 2, 3.5) == 'c');
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
auto_pointer.pass.cpp | 46 std::auto_ptr<B> ap(p); 47 std::unique_ptr<A> up(std::move(ap)); 49 assert(ap.get() == 0); 57 std::auto_ptr<B> ap(p); 59 up = std::move(ap); 61 assert(ap.get() == 0);
|
auto_pointer01.fail.cpp | 46 std::auto_ptr<B> ap(p); 47 std::unique_ptr<A> up(ap); 49 assert(ap.get() == 0); 57 std::auto_ptr<B> ap(p); 59 up = ap; 61 assert(ap.get() == 0);
|
auto_pointer02.fail.cpp | 52 std::auto_ptr<B> ap(p); 53 std::unique_ptr<A, Deleter> up(ap); 55 assert(ap.get() == 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbAccessoryUriActivity.java | 70 final AlertController.AlertParams ap = mAlertParams; local 71 ap.mTitle = mAccessory.getDescription(); 72 if (ap.mTitle == null || ap.mTitle.length() == 0) { 73 ap.mTitle = getString(R.string.title_usb_accessory); 75 ap.mMessage = getString(R.string.usb_accessory_uri_prompt, mUri); 76 ap.mPositiveButtonText = getString(R.string.label_view); 77 ap.mNegativeButtonText = getString(android.R.string.cancel); 78 ap.mPositiveButtonListener = this; 79 ap.mNegativeButtonListener = this [all...] |
/ndk/sources/android/support/src/musl-locale/ |
strfmon.c | 8 static ssize_t vstrfmon_l(char *s, size_t n, locale_t loc, const char *fmt, va_list ap) 66 x = va_arg(ap, double); 80 va_list ap; local 83 va_start(ap, fmt); 84 ret = vstrfmon_l(s, n, loc, fmt, ap); 85 va_end(ap); 93 va_list ap; local 96 va_start(ap, fmt); 97 ret = vstrfmon_l(s, n, 0, fmt, ap); 98 va_end(ap); [all...] |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_Impl1Test.java | 61 AlgorithmParameters ap = AlgorithmParameters.getInstance(algorithm); local 62 ap.init(iv, "RAW"); 65 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap); 92 AlgorithmParameters ap = AlgorithmParameters.getInstance("DESede"); local 93 ap.init(iv, "RAW"); 94 apEncoding = ap.getEncoded("ASN.1"); 97 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap, sr);
|
/external/clang/test/CodeGen/ |
sparcv9-abi.c | 121 // CHECK: %ap = alloca i8* 127 va_list ap; local 128 va_start(ap, f); 131 // CHECK: %[[CUR:[^ ]+]] = load i8** %ap 133 // CHECK-DAG: store i8* %[[NXT]], i8** %ap 139 s += va_arg(ap, int); 142 // CHECK: %[[CUR:[^ ]+]] = load i8** %ap 144 // CHECK-DAG: store i8* %[[NXT]], i8** %ap 149 s += va_arg(ap, long); 152 // CHECK: %[[CUR:[^ ]+]] = load i8** %ap [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportWarningActivity.java | 54 final AlertController.AlertParams ap = mAlertParams; local 55 ap.mView = LayoutInflater.from(this).inflate(R.layout.confirm_repeat, null); 56 ap.mPositiveButtonText = getString(android.R.string.ok); 57 ap.mNegativeButtonText = getString(android.R.string.cancel); 58 ap.mPositiveButtonListener = this; 59 ap.mNegativeButtonListener = this; 61 mConfirmRepeat = (CheckBox) ap.mView.findViewById(android.R.id.checkbox);
|
/system/core/sh/ |
output.c | 213 va_list ap; local 215 va_start(ap, fmt); 216 doformat(file, fmt, ap); 217 va_end(ap); 224 va_list ap; local 226 va_start(ap, fmt); 227 doformat(out1, fmt, ap); 228 va_end(ap); 234 va_list ap; local 236 va_start(ap, fmt) 245 va_list ap; local [all...] |
/external/tcpdump/ |
print-atalk.c | 198 register const struct aarp *ap; local 200 #define AT(member) ataddr_string((ap->member[1]<<8)|ap->member[2],ap->member[3]) 203 ap = (const struct aarp *)bp; 204 if (EXTRACT_16BITS(&ap->htype) == 1 && 205 EXTRACT_16BITS(&ap->ptype) == ETHERTYPE_ATALK && 206 ap->halen == 6 && ap->palen == 4 ) 207 switch (EXTRACT_16BITS(&ap->op)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
vsnprintf.c | 108 vsnprintf(char *str, size_t n, char const *fmt, va_list ap) 110 vsnprintf(str, n, fmt, ap) 114 char *ap; 135 ret = vsprintf(p, fmt, ap); 153 va_list ap; local 155 va_start(ap, fmt); 157 va_start(ap); 160 return (vsnprintf(str, n, fmt, ap)); 161 va_end(ap);
|
/external/mesa3d/src/mesa/main/ |
vsnprintf.c | 108 vsnprintf(char *str, size_t n, char const *fmt, va_list ap) 110 vsnprintf(str, n, fmt, ap) 114 char *ap; 135 ret = vsprintf(p, fmt, ap); 153 va_list ap; local 155 va_start(ap, fmt); 157 va_start(ap); 160 return (vsnprintf(str, n, fmt, ap)); 161 va_end(ap);
|
/external/chromium_org/content/common/ |
set_process_title_linux.cc | 54 va_list ap; local 92 va_start(ap, fmt); 94 vsnprintf(g_main_argv[0], avail_size, &fmt[1], ap); 98 vsnprintf(g_main_argv[0] + size, avail_size - size, fmt, ap); 100 va_end(ap);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prprf.h | 108 NSPR_API(PRUint32) PR_vsnprintf(char *out, PRUint32 outlen, const char *fmt, va_list ap); 109 NSPR_API(char*) PR_vsmprintf(const char *fmt, va_list ap); 110 NSPR_API(char*) PR_vsprintf_append(char *last, const char *fmt, va_list ap); 111 NSPR_API(PRUint32) PR_vsxprintf(PRStuffFunc f, void *arg, const char *fmt, va_list ap); 112 NSPR_API(PRUint32) PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap);
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_add.c | 108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; local 126 ap=a->d; 130 carry=bn_add_words(rp,ap,bp,min); 132 ap+=min; 140 t1 = *(ap++); 156 if (dif && rp != ap) 158 /* copy remaining words if ap != rp */ 159 *(rp++) = *(ap++); 169 register BN_ULONG t1,t2,*ap,*bp,*rp; local 190 ap=a->d [all...] |
/external/clang/test/SemaCXX/ |
address-space-conversion.cpp | 26 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, 40 (void)const_cast<A_ptr_1>(ap); // expected-error{{is not allowed}} 42 (void)const_cast<A_ptr_2>(ap); // expected-error{{is not allowed}} 51 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, 59 (void)static_cast<B_ptr>(ap); 64 (void)static_cast<void_ptr>(ap); 82 (void)static_cast<B_ptr_1>(ap); // expected-error{{casts away qualifiers}} 84 (void)static_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}} 90 (void)static_cast<void_ptr_1>(ap); // expected-error{{is not allowed}} 92 (void)static_cast<void_ptr_2>(ap); // expected-error{{is not allowed} [all...] |
/external/openssl/crypto/bn/ |
bn_add.c | 108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; local 126 ap=a->d; 130 carry=bn_add_words(rp,ap,bp,min); 132 ap+=min; 140 t1 = *(ap++); 156 if (dif && rp != ap) 158 /* copy remaining words if ap != rp */ 159 *(rp++) = *(ap++); 169 register BN_ULONG t1,t2,*ap,*bp,*rp; local 190 ap=a->d [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 77 A_void_1* ap = &a; local 79 r2(ap); 92 A_void_1* ap = &a; local 93 r2(ap); 149 A_int_1* ap = &a; local 150 assert(r2(ap) == 3); 159 A_int_1* ap = &a; local 160 assert(r2(ap) == 4); 171 A_int_1* ap = &a; local 172 assert(r2(ap) == 6) 239 A_void_2* ap = &a; local 254 A_void_2* ap = &a; local 313 A_int_2* ap = &a; local 324 A_int_2* ap = &a; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 80 A_void_1* ap = &a; local 81 r1(ap); 93 A_void_1* ap = &a; local 94 r1(ap); 149 A_int_1* ap = &a; local 150 assert(r1(ap) == 3); 158 A_int_1* ap = &a; local 159 assert(r1(ap) == 4); 169 A_int_1* ap = &a; local 170 assert(r1(ap) == 6) 236 A_void_2* ap = &a; local 250 A_void_2* ap = &a; local 308 A_int_2* ap = &a; local 318 A_int_2* ap = &a; local [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
DefaultRemovedActivity.java | 19 AlertController.AlertParams ap = mAlertParams; local 21 ap.mMessage = getString(com.android.nfc.R.string.default_pay_app_removed); 22 ap.mNegativeButtonText = getString(R.string.no); 23 ap.mPositiveButtonText = getString(R.string.yes); 24 ap.mPositiveButtonListener = this;
|
/frameworks/wilhelm/src/itf/ |
IEffectSend.c | 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 136 assert(NULL != ap); 138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 144 initialLevel + ap->mVolume.mLevel)); 146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 148 initialLevel + ap->mVolume.mLevel)); 199 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 201 if (NULL != ap) { 202 SLmillibel oldDirectLevel = ap->mDirectLevel 234 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 270 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local [all...] |
/external/chromium_org/chrome/test/functional/ap_lab/ |
ap_configurator_factory.py | 36 for ap in self.ap_list: 37 if ap.GetRouterShortName() == name: 38 return ap
|
/external/chromium_org/ui/views/examples/ |
example_base.cc | 61 va_list ap; local 62 va_start(ap, format); 64 base::StringAppendV(&msg, format, ap);
|