| /external/aac/libSACdec/src/ |
| sac_tsd.cpp | 201 FDK_INLINE int isTrSlot(const TSD_DATA *pTsdData, const int ts) { 202 return (pTsdData->bsTsdTrPhaseData[ts] >= 0); 303 const int ts, FIXP_DBL *pVdirectReal, 309 if (!isTrSlot(pTsdData, ts)) { 332 const int ts = *pTsdTs; local 334 if (isTrSlot(pTsdData, ts)) { 336 const FIXP_STP *phi = &phiTsd[pTsdData->bsTsdTrPhaseData[ts]]; 337 FDK_ASSERT((pTsdData->bsTsdTrPhaseData[ts] >= 0) && 338 (pTsdData->bsTsdTrPhaseData[ts] < 8)); 340 /* d = d_nonTr + v_direct * exp(j * bsTsdTrPhaseData[ts]/4 * pi ) * [all...] |
| /external/aac/libSACenc/src/ |
| sacenc_onsetdetect.cpp | 274 int i, ts, trCnt, currPos; local 308 for (ts = 0; ts < nTimeSlots; ts++) { 309 env[M + ts] = sumUpCplxPow2( 310 &ppHybridData__FDK[ts][lowerBoundOnsetDetection + 1], 313 envScale[M + ts] = outScale + (hybridDataScale << 1); 356 for (ts = 0; ts < M; ts++) [all...] |
| /external/adhd/cras/src/server/ |
| cras_rstream.c | 201 struct timespec ts; local 204 subtract_timespecs(now, &rstream->last_fetch_ts, &ts); 205 if (timespec_after(&ts, &rstream->longest_fetch_interval)) 206 rstream->longest_fetch_interval = ts;
|
| /external/clang/test/Sema/ |
| struct-decl.c | 16 } *ts; member in struct:s
|
| /external/dhcpcd-6.8.2/ |
| auth.c | 440 struct timespec ts; local 445 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) 447 pack[0] = htonl((uint32_t)ts.tv_sec + JAN_1970); 448 frac = ((double)ts.tv_nsec / 1e9 * 0x100000000ULL);
|
| eloop.c | 524 struct timespec now, ts, *tsp; local 554 timespecsub(&t->when, &now, &ts); 555 tsp = &ts;
|
| /external/dhcpcd-6.8.2/dbus/ |
| dbus-dict.c | 178 const char *tsa, *ts; local 181 ts = DBUS_TYPE_BYTE_AS_STRING; 184 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array); 219 const char *tsa, *ts; local 231 ts = DBUS_TYPE_STRING_AS_STRING; 235 ts = DBUS_TYPE_UINT32_AS_STRING; 247 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array);
|
| /external/fio/ |
| idletime.c | 187 struct timespec ts; local 286 ts.tv_sec = tp.tv_sec + 1; 287 ts.tv_nsec = tp.tv_usec * 1000; 288 pthread_cond_timedwait(&ipt->cond, &ipt->init_lock, &ts); 329 struct timespec ts; local 347 ts.tv_sec = tp.tv_sec + 1; 348 ts.tv_nsec = tp.tv_usec * 1000; 350 pthread_cond_timedwait(&ipt->cond, &ipt->start_lock, &ts);
|
| /external/gemmlowp/profiling/ |
| profiler.h | 271 timespec ts; local 272 ts.tv_sec = 0; 273 ts.tv_nsec = interval; 274 nanosleep(&ts, nullptr);
|
| /external/honggfuzz/linux/ |
| arch.c | 335 static const struct timespec ts = { local 340 int sig = sigtimedwait(&sset_io_chld, NULL, &ts);
|
| /external/icu/icu4c/source/i18n/ |
| collationdatareader.cpp | 415 const CollationSettings &ts = *tailoring.settings; local 419 tailoring.data, ts, fastLatinPrimaries, UPRV_LENGTHOF(fastLatinPrimaries)); 420 if(options == ts.options && ts.variableTop != 0 && 421 reorderCodesLength == ts.reorderCodesLength && 423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && 424 fastLatinOptions == ts.fastLatinOptions && 426 uprv_memcmp(fastLatinPrimaries, ts.fastLatinPrimaries,
|
| /external/libexif/libexif/canon/ |
| exif-mnote-data-canon.c | 123 size_t ts; local 158 ts = *buf_size + s; 161 if (s & 1) ts += 1; 163 sizeof (char) * ts); 165 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteCanon", ts); 169 *buf_size = ts;
|
| /external/libexif/libexif/fuji/ |
| exif-mnote-data-fuji.c | 85 size_t ts; local 126 ts = *buf_size + s; 129 if (s & 1) ts += 1; 130 t = exif_mem_realloc (ne->mem, *buf, ts); 135 *buf_size = ts;
|
| /external/libexif/libexif/olympus/ |
| exif-mnote-data-olympus.c | 106 size_t ts; local 213 ts = *buf_size + s; 215 sizeof (char) * ts); 217 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataOlympus", ts); 221 *buf_size = ts;
|
| /external/libexif/libexif/pentax/ |
| exif-mnote-data-pentax.c | 180 size_t ts = *buf_size + s; local 183 sizeof (char) * ts); 185 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", ts); 189 *buf_size = ts;
|
| /external/libmicrohttpd/src/testspdy/ |
| test_session_timeout.c | 57 struct timespec ts; local 58 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts)) 59 return ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
|
| /external/libxaac/decoder/ |
| ixheaacd_mps_poly_filt.c | 133 WORD32 k, l, ts, ch; local 151 for (ts = 0; ts < self->time_slots; ts++) { 152 ixheaacd_float_to_int32(&self->qmf_out_dir[ch][ts][0].re, ptr_in, 10, 186 self->output_buffer[ch][self->qmf_band_count * ts + k] = (FLOAT32)temp;
|
| ixheaacd_mps_temp_process.c | 84 WORD32 ts, FLOAT32* scale) { 113 FLOAT32 dir_left_re = self->hyb_dir_out[left_ch][ts][n + 7].re; 114 FLOAT32 dir_right_re = self->hyb_dir_out[right_ch][ts][n + 7].re; 115 FLOAT32 dir_left_im = self->hyb_dir_out[left_ch][ts][n + 7].im; 116 FLOAT32 dir_right_im = self->hyb_dir_out[right_ch][ts][n + 7].im; 133 FLOAT32 diff_re = self->hyb_diff_out[ch][ts][n + 7].re; 134 FLOAT32 diff_im = self->hyb_diff_out[ch][ts][n + 7].im; 168 static VOID ixheaacd_mps_subbandtp(ia_mps_dec_state_struct* self, WORD32 ts) { 175 ixheaacd_mps_temp_process_scale_calc(self, ts, scale); 186 self->hyb_dir_out[ch][ts][n].re += self->hyb_diff_out[ch][ts][n].re 217 WORD32 ch, ts, hyb; local [all...] |
| /external/linux-kselftest/tools/testing/selftests/timers/ |
| adjtick.c | 44 unsigned long long ts_to_nsec(struct timespec ts) 46 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; 51 struct timespec ts; local 53 ts.tv_sec = ns/NSEC_PER_SEC; 54 ts.tv_nsec = ns%NSEC_PER_SEC; 56 return ts;
|
| alarmtimer-suspend.c | 100 struct timespec ts; local 102 clock_gettime(alarm_clock_id, &ts); 105 delta_ns = timespec_sub(start_time, ts); 108 printf("ALARM(%i): %ld:%ld latency: %lld ns ", alarmcount, ts.tv_sec, 109 ts.tv_nsec, delta_ns);
|
| inconsistency-check.c | 159 struct timespec ts; local 186 if (!clock_gettime(clockid, &ts)) {
|
| leap-a-day.c | 71 struct timespec timespec_add(struct timespec ts, unsigned long long ns) 73 ts.tv_nsec += ns; 74 while (ts.tv_nsec >= NSEC_PER_SEC) { 75 ts.tv_nsec -= NSEC_PER_SEC; 76 ts.tv_sec++; 78 return ts; 213 struct timespec ts; local 215 if (clock_gettime(CLOCK_TAI, &ts)) { 238 struct timespec ts; local 243 clock_gettime(CLOCK_REALTIME, &ts); [all...] |
| /external/ltp/testcases/kernel/sched/nptl/ |
| nptl01.c | 137 struct timespec ts; local 145 ts.tv_sec = tv.tv_sec; 146 ts.tv_nsec = (tv.tv_usec * 1000) + NSECS_TO_WAIT; 147 ts.tv_sec += ts.tv_nsec / 1000000000; 148 ts.tv_nsec = ts.tv_nsec % 1000000000; 151 if ((ret = pthread_cond_timedwait(cond, mutex, &ts)) != ETIMEDOUT) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
| 2-5.c | 85 struct timespec ts; local 88 ret = clock_gettime(data.cid, &ts); 91 ts.tv_sec += 30; 107 &ts); 142 &ts);
|
| 2-6.c | 155 struct timespec ts; local 157 ret = clock_gettime(data.cid, &ts); 162 ts.tv_sec += 30; 181 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx), &ts);
|