/external/toybox/toys/posix/ |
cpio.c | 208 struct timespec times[2]; local 210 memset(times, 0, sizeof(struct timespec)*2); 211 times[0].tv_sec = times[1].tv_sec = timestamp; 212 err = utimensat(AT_FDCWD, name, times, AT_SYMLINK_NOFOLLOW);
|
cp.c | 59 timestamps - file creation, modification, and access times. 331 struct timespec times[] = {try->st.st_atim, try->st.st_mtim}; local 333 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW); 334 else futimens(fdout, times);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
KernelUidCpuActiveTimeReaderTest.java | 64 final long[][] times = increaseTime(new long[uids.length][cores]); local 65 when(mProcReader.readBytes()).thenReturn(getUidTimesBytes(uids, times)); 68 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times[i])); 74 final long[][] times1 = increaseTime(times); 78 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times1[i], times[i]))); 111 final long[][] times = increaseTime(new long[uids.length][cores]); local 112 when(mProcReader.readBytes()).thenReturn(getUidTimesBytes(uids, times)); 115 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times[i])); 121 final long[][] times1 = increaseTime(times); 134 final long[][] times = increaseTime(new long[uids.length][cores]) local [all...] |
/frameworks/native/cmds/installd/tests/ |
installd_cache_test.cpp | 79 struct utimbuf times; local 80 times.actime = times.modtime = std::time(0) + time; 81 ::utime(fullPath, ×);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
Matrix.java | 160 public Matrix times(double scalar) { method in class:Matrix 161 return times(scalar, new Matrix(n, m)); 172 public Matrix times(double scalar, Matrix result) { method in class:Matrix
|
/system/core/logd/ |
LogReader.cpp | 214 LastLogTimes& times = mLogbuf.mTimes; local 216 LastLogTimes::iterator it = times.begin(); 217 while (it != times.end()) { 220 times.erase(it);
|
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
GLPrimitiveActivity.java | 133 double[] times = new double[2]; local 142 success = startBenchmark(workload, mNumFrames, times); 148 mFpsValues[i] = mNumFrames * 1000.0f / (times[1] - times[0]);
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
RobotSpeakTtsService.java | 260 final int times = SAMPLING_RATE_HZ / waveLength; local 262 for (int j = 0; j < times; ++j) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
pybench.py | 214 times = []
variable in class:Test 236 self.times = []
298 # Check the measured times
330 'test times are < 10ms')
335 self.times.append(eff_time)
370 runs = len(self.times)
373 min_time = min(self.times)
374 total_time = reduce(operator.add, self.times, 0.0)
[all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
ShortDuration.java | 133 public abstract ShortDuration times(long multiplicand); method in class:ShortDuration 142 public abstract ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode); method in class:ShortDuration 175 @Override public ShortDuration times(long multiplicand) { 178 @Override public ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode) { 227 @Override public ShortDuration times(long multiplicand) { method in class:ShortDuration.PositiveShortDuration 237 @Override public ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode) { method in class:ShortDuration.PositiveShortDuration
|
/external/easymock/src/org/easymock/ |
MockControl.java | 191 * number of times, and will react by returning silently.
193 * @param times
194 * the number of times that the call is expected.
200 public void setVoidCallable(int times) {
203 .times(times);
208 * number of times, and will react by throwing the provided Throwable.
212 * @param times
213 * the number of times that the call is expected.
223 public void setThrowable(Throwable throwable, int times) {
348 .times(minCount, maxCount); method [all...] |
/external/easymock/src/org/easymock/internal/ |
ReplayState.java | 131 public void times(Range range) {
method in class:ReplayState
|
/external/gemmlowp/test/ |
benchmark_meta_gemm.cc | 113 void print_summary(std::vector<double>* times, bool full) { 114 std::sort(times->begin(), times->end()); 120 const size_t count_trimmed = times->size() * trim_ratio; 124 const size_t count_best = times->size() * best_ratio; 126 for (size_t i = 0; i < times->size(); i++) { 127 sum_times += (*times)[i]; 128 if (i >= count_trimmed && i < times->size() - count_trimmed) { 129 sum_times_trimmed += (*times)[i]; 133 sum_times_best += (*times)[i] 161 std::vector<double> times; local 180 std::vector<double> times; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BasicTimeZone.java | 65 * This method returns true when all of transition times, from/to standard 84 * This method returns true when all of transition times, from/to standard 291 // Check if the entire start times to be added 299 long[] times = tar.getStartTimes(); local 302 for (idx = 0; idx < times.length; idx++) { 303 t = times[idx]; 314 int asize = times.length - idx; 317 System.arraycopy(times, idx, newtimes, 0, asize);
|
/external/libchrome/base/files/ |
file_posix.cc | 56 int CallFutimes(PlatformFile file, const struct timeval times[2]) { 62 ts_times[0].tv_sec = times[0].tv_sec; 63 ts_times[0].tv_nsec = times[0].tv_usec * 1000; 64 ts_times[1].tv_sec = times[1].tv_sec; 65 ts_times[1].tv_nsec = times[1].tv_usec * 1000; 69 return futimes(file, times); 97 int CallFutimes(PlatformFile file, const struct timeval times[2]) { 345 timeval times[2]; local 346 times[0] = last_access_time.ToTimeVal(); 347 times[1] = last_modified_time.ToTimeVal() [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_program.c | 385 * bytes times the given \p thread_count. 503 /* I sometimes want to print things that aren't the 3 shader times. 546 /* Work back from the sorted pointers times to a time to print. */ 610 uint32_t *times = bo_map + i * 3 * SHADER_TIME_STRIDE; local 612 brw->shader_time.cumulative[i].time += times[SHADER_TIME_STRIDE * 0 / 4]; 613 brw->shader_time.cumulative[i].written += times[SHADER_TIME_STRIDE * 1 / 4]; 614 brw->shader_time.cumulative[i].reset += times[SHADER_TIME_STRIDE * 2 / 4];
|
/external/mockito/src/main/java/org/mockito/ |
Mockito.java | 219 * of how many times it is called. </li> 222 * the same arguments many times. 301 * mockedList.add("three times"); 302 * mockedList.add("three times"); 303 * mockedList.add("three times"); 305 * //following two verifications work exactly the same - times(1) is used by default 307 * verify(mockedList, times(1)).add("once"); 310 * verify(mockedList, times(2)).add("twice"); 311 * verify(mockedList, times(3)).add("three times"); 2607 public static VerificationMode times(int wantedNumberOfInvocations) { method in class:Mockito [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
SyncSampleIntersectFinderImpl.java | 73 List<long[]> times = getSyncSamplesTimestamps(movie, track); local 74 final long[] commonIndices = getCommonIndices(track.getSyncSamples(), getTimes(track, movie), track.getTrackMetaData().getTimescale(), times.toArray(new long[times.size()][])); 163 List<long[]> times = new LinkedList<long[]>(); local 169 times.add(currentTrackTimes); 173 return times; 183 for (long[] times : otherTracksTimes) { 184 foundInEveryRef &= (Arrays.binarySearch(times, syncSampleTimes[i]) >= 0); 195 // nuSyncSampleTimes: Contains the times of all sync samples
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
Fonts.py | 55 times = kFontIDTimes variable
|
/external/python/cpython2/Tools/pybench/ |
pybench.py | 214 times = [] variable in class:Test 236 self.times = [] 298 # Check the measured times 330 'test times are < 10ms') 335 self.times.append(eff_time) 370 runs = len(self.times) 373 min_time = min(self.times) 374 total_time = reduce(operator.add, self.times, 0.0)
|
/external/python/cpython3/Tools/pybench/ |
pybench.py | 223 times = [] variable in class:Test 245 self.times = [] 307 # Check the measured times 339 'test times are < 10ms') 344 self.times.append(eff_time) 379 runs = len(self.times) 382 min_time = min(self.times) 383 total_time = sum(self.times)
|
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 52 final long[] times = new long[count]; local 62 times[index] = p.timestamp; 78 timestamps = times; 87 private GestureStroke(RectF bbx, float len, float[] pts, long[] times) { 91 timestamps = times.clone(); 202 final long[] times = timestamps; local 214 out.writeLong(times[i / 2]);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
Quaternion.java | 97 public Quaternion times(Quaternion b) {
method in class:Quaternion 113 return a.inverse().times(b);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
Inet6AddressTest.java | 793 int times = bytes.length \/ 4; local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
InputPointersTests.java | 34 assertNotNull("new instance times", src.getTimes()); 42 final int[] times = src.getXCoordinates(); local 49 assertNotSame("times after reset", times, src.getTimes()); 71 assertEquals("times at " + i, time, src.getTimes()[i]); 94 assertEquals("times at " + i, time, src.getTimes()[i]); 114 assertSame("times after set", dst.getTimes(), src.getTimes()); 133 assertNotSame("times after copy", dst.getTimes(), src.getTimes()); 141 assertIntArrayEquals("times values after copy", 185 assertIntArrayEquals("times after append zero" [all...] |