HomeSort by relevance Sort by last modified time
    Searched refs:sync (Results 26 - 50 of 2467) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
copylock_range.go 10 import "sync"
13 var mu sync.Mutex
16 var s []sync.Mutex
27 for _, mu = range s { // ERROR "range var mu copies lock: sync.Mutex"
29 for _, m := range s { // ERROR "range var m copies lock: sync.Mutex"
31 for i, mu = range s { // ERROR "range var mu copies lock: sync.Mutex"
33 for i, m := range s { // ERROR "range var m copies lock: sync.Mutex"
36 var a [3]sync.Mutex
37 for _, m := range a { // ERROR "range var m copies lock: sync.Mutex"
40 var m map[sync.Mutex]sync.Mute
    [all...]
copylock_func.go 10 import "sync"
12 func OkFunc(*sync.Mutex) {}
13 func BadFunc(sync.Mutex) {} // ERROR "BadFunc passes lock by value: sync.Mutex"
14 func BadFunc2(sync.Map) {} // ERROR "BadFunc2 passes lock by value: sync.Map contains sync.Mutex"
15 func OkRet() *sync.Mutex {}
16 func BadRet() sync.Mutex {} // Don't warn about results
19 OkClosure = func(*sync.Mutex) {
    [all...]
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
copylock_range.go 10 import "sync"
13 var mu sync.Mutex
16 var s []sync.Mutex
27 for _, mu = range s { // ERROR "range var mu copies lock: sync.Mutex"
29 for _, m := range s { // ERROR "range var m copies lock: sync.Mutex"
31 for i, mu = range s { // ERROR "range var mu copies lock: sync.Mutex"
33 for i, m := range s { // ERROR "range var m copies lock: sync.Mutex"
36 var a [3]sync.Mutex
37 for _, m := range a { // ERROR "range var m copies lock: sync.Mutex"
40 var m map[sync.Mutex]sync.Mute
    [all...]
copylock_func.go 10 import "sync"
12 func OkFunc(*sync.Mutex) {}
13 func BadFunc(sync.Mutex) {} // ERROR "BadFunc passes lock by value: sync.Mutex"
14 func BadFunc2(sync.Map) {} // ERROR "BadFunc2 passes lock by value: sync.Map contains sync.Mutex"
15 func OkRet() *sync.Mutex {}
16 func BadRet() sync.Mutex {} // Don't warn about results
19 OkClosure = func(*sync.Mutex) {
    [all...]
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/
octeon@mips32r2-sync.d 2 #name: MIPS32r2 sync instructions
4 #source: mips32r2-sync.s
6 # Check MIPS32r2 sync instructions assembly and disassembly (Octeon).
11 [0-9a-f]+ <[^>]*> 0000000f sync
14 [0-9a-f]+ <[^>]*> 0000020f sync 0x8
19 [0-9a-f]+ <[^>]*> 0000060f sync 0x18
20 [0-9a-f]+ <[^>]*> 0000000f sync
23 [0-9a-f]+ <[^>]*> 0000020f sync 0x8
28 [0-9a-f]+ <[^>]*> 0000060f sync 0x18
  /device/google/contexthub/firmware/os/inc/algos/
time_sync.h 47 void time_sync_reset(time_sync_t *sync);
48 bool time_sync_init(time_sync_t *sync);
49 void time_sync_truncate(time_sync_t *sync, size_t window_size);
50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2);
51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1);
52 void time_sync_hold(time_sync_t *sync, uint8_t count);
ap_hub_sync.h 29 * This implements an AP-HUB time sync algorithm that is expected to improve time sync accuracy by
47 uint8_t state; // internal state of the sync
51 void apHubSyncReset(struct ApHubSync* sync);
54 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime);
57 int64_t apHubSyncGetDelta(struct ApHubSync* sync, uint64_t hubTime);
  /external/mesa3d/src/mesa/main/
syncobj.h 26 * Sync object management.
51 _mesa_get_and_ref_sync(struct gl_context *ctx, GLsync sync, bool incRefCount);
58 _mesa_IsSync(GLsync sync);
61 _mesa_DeleteSync(GLsync sync);
67 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
70 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
73 _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/arc/
nps400-2.s 10 ;; sync
11 sync.rd
12 sync.wr
noargs_a7.s 6 sync
  /external/parameter-framework/upstream/parameter/
HardwareBackSynchronizer.h 42 virtual void sync();
Syncer.h 39 virtual bool sync(CParameterBlackboard &parameterBlackboard, bool bBack,
SimulatedBackSynchronizer.h 46 virtual void sync();
  /prebuilts/go/darwin-x86/test/
assign.go 12 import "sync"
16 sync.Mutex
21 var x, y sync.Mutex
31 var x, y [2]sync.Mutex
41 x := sync.Mutex{0, 0} // ERROR "assignment.*Mutex"
45 x := sync.Mutex{key: 0} // ERROR "(unknown|assignment).*Mutex"
49 x := &sync.Mutex{} // ok
50 var y sync.Mutex // ok
  /prebuilts/go/linux-x86/test/
assign.go 12 import "sync"
16 sync.Mutex
21 var x, y sync.Mutex
31 var x, y [2]sync.Mutex
41 x := sync.Mutex{0, 0} // ERROR "assignment.*Mutex"
45 x := sync.Mutex{key: 0} // ERROR "(unknown|assignment).*Mutex"
49 x := &sync.Mutex{} // ok
50 var y sync.Mutex // ok
  /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...]
  /bionic/libc/arch-arm/syscalls/
sync.S 5 ENTRY(sync) function
16 END(sync)
  /bionic/libc/arch-arm64/syscalls/
sync.S 5 ENTRY(sync) function
14 END(sync)
  /bionic/libc/arch-mips/syscalls/
sync.S 5 ENTRY(sync) function
19 END(sync)
  /bionic/libc/arch-x86_64/syscalls/
sync.S 5 ENTRY(sync) function
15 END(sync)
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PeriodicSyncTest.java 21 PeriodicSync sync = new PeriodicSync(a, "auth", local
24 assertThat(sync.account, is(a));
25 assertThat(sync.authority, equalTo("auth"));
26 assertThat(sync.period, equalTo(120l));
27 assertNotNull(sync.extras);
  /external/skia/src/gpu/gl/
GrGLSemaphore.h 24 GrGLsync sync,
28 sema->setSync(sync);
34 GrGLsync sync() const { return fSync; } function in class:GrGLSemaphore
35 void setSync(const GrGLsync& sync) { fSync = sync; }
  /external/skqp/src/gpu/gl/
GrGLSemaphore.h 24 GrGLsync sync,
28 sema->setSync(sync);
34 GrGLsync sync() const { return fSync; } function in class:GrGLSemaphore
35 void setSync(const GrGLsync& sync) { fSync = sync; }
  /external/e2fsprogs/include/mingw/
unistd.h 12 // no-oped sync
13 __inline void sync(void){}; function

Completed in 283 milliseconds

12 3 4 5 6 7 8 91011>>