HomeSort by relevance Sort by last modified time
    Searched refs:cleanup (Results 1 - 25 of 3021) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/lib/tests/
tst_cleanup_once.c 36 printf("Cleanup\n");
39 TST_DECLARE_ONCE_FN(cleanup, do_cleanup);
43 cleanup();
44 cleanup();
tst_device.c 31 static void cleanup(void) function
43 dev = tst_acquire_device(cleanup);
45 tst_brkm(TCONF, cleanup, "Failed to acquire test device");
49 tst_mkfs(cleanup, dev, "ext2", NULL, NULL);
51 cleanup();
tst_fs_fill_hardlinks.c 29 static void cleanup(void) function
41 cleanup();
tst_fs_fill_subdirs.c 29 static void cleanup(void) function
41 cleanup();
  /external/ltp/testcases/kernel/syscalls/swapon/
libswapon.h 32 void make_swapfile(void (cleanup)(void), const char *swapfile);
libswapon.c 28 void make_swapfile(void (cleanup)(void), const char *swapfile)
32 tst_brkm(TBROK, cleanup,
39 tst_brkm(TBROK, cleanup, "Failed to create swapfile");
48 tst_run_cmd(cleanup, argv, "/dev/null", "/dev/null", 0);
swapon01.c 30 static void cleanup(void);
43 tst_brkm(TCONF, cleanup,
52 tst_brkm(TBROK, cleanup, "Failed to turn off swapfile,"
73 cleanup();
79 tst_sig(FORK, DEF_HANDLER, cleanup);
87 switch ((fs_type = tst_fs_type(cleanup, "."))) {
90 tst_brkm(TCONF, cleanup,
96 make_swapfile(cleanup, "swapfile01");
99 static void cleanup(void) function
  /external/clang/test/CodeGenCXX/
new-array-init-exceptions.cpp 11 void cleanup(int n) { function
29 void cleanup() { function
attr-cleanup.cpp 9 void *fp __attribute__((cleanup(N::free)));
  /external/clang/test/Sema/
attr-cleanup.c 5 extern int g1 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
6 int g2 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
7 static int g3 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
11 int v1 __attribute((cleanup)); // expected-error {{'cleanup' attribute takes one argument}}
12 int v2 __attribute((cleanup(1, 2))); // expected-error {{'cleanup' attribute takes one argument}
    [all...]
  /external/libunwind/src/unwind/
DeleteException.c 31 _Unwind_Exception_Cleanup_Fn cleanup = exception_object->exception_cleanup; local
33 if (cleanup)
34 (*cleanup) (_URC_FOREIGN_EXCEPTION_CAUGHT, exception_object);
  /external/ltp/testcases/kernel/syscalls/utils/
compat_16.h 46 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \
50 tst_brkm(TCONF, cleanup, \
55 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \
56 (void) cleanup; \
60 #define UID16_CHECK(uid, sys_name, cleanup) \
62 tst_brkm(TBROK, cleanup, \
67 #define GID16_CHECK(gid, sys_name, cleanup) \
69 tst_brkm(TBROK, cleanup, \
75 int SETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list)
77 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list)
    [all...]
  /external/clang/test/CodeGen/
attr-cleanup.c 6 __attribute__((cleanup(f))) void *g;
cleanup-stack.c 17 struct s0 x __attribute__((cleanup(f0))) = { &var, 2 };
18 struct s0 y __attribute__((cleanup(f0))) = { &var, 3 };
20 struct s0 y __attribute__((cleanup(f0))) = { &var, 4 };
  /external/clang/test/SemaCXX/
attr-cleanup.cpp 12 int v1 __attribute__((cleanup(N::c1)));
13 int v2 __attribute__((cleanup(N::c2))); // expected-error {{no member named 'c2' in namespace 'N'}}
14 int v3 __attribute__((cleanup(C::c2))); // expected-error {{'c2' is a private member of 'C'}}
19 int v1 __attribute__((cleanup(c2))); // expected-error {{'c2' is a private member of 'C'}}
27 int v1 __attribute__((cleanup(c3))); // expected-error {{'c3' is not a single function}}
attr-cleanup-gcc.cpp 13 int v1 __attribute__((cleanup(N::c1))); // expected-warning {{GCC does not allow the 'cleanup' attribute argument to be anything other than a simple identifier}}
14 int v2 __attribute__((cleanup(c2)));
15 int v3 __attribute__((cleanup(c3<int>))); // expected-warning {{GCC does not allow the 'cleanup' attribute argument to be anything other than a simple identifier}}
  /external/ltp/testcases/kernel/syscalls/fchdir/
fchdir02.c 38 * call cleanup
62 void cleanup(void);
83 tst_brkm(TFAIL, cleanup, "call succeeded unexpectedly");
88 tst_brkm(TFAIL | TTERRNO, cleanup,
92 cleanup();
100 tst_sig(NOFORK, DEF_HANDLER, cleanup);
107 void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/chown/
chown01.c 106 * Cleanup:
128 static void cleanup(void);
142 TEST(CHOWN(cleanup, fname, uid, gid));
154 cleanup();
161 tst_sig(NOFORK, DEF_HANDLER, cleanup);
167 UID16_CHECK((uid = geteuid()), "chown", cleanup)
168 GID16_CHECK((gid = getegid()), "chown", cleanup)
172 SAFE_FILE_PRINTF(cleanup, fname, "davef");
175 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/fchown/
fchown01.c 47 static void cleanup(void);
66 UID16_CHECK(geteuid(), "fchown", cleanup)
67 GID16_CHECK(getegid(), "fchown", cleanup)
69 TEST(FCHOWN(cleanup, fd, geteuid(), getegid()));
80 cleanup();
86 tst_sig(FORK, DEF_HANDLER, cleanup);
91 fd = SAFE_OPEN(cleanup, "tempfile", O_RDWR | O_CREAT, 0700);
94 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/getegid/
getegid02.c 33 static void cleanup(void);
52 TEST(GETEGID(cleanup));
55 tst_brkm(TBROK, cleanup, "This should never happen");
62 tst_brkm(TBROK, cleanup, "geteuid() returned "
65 GID16_CHECK(pwent->pw_gid, getegid, cleanup);
78 cleanup();
84 tst_sig(NOFORK, DEF_HANDLER, cleanup);
88 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/getgid/
getgid03.c 33 static void cleanup(void);
52 TEST(GETGID(cleanup));
55 tst_brkm(TBROK, cleanup, "This should never happen");
62 tst_brkm(TBROK, cleanup, "getuid() returned "
65 GID16_CHECK(pwent->pw_gid, getgid, cleanup);
77 cleanup();
83 tst_sig(NOFORK, DEF_HANDLER, cleanup);
87 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/chdir/
chdir01.c 64 void cleanup(void);
86 SAFE_CHDIR(cleanup, testdir);
88 fd = SAFE_CREAT(cleanup, filname, 0000);
89 SAFE_CLOSE(cleanup, fd);
91 tst_brkm(TBROK | TERRNO, cleanup, "opendir(.) failed");
110 SAFE_UNLINK(cleanup, filname);
112 SAFE_CHDIR(cleanup, "..");
115 SAFE_SYMLINK(cleanup, "test_eloop1", "test_eloop2");
116 SAFE_SYMLINK(cleanup, "test_eloop2", "test_eloop1");
129 SAFE_UNLINK(cleanup, "test_eloop1")
154 void cleanup(void) function
    [all...]
  /external/ltp/lib/newlib_tests/
test04.c 42 static void cleanup(void) function
44 tst_res(TINFO, "cleanup() executed by pid %i", getpid());
57 .cleanup = cleanup,
test05.c 30 static void cleanup(void) function
32 tst_res(TINFO, "cleanup() executed by pid %i", getpid());
52 .cleanup = cleanup,
test06.c 20 * Test that child process does not trigger cleanup.
30 static void cleanup(void) function
32 tst_res(TINFO, "cleanup() executed by pid %i", getpid());
52 .cleanup = cleanup,

Completed in 402 milliseconds

1 2 3 4 5 6 7 8 91011>>