/external/ltp/include/old/ |
D | safe_macros.h | 23 #define SAFE_BASENAME(cleanup_fn, path) \ argument 26 #define SAFE_CHDIR(cleanup_fn, path) \ argument 29 #define SAFE_CLOSE(cleanup_fn, fd) ({ \ argument 35 #define SAFE_CREAT(cleanup_fn, pathname, mode) \ argument 38 #define SAFE_DIRNAME(cleanup_fn, path) \ argument 41 #define SAFE_GETCWD(cleanup_fn, buf, size) \ argument 44 #define SAFE_GETPWNAM(cleanup_fn, name) \ argument 47 #define SAFE_GETRUSAGE(cleanup_fn, who, usage) \ argument 50 #define SAFE_MALLOC(cleanup_fn, size) \ argument 53 #define SAFE_MKDIR(cleanup_fn, pathname, mode) \ argument [all …]
|
D | old_checkpoint.h | 40 #define TST_CHECKPOINT_INIT(cleanup_fn) \ argument 43 #define TST_SAFE_CHECKPOINT_WAIT(cleanup_fn, id) \ argument 46 #define TST_SAFE_CHECKPOINT_WAIT2(cleanup_fn, id, msec_timeout) \ argument 49 #define TST_SAFE_CHECKPOINT_WAKE(cleanup_fn, id) \ argument 52 #define TST_SAFE_CHECKPOINT_WAKE2(cleanup_fn, id, nr_wake) \ argument 55 #define TST_SAFE_CHECKPOINT_WAKE_AND_WAIT(cleanup_fn, id) \ argument
|
D | old_safe_net.h | 30 #define SAFE_SOCKET(cleanup_fn, domain, type, protocol) \ argument 33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ argument 37 #define SAFE_LISTEN(cleanup_fn, socket, backlog) \ argument 40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ argument 43 #define SAFE_GETSOCKNAME(cleanup_fn, sockfd, addr, addrlen) \ argument 47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ argument
|
D | old_safe_file_ops.h | 37 #define SAFE_FILE_SCANF(cleanup_fn, path, fmt, ...) \ argument 41 #define FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ argument 45 #define SAFE_FILE_LINES_SCANF(cleanup_fn, path, fmt, ...) \ argument 53 #define SAFE_FILE_PRINTF(cleanup_fn, path, fmt, ...) \ argument 57 #define SAFE_CP(cleanup_fn, src, dst) \ argument 60 #define SAFE_TOUCH(cleanup_fn, pathname, mode, times) \ argument
|
D | old_safe_stdio.h | 25 #define SAFE_FOPEN(cleanup_fn, path, mode) \ argument 28 #define SAFE_FCLOSE(cleanup_fn, f) \ argument 31 #define SAFE_ASPRINTF(cleanup_fn, strp, fmt, ...) \ argument 34 #define SAFE_POPEN(cleanup_fn, command, type) \ argument
|
D | old_resource.h | 47 #define TST_RESOURCE_COPY(cleanup_fn, filename, dest) \ argument
|
/external/ltp/include/ |
D | tst_process_state.h | 63 # define TST_PROCESS_STATE_WAIT(cleanup_fn, pid, state) \ argument
|
/external/libevent/test/ |
D | tinytest.h | 52 int (*cleanup_fn)(const struct testcase_t *, void *); member
|
/external/tensorflow/tensorflow/core/framework/ |
D | rendezvous.h | 139 std::function<Status(const int64)> cleanup_fn) in Factory()
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
D | batch_resource_base.cc | 568 auto cleanup_fn = [&cleanup_done, &batch](const Status& status) { in ProcessFuncBatch() local
|