Home
last modified time | relevance | path

Searched refs:tnum (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c192 int tnum = rand(), vnum = ~tnum; in mysymlinkat_test() local
198 write(fd, &tnum, in mysymlinkat_test()
199 sizeof(tnum))) != sizeof(tnum)) in mysymlinkat_test()
202 sizeof(tnum), len, in mysymlinkat_test()
213 sizeof(vnum))) != sizeof(tnum)) in mysymlinkat_test()
221 if (tnum == vnum) in mysymlinkat_test()
/external/ltp/lib/
Dtst_res.c85 static void tst_condense(int tnum, int ttype, const char *tmesg);
86 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
197 static void tst_condense(int tnum, int ttype, const char *tmesg) in tst_condense() argument
225 Last_num = tnum; in tst_condense()
251 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg) in tst_print() argument
285 "%-8s %4d %s : %s", tcid, tnum, type, tmesg); in tst_print()
289 tcid, tnum, type, tmesg); in tst_print()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c259 int tnum = rand(), vnum = ~tnum; in mylinkat_test() local
262 SAFE_WRITE(cleanup, 1, fd, &tnum, sizeof(tnum)); in mylinkat_test()
270 if (tnum == vnum) in mylinkat_test()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ds-c.c111 int *tnum; member
269 *(dt->tnum) += 1; in waiter()
312 int tnum; in do_threads_test() local
321 td.tnum = &tnum; in do_threads_test()
400 tnum = 0; in do_threads_test()
451 while (tnum < nthreads) { in do_threads_test()
473 tnum); in do_threads_test()
/external/stressapptest/src/
Dsat.cc1446 int tnum; in InitializeThreads() local
1447 for (tnum = 0; tnum < num_cpus; tnum++) { in InitializeThreads()
1450 tnum, num_cpus, cc_inc_count_); in InitializeThreads()
1454 thread->set_cpu_mask_to_cpu(tnum); in InitializeThreads()
/external/sqlite/dist/orig/
Dshell.c5081 int tnum = 0; in do_meta_command() local
5094 tnum = sqlite3_column_int(pStmt, 0); in do_meta_command()
5097 if( tnum==0 ){ in do_meta_command()
5129 rc = sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 1, tnum); in do_meta_command()
Dsqlite3.c14618 int tnum; /* Root BTree page for this table */ member
14893 int tnum; /* DB Page containing root of this index */ member
59135 if( pIdx->tnum==(int)iRoot ){
59142 iTab = pIdx->pTable->tnum;
85634 aOp[0].p2 = pTab->tnum;
85644 aOp[1].p2 = pTab->tnum;
92929 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
93023 sqlite3VdbeAddOp3(v, OP_OpenRead, iTab, pIdx->tnum, iDb);
96919 aRoot[i] = pStat->tnum;
97697 if( pTab->tnum==0 ){
[all …]
/external/sqlite/dist/
Dshell.c5103 int tnum = 0; in do_meta_command() local
5116 tnum = sqlite3_column_int(pStmt, 0); in do_meta_command()
5119 if( tnum==0 ){ in do_meta_command()
5151 rc = sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 1, tnum); in do_meta_command()
Dsqlite3.c14618 int tnum; /* Root BTree page for this table */ member
14893 int tnum; /* DB Page containing root of this index */ member
59135 if( pIdx->tnum==(int)iRoot ){
59142 iTab = pIdx->pTable->tnum;
85634 aOp[0].p2 = pTab->tnum;
85644 aOp[1].p2 = pTab->tnum;
92929 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
93023 sqlite3VdbeAddOp3(v, OP_OpenRead, iTab, pIdx->tnum, iDb);
96919 aRoot[i] = pStat->tnum;
97697 if( pTab->tnum==0 ){
[all …]