/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/mesa3d/src/gallium/auxiliary/target-helpers/ |
D | drm_helper.h | 97 struct radeon_winsys *rw; in pipe_r300_create_screen() local 99 rw = radeon_drm_winsys_create(fd, r300_screen_create); in pipe_r300_create_screen() 100 return rw ? debug_screen_wrap(rw->screen) : NULL; in pipe_r300_create_screen() 122 struct radeon_winsys *rw; in pipe_r600_create_screen() local 124 rw = radeon_drm_winsys_create(fd, r600_screen_create); in pipe_r600_create_screen() 125 return rw ? debug_screen_wrap(rw->screen) : NULL; in pipe_r600_create_screen() 148 struct radeon_winsys *rw; in pipe_radeonsi_create_screen() local 151 rw = amdgpu_winsys_create(fd, radeonsi_screen_create); in pipe_radeonsi_create_screen() 153 if (!rw) in pipe_radeonsi_create_screen() 154 rw = radeon_drm_winsys_create(fd, radeonsi_screen_create); in pipe_radeonsi_create_screen() [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/targets/pipe-loader/ |
D | pipe_radeonsi.c | 11 struct radeon_winsys *rw; in create_screen() local 14 rw = amdgpu_winsys_create(fd, radeonsi_screen_create); in create_screen() 16 if (!rw) in create_screen() 17 rw = radeon_drm_winsys_create(fd, radeonsi_screen_create); in create_screen() 19 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, r600_screen_create); in create_screen() 13 return rw ? debug_screen_wrap(rw->screen) : NULL; in create_screen()
|
/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/fio/examples/ |
D | e4defrag2.fio | 21 rw=write 31 rw=write 36 rw=write 45 rw=randwrite 59 rw=randwrite 69 rw=randrw 83 rw=randrw
|
D | tiobench-example.fio | 12 rw=write 16 rw=randwrite 20 rw=read 24 rw=randread
|
D | waitfor.fio | 8 rw=write 16 rw=randread 24 rw=randwrite 32 rw=randread
|
D | falloc.fio | 20 rw=randwrite 28 rw=randtrim 40 rw=write 51 rw=read
|
/external/libvncserver/libvncclient/ |
D | ultra.c | 35 HandleUltraBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleUltraBPP() argument 40 lzo_uint uncompressedBytes = (( rw * rh ) * ( BPP / 8 )); in HandleUltraBPP() 50 …rfbClientLog("ultra error: rectangle has 0 uncomressed bytes ((%dw * %dh) * (%d / 8))\n", rw, rh, … in HandleUltraBPP() 95 if ((rw * rh * (BPP / 8)) != uncompressedBytes) in HandleUltraBPP() 96 … rfbClientLog("Ultra decompressed too little (%d < %d)", (rw * rh * (BPP / 8)), uncompressedBytes); in HandleUltraBPP() 101 CopyRectangle(client, (unsigned char *)client->raw_buffer, rx, ry, rw, rh); in HandleUltraBPP() 115 HandleUltraZipBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleUltraZipBPP() argument 122 lzo_uint uncompressedBytes = ry + (rw * 65535); in HandleUltraZipBPP() 134 …ip error: rectangle has 0 uncomressed bytes (%dy + (%dw * 65535)) (%d rectangles)\n", ry, rw, rx); in HandleUltraZipBPP()
|
D | tight.c | 78 static int InitFilterCopyBPP (rfbClient* client, int rw, int rh); 79 static int InitFilterPaletteBPP (rfbClient* client, int rw, int rh); 80 static int InitFilterGradientBPP (rfbClient* client, int rw, int rh); 92 HandleTightBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleTightBPP() argument 134 FillRectangle(client, rx, ry, rw, rh, fill_colour); in HandleTightBPP() 146 return DecompressJpegRectBPP(client, rx, ry, rw, rh); in HandleTightBPP() 169 bitsPixel = InitFilterCopyBPP(client, rw, rh); in HandleTightBPP() 173 bitsPixel = InitFilterPaletteBPP(client, rw, rh); in HandleTightBPP() 177 bitsPixel = InitFilterGradientBPP(client, rw, rh); in HandleTightBPP() 185 bitsPixel = InitFilterCopyBPP(client, rw, rh); in HandleTightBPP() [all …]
|
/external/llvm/test/Other/ |
D | umask.ll | 8 ; CHECK000: rw-rw-rw 14 ; CHECK002: rw-rw-r-
|
/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
|
/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/valgrind/coregrind/ |
D | vgdb-invoker-ptrace.c | 387 int rw; in acquire_and_suspend_threads() local 418 rw = ptrace_read_memory(pid, vgt+off_status, in acquire_and_suspend_threads() 421 if (rw != 0) { in acquire_and_suspend_threads() 422 ERROR(rw, "status ptrace_read_memory\n"); in acquire_and_suspend_threads() 426 rw = ptrace_read_memory(pid, vgt+off_lwpid, in acquire_and_suspend_threads() 429 if (rw != 0) { in acquire_and_suspend_threads() 430 ERROR(rw, "lwpid ptrace_read_memory\n"); in acquire_and_suspend_threads() 885 int rw; in invoker_invoke_gdbserver() local 890 rw = ptrace_write_memory(pid, sp, in invoker_invoke_gdbserver() 893 if (rw != 0) { in invoker_invoke_gdbserver() [all …]
|
/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/fio/t/ |
D | btrace2fio.c | 159 static void inflight_merge(struct inflight *i, int rw, unsigned int size) in inflight_merge() argument 161 i->p->o.merges[rw]++; in inflight_merge() 240 static void __add_bs(struct btrace_out *o, unsigned int len, int rw) in __add_bs() argument 242 o->bs[rw] = realloc(o->bs[rw], (o->nr_bs[rw] + 1) * sizeof(struct bs)); in __add_bs() 243 o->bs[rw][o->nr_bs[rw]].bs = len; in __add_bs() 244 o->bs[rw][o->nr_bs[rw]].nr = 1; in __add_bs() 245 o->nr_bs[rw]++; in __add_bs() 248 static void add_bs(struct btrace_out *o, unsigned int len, int rw) in add_bs() argument 250 struct bs *bs = o->bs[rw]; in add_bs() 253 if (!o->nr_bs[rw]) { in add_bs() [all …]
|