/external/ltp/utils/ffsb-6.0-rc2/ |
D | rwlock.c | 26 void init_rwlock(struct rwlock *rw) in init_rwlock() argument 28 rw->n_readers = 0; in init_rwlock() 29 pthread_mutex_init(&rw->plock, NULL); in init_rwlock() 30 pthread_cond_init(&rw->pcond, NULL); in init_rwlock() 32 rw->n_write_waiting = 0; in init_rwlock() 33 rw->n_read_waiting = 0; in init_rwlock() 34 rw->writer_tid = -1; in init_rwlock() 38 void rw_lock_read(struct rwlock *rw) in rw_lock_read() argument 40 pthread_mutex_lock(&rw->plock); in rw_lock_read() 42 rw->n_read_waiting++; in rw_lock_read() [all …]
|
D | rwlock.h | 38 void init_rwlock(struct rwlock *rw); 40 void rw_lock_read(struct rwlock *rw); 41 void rw_lock_write(struct rwlock *rw); 43 void rw_unlock_read(struct rwlock *rw); 44 void rw_unlock_write(struct rwlock *rw); 46 int rw_trylock_read(struct rwlock *rw); 47 int rw_trylock_write(struct rwlock *rw);
|
/external/compiler-rt/test/tsan/ |
D | unaligned_race.cc | 21 static NOINLINE void access(volatile char *p, int sz, int rw) { in access() argument 22 if (rw) { in access() 49 static NOINLINE void access3(bool main, int sz1, bool rw, volatile char *p) { in access3() argument 55 if (rw) { in access3() 66 access2(bool main, int sz1, int off2, bool rw, volatile char *obj) { in access2() argument 68 access3<off, 0>(main, sz1, rw, obj); in access2() 70 access3<off, 1>(main, sz1, rw, obj); in access2() 72 access3<off, 2>(main, sz1, rw, obj); in access2() 74 access3<off, 3>(main, sz1, rw, obj); in access2() 76 access3<off, 4>(main, sz1, rw, obj); in access2() [all …]
|
D | unaligned_norace.cc | 18 static void access(char *p, int sz, int rw) { in access() argument 19 if (rw) { in access() 50 for (int rw = 0; rw < 2; rw++) { in Test() local 60 access(p, sz2, rw); in Test()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
D | archive-toc.test | 6 GNU: rw-r--r-- 500/500 8 2004-11-19 02:57:37.000000000 evenlen 7 GNU-NEXT: rw-r--r-- 500/500 7 2004-11-19 02:57:21.000000000 oddlen 9 GNU-NEXT: rw-r--r-- 500/500 2280 2004-11-19 03:04:30.000000000 IsNAN.o 16 OSX: rw-r--r-- 501/501 8 2004-11-19 02:57:37.000000000 evenlen 17 OSX-NEXT: rw-r--r-- 501/501 8 2004-11-19 02:57:21.000000000 oddlen 18 OSX-NEXT: rw-r--r-- 502/502 1465 2010-02-04 06:59:14.000000000 very_long_bytecode_file_name.bc 19 OSX-NEXT: rw-r--r-- 501/501 2280 2004-11-19 04:32:06.000000000 IsNAN.o 27 CHECK: rw-r--r-- 1002/102 8 2004-11-19 03:24:02.000000000 evenlen 28 CHECK-NEXT: rw-r--r-- 1002/102 7 2004-11-19 03:24:02.000000000 oddlen 30 CHECK-NEXT: rw-r--r-- 1002/102 2280 2004-11-19 03:24:02.000000000 IsNAN.o [all …]
|
/external/llvm/test/Object/ |
D | archive-toc.test | 4 GNU: rw-r--r-- 500/500 8 2004-11-19 02:57:37.000000000 evenlen 5 GNU-NEXT: rw-r--r-- 500/500 7 2004-11-19 02:57:21.000000000 oddlen 7 GNU-NEXT: rw-r--r-- 500/500 2280 2004-11-19 03:04:30.000000000 IsNAN.o 14 OSX: rw-r--r-- 501/501 8 2004-11-19 02:57:37.000000000 evenlen 15 OSX-NEXT: rw-r--r-- 501/501 8 2004-11-19 02:57:21.000000000 oddlen 16 OSX-NEXT: rw-r--r-- 502/502 1465 2010-02-04 06:59:14.000000000 very_long_bytecode_file_name.bc 17 OSX-NEXT: rw-r--r-- 501/501 2280 2004-11-19 04:32:06.000000000 IsNAN.o 25 CHECK: rw-r--r-- 1002/102 8 2004-11-19 03:24:02.000000000 evenlen 26 CHECK-NEXT: rw-r--r-- 1002/102 7 2004-11-19 03:24:02.000000000 oddlen 28 CHECK-NEXT: rw-r--r-- 1002/102 2280 2004-11-19 03:24:02.000000000 IsNAN.o [all …]
|
/external/mesa3d/src/gallium/auxiliary/target-helpers/ |
D | drm_helper.h | 117 struct radeon_winsys *rw; in pipe_r300_create_screen() local 119 rw = radeon_drm_winsys_create(fd, config, r300_screen_create); in pipe_r300_create_screen() 120 return rw ? debug_screen_wrap(rw->screen) : NULL; in pipe_r300_create_screen() 142 struct radeon_winsys *rw; in pipe_r600_create_screen() local 144 rw = radeon_drm_winsys_create(fd, config, r600_screen_create); in pipe_r600_create_screen() 145 return rw ? debug_screen_wrap(rw->screen) : NULL; in pipe_r600_create_screen() 168 struct radeon_winsys *rw; in pipe_radeonsi_create_screen() local 171 rw = amdgpu_winsys_create(fd, config, radeonsi_screen_create); in pipe_radeonsi_create_screen() 173 if (!rw) in pipe_radeonsi_create_screen() 174 rw = radeon_drm_winsys_create(fd, config, radeonsi_screen_create); in pipe_radeonsi_create_screen() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/ |
D | archive-headers.test | 5 # CHECK: rw-r--r-- 204299/200 1416 {{.*}} 1.o 7 # CHECK: rw-r--r-- 204299/200 1224 {{.*}} 2.o 9 # CHECK: rw-r--r-- 204299/200 1312 {{.*}} 3.o 11 # CHECK: rw-r--r-- 204299/200 957 {{.*}} 4.o 13 # CHECK: rw-r--r-- 204299/200 951 {{.*}} 5.o 15 # CHECK: rw-r--r-- 204299/200 951 {{.*}} 6.o 17 # CHECK: rw-r--r-- 204299/200 977 {{.*}} abcdefghijklmnopqrstuvwxyz1.o 19 # CHECK: rw-r--r-- 204299/200 1272 {{.*}} abcdefghijklmnopqrstuvwxyz2.o 21 # CHECK: rw-r--r-- 204299/200 977 {{.*}} abcdefghijklmnopq.o
|
/external/mesa3d/src/gallium/targets/pipe-loader/ |
D | pipe_radeonsi.c | 12 struct radeon_winsys *rw; in create_screen() local 15 rw = amdgpu_winsys_create(fd, config, radeonsi_screen_create); in create_screen() 17 if (!rw) in create_screen() 18 rw = radeon_drm_winsys_create(fd, config, radeonsi_screen_create); in create_screen() 20 return rw ? debug_screen_wrap(rw->screen) : NULL; in create_screen()
|
D | pipe_r600.c | 10 struct radeon_winsys *rw; in create_screen() local 12 rw = radeon_drm_winsys_create(fd, config, r600_screen_create); in create_screen() 13 return rw ? debug_screen_wrap(rw->screen) : NULL; in create_screen()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/ |
D | macho-archive-headers.test | 10 CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED 11 CHECK: -rw-r--r--124/0 860 {{.*}} hello.o 13 CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED 14 CHECK: -rw-r--r--124/0 388 {{.*}} foo.o 17 OFFSETS: 8 -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED 18 OFFSETS: 112 -rw-r--r--124/0 860 {{.*}} hello.o 20 OFFSETS: 8 -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED 21 OFFSETS: 128 -rw-r--r--124/0 388 {{.*}} foo.o
|
/external/llvm/test/tools/llvm-objdump/X86/ |
D | macho-archive-headers.test | 10 CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED 11 CHECK: -rw-r--r--124/0 860 {{.*}} hello.o 13 CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED 14 CHECK: -rw-r--r--124/0 388 {{.*}} foo.o 17 OFFSETS: 8 -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED 18 OFFSETS: 112 -rw-r--r--124/0 860 {{.*}} hello.o 20 OFFSETS: 8 -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED 21 OFFSETS: 128 -rw-r--r--124/0 388 {{.*}} foo.o
|
/external/autotest/client/site_tests/usbpd_GFU/ |
D | usbpd_GFU.py | 95 def _modify_rw(self, port, rw=None, tries=3): argument 107 if not rw: 108 rw = '/dev/null' 117 port.ec_command('flashpd 0 %d %s' % (port.index, rw), 126 if rw != '/dev/null' and not self._is_in_rw(port): 145 def _test_update(self, port, rw=None, tries=3): argument 169 rsp = self._modify_rw(port, rw) 173 (port.index, rw) 226 self._test_update(port, rw=old_rw)
|
/external/clang/test/Rewriter/ |
D | rewrite-nested-blocks-2.mm | 1 …turn-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp 2 …tax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp 3 // grep "static void __FUNC_block_copy_" %t-rw.cpp | count 2 4 …cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp 5 …yntax-only -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp 6 // grep "static void __FUNC_block_copy_" %t-modern-rw.cpp | count 2
|
D | rewrite-static-block.mm | 1 …turn-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp 2 …ang_cc1 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp -emit-llvm -o %t-rw.ll 3 // RUN: FileCheck --input-file=%t-rw.ll %s
|
D | rewrite-line-directive.m | 2 // RUN: %clang -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp 3 // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s 4 // RUN: %clang -g -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp 5 // RUN: FileCheck -check-prefix CHECK-LPG --input-file=%t-rw.cpp %s
|
D | blockcast3.mm | 2 …ve-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %t.mm -o %t-rw.cpp 3 // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s 4 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-modern-rw.cpp 5 // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-modern-rw.cpp %s
|
D | rewrite-unique-block-api.mm | 1 …ctive-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp 2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.c… 3 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp 4 …clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp
|
D | rewrite-byref-in-nested-blocks.mm | 1 …turn-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp 2 …tax-only -fblocks -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp 3 …cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp 4 …y -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-modern-rw.cpp
|
/external/llvm/test/Other/ |
D | umask.ll | 8 ; CHECK000: rw-rw-rw 14 ; CHECK002: rw-rw-r-
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/ |
D | umask.ll | 8 ; CHECK000: rw-rw-rw 14 ; CHECK002: rw-rw-r-
|
/external/elfutils/tests/ |
D | run-prelink-addr-test.sh | 40 00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile52-32.so 42 41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so 44 42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so 70 1000200000-1000201000 rw-p 00000000 fd:11 1 `pwd`/testfile52-64.so 73 3000200000-3000201000 rw-p 00000000 fd:11 2 `pwd`/testfile52-64.prelink.so 76 3800200000-3800201000 rw-p 00000000 fd:11 3 `pwd`/testfile52-64.noshdrs.so 155 00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile54-32.so 157 41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile54-32.prelink.so 159 42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile54-32.noshdrs.so 187 1000200000-1000201000 rw-p 00000000 fd:11 1 `pwd`/testfile54-64.so [all …]
|
D | run-unstrip-M.sh | 36 7f31e812c000-7f31e812d000 rw-p 0018d000 fd:00 917531 /lib64/libc-1.13.so 37 7f31e812d000-7f31e8132000 rw-p 00000000 00:00 0 38 7f31ea3f9000-7f31ea3fc000 rw-s 00000000 00:09 3744 anon_inode:kvm-vcpu 39 7f31ea3fc000-7f31ea3ff000 rw-s 00000000 00:09 3744 anon_inode:kvm-vcpu 40 7f31ea400000-7f31ea402000 rw-p 00000000 00:00 0
|
/external/syzkaller/vendor/google.golang.org/grpc/transport/ |
D | handler_server.go | 71 rw: w, 117 rw http.ResponseWriter member 203 ht.rw.(http.Flusher).Flush() 205 h := ht.rw.Header() 254 h := ht.rw.Header() 275 ht.rw.Write(hdr) 276 ht.rw.Write(data) 278 ht.rw.(http.Flusher).Flush() 286 h := ht.rw.Header() 297 ht.rw.WriteHeader(200) [all …]
|
/external/u-boot/drivers/pci/ |
D | pci_indirect.c | 20 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 22 indirect_##rw##_config_##size(struct pci_controller *hose, \ 31 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \ 35 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 37 indirect_##rw##_config_##size(struct pci_controller *hose, \ 45 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
|