/prebuilts/go/darwin-x86/src/os/ |
file_posix.go | 114 // Sync commits the current contents of the file to stable storage. 117 func (f *File) Sync() error {
|
file_plan9.go | 224 // Sync commits the current contents of the file to stable storage. 227 func (f *File) Sync() error {
|
/prebuilts/go/linux-x86/src/os/ |
file_posix.go | 114 // Sync commits the current contents of the file to stable storage. 117 func (f *File) Sync() error {
|
file_plan9.go | 224 // Sync commits the current contents of the file to stable storage. 227 func (f *File) Sync() error {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CountDownLatch.java | 133 private static final class Sync extends AbstractQueuedSynchronizer { 136 Sync(int count) { 161 private final Sync sync; field in class:CountDownLatch 172 this.sync = new Sync(count); 203 sync.acquireSharedInterruptibly(1); 249 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); 263 sync.releaseShared(1); 274 return sync.getCount() [all...] |
Semaphore.java | 136 private final Sync sync; field in class:Semaphore 143 abstract static class Sync extends AbstractQueuedSynchronizer { 146 Sync(int permits) { 198 static final class NonfairSync extends Sync { 213 static final class FairSync extends Sync { 242 sync = new NonfairSync(permits); 257 sync = fair ? new FairSync(permits) : new NonfairSync(permits); 289 sync.acquireSharedInterruptibly(1); 312 sync.acquireShared(1) [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
CTSActivityTestCaseBase.java | 24 private Sync mSync; 25 static class Sync { 33 mSync = new Sync();
|
/external/webp/src/utils/ |
thread.h | 61 int (*Sync)(WebPWorker* const worker); 64 // function, but not be changed afterward until the next call to Sync(). 68 // mechanism while still using the WebPWorker structs. Sync() must
|
thread.c | 221 // signal to the main thread that we're done (for Sync()) 260 static int Sync(WebPWorker* const worker) { 300 ok = Sync(worker); 340 Init, Reset, Sync, Launch, Execute, End 346 winterface->Sync == NULL || winterface->Launch == NULL ||
|
/art/compiler/optimizing/ |
intrinsics.cc | 432 enum Sync { kNoSync, kVolatile, kOrdered }; 433 const Sync sync = local 439 switch (sync) { 449 switch (sync) { 459 switch (sync) {
|
/cts/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 32 private Sync mSync = new Sync(); 33 private static class Sync { 41 mSync = new Sync();
|
/development/testrunner/ |
adb_interface.py | 460 def Sync(self, retry_count=3, runtime_restart=False): 461 """Perform a adb sync. 466 retry_count: number of times to retry sync before failing 467 runtime_restart: stop runtime during sync and restart afterwards, useful 484 output = self.SendCommand("sync", retry_count=retry_count) 492 output = self.SendCommand("sync", retry_count=retry_count) 497 output = self.SendCommand("sync", retry_count=retry_count)
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BufferedTokenStream.cs | 184 Sync(_p); 188 protected virtual void Sync(int i) { 262 Sync(i); 275 Sync(0); 365 Sync(i); 368 Sync(i);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BufferedTokenStream.cs | 212 Sync(_p); 216 protected virtual void Sync(int i) 298 Sync(i); 313 Sync(0); 417 Sync(i); 421 Sync(i);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractFuture.java | 68 private final Sync<V> sync = new Sync<V>(); field in class:AbstractFuture 96 return sync.get(unit.toNanos(timeout)); 116 return sync.get(); 121 return sync.isDone(); 126 return sync.isCancelled(); 131 if (!sync.cancel(mayInterruptIfRunning)) { 160 return sync.wasInterrupted(); 176 * {@link AbstractFuture.Sync#COMPLETED} and invoke the listeners if th [all...] |
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
Sync.java | 35 /** A highly accurate sync method that continually adapts to the system it runs on to provide reliable results. 39 class Sync { 53 /** An accurate sync method that will attempt to run at a constant frame rate. It should be called once every frame. 56 public static void sync (int fps) { method in class:Sync 83 /** This method will initialise the sync method by setting initial values for sleepDurations/yieldDurations and nextFrame. 110 timerAccuracyThread.setName("JGLFW Sync");
|
/external/libvpx/libvpx/test/ |
vp9_thread_test.cc | 58 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 70 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 75 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 89 EXPECT_FALSE(vpx_get_worker_interface()->sync(&worker_)); 97 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 143 case 2: winterface.sync = NULL; break; 207 int Sync(VPxWorker *const worker) { return !worker->had_error; } 220 impl::Init, impl::Reset, impl::Sync, impl::Launch, impl::Execute, impl::End
|
/cts/tests/tests/os/src/android/os/cts/ |
RemoteCallbackListTest.java | 35 private Sync mSync = new Sync(); 71 private static class Sync {
|
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog.h | 111 CProgressSync Sync;
|
ProgressDialog2.h | 240 CProgressSync Sync;
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantLock.java | 82 private final Sync sync; field in class:ReentrantLock 89 abstract static class Sync extends AbstractQueuedSynchronizer { 171 * Sync object for non-fair locks 173 static final class NonfairSync extends Sync { 194 * Sync object for fair locks 196 static final class FairSync extends Sync { 234 sync = new NonfairSync(); 244 sync = fair ? new FairSync() : new NonfairSync(); 262 sync.lock() [all...] |
ReentrantReadWriteLock.java | 196 final Sync sync; field in class:ReentrantReadWriteLock 213 sync = fair ? new FairSync() : new NonfairSync(); 225 abstract static class Sync extends AbstractQueuedSynchronizer { 310 Sync() { 640 * Nonfair version of Sync 642 static final class NonfairSync extends Sync { 660 * Fair version of Sync 662 static final class FairSync extends Sync { 677 private final Sync sync field in class:ReentrantReadWriteLock.ReadLock 891 private final Sync sync; field in class:ReentrantReadWriteLock.WriteLock [all...] |
/system/extras/tests/sdcard/ |
testcase.h | 46 enum Sync {NO_SYNC, FSYNC, SYNC}; 84 Sync sync() const { return mSync; } function in class:android_test::TestCase 85 void setSync(Sync s); 141 Sync mSync; 162 StopWatch *mSyncTimer; // Used to time the sync/fsync calls.
|
/art/runtime/ |
mem_map.cc | 594 bool MemMap::Sync() { [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
zsyscall_dragonfly_amd64.go | 1181 func Sync() (err error) {
|