Home
last modified time | relevance | path

Searched refs:writer_count (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/drd/tests/
Dannotate_rwlock.c29 int writer_count; member
42 p->writer_count = 0; in rwlock_init()
51 assert(p->writer_count == 0); in rwlock_destroy()
61 if (p->writer_count == 0) in rwlock_rdlock()
73 assert(p->writer_count >= 0); in rwlock_rdlock()
74 assert(p->reader_count == 0 || p->writer_count == 0); in rwlock_rdlock()
95 p->writer_count++; in rwlock_wrlock()
97 assert(p->writer_count >= 0); in rwlock_wrlock()
98 assert(p->reader_count == 0 || p->writer_count == 0); in rwlock_wrlock()
114 p->writer_count--; in rwlock_unlock()
[all …]
/external/valgrind/helgrind/tests/
Dannotate_rwlock.c39 int writer_count; member
52 p->writer_count = 0; in rwlock_init()
61 assert(p->writer_count == 0); in rwlock_destroy()
71 if (p->writer_count == 0) in rwlock_rdlock()
83 assert(p->writer_count >= 0); in rwlock_rdlock()
84 assert(p->reader_count == 0 || p->writer_count == 0); in rwlock_rdlock()
106 p->writer_count++; in rwlock_wrlock()
108 assert(p->writer_count >= 0); in rwlock_wrlock()
109 assert(p->reader_count == 0 || p->writer_count == 0); in rwlock_wrlock()
127 p->writer_count--; in rwlock_unlock()
[all …]
/external/vulkan-validation-layers/layers/
Dthreading.h51 int writer_count; member
73 use_data->writer_count = 1; in startWrite()
93 use_data->writer_count = 1; in startWrite()
97 use_data->writer_count += 1; in startWrite()
102 use_data->writer_count += 1; in startWrite()
120 use_data->writer_count = 1; in startWrite()
124 use_data->writer_count += 1; in startWrite()
129 use_data->writer_count += 1; in startWrite()
139 uses[object].writer_count -= 1; in finishWrite()
140 if ((uses[object].reader_count == 0) && (uses[object].writer_count == 0)) { in finishWrite()
[all …]
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc721 int writer_count = sizeof(writers) / sizeof(writers[0]); in Write() local
723 if (!dir.AllocateArray(writer_count)) in Write()
728 header.get()->stream_count = writer_count; in Write()
733 for (int i = 0; i < writer_count; ++i) { in Write()
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.cc228 int writer_count = static_cast<int>(sizeof(writers) / sizeof(writers[0])); in Write() local
233 --writer_count; in Write()
236 if (!dir.AllocateArray(writer_count)) in Write()
243 header_ptr->stream_count = writer_count; in Write()
248 for (int i = 0; (result) && (i < writer_count); ++i) { in Write()