/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 { 118 if err := f.checkValid("sync"); err != nil { 122 return &PathError{"sync", f.name, e}
|
file_plan9.go | 223 // Sync commits the current contents of the file to stable storage. 226 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 { 118 if err := f.checkValid("sync"); err != nil { 122 return &PathError{"sync", f.name, e}
|
file_plan9.go | 223 // Sync commits the current contents of the file to stable storage. 226 func (f *File) Sync() error {
|
/external/ltp/testcases/kernel/io/disktest/ |
io.c | 174 int Sync(fd_t fd)
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
CountDownLatch.java | 162 private static final class Sync extends AbstractQueuedSynchronizer { 165 Sync(int count) { 190 private final Sync sync; field in class:CountDownLatch 201 this.sync = new Sync(count); 232 sync.acquireSharedInterruptibly(1); 278 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); 292 sync.releaseShared(1); 303 return sync.getCount() [all...] |
Semaphore.java | 165 private final Sync sync; field in class:Semaphore 172 abstract static class Sync extends AbstractQueuedSynchronizer { 175 Sync(int permits) { 227 static final class NonfairSync extends Sync { 242 static final class FairSync extends Sync { 271 sync = new NonfairSync(permits); 286 sync = fair ? new FairSync(permits) : new NonfairSync(permits); 318 sync.acquireSharedInterruptibly(1); 341 sync.acquireShared(1) [all...] |
/external/r8/src/test/examples/sync/ |
Sync.java | 4 package sync; package 12 public class Sync { 120 Sync.staticSynchronized(index); 123 final Sync sync = new Sync(); local 127 sync.instanceSynchronized(index); 133 sync.manualSynchronized(index); 139 sync.tryCatchSynchronized(index); 145 Sync.throwStaticSynchronized() [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
CTSActivityTestCaseBase.java | 25 private Sync mSync; 26 static class Sync { 34 mSync = new Sync();
|
/bootable/recovery/minui/ |
graphics_adf.cpp | 27 #include <sync/sync.h> 154 void MinuiBackendAdf::Sync(GRSurfaceAdf* surf) { 162 perror("adf sync fence wait error\n"); 178 Sync(&surfaces[current_surface]);
|
/external/webp/src/utils/ |
thread_utils.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_utils.c | 220 // signal to the main thread that we're done (for Sync()) 258 static int Sync(WebPWorker* const worker) { 298 ok = Sync(worker); 338 Init, Reset, Sync, Launch, Execute, End 344 winterface->Sync == NULL || winterface->Launch == NULL ||
|
/test/vts/drivers/hal/libcodecoverage/ |
GcdaFile.cpp | 56 void GcdaFile::Sync(unsigned base, unsigned length) {
|
/cts/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 33 private Sync mSync = new Sync(); 34 private static class Sync { 42 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/libvpx/libvpx/test/ |
vp9_thread_test.cc | 54 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 66 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 71 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 85 EXPECT_FALSE(vpx_get_worker_interface()->sync(&worker_)); 93 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); 139 case 2: winterface.sync = NULL; break; 203 int Sync(VPxWorker *const worker) { return !worker->had_error; } 216 impl::Init, impl::Reset, impl::Sync, impl::Launch, impl::Execute, impl::End
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
MipsISelLowering.h | 86 Sync,
|
/external/toolchain-utils/automation/clients/helper/ |
perforce.py | 178 def Sync(self, revision=None): 182 return cmd.Shell('g4', 'sync', sync_arg)
|
/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;
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
ReentrantLock.java | 110 private final Sync sync; field in class:ReentrantLock 117 abstract static class Sync extends AbstractQueuedSynchronizer { 197 * Sync object for non-fair locks 199 static final class NonfairSync extends Sync { 219 * Sync object for fair locks 221 static final class FairSync extends Sync { 258 sync = new NonfairSync(); 268 sync = fair ? new FairSync() : new NonfairSync(); 286 sync.lock() [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.
|