/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_poll_thread.c | 93 struct timespec ts; local 94 clock_gettime(CLOCK_REALTIME, &ts); 95 ts.tv_sec += 2; 97 rc = pthread_cond_timedwait(&poll_cb->cond_v, &poll_cb->mutex, &ts); 312 struct timespec ts; local 314 clock_gettime(CLOCK_REALTIME, &ts); 315 ts.tv_sec += 2; 316 rc = pthread_cond_timedwait(&poll_cb->cond_v, &poll_cb->mutex, &ts);
|
/external/bluetooth/bluedroid/hci/src/ |
bt_hci_bdroid.c | 144 struct itimerspec ts; local 158 ts.it_value.tv_sec = timeout_ms/1000; 159 ts.it_value.tv_nsec = 1000000*(timeout_ms%1000); 160 ts.it_interval.tv_sec = 0; 161 ts.it_interval.tv_nsec = 0; 163 status = timer_settime(hc_cb.epilog_timer_id, 0, &ts, 0);
|
/external/bluetooth/bluedroid/main/ |
bte_main.c | 369 struct itimerspec ts; local 388 ts.it_value.tv_sec = timeout_ms/1000; 389 ts.it_value.tv_nsec = 1000000*(timeout_ms%1000); 390 ts.it_interval.tv_sec = 0; 391 ts.it_interval.tv_nsec = 0; 393 status = timer_settime(preload_retry_cb.timer_id, 0, &ts, 0);
|
/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/chromium/third_party/libevent/ |
evport.c | 305 struct timespec ts; local 308 ts.tv_sec = tv->tv_sec; 309 ts.tv_nsec = tv->tv_usec * 1000; 310 ts_p = &ts;
|
/external/chromium_org/apps/ |
shell_window_geometry_cache.cc | 127 "ts", base::Int64ToString(it->second.last_change.ToInternalValue())); 264 if (stored_window->GetString("ts", &ts_as_string)) { 265 int64 ts; local 266 if (base::StringToInt64(ts_as_string, &ts)) { 267 window_data.last_change = base::Time::FromInternalValue(ts);
|
/external/chromium_org/chrome/browser/autocomplete/ |
zero_suggest_provider.cc | 366 history::TopSites* ts = profile_->GetTopSites(); local 367 if (ts) { 368 ts->GetMostVisitedURLs(
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
cpdtrtst.cpp | 216 UnicodeSet ts; local 218 retUS = &ct1->getTargetSet(ts); 219 if (retUS != &ts || ts.size() == 0) {
|
/external/chromium_org/third_party/libevent/ |
evport.c | 305 struct timespec ts; local 308 ts.tv_sec = tv->tv_sec; 309 ts.tv_nsec = tv->tv_usec * 1000; 310 ts_p = &ts;
|
/external/chromium_org/third_party/openssl/openssl/crypto/ |
o_time.c | 83 struct tm *ts = NULL; local 89 ts = result; 91 ts = gmtime(timer); 92 if (ts == NULL) 95 memcpy(result, ts, sizeof(struct tm)); 96 ts = result; 99 if (ts == NULL) 221 ts = result; 225 return ts;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
file.c | 472 char *ts, *tp; local 476 ts = tp = (char *) malloc(len + 1); 496 h = _findfirst(ts, &fi); 503 if (_mkdir(ts) == -1) { 511 if (stat(ts, &fi) != -1) { 515 if (mkdir(ts, 0755) == -1) { 526 free(ts);
|
/external/clang/test/Analysis/ |
taint-generic.c | 140 size_t ts; local 141 scanf("%zd", &ts); 143 int *buf1 = (int*)malloc(ts*sizeof(int)); // expected-warning {{Untrusted data is used to specify the buffer size}} 144 char *dst = (char*)calloc(ts, sizeof(char)); //expected-warning {{Untrusted data is used to specify the buffer size}} 145 bcopy(buf1, dst, ts); // expected-warning {{Untrusted data is used to specify the buffer size}} 146 __builtin_memcpy(dst, buf1, (ts + 4)*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 149 char *dst2 = (char*)malloc(ts*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 150 strncat(dst2, dst, ts); // no-warning
|
/external/eigen/Eigen/src/Core/products/ |
TriangularMatrixMatrix.h | 279 Index ts = (IsLower && actual_k2>=cols) ? 0 : actual_kc; local 281 Scalar* geb = blockB+ts*ts; 286 if(ts>0) 322 if(ts>0)
|
/external/icu4c/test/intltest/ |
cpdtrtst.cpp | 216 UnicodeSet ts; local 218 retUS = &ct1->getTargetSet(ts); 219 if (retUS != &ts || ts.size() == 0) {
|
/external/jhead/ |
jhead.c | 133 struct tm ts; local 134 ts = *localtime(&ImageInfo.FileDateTime); 135 strftime(TimeStr, 20, "%Y:%m:%d %H:%M:%S", &ts); [all...] |
/external/junit/src/org/junit/internal/runners/ |
JUnit38ClassRunner.java | 107 TestSuite ts= (TestSuite) test; local 108 String name= ts.getName() == null ? createSuiteDescription(ts) : ts.getName(); 110 int n= ts.testCount(); 112 Description made= makeDescription(ts.testAt(i)); 147 private static String createSuiteDescription(TestSuite ts) { 148 int count= ts.countTestCases(); 149 String example = count == 0 ? "" : String.format(" [example: %s]", ts.testAt(0));
|
/external/libpcap/ |
pcap-win32.c | 198 ULONGLONG ts; local 302 ts = header->ts; 303 pcap_header.ts.tv_sec = (int)(ts >> 32); 304 ts = (ts & 0xffffffffi64) * 1000000; 305 ts += 0x80000000; /* rounding */ 306 pcap_header.ts.tv_usec = (int)(ts >> 32) [all...] |
/external/openssl/crypto/ |
o_time.c | 83 struct tm *ts = NULL; local 89 ts = result; 91 ts = gmtime(timer); 92 if (ts == NULL) 95 memcpy(result, ts, sizeof(struct tm)); 96 ts = result; 99 if (ts == NULL) 221 ts = result; 225 return ts;
|
/external/qemu/ |
arm-semi.c | 103 static inline uint32_t set_swi_errno(TaskState *ts, uint32_t code) 106 ts->swi_errno = errno; 127 TaskState *ts = env->opaque; local 132 ts->swi_errno = err; 184 TaskState *ts = env->opaque; local 186 CPUState *ts = env; local 209 ret = set_swi_errno(ts, open(s, open_modeflags[ARG(1)], 0644)); 218 return set_swi_errno(ts, close(ARG(0))); 258 ret = set_swi_errno(ts, write(ARG(0), s, len)); 275 ret = set_swi_errno(ts, read(ARG(0), s, len)) [all...] |
/external/skia/tests/ |
PathOpsAngleTest.cpp | 242 SkOpSegment* seg, int* ts, const SkPoint& startPt) { 299 ts[0] = 0; 300 ts[1] = 1; 303 ts[0] = tIndex; 306 ts[1] = tIndex; 320 int ts[2]; local 323 setup(set, idx, &seg, ts, test.startPt); 325 angle->set(&seg, ts[0], ts[1]);
|
PathOpsQuadIntersectionTest.cpp | 382 SkIntersections ts; local 387 if (ts.intersect(l1, l2)) {
|
/external/srtp/include/ |
srtp_priv.h | 79 uint32_t ts; /* timestamp */ member in struct:__anon29307 93 uint32_t ts; /* timestamp */ member in struct:__anon29308
|
/external/stressapptest/src/ |
disk_blocks.cc | 136 struct timespec ts; local 140 ts.tv_sec = tp.tv_sec; 141 ts.tv_nsec = tp.tv_usec * 1000; 142 ts.tv_sec += 2; // Wait for 2 seconds. 145 result = pthread_cond_timedwait(&data_condition_, &data_mutex_, &ts);
|
/external/tcpdump/ |
print-dccp.c | 410 u_int32_t *ts; local 486 ts = (u_int32_t *)(option + 2); 487 printf("timestamp %u", (u_int32_t)ntohl(*ts)); 490 ts = (u_int32_t *)(option + 2); 491 printf("timestamp_echo %u", (u_int32_t)ntohl(*ts)); 496 ts = (u_int32_t *)(option + 2); 497 printf("%u", (u_int32_t)ntohl(*ts));
|
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 135 struct timespec ts; local 136 if (!clock_gettime(CLOCK_MONOTONIC, &ts)) { 137 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 141 void NBLog::Writer::logTimestamp(const struct timespec& ts) 146 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 254 void NBLog::LockedWriter::logTimestamp(const struct timespec& ts) 257 Writer::logTimestamp(ts); 320 struct timespec ts; local 333 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); 334 if (ts.tv_sec > maxSec) [all...] |