Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c183 int tnum = rand(), vnum = ~tnum; in mysymlinkat_test() local
186 SAFE_WRITE(cleanup, 1, fd, &tnum, sizeof(tnum)); in mysymlinkat_test()
193 if (tnum == vnum) in mysymlinkat_test()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c249 int tnum = rand(), vnum = ~tnum; in mylinkat_test() local
252 SAFE_WRITE(cleanup, 1, fd, &tnum, sizeof(tnum)); in mylinkat_test()
260 if (tnum == vnum) in mylinkat_test()
/external/ltp/lib/
Dtst_res.c97 static void tst_condense(int tnum, int ttype, const char *tmesg);
98 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
213 static void tst_condense(int tnum, int ttype, const char *tmesg) in tst_condense() argument
241 Last_num = tnum; in tst_condense()
267 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg) in tst_print() argument
302 "%-8s %4d ", tcid, tnum); in tst_print()
305 "%-8s %4d ", tcid, tnum); in tst_print()
/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/
Dsqlite3.c15773 int tnum; /* Root BTree page for this table */ member
16048 int tnum; /* DB Page containing root of this index */ member
60608 if( pIdx->tnum==(int)iRoot ){
60615 iTab = pIdx->pTable->tnum;
87584 aOp[0].p2 = pTab->tnum;
87594 aOp[1].p2 = pTab->tnum;
94974 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
95068 sqlite3VdbeAddOp3(v, OP_OpenRead, iTab, pIdx->tnum, iDb);
99059 aRoot[i] = pStat->tnum;
99844 if( pTab->tnum==0 ){
[all …]
Dshell.c12942 int tnum = 0; in do_meta_command() local
12955 tnum = sqlite3_column_int(pStmt, 0); in do_meta_command()
12958 if( tnum==0 ){ in do_meta_command()
12990 rc = sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 1, tnum); in do_meta_command()
/external/sqlite/dist/
Dsqlite3.c15773 int tnum; /* Root BTree page for this table */ member
16048 int tnum; /* DB Page containing root of this index */ member
60608 if( pIdx->tnum==(int)iRoot ){
60615 iTab = pIdx->pTable->tnum;
87584 aOp[0].p2 = pTab->tnum;
87594 aOp[1].p2 = pTab->tnum;
94974 sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
95068 sqlite3VdbeAddOp3(v, OP_OpenRead, iTab, pIdx->tnum, iDb);
99059 aRoot[i] = pStat->tnum;
99844 if( pTab->tnum==0 ){
[all …]
Dshell.c12965 int tnum = 0; in do_meta_command() local
12978 tnum = sqlite3_column_int(pStmt, 0); in do_meta_command()
12981 if( tnum==0 ){ in do_meta_command()
13013 rc = sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 1, tnum); in do_meta_command()