Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 2564) sorted by relevance

12345678910>>...103

/external/mesa3d/src/mesa/main/
Dshared.c60 struct gl_shared_state *shared; in _mesa_alloc_shared_state() local
63 shared = CALLOC_STRUCT(gl_shared_state); in _mesa_alloc_shared_state()
64 if (!shared) in _mesa_alloc_shared_state()
67 _glthread_INIT_MUTEX(shared->Mutex); in _mesa_alloc_shared_state()
69 shared->DisplayList = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
70 shared->TexObjects = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
71 shared->Programs = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
74 shared->DefaultVertexProgram = in _mesa_alloc_shared_state()
80 shared->DefaultFragmentProgram = in _mesa_alloc_shared_state()
86 shared->ATIShaders = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dshared.c60 struct gl_shared_state *shared; in _mesa_alloc_shared_state() local
63 shared = CALLOC_STRUCT(gl_shared_state); in _mesa_alloc_shared_state()
64 if (!shared) in _mesa_alloc_shared_state()
67 _glthread_INIT_MUTEX(shared->Mutex); in _mesa_alloc_shared_state()
69 shared->DisplayList = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
70 shared->TexObjects = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
71 shared->Programs = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
74 shared->DefaultVertexProgram = in _mesa_alloc_shared_state()
80 shared->DefaultFragmentProgram = in _mesa_alloc_shared_state()
86 shared->ATIShaders = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dshared.test12 # $Id: shared.test,v 1.36 2009/03/16 13:19:36 danielk1977 Exp $
34 do_test shared-[expr $av+1].1.0 {
68 # shared-1.*: Simple test to verify basic sanity of table level locking when
70 # shared-2.*: Test that a read transaction can co-exist with a
73 # shared-3.*: Simple test of read-uncommitted mode.
74 # shared-4.*: Check that the schema is locked and unlocked correctly.
75 # shared-5.*: Test that creating/dropping schema items works when databases
77 # shared-6.*: Locking, UNION ALL queries and sub-queries.
78 # shared-7.*: Autovacuum and shared-cache.
79 # shared-8.*: Tests related to the text encoding of shared-cache databases.
[all …]
/external/chromium_org/base/
Dtools_sanity_unittest.cc250 bool *shared = new bool(false); in TEST() local
251 TOOLS_SANITY_TEST_CONCURRENT_THREAD thread1(shared), thread2(shared); in TEST()
253 EXPECT_TRUE(*shared); in TEST()
254 delete shared; in TEST()
258 bool shared = false; in TEST() local
259 ANNOTATE_BENIGN_RACE(&shared, "Intentional race - make sure doesn't show up"); in TEST()
260 TOOLS_SANITY_TEST_CONCURRENT_THREAD thread1(&shared), thread2(&shared); in TEST()
262 EXPECT_TRUE(shared); in TEST()
266 base::subtle::Atomic32 shared = 0; in TEST() local
267 ReleaseStoreThread thread1(&shared); in TEST()
[all …]
/external/chromium_org/third_party/leveldatabase/src/table/
Dblock_builder.cc79 size_t shared = 0; in Add() local
83 while ((shared < min_length) && (last_key_piece[shared] == key[shared])) { in Add()
84 shared++; in Add()
91 const size_t non_shared = key.size() - shared; in Add()
94 PutVarint32(&buffer_, shared); in Add()
99 buffer_.append(key.data() + shared, non_shared); in Add()
103 last_key_.resize(shared); in Add()
104 last_key_.append(key.data() + shared, non_shared); in Add()
Dblock.cc54 uint32_t* shared, in DecodeEntry() argument
58 *shared = reinterpret_cast<const unsigned char*>(p)[0]; in DecodeEntry()
61 if ((*shared | *non_shared | *value_length) < 128) { in DecodeEntry()
65 if ((p = GetVarint32Ptr(p, limit, shared)) == NULL) return NULL; in DecodeEntry()
173 uint32_t shared, non_shared, value_length; in Seek() local
176 &shared, &non_shared, &value_length); in Seek()
177 if (key_ptr == NULL || (shared != 0)) { in Seek()
238 uint32_t shared, non_shared, value_length; in ParseNextKey() local
239 p = DecodeEntry(p, limit, &shared, &non_shared, &value_length); in ParseNextKey()
240 if (p == NULL || key_.size() < shared) { in ParseNextKey()
[all …]
/external/valgrind/main/helgrind/tests/
Dhg03_inherit.c11 static volatile int shared[2]; variable
41 shared[0] = 22; in main()
42 shared[1] = 77; in main()
44 pthread_create(&a, NULL, t1, (void *)&shared[0]); in main()
46 pthread_create(&b, NULL, t2, (void *)&shared[1]); in main()
55 ret += shared[0]; /* no error - a is finished */ in main()
60 ret += shared[1]; /* expect error - b has not finished, in main()
Dhg06_readshared.c6 static int shared; variable
10 return (void *)(long)(shared + 44); in t1()
15 return (void *)(long)(shared + 55); in t2()
22 shared = 22; in main()
30 assert(shared == 22); in main()
/external/chromium_org/v8/src/
Druntime-profiler.cc135 GetICCounts(function->shared()->code(), &typeinfo, &total, &percentage); in Optimize()
170 SharedFunctionInfo* shared = function->shared(); in AttemptOnStackReplacement() local
172 if (!shared->code()->optimizable()) return; in AttemptOnStackReplacement()
177 if (shared->uses_arguments()) return; in AttemptOnStackReplacement()
188 BackEdgeTable::Patch(isolate_, shared->code()); in AttemptOnStackReplacement()
204 ? (function->shared() == JSFunction::cast(sample)->shared()) in LookupSample()
262 SharedFunctionInfo* shared = function->shared(); in OptimizeNow() local
263 Code* shared_code = shared->code(); in OptimizeNow()
303 if (shared->is_toplevel() && in OptimizeNow()
304 (frame_count > 1 || shared->SourceSize() > kMaxToplevelSourceSize)) { in OptimizeNow()
[all …]
Dcompiler.cc84 shared_info_(Handle<SharedFunctionInfo>(closure->shared())), in CompilationInfo()
275 int opt_count = function->shared()->opt_count(); in RecordOptimizationStats()
276 function->shared()->set_opt_count(opt_count + 1); in RecordOptimizationStats()
294 code_size += function->shared()->SourceSize(); in RecordOptimizationStats()
441 Handle<SharedFunctionInfo> shared = info()->shared_info(); in CreateGraph() local
442 shared->EnableDeoptimizationSupport(*unoptimized.code()); in CreateGraph()
445 Logger::LAZY_COMPILE_TAG, &unoptimized, shared); in CreateGraph()
609 void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, in SetExpectedNofPropertiesFromEstimate() argument
612 if (shared->live_objects_may_exist()) return; in SetExpectedNofPropertiesFromEstimate()
631 shared->set_expected_nof_properties(estimate); in SetExpectedNofPropertiesFromEstimate()
[all …]
Dcpu-profiler.cc201 rec->shared = NULL; in CallbackEvent()
215 rec->shared = NULL; in CodeCreateEvent()
229 rec->shared = NULL; in CodeCreateEvent()
236 SharedFunctionInfo* shared, in CodeCreateEvent() argument
247 if (shared->script()->IsScript()) { in CodeCreateEvent()
248 ASSERT(Script::cast(shared->script())); in CodeCreateEvent()
249 Script* script = Script::cast(shared->script()); in CodeCreateEvent()
252 GetBailoutReason(shared->DisableOptimizationReason())); in CodeCreateEvent()
255 rec->shared = shared->address(); in CodeCreateEvent()
262 SharedFunctionInfo* shared, in CodeCreateEvent() argument
[all …]
Ddebug.cc141 rinfo()->data() - debug_info_->shared()->start_position()); in Next()
146 rinfo()->data() - debug_info_->shared()->start_position()); in Next()
192 if (debug_info_->shared()->HasSourceCode()) { in Next()
193 position_ = debug_info_->shared()->end_position() - in Next()
194 debug_info_->shared()->start_position() - 1; in Next()
834 Handle<Script> script(Script::cast(function->shared()->script())); in CompileDebuggerScript()
970 Handle<SharedFunctionInfo> shared = in Break() local
971 Handle<SharedFunctionInfo>(frame->function()->shared()); in Break()
972 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in Break()
1176 bool Debug::HasDebugInfo(Handle<SharedFunctionInfo> shared) { in HasDebugInfo() argument
[all …]
Dallocation-tracker.cc187 SharedFunctionInfo* shared = frame->function()->shared(); in AllocationEvent() local
189 shared->address(), shared->Size(), false); in AllocationEvent()
191 AddFunctionInfo(shared, id); in AllocationEvent()
217 void AllocationTracker::AddFunctionInfo(SharedFunctionInfo* shared, in AddFunctionInfo() argument
223 info->name = names_->GetFunctionName(shared->DebugName()); in AddFunctionInfo()
224 if (shared->script()->IsScript()) { in AddFunctionInfo()
225 Script* script = Script::cast(shared->script()); in AddFunctionInfo()
235 shared->start_position(), in AddFunctionInfo()
/external/chromium_org/tools/gn/
Dtarget_unittest.cc89 Target shared(&settings_, Label(SourceDir("//foo/"), "shared")); in TEST_F() local
90 shared.set_output_type(Target::SHARED_LIBRARY); in TEST_F()
91 shared.config_values().libs().push_back(second_lib); in TEST_F()
92 shared.config_values().lib_dirs().push_back(second_libdir); in TEST_F()
93 shared.deps().push_back(LabelTargetPair(&z)); in TEST_F()
94 shared.OnResolved(); in TEST_F()
96 ASSERT_EQ(2u, shared.all_libs().size()); in TEST_F()
97 EXPECT_EQ(second_lib, shared.all_libs()[0]); in TEST_F()
98 EXPECT_EQ(lib, shared.all_libs()[1]); in TEST_F()
99 ASSERT_EQ(2u, shared.all_lib_dirs().size()); in TEST_F()
[all …]
/external/llvm/test/Object/Inputs/
Dshared.ll1 ; How to make the shared objects from this file:
6 ; llc -mtriple=i386-linux-gnu shared.ll -filetype=obj -o tmp32.o -relocation-model=pic
7 ; ld -melf_i386 -shared tmp32.o -o shared-object-test.elf-i386 $LDARGS
10 ; llc -mtriple=x86_64-linux-gnu shared.ll -filetype=obj -o tmp64.o -relocation-model=pic
11 ; ld -melf_x86_64 -shared tmp64.o -o shared-object-test.elf-x86-64 $LDARGS
/external/chromium_org/third_party/leveldatabase/src/db/
Ddb_bench.cc292 SharedState* shared; member
534 SharedState* shared; member
541 SharedState* shared = arg->shared; in ThreadBody() local
544 MutexLock l(&shared->mu); in ThreadBody()
545 shared->num_initialized++; in ThreadBody()
546 if (shared->num_initialized >= shared->total) { in ThreadBody()
547 shared->cv.SignalAll(); in ThreadBody()
549 while (!shared->start) { in ThreadBody()
550 shared->cv.Wait(); in ThreadBody()
559 MutexLock l(&shared->mu); in ThreadBody()
[all …]
/external/v8/src/
Dcompiler.cc92 shared_info_(Handle<SharedFunctionInfo>(closure->shared())), in CompilationInfo()
158 int opt_count = function->shared()->opt_count(); in FinishOptimization()
159 function->shared()->set_opt_count(opt_count + 1); in FinishOptimization()
174 code_size += function->shared()->SourceSize(); in FinishOptimization()
274 Handle<SharedFunctionInfo> shared = info->shared_info(); in MakeCrankshaftCode() local
275 shared->EnableDeoptimizationSupport(*unoptimized.code()); in MakeCrankshaftCode()
278 Logger::LAZY_COMPILE_TAG, &unoptimized, shared); in MakeCrankshaftCode()
376 JSFunction::cast(it.frame()->function())->shared()); in MakeFunctionInfo()
613 Handle<SharedFunctionInfo> shared = info->shared_info(); in CompileLazy() local
614 int compiled_size = shared->end_position() - shared->start_position(); in CompileLazy()
[all …]
Ddebug.cc140 rinfo()->data() - debug_info_->shared()->start_position()); in Next()
145 rinfo()->data() - debug_info_->shared()->start_position()); in Next()
192 if (debug_info_->shared()->HasSourceCode()) { in Next()
193 position_ = debug_info_->shared()->end_position() - in Next()
194 debug_info_->shared()->start_position() - 1; in Next()
790 Handle<Script> script(Script::cast(function->shared()->script())); in CompileDebuggerScript()
922 Handle<SharedFunctionInfo> shared = in Break() local
923 Handle<SharedFunctionInfo>(JSFunction::cast(frame->function())->shared()); in Break()
924 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in Break()
1127 bool Debug::HasDebugInfo(Handle<SharedFunctionInfo> shared) { in HasDebugInfo() argument
[all …]
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1249 struct wpabuf *shared; in dh_derive_shared() local
1256 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
1257 if (shared == NULL) in dh_derive_shared()
1262 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
1263 wpabuf_free(shared); in dh_derive_shared()
1267 wpabuf_put(shared, shared_len); in dh_derive_shared()
1268 wpa_hexdump_buf_key(MSG_DEBUG, "DH: shared key", shared); in dh_derive_shared()
1270 return shared; in dh_derive_shared()
/external/llvm/test/Object/
Dobjdump-symbol-table.test7 RUN: llvm-objdump -t %p/Inputs/shared-object-test.elf-i386 \
8 RUN: | FileCheck %s -check-prefix ELF-shared
37 ELF-shared: shared-object-test.elf-i386: file format
38 ELF-shared: SYMBOL TABLE:
39 ELF-shared: 00000200 l F .text 00000003 local_func
40 ELF-shared: 000012c4 g .data 00000004 defined_sym
41 ELF-shared: 000001f0 g F .text 00000003 global_func
/external/llvm/test/CodeGen/NVPTX/
Dld-addrspace.ll16 ; PTX32: ld.shared.u8 %r{{[0-9]+}}, [%r{{[0-9]+}}]
18 ; PTX64: ld.shared.u8 %r{{[0-9]+}}, [%rl{{[0-9]+}}]
44 ; PTX32: ld.shared.u16 %r{{[0-9]+}}, [%r{{[0-9]+}}]
46 ; PTX64: ld.shared.u16 %r{{[0-9]+}}, [%rl{{[0-9]+}}]
72 ; PTX32: ld.shared.u32 %r{{[0-9]+}}, [%r{{[0-9]+}}]
74 ; PTX64: ld.shared.u32 %r{{[0-9]+}}, [%rl{{[0-9]+}}]
100 ; PTX32: ld.shared.u64 %rl{{[0-9]+}}, [%r{{[0-9]+}}]
102 ; PTX64: ld.shared.u64 %rl{{[0-9]+}}, [%rl{{[0-9]+}}]
128 ; PTX32: ld.shared.f32 %f{{[0-9]+}}, [%r{{[0-9]+}}]
130 ; PTX64: ld.shared.f32 %f{{[0-9]+}}, [%rl{{[0-9]+}}]
[all …]
/external/chromium_org/components/autofill/
DREADME3 to enable it to be shared cleanly on iOS.
7 - core/: shared code that does not depend on src/content/ or src/ios/
9 - common/: Code shared by the browser and the renderer
10 - content/: Driver for the shared code based on the content layer.
13 - common/: Code shared by the browser and the renderer.
14 - ios/: Driver for the shared code based on src/ios.
/external/stlport/
DMakefile20 release-shared install-release-shared:
26 .PHONY: all install depend clean clobber distclean check release-shared install-release-shared
/external/chromium_org/third_party/sqlite/src/
Dmkso.sh25 echo gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so
26 gcc -shared *.o $TCLSTUBLIB -o tclsqlite3.so
29 echo gcc -shared *.o -o sqlite3.so
30 gcc -shared *.o -o sqlite3.so
/external/chromium_org/third_party/icu/source/config/
Dmh-qnx10 # Create shared libs that "work" properly.
18 SHAREDLIBCFLAGS = -shared
19 SHAREDLIBCXXFLAGS = -shared
20 # SHAREDLIBCPPFLAGS = -shared
25 #CPPFLAGS+=-shared
40 ## Non-shared intermediate object suffix
70 ## QNX wants the SONAME in the shared lib to match the final "real" filename.

12345678910>>...103