/external/curl/tests/unit/ |
H A D | unit1301.c | 31 int rc; variable 33 rc = curl_strequal("iii", "III"); 34 fail_unless( rc != 0 , "return code should be zero" ); 36 rc = curl_strequal("iiia", "III"); 37 fail_unless( rc == 0 , "return code should be zero" ); 39 rc = curl_strequal("iii", "IIIa"); 40 fail_unless( rc == 0 , "return code should be zero" ); 42 rc = curl_strequal("iiiA", "IIIa"); 43 fail_unless( rc != 0 , "return code should be non-zero" ); 45 rc [all...] |
H A D | unit1398.c | 31 int rc; variable 40 rc = curl_msnprintf(output, 4, "%.*s", width, buf); 41 fail_unless( rc == 3 , "return code should be 3" ); 45 rc = curl_msnprintf(output, 4, "%.*s", width, str); 46 fail_unless( rc == 3 , "return code should be 3" ); 51 rc = curl_msnprintf(output, 4, "%.*s", width, buf); 52 fail_unless( rc == 2 , "return code should be 2" ); 56 rc = curl_msnprintf(output, 8, "%.8s", str); 57 fail_unless( rc == 3 , "return code should be 3" ); 61 rc [all...] |
/external/jemalloc/msvc/projects/vc2015/test_threads/ |
H A D | test_threads_main.cpp | 10 int rc = test_threads(); local 11 return rc;
|
/external/selinux/libselinux/utils/ |
H A D | getenforce.c | 9 int rc; local 11 rc = is_selinux_enabled(); 12 if (rc < 0) { 16 if (rc == 1) { 17 rc = security_getenforce(); 18 if (rc < 0) { 23 if (rc)
|
H A D | policyvers.c | 8 int rc; local 10 rc = security_policyvers(); 11 if (rc < 0) { 16 printf("%d\n", rc);
|
H A D | setfilecon.c | 8 int rc, i; local 16 rc = setfilecon(argv[i], argv[1]); 17 if (rc < 0) {
|
H A D | getfilecon.c | 9 int rc, i; local 17 rc = getfilecon(argv[i], &buf); 18 if (rc < 0) {
|
/external/skia/gm/ |
H A D | skbug_4868.cpp | 18 SkRect rc = SkRect::MakeLTRB(158.0f, 5994.80273f, 165.0f, 5998.80225f); local 19 canvas->clipRect(rc); 21 canvas->drawLine(rc.left(), rc.top(), rc.right(), rc.bottom(), paint); 22 canvas->drawLine(rc.right(), rc.top(), rc.left(), rc [all...] |
/external/strace/tests/ |
H A D | ftruncate.c | 46 int rc; local 49 rc = ftruncate(-1, len); 51 rc = syscall(__NR_ftruncate, -1L, len); 53 if (rc != -1 || EBADF != errno)
|
H A D | ftruncate64.c | 44 int rc = ftruncate(-1, len); local 46 if (rc != -1 || EBADF != errno)
|
H A D | lseek.c | 46 int rc; local 49 rc = lseek(-1, offset, SEEK_SET); 51 rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); 53 if (rc != -1 || EBADF != errno)
|
H A D | ipc_msg.c | 36 int rc, id; local 63 rc = msgctl(id, MSG_STAT, &ds); 64 if (rc != id) { 69 if (-1 != rc || EINVAL != errno) 76 rc = 0; 81 return rc; 84 rc = 1;
|
H A D | ipc_shm.c | 36 int rc, id; local 63 rc = shmctl(id, SHM_STAT, &ds); 64 if (rc != id) { 69 if (-1 != rc || EINVAL != errno) 76 rc = 0; 81 return rc; 84 rc = 1;
|
H A D | readlink.c | 43 long rc; local 46 rc = syscall(__NR_readlink, fname, buf, sizeof(buf)); 47 if (rc < 0) 56 printf("\"..., %zu) = %ld\n", sizeof(buf), rc);
|
H A D | readlinkat.c | 43 long rc; local 46 rc = syscall(__NR_readlinkat, -100, fname, buf, sizeof(buf)); 47 if (rc < 0) 56 printf("\"..., %zu) = %ld\n", sizeof(buf), rc);
|
H A D | truncate.c | 48 int rc; local 51 rc = truncate(fname, len); 53 rc = syscall(__NR_truncate, fname, len); 55 if (rc != -1 || ENOENT != errno)
|
H A D | truncate64.c | 46 int rc = truncate(fname, len); local 48 if (rc != -1 || ENOENT != errno)
|
/external/curl/lib/ |
H A D | nwos.c | 50 int rc = 0; local 66 rc = 1; 69 rc = rc + 2; 71 return rc;
|
/external/toybox/toys/other/ |
H A D | readahead.c | 24 int rc; local 28 if (sizeof(long) == 4) rc = syscall(__NR_readahead, fd, 0, 0, INT_MAX); 29 else rc = syscall(__NR_readahead, fd, 0, INT_MAX); 31 if (rc) perror_msg("readahead: %s", name);
|
/external/autotest/client/site_tests/kernel_LTP/ |
H A D | ltp-diff.py | 72 rc = 0 100 rc = 1 109 if rc == 0: 111 return rc 121 rc = compare_results(runs) variable 122 sys.exit(rc)
|
/external/clang/test/SemaCXX/ |
H A D | PR5086-ambig-resolution-enum.cpp | 11 void foo(const C& rc) { argument 13 const char *p = rc.fun1(BUFLEN - 2, C::e1);
|
/external/curl/tests/libtest/ |
H A D | lib512.c | 34 int rc = 99; local 53 rc = 0; 55 rc = 1; 58 rc = 2; 63 rc = 3; 68 rc = 4; 73 rc = 5; 75 return rc;
|
/external/libchrome/sandbox/linux/services/ |
H A D | resource_limits.cc | 22 int rc = setrlimit(resource, &new_rlimit); local 23 return rc == 0;
|
/external/libexif/test/ |
H A D | test-sorted.c | 31 int rc = 0; local 40 rc = 1; 44 rc = 1; 49 return rc;
|
/external/libopus/silk/float/ |
H A D | k2a_FLP.c | 37 const silk_float *rc, /* I reflection coefficients [order] */ 49 A[ n ] += Atmp[ k - n - 1 ] * rc[ k ]; 51 A[ k ] = -rc[ k ]; 35 silk_k2a_FLP( silk_float *A, const silk_float *rc, opus_int32 order ) argument
|