Home
last modified time | relevance | path

Searched defs:cleanup_fn (Results 1 – 10 of 10) sorted by relevance

/external/ltp/include/old/
Dsafe_macros.h23 #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 …]
Dold_checkpoint.h40 #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
Dold_safe_net.h30 #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
Dold_safe_stdio.h25 #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
Dold_safe_file_ops.h37 #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
Dold_resource.h47 #define TST_RESOURCE_COPY(cleanup_fn, filename, dest) \ argument
/external/ltp/include/
Dtst_process_state.h63 # define TST_PROCESS_STATE_WAIT(cleanup_fn, pid, state) \ argument
/external/libevent/test/
Dtinytest.h49 int (*cleanup_fn)(const struct testcase_t *, void *); member
/external/tensorflow/tensorflow/core/framework/
Ddataset.h533 void AddCleanupFunction(std::function<void()>&& cleanup_fn) { in AddCleanupFunction()
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc486 auto cleanup_fn = [&cleanup_done, &batch](const Status& status) { in ProcessFuncBatch() local