Searched refs:ts (Results 1 – 25 of 59) sorted by relevance
123
37 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); in latinime_initDicTraverseSession() local38 if (!ts) { in latinime_initDicTraverseSession()44 ts->init(dict, &emptyNgramContext, 0 /* suggestOptions */); in latinime_initDicTraverseSession()50 ts->init(dict, &ngramContext, 0 /* suggestOptions */); in latinime_initDicTraverseSession()54 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); in latinime_releaseDicTraverseSession() local55 DicTraverseSession::releaseSessionInstance(ts); in latinime_releaseDicTraverseSession()
45 struct itimerspec ts; in set() local46 ts.it_value.tv_sec = ms / 1000; in set()47 ts.it_value.tv_nsec = (ms % 1000) * 1000000; in set()49 ts.it_interval.tv_sec = 0; in set()50 ts.it_interval.tv_nsec = 0; in set()52 stat = timer_settime(mTimerId, 0, &ts, 0); in set()
134 IkeTrafficSelector ts = in testBuildAndEncodeIkeTrafficSelector() local142 ByteBuffer byteBuffer = ByteBuffer.allocate(ts.selectorLength); in testBuildAndEncodeIkeTrafficSelector()143 ts.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIkeTrafficSelector()179 private static void verifyPersistableBundleEncodeDecodeIsLossless(IkeTrafficSelector ts) { in verifyPersistableBundleEncodeDecodeIsLossless() argument180 PersistableBundle bundle = ts.toPersistableBundle(); in verifyPersistableBundleEncodeDecodeIsLossless()182 assertEquals(ts, resultTs); in verifyPersistableBundleEncodeDecodeIsLossless()282 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidTsType() local298 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidPortRange() local315 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithMismatchedAddressType() local331 IkeTrafficSelector ts = in testBuildIkeTrafficSelectorWithInvalidAddressRange() local
573 struct timespec ts; in EXTNS_GetPresenceCheckStatus() local575 clock_gettime(CLOCK_REALTIME, &ts); in EXTNS_GetPresenceCheckStatus()576 ts.tv_sec += 0; in EXTNS_GetPresenceCheckStatus()577 ts.tv_nsec += 100 * 1000 * 1000; // 100 milisec in EXTNS_GetPresenceCheckStatus()578 if (ts.tv_nsec >= 1000 * 1000 * 1000) { in EXTNS_GetPresenceCheckStatus()579 ts.tv_sec += 1; in EXTNS_GetPresenceCheckStatus()580 ts.tv_nsec = ts.tv_nsec - (1000 * 1000 * 1000); in EXTNS_GetPresenceCheckStatus()583 if (sem_timedwait(&gAuthCmdBuf.semPresenceCheck, &ts)) { in EXTNS_GetPresenceCheckStatus()
67 struct timespec ts; in __write_to_stats_daemon() local79 clock_gettime(CLOCK_REALTIME, &ts); in __write_to_stats_daemon()83 ts.tv_sec = tv.tv_sec; in __write_to_stats_daemon()84 ts.tv_nsec = tv.tv_usec * 1000; in __write_to_stats_daemon()87 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon()
78 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);180 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() argument216 header.realtime.tv_sec = ts->tv_sec; in statsdWrite()217 header.realtime.tv_nsec = ts->tv_nsec; in statsdWrite()
40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
414 public boolean contains(IkeTrafficSelector ts) { in contains() argument415 if (tsType == ts.tsType in contains()416 && ipProtocolId == ts.ipProtocolId in contains()417 && startPort <= ts.startPort in contains()418 && endPort >= ts.endPort in contains()419 && compareInetAddressTo(startingAddress, ts.startingAddress) <= 0 in contains()420 && compareInetAddressTo(endingAddress, ts.endingAddress) >= 0) { in contains()
67 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, INBOUND_TS_KEY)) { in fromPersistableBundle()68 builder.addInboundTrafficSelectors(ts); in fromPersistableBundle()71 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, OUTBOUND_TS_KEY)) { in fromPersistableBundle()72 builder.addOutboundTrafficSelectors(ts); in fromPersistableBundle()
95 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, INBOUND_TS_KEY)) { in fromPersistableBundle()96 builder.addInboundTrafficSelectors(ts); in fromPersistableBundle()99 for (IkeTrafficSelector ts : getTsFromPersistableBundle(in, OUTBOUND_TS_KEY)) { in fromPersistableBundle()100 builder.addOutboundTrafficSelectors(ts); in fromPersistableBundle()
121 for (IkeTrafficSelector ts : trafficSelectors) { in encodeToByteBuffer()122 ts.encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()134 for (IkeTrafficSelector ts : trafficSelectors) { in getPayloadLength()135 len += ts.selectorLength; in getPayloadLength()
50 std::string timestampToString(const std::chrono::system_clock::time_point& ts) { in timestampToString() argument53 const auto time_sec = std::chrono::system_clock::to_time_t(ts); in timestampToString()56 int ms = duration_cast<milliseconds>(ts.time_since_epoch()).count() % 1000; in timestampToString()
166 let mut ts = Duration::from_millis(QUICHE_IDLE_TIMEOUT_MS); in doh_handler() localVariable192 _ = tokio::time::sleep(ts) => { in doh_handler()228 ts = conn.timeout().unwrap_or_else(|| Duration::from_millis(QUICHE_IDLE_TIMEOUT_MS)); in doh_handler()229 info!("next connection timouts {:?}", ts); in doh_handler()
35 std::string timestampToString(const std::chrono::system_clock::time_point& ts);
177 apf_header.ts.tv_sec != bpf_header.ts.tv_sec || in com_android_server_ApfTest_compareBpfApf()178 apf_header.ts.tv_usec != bpf_header.ts.tv_usec || in com_android_server_ApfTest_compareBpfApf()
20 import com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory;21 import com.google.android.exoplayer2.extractor.ts.TsExtractor;
239 Long ts = values.getAsLong(BluetoothShare.TIMESTAMP); in insert() local240 if (ts == null) { in insert()241 ts = System.currentTimeMillis(); in insert()243 filteredValues.put(BluetoothShare.TIMESTAMP, ts); in insert()
457 Long ts = System.currentTimeMillis(); in insertMultipleShare() local474 values.put(BluetoothShare.TIMESTAMP, ts); in insertMultipleShare()
650 public long ts; field in RttManager.RttResult785 sb.append(", ts=" + mResults[i].ts); in toString()833 dest.writeLong(result.ts); in writeToParcel()885 results[i].ts = in.readLong();998 legacyResults[i].ts = result.getRangingTimestampMillis() * 1000; in startRanging()1005 legacyResults[i].ts = SystemClock.elapsedRealtime() * 1000; in startRanging()
30 import com.android.tv.tuner.ts.EventDetector.EventListener;31 import com.android.tv.tuner.ts.TsParser;
30 import com.android.tv.tuner.ts.EventDetector;31 import com.android.tv.tuner.ts.EventDetector.EventListener;
29 import com.android.tv.tuner.ts.EventDetector.EventListener;30 import com.android.tv.tuner.ts.TsParser;
24 import com.android.tv.tuner.ts.EventDetector.EventListener;
289 timespec ts = {.tv_sec = timeout_secs, .tv_nsec = 0}; in waitpid_with_timeout() local290 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, nullptr, &ts)); in waitpid_with_timeout()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...