/external/curl/tests/unit/ |
unit1308.c | 44 int rc; variable 50 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "name", 53 fail_unless(rc == 0, "curl_formadd returned error"); 59 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode", 63 fail_unless(rc == 0, "curl_formadd returned error"); 65 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "name_for_ptrcontent", 68 fail_unless(rc == 0, "curl_formadd returned error"); 70 rc = curl_formget(post, &total_size, print_httppost_callback); 72 fail_unless(rc == 0, "curl_formget returned error"); 81 rc = curl_formadd(&post, &last [all...] |
unit1302.c | 54 CURLcode rc; variable 56 rc = Curl_base64_encode(data, "i", 1, &output, &size); 57 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK"); 62 rc = Curl_base64_encode(data, "ii", 2, &output, &size); 63 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK"); 68 rc = Curl_base64_encode(data, "iii", 3, &output, &size); 69 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK"); 74 rc = Curl_base64_encode(data, "iiii", 4, &output, &size); 75 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK"); 80 rc = Curl_base64_encode(data, "\xff\x01\xfe\x02", 4, &output, &size) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
1-3.c | 59 int rc = 0; local 62 rc = pthread_attr_init(&attr); 63 if (rc != 0) { 67 rc = pthread_attr_setschedpolicy(&attr, POLICY); 68 if (rc != 0) { 73 rc = pthread_attr_setschedparam(&attr, ¶m); 74 if (rc != 0) { 79 rc = pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED); 80 if (rc != 0) { 86 rc = pthread_create(&thread_id, &attr, thread, NULL) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setscope/ |
1-1.c | 41 int rc; local 44 rc = pthread_attr_init(&attr); 45 if (rc != 0) { 50 rc = pthread_attr_setscope(&attr, CONSCOPE); 51 if (rc != 0) { 56 rc = pthread_create(&new_th, &attr, thread_func, NULL); 57 if (rc != 0) { 62 rc = pthread_attr_getscope(&attr, &cscope); 63 if (rc != 0) { 74 rc = pthread_join(new_th, NULL) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
1-1.c | 38 int i, rc; local 47 rc = pthread_mutex_trylock(&mutex); 48 if (rc != EBUSY) { 49 fprintf(stderr, "Expected %d(EBUSY), got %d\n", EBUSY, rc); 59 rc = pthread_mutex_trylock(&mutex); 60 if (rc == 0) { 63 } else if (rc == EBUSY) { 69 rc); 89 int rc; local 91 if ((rc = pthread_mutex_lock(&mutex)) != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedprio/ |
1-1.c | 30 int rc; local 36 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 37 if (rc != 0) { 38 printf("Error at pthread_setschedparam: rc=%d\n", rc); 41 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam); 42 if (rc != 0) { 43 printf("Error at pthread_getschedparam: rc=%d\n", rc); 52 rc = pthread_setschedprio(pthread_self(), priority + 1) [all...] |
/external/strace/tests/ |
init_module.c | 51 long rc; local 59 rc = syscall(__NR_init_module, NULL, F8ILL_KULONG_MASK, NULL); 61 (unsigned long long) F8ILL_KULONG_MASK, sprintrc(rc)); 63 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 64 errstr = sprintrc(rc); 72 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 73 errstr = sprintrc(rc); 79 rc = syscall(__NR_init_module, bogus_addr, bogus_len, 83 bogus_param2 + PARAM2_LEN, sprintrc(rc)); 85 rc = syscall(__NR_init_module, NULL, bogus_len, bogus_param2) [all...] |
prctl-tid_address.c | 64 long rc; local 69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); 74 (unsigned long long) bogus_addr, sprintrc(rc)); 76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); 77 if (rc) { 79 ptr, sprintrc(rc)); 82 sprintaddr(*ptr), sprintrc(rc)); 87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr) [all...] |
sxetmask.c | 61 long rc; local 77 rc = k_ssetmask((kernel_ulong_t) 0xfacefeed00000000ULL | uset.old_mask); 78 if (rc == -1L) { 79 printf("ssetmask([USR1 USR2]) = %s\n", sprintrc(rc)); 81 printf("ssetmask([USR1 USR2]) = %#lx (old mask [USR1])\n", rc); 94 rc = k_sgetmask(); 95 if (rc == -1L) { 96 printf("sgetmask() = %s\n", sprintrc(rc)); 98 printf("sgetmask() = %#lx (mask [USR1 USR2])\n", rc); 99 if (uget.old_mask != (unsigned long) rc) [all...] |
read-write.c | 108 long rc = k_read(0, buf, len); local 109 if (rc != (int) len) 111 len, rc); 115 tprintf("\", %d) = %ld\n", len, rc); 122 rc = k_write(1, buf, len); 123 if (rc != (int) len) 125 len, rc); 129 tprintf("\", %d) = %ld\n", len, rc); 166 long rc; local 168 rc = k_write(1, w, 0) [all...] |
/external/strace/tests-m32/ |
init_module.c | 51 long rc; local 59 rc = syscall(__NR_init_module, NULL, F8ILL_KULONG_MASK, NULL); 61 (unsigned long long) F8ILL_KULONG_MASK, sprintrc(rc)); 63 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 64 errstr = sprintrc(rc); 72 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 73 errstr = sprintrc(rc); 79 rc = syscall(__NR_init_module, bogus_addr, bogus_len, 83 bogus_param2 + PARAM2_LEN, sprintrc(rc)); 85 rc = syscall(__NR_init_module, NULL, bogus_len, bogus_param2) [all...] |
prctl-tid_address.c | 64 long rc; local 69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); 74 (unsigned long long) bogus_addr, sprintrc(rc)); 76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); 77 if (rc) { 79 ptr, sprintrc(rc)); 82 sprintaddr(*ptr), sprintrc(rc)); 87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr) [all...] |
sxetmask.c | 61 long rc; local 77 rc = k_ssetmask((kernel_ulong_t) 0xfacefeed00000000ULL | uset.old_mask); 78 if (rc == -1L) { 79 printf("ssetmask([USR1 USR2]) = %s\n", sprintrc(rc)); 81 printf("ssetmask([USR1 USR2]) = %#lx (old mask [USR1])\n", rc); 94 rc = k_sgetmask(); 95 if (rc == -1L) { 96 printf("sgetmask() = %s\n", sprintrc(rc)); 98 printf("sgetmask() = %#lx (mask [USR1 USR2])\n", rc); 99 if (uget.old_mask != (unsigned long) rc) [all...] |
read-write.c | 108 long rc = k_read(0, buf, len); local 109 if (rc != (int) len) 111 len, rc); 115 tprintf("\", %d) = %ld\n", len, rc); 122 rc = k_write(1, buf, len); 123 if (rc != (int) len) 125 len, rc); 129 tprintf("\", %d) = %ld\n", len, rc); 166 long rc; local 168 rc = k_write(1, w, 0) [all...] |
/external/strace/tests-mx32/ |
init_module.c | 51 long rc; local 59 rc = syscall(__NR_init_module, NULL, F8ILL_KULONG_MASK, NULL); 61 (unsigned long long) F8ILL_KULONG_MASK, sprintrc(rc)); 63 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 64 errstr = sprintrc(rc); 72 rc = syscall(__NR_init_module, bogus_addr, 0, bogus_param1); 73 errstr = sprintrc(rc); 79 rc = syscall(__NR_init_module, bogus_addr, bogus_len, 83 bogus_param2 + PARAM2_LEN, sprintrc(rc)); 85 rc = syscall(__NR_init_module, NULL, bogus_len, bogus_param2) [all...] |
prctl-tid_address.c | 64 long rc; local 69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); 74 (unsigned long long) bogus_addr, sprintrc(rc)); 76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); 77 if (rc) { 79 ptr, sprintrc(rc)); 82 sprintaddr(*ptr), sprintrc(rc)); 87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr) [all...] |
sxetmask.c | 61 long rc; local 77 rc = k_ssetmask((kernel_ulong_t) 0xfacefeed00000000ULL | uset.old_mask); 78 if (rc == -1L) { 79 printf("ssetmask([USR1 USR2]) = %s\n", sprintrc(rc)); 81 printf("ssetmask([USR1 USR2]) = %#lx (old mask [USR1])\n", rc); 94 rc = k_sgetmask(); 95 if (rc == -1L) { 96 printf("sgetmask() = %s\n", sprintrc(rc)); 98 printf("sgetmask() = %#lx (mask [USR1 USR2])\n", rc); 99 if (uget.old_mask != (unsigned long) rc) [all...] |
read-write.c | 108 long rc = k_read(0, buf, len); local 109 if (rc != (int) len) 111 len, rc); 115 tprintf("\", %d) = %ld\n", len, rc); 122 rc = k_write(1, buf, len); 123 if (rc != (int) len) 125 len, rc); 129 tprintf("\", %d) = %ld\n", len, rc); 166 long rc; local 168 rc = k_write(1, w, 0) [all...] |
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
pxe_tftp.c | 58 int rc; member in struct:pxe_tftp_connection 69 * @v rc Final status code 71 static void pxe_tftp_close ( int rc ) { 73 xfer_close ( &pxe_tftp.xfer, rc ); 74 pxe_tftp.rc = rc; 83 * @ret rc Return status code 89 int rc = 0; local 102 rc = -ENOBUFS; 108 rc = -ENOBUFS 172 int rc; local 248 int rc; local 369 int rc; local 487 int rc; local 558 int rc; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/drivers/auth/mbedtls/ |
mbedtls_crypto.c | 63 int rc; local 72 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, &sig_params); 73 if (rc != 0) { 78 rc = mbedtls_x509_get_sig_alg(&sig_oid, &sig_params, &md_alg, &pk_alg, &sig_opts); 79 if (rc != 0) { 87 rc = mbedtls_pk_parse_subpubkey(&p, end, &pk); 88 if (rc != 0) { 89 rc = CRYPTO_ERR_SIGNATURE; 97 rc = mbedtls_asn1_get_bitstring_null(&p, end, &signature.len); 98 if (rc != 0) 151 int rc; local [all...] |
/build/make/target/product/ |
core_64_bit.mk | 26 PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
|
core_64_bit_only.mk | 23 PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64.rc:root/init.zygote64.rc
|
/external/clang/test/SemaCXX/ |
PR5086-ambig-resolution-enum.cpp | 11 void foo(const C& rc) { 13 const char *p = rc.fun1(BUFLEN - 2, C::e1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/speculative/ |
3-1.c | 31 int rc = 0; local 36 rc = pthread_attr_init(&attr); 37 if (rc != 0) { 42 rc = pthread_attr_setschedpolicy(&attr, policy); 43 if (rc != 0) { 55 rc = pthread_attr_setschedparam(&attr, ¶m); 56 if ((rc != EINVAL) && (rc != ENOTSUP)) {
|
3-2.c | 31 int rc = 0; local 36 rc = pthread_attr_init(&attr); 37 if (rc != 0) { 42 rc = pthread_attr_setschedpolicy(&attr, policy); 43 if (rc != 0) { 55 rc = pthread_attr_setschedparam(&attr, ¶m); 56 if ((rc != EINVAL) && (rc != ENOTSUP)) {
|