HomeSort by relevance Sort by last modified time
    Searched full:cleanup (Results 151 - 175 of 8848) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/ltp/testcases/kernel/syscalls/dup2/
dup203.c 55 void cleanup(void);
85 tst_brkm(TBROK, cleanup, "cannot create first file");
87 tst_brkm(TBROK, cleanup, "filename0: write(2) failed");
90 tst_brkm(TBROK, cleanup, "Cannot create second file");
92 tst_brkm(TBROK, cleanup, "filename1: write(2) failed");
94 SAFE_CLOSE(cleanup, fd0);
96 tst_brkm(TBROK, cleanup, "open(2) on filename0 failed");
98 SAFE_CLOSE(cleanup, fd1);
100 tst_brkm(TBROK, cleanup, "open(2) on filename1 failed");
114 tst_brkm(TBROK, cleanup, "read(2) failed")
205 void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/inotify/
inotify01.c 58 static void cleanup(void);
84 SAFE_CHMOD(cleanup, fname, 0755);
89 tst_brkm(TBROK | TERRNO, cleanup,
96 tst_brkm(TBROK | TERRNO, cleanup,
102 SAFE_CLOSE(cleanup, fd);
107 tst_brkm(TBROK, cleanup,
114 tst_brkm(TBROK, cleanup,
120 SAFE_CLOSE(cleanup, fd);
125 tst_brkm(TBROK, cleanup,
135 tst_brkm(TBROK, cleanup,
229 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/sendfile/
sendfile04.c 75 void cleanup(void);
110 tst_brkm(TBROK, cleanup, "mmap failed: %d", errno);
116 tst_brkm(TBROK, cleanup, "open failed: %d", errno);
118 SAFE_STAT(cleanup, in_file, &sb);
121 SAFE_MUNMAP(cleanup, protected_buffer,
176 tst_sig(FORK, DEF_HANDLER, cleanup);
184 tst_brkm(TBROK, cleanup, "creat failed in setup, errno: %d",
189 tst_brkm(TBROK, cleanup, "write failed, errno: %d", errno);
196 * cleanup() - performs all ONE TIME cleanup for this test a
199 void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/symlinkat/
symlinkat01.c 55 static void cleanup();
160 cleanup();
170 SAFE_MKDIR(cleanup, TEST_DIR2, 0700);
171 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY);
185 fd = SAFE_OPEN(cleanup, desc->referencefn1, O_RDWR);
186 SAFE_WRITE(cleanup, 1, fd, &tnum, sizeof(tnum));
187 SAFE_CLOSE(cleanup, fd);
189 fd = SAFE_OPEN(cleanup, desc->referencefn2, O_RDONLY);
190 SAFE_READ(cleanup, 1, fd, &vnum, sizeof(vnum));
191 SAFE_CLOSE(cleanup, fd)
237 static void cleanup(void) function
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
DeviceCleaner.java 29 /** Performs reboot or format as cleanup action after test, and optionally turns screen off */
34 /** no cleanup action */
36 /** reboot the device as post test cleanup */
38 /** format userdata and cache partitions as post test cleanup */
43 /** no post cleanup action */
45 /** turns screen off after the cleanup action */
47 /** turns off screen and stops runtime after the cleanup action */
54 @Option(name = "cleanup-action",
55 description = "Type of action to perform as a post test cleanup; options are: "
60 * @deprecated use --post-cleanup SCREEN_OFF option instead
    [all...]
  /external/clang/lib/CodeGen/
EHScopeStack.h 1 //===-- EHScopeStack.h - Stack for cleanup IR generation --------*- C++ -*-===//
35 /// the innermost cleanup. When a (normal) cleanup is popped, any
36 /// unresolved fixups in that scope are threaded through the cleanup.
79 /// Denotes a cleanup that should run when a scope is exited using exceptional
83 /// Denotes a cleanup that should run when a scope is exited using normal
140 /// Information for lazily generating a cleanup. Subclasses must be
142 /// allocated on the cleanup stack and freely copied and moved
145 /// Cleanup implementations should generally be declared in an
147 class Cleanup {
    [all...]
  /external/clang/test/CodeGenCXX/
mingw-w64-seh-exceptions.cpp 7 struct Cleanup {
8 ~Cleanup() {
14 Cleanup x;
  /external/ltp/testcases/kernel/syscalls/fchownat/
fchownat02.c 48 static void cleanup(void);
67 cleanup();
80 tst_sig(NOFORK, DEF_HANDLER, cleanup);
86 dir_fd = SAFE_OPEN(cleanup, "./", O_DIRECTORY);
88 SAFE_TOUCH(cleanup, TESTFILE, 0600, NULL);
90 SAFE_SYMLINK(cleanup, TESTFILE, TESTFILE_LINK);
92 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf);
94 SAFE_LSTAT(cleanup, TESTFILE_LINK, &l_buf);
97 tst_brkm(TBROK | TERRNO, cleanup,
121 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf)
137 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/getdents/
getdents02.c 51 static void cleanup(void);
95 cleanup();
101 tst_sig(NOFORK, DEF_HANDLER, cleanup);
142 fd = SAFE_OPEN(cleanup, ".", O_RDONLY);
152 SAFE_CLOSE(cleanup, fd);
161 fd = SAFE_OPEN(cleanup, "test", O_CREAT | O_RDWR);
170 SAFE_CLOSE(cleanup, fd);
179 SAFE_MKDIR(cleanup, TEST_DIR, DIR_MODE);
181 fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY);
182 SAFE_RMDIR(cleanup, TEST_DIR)
194 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
msgrcv07.c 60 cleanup();
66 tst_sig(FORK, DEF_HANDLER, cleanup);
81 tst_brkm(TBROK | TERRNO, cleanup, "Can't create message queue");
84 tst_brkm(TBROK | TERRNO, cleanup, "Can't enqueue message");
87 tst_brkm(TBROK | TERRNO, cleanup, "Can't enqueue message");
91 tst_brkm(TBROK, cleanup, "fork failed");
122 tst_brkm(TBROK | TERRNO, cleanup, "Can't create message queue");
125 tst_brkm(TBROK | TERRNO, cleanup, "Can't enqueue message");
129 tst_brkm(TBROK, cleanup, "fork failed");
163 tst_brkm(TBROK, cleanup, "msgrcv failed unexpectedly")
170 void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/mmap/
mmap02.c 59 static void cleanup(void);
92 tst_brkm(TFAIL | TERRNO, cleanup,
111 tst_brkm(TFAIL | TERRNO, cleanup, "munmapping failed");
115 cleanup();
123 tst_sig(FORK, DEF_HANDLER, cleanup);
142 tst_brkm(TFAIL | TERRNO, cleanup, "opening %s failed",
149 tst_brkm(TFAIL | TERRNO, cleanup,
158 tst_brkm(TFAIL | TERRNO, cleanup, "fchmod(%s, 0444) failed",
164 tst_brkm(TFAIL | TERRNO, cleanup, "closing %s failed",
170 tst_brkm(TFAIL, cleanup, "reopening %s readonly failed"
181 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/readlink/
readlink04.c 56 static void cleanup(void);
85 tst_brkm(TFAIL, cleanup, "TESTFILE %s "
100 cleanup();
123 tst_brkm(TBROK, cleanup, "getpwname() failed");
126 SAFE_CHOWN(cleanup, tmp_dir, pwent->pw_uid, pwent->pw_gid);
129 tst_brkm(TBROK|TERRNO, cleanup, "chmod(%s) failed", tmp_dir);
133 tst_brkm(TBROK|TERRNO, cleanup, "open(%s) failed", TESTFILE);
136 tst_brkm(TBROK|TERRNO, cleanup, "close(%s) failed", TESTFILE);
138 SAFE_SYMLINK(cleanup, TESTFILE, SYMFILE);
148 tst_brkm(TBROK, cleanup, "getpwname() failed for nobody")
153 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/rename/
rename07.c 23 * Cleanup:
51 void cleanup();
100 cleanup();
111 tst_sig(NOFORK, DEF_HANDLER, cleanup);
123 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir);
126 SAFE_MKDIR(cleanup, fdir, 00770);
128 SAFE_STAT(cleanup, fdir, &buf1);
134 SAFE_TOUCH(cleanup, mname, 0700, NULL);
136 SAFE_STAT(cleanup, mname, &buf2);
144 * cleanup() - performs all ONE TIME cleanup for this test a
147 void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/rt_sigprocmask/
rt_sigprocmask01.c 58 static void cleanup(void) function
93 tst_brkm(TFAIL | TERRNO, cleanup,
97 tst_brkm(TFAIL | TERRNO, cleanup,
104 tst_brkm(TFAIL | TTERRNO, cleanup,
111 tst_brkm(TFAIL | TTERRNO, cleanup,
117 tst_brkm(TFAIL | TERRNO, cleanup,
121 tst_brkm(TFAIL | TERRNO, cleanup,
129 tst_brkm(TFAIL | TTERRNO, cleanup,
135 cleanup,
145 cleanup,
    [all...]
  /external/llvm/test/CodeGen/NVPTX/
loop-vectorize.ll 12 br i1 %cmp.5, label %for.body.preheader, label %for.cond.cleanup
17 for.cond.cleanup.loopexit: ; preds = %for.body
18 br label %for.cond.cleanup
20 for.cond.cleanup: ; preds = %for.cond.cleanup.loopexit, %entry
31 br i1 %exitcond, label %for.cond.cleanup.loopexit, label %for.body
  /external/llvm/test/Transforms/LoopStrengthReduce/
shl.ll 13 br i1 %cmp.5, label %for.body.preheader, label %for.cond.cleanup
18 for.cond.cleanup.loopexit: ; preds = %for.body
19 br label %for.cond.cleanup
21 for.cond.cleanup: ; preds = %for.cond.cleanup.loopexit, %entry
33 br i1 %cmp, label %for.body, label %for.cond.cleanup.loopexit
  /external/ltp/lib/newlib_tests/
test08.c 36 static void cleanup(void) function
40 /* Avoid subsequent threads to enter the cleanup */
44 tst_res(TINFO, "cleanup() started");
46 tst_res(TINFO, "cleanup() finished");
75 .cleanup = cleanup,
  /external/ltp/testcases/kernel/syscalls/clone/
clone01.c 37 static void cleanup(void);
54 tst_brkm(TBROK, cleanup, "Cannot allocate stack for child");
62 child_pid = SAFE_WAIT(cleanup, &status);
72 cleanup();
79 tst_sig(FORK, DEF_HANDLER, cleanup);
83 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/renameat/
renameat01.c 106 static void cleanup(void);
127 cleanup();
145 tst_sig(NOFORK, DEF_HANDLER, cleanup);
150 device = tst_acquire_device(cleanup);
153 tst_brkm(TCONF, cleanup, "Failed to obtain block device");
157 SAFE_TOUCH(cleanup, TESTFILE, FILEMODE, NULL);
159 SAFE_TOUCH(cleanup, TESTFILE2, FILEMODE, NULL);
165 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE);
166 SAFE_TOUCH(cleanup, TESTFILE3, FILEMODE, NULL);
167 SAFE_MKDIR(cleanup, NEW_TESTDIR, DIRMODE)
235 static void cleanup(void) function
    [all...]
  /external/ltp/testcases/kernel/syscalls/setegid/
setegid02.c 32 static void cleanup(void);
49 cleanup();
57 tst_sig(NOFORK, DEF_HANDLER, cleanup);
61 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
63 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
85 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/setfsgid/
setfsgid01.c 37 static void cleanup(void);
53 GID16_CHECK(gid, setfsgid, cleanup);
55 TEST(SETFSGID(cleanup, gid));
73 cleanup();
79 tst_sig(NOFORK, DEF_HANDLER, cleanup);
84 static void cleanup(void) function
setfsgid02.c 40 static void cleanup(void);
59 GID16_CHECK(gid, setfsgid, cleanup);
61 TEST(SETFSGID(cleanup, gid));
78 cleanup();
84 tst_sig(NOFORK, DEF_HANDLER, cleanup);
89 static void cleanup(void) function
  /external/ltp/testcases/kernel/syscalls/setfsuid/
setfsuid01.c 34 static void cleanup(void);
50 UID16_CHECK(uid, setfsuid, cleanup);
56 TEST(SETFSUID(cleanup, uid));
74 cleanup();
80 tst_sig(NOFORK, DEF_HANDLER, cleanup);
85 static void cleanup(void) function
setfsuid02.c 36 static void cleanup(void);
55 UID16_CHECK(uid, setfsuid, cleanup);
61 TEST(SETFSUID(cleanup, uid));
78 cleanup();
84 tst_sig(NOFORK, DEF_HANDLER, cleanup);
89 static void cleanup(void) function
  /external/clang/test/CodeGenObjCXX/
debug-info-line.mm 13 // CHECK: cleanup, !dbg [[DBG_F1:![0-9]*]]
24 // CHECK: cleanup, !dbg [[DBG_TNSO:![0-9]*]]

Completed in 284 milliseconds

1 2 3 4 5 67 8 91011>>