/external/ltp/lib/ |
D | safe_macros.c | 24 char *rval; in safe_basename() local 26 rval = basename(path); in safe_basename() 27 if (rval == NULL) { in safe_basename() 33 return rval; in safe_basename() 40 int rval; in safe_chdir() local 42 rval = chdir(path); in safe_chdir() 43 if (rval == -1) { in safe_chdir() 49 return rval; in safe_chdir() 56 int rval; in safe_close() local 58 rval = close(fildes); in safe_close() [all …]
|
D | tst_safe_macros.c | 32 int rval; in safe_setpgid() local 34 rval = setpgid(pid, pgid); in safe_setpgid() 35 if (rval) { in safe_setpgid() 41 return rval; in safe_setpgid() 60 int rval; in safe_fanotify_init() local 63 rval = fanotify_init(flags, event_f_flags); in safe_fanotify_init() 65 if (rval == -1) { in safe_fanotify_init() 77 return rval; in safe_fanotify_init() 96 int rval; in safe_setregid() local 98 rval = setregid(rgid, egid); in safe_setregid() [all …]
|
D | tst_safe_sysv_ipc.c | 46 int rval; in safe_msgget() local 48 rval = msgget(key, msgflg); in safe_msgget() 49 if (rval == -1) { in safe_msgget() 54 return rval; in safe_msgget() 60 int rval; in safe_msgsnd() local 62 rval = msgsnd(msqid, msgp, msgsz, msgflg); in safe_msgsnd() 63 if (rval == -1) { in safe_msgsnd() 69 return rval; in safe_msgsnd() 75 ssize_t rval; in safe_msgrcv() local 77 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv() [all …]
|
D | safe_net.c | 110 int rval, ttype; in safe_socket() local 112 rval = socket(domain, type, protocol); in safe_socket() 114 if (rval < 0) { in safe_socket() 132 return rval; in safe_socket() 138 int rval = getsockopt(sockfd, level, optname, optval, optlen); in safe_getsockopt() local 140 if (!rval) in safe_getsockopt() 147 return rval; in safe_getsockopt() 153 int rval; in safe_setsockopt() local 155 rval = setsockopt(sockfd, level, optname, optval, optlen); in safe_setsockopt() 157 if (rval) { in safe_setsockopt() [all …]
|
D | safe_pthread.c | 28 int rval; in safe_pthread_create() local 30 rval = pthread_create(thread_id, attr, thread_fn, arg); in safe_pthread_create() 32 if (rval) { in safe_pthread_create() 35 attr, thread_fn, arg, tst_strerrno(rval)); in safe_pthread_create() 38 return rval; in safe_pthread_create() 44 int rval; in safe_pthread_join() local 46 rval = pthread_join(thread_id, retval); in safe_pthread_join() 48 if (rval) { in safe_pthread_join() 51 retval, tst_strerrno(rval)); in safe_pthread_join() 54 return rval; in safe_pthread_join()
|
/external/ltp/testcases/kernel/syscalls/unshare/ |
D | unshare01.c | 160 int rval; in main() local 179 rval = 0; in main() 183 rval = 1; in main() 186 rval = 2; in main() 189 exit(rval); in main() 191 SAFE_WAIT(cleanup, &rval); in main() 192 if (rval != 0 && WIFEXITED(rval)) { in main() 193 switch (WEXITSTATUS(rval)) { in main() 215 rval = 0; in main() 219 rval = 1; in main() [all …]
|
D | unshare02.c | 125 int rval; in main() local 143 rval = 1; in main() 147 rval = 0; in main() 149 rval = 1; in main() 152 rval = 2; in main() 155 exit(rval); in main() 157 SAFE_WAIT(cleanup, &rval); in main() 158 if (rval != 0 && WIFEXITED(rval)) { in main() 159 switch (WEXITSTATUS(rval)) { in main() 181 rval = 0; in main() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-2.c | 52 int rval; in main() local 61 rval = pipe(to_parent); in main() 62 if (rval == -1) { in main() 66 rval = pipe(to_child); in main() 67 if (rval == -1) { in main() 95 int rval; in parent_process() local 103 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 104 if (rval) { in parent_process() 105 return rval; in parent_process() 112 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process() [all …]
|
D | 2-1.c | 57 int rval; in main() local 66 rval = pipe(to_parent); in main() 67 if (rval == -1) { in main() 71 rval = pipe(to_child); in main() 72 if (rval == -1) { in main() 100 int rval; in parent_process() local 108 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 109 if (rval) { in parent_process() 110 return rval; in parent_process() 141 int rval; in child_process() local [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 47 int rval; in main() local 54 rval = pipe(to_parent); in main() 55 if (rval == -1) { in main() 60 rval = pipe(to_child); in main() 61 if (rval == -1) { in main() 99 int rval; in parent_process() local 117 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 118 if (rval) { in parent_process() 121 return rval; in parent_process() 131 rval = mq_close(queue); in parent_process() [all …]
|
/external/u-boot/drivers/gpio/ |
D | tegra186_gpio.c | 47 uint32_t rval; in tegra186_gpio_set_out() local 50 rval = readl(reg); in tegra186_gpio_set_out() 52 rval &= ~TEGRA186_GPIO_OUTPUT_CONTROL_FLOATED; in tegra186_gpio_set_out() 54 rval |= TEGRA186_GPIO_OUTPUT_CONTROL_FLOATED; in tegra186_gpio_set_out() 55 writel(rval, reg); in tegra186_gpio_set_out() 58 rval = readl(reg); in tegra186_gpio_set_out() 60 rval |= TEGRA186_GPIO_ENABLE_CONFIG_OUT; in tegra186_gpio_set_out() 62 rval &= ~TEGRA186_GPIO_ENABLE_CONFIG_OUT; in tegra186_gpio_set_out() 63 rval |= TEGRA186_GPIO_ENABLE_CONFIG_ENABLE; in tegra186_gpio_set_out() 64 writel(rval, reg); in tegra186_gpio_set_out() [all …]
|
/external/ltp/include/old/ |
D | safe_macros.h | 167 void *rval; in safe_mmap() local 169 rval = mmap(addr, length, prot, flags, fd, offset); in safe_mmap() 170 if (rval == MAP_FAILED) { in safe_mmap() 177 return rval; in safe_mmap() 186 int rval; in safe_ftruncate() local 188 rval = ftruncate(fd, length); in safe_ftruncate() 189 if (rval == -1) { in safe_ftruncate() 195 return rval; in safe_ftruncate() 203 int rval; in safe_truncate() local 205 rval = truncate(path, length); in safe_truncate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | icmp-range.ll | 10 %rval = icmp ne i32 %val, 0 11 ret i1 %rval 17 %rval = icmp eq i32 %val, 0 18 ret i1 %rval 27 %rval = icmp ne i32 %val, 0 28 ret i1 %rval 36 %rval = icmp ne i8 %val, 0 37 ret i1 %rval 44 %rval = icmp ugt i8 %val, 0 45 ret i1 %rval [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | icmp-range.ll | 10 %rval = icmp ne i32 %val, 0 11 ret i1 %rval 17 %rval = icmp eq i32 %val, 0 18 ret i1 %rval 27 %rval = icmp ne i32 %val, 0 28 ret i1 %rval 36 %rval = icmp ne i8 %val, 0 37 ret i1 %rval 44 %rval = icmp ugt i8 %val, 0 45 ret i1 %rval [all …]
|
/external/ltp/include/ |
D | tst_safe_macros.h | 61 int rval; in safe_dup() local 63 rval = dup(oldfd); in safe_dup() 64 if (rval == -1) { in safe_dup() 69 return rval; in safe_dup() 243 void *rval; in safe_mmap() local 245 rval = mmap(addr, length, prot, flags, fd, offset); in safe_mmap() 246 if (rval == MAP_FAILED) { in safe_mmap() 252 return rval; in safe_mmap() 261 int rval; in safe_ftruncate() local 263 rval = ftruncate(fd, length); in safe_ftruncate() [all …]
|
D | tst_safe_prw.h | 25 ssize_t rval; in safe_pread() local 27 rval = pread(fildes, buf, nbyte, offset); in safe_pread() 29 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pread() 35 return rval; in safe_pread() 45 ssize_t rval; in safe_pwrite() local 47 rval = pwrite(fildes, buf, nbyte, offset); in safe_pwrite() 48 if (rval == -1 || (len_strict && (size_t)rval != nbyte)) { in safe_pwrite() 54 return rval; in safe_pwrite()
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_util.c | 480 int rval; in nand_verify_page_oob() local 493 rval = mtd_read_oob(mtd, ofs, &vops); in nand_verify_page_oob() 494 if (!rval) in nand_verify_page_oob() 495 rval = memcmp(ops->datbuf, vops.datbuf, vops.len); in nand_verify_page_oob() 496 if (!rval) in nand_verify_page_oob() 497 rval = memcmp(ops->oobbuf, vops.oobbuf, vops.ooblen); in nand_verify_page_oob() 501 return rval ? -EIO : 0; in nand_verify_page_oob() 520 int rval = 0; in nand_verify() local 532 rval = nand_read(mtd, verofs, &verlen, verbuf); in nand_verify() 533 if (!rval || (rval == -EUCLEAN)) in nand_verify() [all …]
|
/external/python/cpython2/Modules/ |
D | _json.c | 95 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx); 109 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level); 111 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level); 113 encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level); 203 PyObject *rval; in ascii_escape_unicode() local 224 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode() 225 if (rval == NULL) { in ascii_escape_unicode() 228 output = PyString_AS_STRING(rval); in ascii_escape_unicode() 241 Py_DECREF(rval); in ascii_escape_unicode() 250 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode() [all …]
|
/external/ltp/testcases/kernel/fs/fsstress/ |
D | fsstress.c | 597 int rval; in attr_list_path() local 599 rval = attr_list(name->path, buffer, buffersize, flags, cursor); in attr_list_path() 600 if (rval >= 0 || errno != ENAMETOOLONG) in attr_list_path() 601 return rval; in attr_list_path() 604 rval = attr_list_path(&newname, buffer, buffersize, flags, in attr_list_path() 609 return rval; in attr_list_path() 616 int rval; in attr_remove_path() local 618 rval = attr_remove(name->path, attrname, flags); in attr_remove_path() 619 if (rval >= 0 || errno != ENAMETOOLONG) in attr_remove_path() 620 return rval; in attr_remove_path() [all …]
|
/external/e2fsprogs/contrib/ |
D | fsstress.c | 624 int rval; in attr_list_path() local 626 rval = attr_list(name->path, buffer, buffersize, flags, cursor); in attr_list_path() 627 if (rval >= 0 || errno != ENAMETOOLONG) in attr_list_path() 628 return rval; in attr_list_path() 631 rval = attr_list_path(&newname, buffer, buffersize, flags, in attr_list_path() 636 return rval; in attr_list_path() 643 int rval; in attr_remove_path() local 645 rval = attr_remove(name->path, attrname, flags); in attr_remove_path() 646 if (rval >= 0 || errno != ENAMETOOLONG) in attr_remove_path() 647 return rval; in attr_remove_path() [all …]
|
/external/yapf/yapf/yapflib/ |
D | unwrapped_line.py | 220 rval = right.value 240 if lval == ',' and rval == ':': 243 if rval in ':,': 246 if lval == ',' and rval in ']})': 252 if lval == 'from' and rval == '.': 255 if lval == '.' and rval == 'import': 258 if (lval == '=' and rval == '.' and 275 if (rval == '=' and 281 if rval not in '[)]}.': 295 if lval == '**' or rval == '**': [all …]
|
/external/strace/linux/x86_64/ |
D | set_error.c | 13 kernel_ulong_t rval = -(kernel_long_t) tcp->u_error; in arch_set_error() local 16 i386_regs.eax = rval; in arch_set_error() 18 x86_64_regs.rax = rval; in arch_set_error() 20 return upoke(tcp, 8 * RAX, rval); in arch_set_error() 34 kernel_ulong_t rval = (kernel_ulong_t) tcp->u_rval; in arch_set_success() local 37 i386_regs.eax = rval; in arch_set_success() 39 x86_64_regs.rax = rval; in arch_set_success() 41 return upoke(tcp, 8 * RAX, rval); in arch_set_success()
|
/external/python/cpython3/Modules/ |
D | _json.c | 96 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx); 171 PyObject *rval; in ascii_escape_unicode() local 206 rval = PyUnicode_New(output_size, 127); in ascii_escape_unicode() 207 if (rval == NULL) { in ascii_escape_unicode() 210 output = PyUnicode_1BYTE_DATA(rval); in ascii_escape_unicode() 224 assert(_PyUnicode_CheckConsistency(rval, 1)); in ascii_escape_unicode() 226 return rval; in ascii_escape_unicode() 237 PyObject *rval; in escape_unicode() local 272 rval = PyUnicode_New(output_size, maxchar); in escape_unicode() 273 if (rval == NULL) in escape_unicode() [all …]
|
/external/autotest/client/tests/ltp/patches/ |
D | getdents.patch | 132 rval = getdents(fd, dirp, count); 133 if (rval < 0) { 135 - rval *= -1; 136 - TEST_ERROR_LOG(rval); 140 - ": %s", TCID, rval, strerror(rval)); 145 if (rval == 0) { 172 int rval, fd; 191 - rval = GETDENTS_ASM(); 192 + rval = getdents(fd, dirp, count); 197 if (rval < 0) { [all …]
|
/external/clang/test/CXX/special/class.inhctor/ |
D | p8.cpp | 7 constexpr A(const int&) : rval(false) {} in A() 8 constexpr A(const int&&) : rval(true) {} in A() 9 bool rval; member 21 static_assert(a0.rval && !a1.rval && b0.rval && !b1.rval, "");
|