HomeSort by relevance Sort by last modified time
    Searched defs:shared (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /external/valgrind/main/helgrind/tests/
hg04_race.c 6 static int shared; variable
10 shared++;
hg01_all_ok.c 7 static int shared; variable
12 shared++;
hg06_readshared.c 6 static int shared; variable
10 return (void *)(long)(shared + 44);
15 return (void *)(long)(shared + 55);
22 shared = 22;
30 assert(shared == 22);
hg03_inherit.c 11 static volatile int shared[2]; variable
41 shared[0] = 22;
42 shared[1] = 77;
44 pthread_create(&a, NULL, t1, (void *)&shared[0]);
45 // a steals shared[0] from root thread, so is excl(a)
46 pthread_create(&b, NULL, t2, (void *)&shared[1]);
47 // b steals shared[1] from root thread, so is excl(b)
50 // b's stuff (shared[1]) still belongs to b, so is excl(b)
52 // ret is excl(root), and shared[0] is re-acquired as excl(root)
55 ret += shared[0]; /* no error - a is finished *
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserThread.cpp 49 HTMLParserThread* HTMLParserThread::shared() function in class:WebCore::HTMLParserThread
  /build/core/tasks/
vendor_module_check.mk 45 define expand-required-shared-libraries
51 $(call expand-required-shared-libraries,$(_ersl_new_modules)))
53 $(call expand-required-shared-libraries,$(_vendor_check_modules))
  /external/chromium_org/third_party/leveldatabase/src/table/
block_builder.cc 7 // When we store a key, we drop the prefix shared with the previous
79 size_t shared = 0; local
83 while ((shared < min_length) && (last_key_piece[shared] == key[shared])) {
84 shared++;
91 const size_t non_shared = key.size() - shared;
93 // Add "<shared><non_shared><value_size>" to buffer_
94 PutVarint32(&buffer_, shared);
99 buffer_.append(key.data() + shared, non_shared)
    [all...]
  /sdk/emulator/opengl/tests/ut_renderer/
RendererContext.cpp 23 EGLContext shared = shareCtx == NULL ? EGL_NO_CONTEXT : shareCtx->eglContext(); local
28 ctx = eglCreateContext(dpy, config, shared, context_attributes);
Renderer.cpp 96 RendererContext *shared = NULL; local
100 shared = sctx->second;
107 shared, version);
  /frameworks/av/media/libmedia/
IMediaLogService.cpp 42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) {
45 data.writeStrongBinder(shared->asBinder());
52 virtual void unregisterWriter(const sp<IMemory>& shared) {
55 data.writeStrongBinder(shared->asBinder());
73 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); local
76 registerWriter(shared, size, name);
82 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); local
83 unregisterWriter(shared);
SingleStateQueue.cpp 24 template<typename T> SingleStateQueue<T>::Mutator::Mutator(Shared *shared)
25 : mSequence(0), mShared((Shared *) shared)
28 //shared->init();
33 Shared *shared = mShared; local
36 android_atomic_acquire_store(sequence, &shared->mSequence);
37 shared->mValue = value;
39 android_atomic_release_store(sequence, &shared->mSequence)
65 Shared *shared = mShared; local
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
FileLock.java 27 * can be <em>exclusive</em> or <em>shared</em>. Multiple processes can hold
28 * shared locks on the same region of a file, but only a single process can hold
30 * simultaneously hold a shared lock overlapping the exclusive lock. An
31 * application can determine whether a {@code FileLock} is shared or exclusive
37 * locks held in this process. Locks are shared amongst all threads in the
58 * the platform is adopting advisory locks and always acquire shared locks when
82 // If true then shared, if false then exclusive
83 private final boolean shared; field in class:FileLock
95 * @param shared
96 * the lock's sharing mode of lock; {@code true} is shared,
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GameComponent.java 41 public boolean shared; field in class:GameComponent
45 shared = false;
  /external/chromium/base/
tools_sanity_unittest.cc 117 bool shared = false; local
121 new TOOLS_SANITY_TEST_CONCURRENT_THREAD(&shared);
123 new TOOLS_SANITY_TEST_CONCURRENT_THREAD(&shared);
129 EXPECT_TRUE(shared);
  /external/chromium_org/gpu/config/
gpu_test_config.cc 108 bool shared = false; local
109 for (size_t i = 0; i < config.gpu_vendor_.size() && !shared; ++i) {
112 shared = true;
117 if (!shared)
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
PageScriptDebugServer.cpp 67 PageScriptDebugServer& PageScriptDebugServer::shared() function in class:WebCore::PageScriptDebugServer
  /external/chromium_org/third_party/WebKit/Source/core/loader/
CrossOriginPreflightResultCache.cpp 150 CrossOriginPreflightResultCache& CrossOriginPreflightResultCache::shared() function in class:WebCore::CrossOriginPreflightResultCache
  /external/valgrind/main/drd/
drd_vc.c 167 unsigned shared; local
173 // First count the number of shared thread id's.
175 shared = 0;
183 shared++;
188 new_size = result->size + rhs->size - shared;
  /device/generic/goldfish/opengl/
common.mk 24 emugl-begin-shared-library = $(call emugl-begin-module,$1,SHARED_LIBRARY)
63 # $(call emugl-begin-shared-library,bar)
69 # path and a shared library requirement, and a shared library 'bar' which
232 # Call this function when your shared library must be placed in a non-standard
235 # For example: $(call emugl-set-shared-library-subpath,egl)
236 emugl-set-shared-library-subpath = \
  /sdk/emulator/opengl/
common.mk 24 emugl-begin-host-shared-library = $(call emugl-begin-module,$1,HOST_SHARED_LIBRARY,HOST)
65 # $(call emugl-begin-shared-library,bar)
71 # path and a shared library requirement, and a shared library 'bar' which
231 # Call this function when your shared library must be placed in a non-standard
234 # For example: $(call emugl-set-shared-library-subpath,egl)
235 emugl-set-shared-library-subpath = \
  /bionic/libc/bionic/
semaphore.c 38 * 31-bit signed value and a 1-bit 'shared' flag
59 * for the shared flag.
66 * One bit is used for the shared flag, another one for the
86 /* return the shared bitflag from a semaphore */
165 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local
177 while (__bionic_cmpxchg((int)(old|shared),
178 (int)(new|shared),
189 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local
201 while (__bionic_cmpxchg((int)(old|shared),
202 (int)(new|shared),
219 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local
248 unsigned shared; local
270 unsigned int shared; local
338 unsigned int shared; local
    [all...]
  /build/core/combo/
HOST_darwin-x86.mk 118 define transform-host-o-to-shared-lib-inner
  /external/apache-harmony/auth/src/test/java/unix/org/apache/harmony/auth/module/
UnixLoginModuleTest.java 65 Map shared = new HashMap(); local
70 lm.initialize(null, cbh, shared, options);
77 lm.initialize(subj, null, shared, options);
82 lm.initialize(subj, cbh, shared, null);
  /external/chromium_org/base/process/
process_metrics.h 41 // priv (private): These pages (kbytes) cannot be shared with any other process.
42 // shareable: These pages (kbytes) can be shared with other processes under
44 // shared : These pages (kbytes) are currently shared with at least one
49 // shared: PSS or 0 if the kernel doesn't support this.
54 // shared: PSS or 0 if the kernel doesn't support this.
60 // shared: 0
64 WorkingSetKBytes() : priv(0), shareable(0), shared(0) {}
67 size_t shared; member in struct:base::WorkingSetKBytes
74 // private: These pages cannot be shared with any other process
    [all...]
  /external/chromium_org/base/
tools_sanity_unittest.cc 250 bool *shared = new bool(false); local
251 TOOLS_SANITY_TEST_CONCURRENT_THREAD thread1(shared), thread2(shared);
253 EXPECT_TRUE(*shared);
254 delete shared;
258 bool shared = false; local
259 ANNOTATE_BENIGN_RACE(&shared, "Intentional race - make sure doesn't show up");
260 TOOLS_SANITY_TEST_CONCURRENT_THREAD thread1(&shared), thread2(&shared);
262 EXPECT_TRUE(shared);
266 base::subtle::Atomic32 shared = 0; local
    [all...]

Completed in 436 milliseconds

1 2 3 4 5 6