/system/extras/tests/bionic/libc/other/ |
test_timer_create2.c | 53 struct itimerspec ts, ots; local 65 ts.it_value.tv_sec = 3; 66 ts.it_value.tv_nsec = 0; 67 ts.it_interval.tv_sec = seconds; 68 ts.it_interval.tv_nsec = 0; 69 if (timer_settime (tid, TIMER_ABSTIME, &ts, &ots) < 0)
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEDisplacementMap.cpp | 146 static TextStream& operator<<(TextStream& ts, const ChannelSelectorType& type) 150 ts << "UNKNOWN"; 153 ts << "RED"; 156 ts << "GREEN"; 159 ts << "BLUE"; 162 ts << "ALPHA"; 165 return ts; 168 TextStream& FEDisplacementMap::externalRepresentation(TextStream& ts, int indent) const 170 writeIndent(ts, indent); 171 ts << "[feDisplacementMap" [all...] |
FEDiffuseLighting.cpp | 129 TextStream& FEDiffuseLighting::externalRepresentation(TextStream& ts, int indent) const 131 writeIndent(ts, indent); 132 ts << "[feDiffuseLighting"; 133 FilterEffect::externalRepresentation(ts); 134 ts << " surfaceScale=\"" << m_surfaceScale << "\" " 137 inputEffect(0)->externalRepresentation(ts, indent + 1); 138 return ts;
|
FEOffset.cpp | 102 TextStream& FEOffset::externalRepresentation(TextStream& ts, int indent) const 104 writeIndent(ts, indent); 105 ts << "[feOffset"; 106 FilterEffect::externalRepresentation(ts); 107 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n"; 108 inputEffect(0)->externalRepresentation(ts, indent + 1); 109 return ts;
|
FESpecularLighting.cpp | 144 TextStream& FESpecularLighting::externalRepresentation(TextStream& ts, int indent) const 146 writeIndent(ts, indent); 147 ts << "[feSpecularLighting"; 148 FilterEffect::externalRepresentation(ts); 149 ts << " surfaceScale=\"" << m_surfaceScale << "\" " 152 inputEffect(0)->externalRepresentation(ts, indent + 1); 153 return ts;
|
FETile.cpp | 97 TextStream& FETile::externalRepresentation(TextStream& ts, int indent) const 99 writeIndent(ts, indent); 100 ts << "[feTile"; 101 FilterEffect::externalRepresentation(ts); 102 ts << "]\n"; 103 inputEffect(0)->externalRepresentation(ts, indent + 1); 105 return ts;
|
FEColorMatrix.cpp | 202 static TextStream& operator<<(TextStream& ts, const ColorMatrixType& type) 206 ts << "UNKNOWN"; 209 ts << "MATRIX"; 212 ts << "SATURATE"; 215 ts << "HUEROTATE"; 218 ts << "LUMINANCETOALPHA"; 221 return ts; 224 TextStream& FEColorMatrix::externalRepresentation(TextStream& ts, int indent) const 226 writeIndent(ts, indent); 227 ts << "[feColorMatrix" [all...] |
FEComposite.cpp | 263 static TextStream& operator<<(TextStream& ts, const CompositeOperationType& type) 267 ts << "UNKNOWN"; 270 ts << "OVER"; 273 ts << "IN"; 276 ts << "OUT"; 279 ts << "ATOP"; 282 ts << "XOR"; 285 ts << "ARITHMETIC"; 288 return ts; 291 TextStream& FEComposite::externalRepresentation(TextStream& ts, int indent) cons [all...] |
/frameworks/native/libs/cpustats/ |
ThreadCpuUsage.cpp | 58 struct timespec ts; local 59 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 63 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 64 (ts.tv_nsec - mPreviousTs.tv_nsec); 67 mPreviousTs = ts; 101 struct timespec ts; local 103 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 109 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 110 (ts.tv_nsec - mPreviousTs.tv_nsec); 112 mPreviousTs = ts; 132 struct timespec ts; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 41 private Timestamp ts = new Timestamp(now, cpath); field in class:CodeSignerTest 48 new CodeSigner(null, ts); 67 CodeSigner one = new CodeSigner(cpath, ts); 68 CodeSigner two = new CodeSigner(cpath, ts); 99 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts); 107 new CodeSigner(cpath, ts).toString();
|
/external/llvm/utils/lit/lit/ |
discovery.py | 38 ts, relative = search(parent) 39 return (ts, relative + (base,)) 70 ts, relative = search(item) 71 return ts, tuple(relative + tuple(components)) 73 def getLocalConfig(ts, path_in_suite, litConfig, cache): 77 parent = ts.config 82 source_path = ts.getSourcePath(path_in_suite) 91 key = (ts, path_in_suite) 101 ts,path_in_suite = getTestSuite(path, litConfig, testSuiteCache) 102 if ts is None [all...] |
/external/libffi/testsuite/libffi.call/ |
struct1.c | 17 static test_structure_1 struct1(test_structure_1 ts) 19 ts.uc++; 20 ts.d--; 21 ts.ui++; 23 return ts;
|
struct7.c | 16 static test_structure_7 struct7 (test_structure_7 ts) 18 ts.f1 += 1; 19 ts.f2 += 1; 20 ts.d += 1; 22 return ts;
|
struct8.c | 17 static test_structure_8 struct8 (test_structure_8 ts) 19 ts.f1 += 1; 20 ts.f2 += 1; 21 ts.f3 += 1; 22 ts.f4 += 1; 24 return ts;
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_DicTraverseSession.cpp | 34 void *ts = reinterpret_cast<void *>(traverseSession); local 37 DicTraverseWrapper::initDicTraverseSession(ts, dict, 0, 0); 42 DicTraverseWrapper::initDicTraverseSession(ts, dict, prevWord, previousWordLength); 46 void *ts = reinterpret_cast<void *>(traverseSession); local 47 DicTraverseWrapper::releaseDicTraverseSession(ts);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
JUnitCodeGen.java | 190 for ( gUnitTestSuite ts: grammarInfo.getRuleTestSuites() ) { 192 for ( gUnitTestInput input: ts.testSuites.keySet() ) { // each rule may contain multiple tests 196 if ( ts.testSuites.get(input).getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getRuleName()) ) { 198 String outputString = ts.testSuites.get(input).getText(); 199 testRuleMethodST.setAttribute("methodName", "test"+changeFirstCapital(ts.getRuleName())+i); 200 testRuleMethodST.setAttribute("testRuleName", '"'+ts.getRuleName()+'"'); 202 testRuleMethodST.setAttribute("returnType", ruleWithReturn.get(ts.getRuleName())); 208 if ( ts.isLexicalRule() ) testRuleName = ts.getLexicalRuleName() [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
CodeSigner_ImplTest.java | 41 private Timestamp ts = new Timestamp(now, cpath); field in class:CodeSigner_ImplTest 47 assertTrue(new CodeSigner(cpath, ts).hashCode() == (cpath.hashCode() ^ ts
|
/external/bluetooth/bluedroid/hci/src/ |
lpm.c | 133 struct itimerspec ts; local 154 ts.it_value.tv_sec = bt_lpm_cb.timeout_ms/1000; 155 ts.it_value.tv_nsec = 1000*(bt_lpm_cb.timeout_ms%1000); 156 ts.it_interval.tv_sec = 0; 157 ts.it_interval.tv_nsec = 0; 159 status = timer_settime(bt_lpm_cb.timer_id, 0, &ts, 0); 177 struct itimerspec ts; local 181 ts.it_value.tv_sec = 0; 182 ts.it_value.tv_nsec = 0; 183 ts.it_interval.tv_sec = 0 [all...] |
/external/clang/test/SemaTemplate/ |
alignas.cpp | 9 template<typename T, typename ...Ts> 10 constexpr auto max(T t, Ts ...ts) -> decltype(max(t, max(ts...))) { 11 return max(t, max(ts...));
|
/external/dropbear/ |
scpmisc.h | 64 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ 65 (ts)->tv_sec = (tv)->tv_sec; \ 66 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
|
/external/webkit/LayoutTests/fast/events/touch/script-tests/ |
document-create-touch-list.js | 22 ts = ev; 23 shouldBe("ts.touches.length", "2"); 24 shouldBe("ts.touches[0].identifier", "12341"); 25 shouldBe("ts.touches[0].clientX", "60"); 26 shouldBe("ts.touches[1].screenY", "120"); 27 shouldBe("ts.ctrlKey", "true");
|
/external/chromium/chrome/browser/ui/webui/ |
most_visited_handler.cc | 123 history::TopSites* ts = profile->GetTopSites(); local 124 if (ts) 125 has_blacklisted_urls = ts->HasBlacklistedItems(); 138 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 139 if (ts) { 140 ts->GetMostVisitedURLs( 164 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 165 if (ts) 166 ts->RemoveBlacklistedURL(GURL(url)); 174 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites() local 214 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 225 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 303 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 366 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
CodeSignerTest.java | 45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath); local 46 return new Object[] { new CodeSigner(cpath, ts),
|
/external/eigen/bench/ |
BenchTimer.h | 128 timespec ts; 129 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); 130 return double(ts.tv_sec) + 1e-9 * double(ts.tv_nsec); 143 timespec ts; 144 clock_gettime(CLOCK_REALTIME, &ts); 145 return double(ts.tv_sec) + 1e-9 * double(ts.tv_nsec);
|
/system/core/toolbox/ |
date.c | 17 struct timespec ts; local 38 ts.tv_sec = t; 39 ts.tv_nsec = 0; 40 ioctl(fd, ANDROID_ALARM_SET_RTC, &ts); 50 struct timespec ts; local 119 ts.tv_sec = tv.tv_sec; 120 ts.tv_nsec = tv.tv_usec * 1000; 121 res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts);
|