| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/scalars/ |
| err.D_ARR_LOCAL.thisarray.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 31 * Use 'this' variables in associative array. 37 this int y; 38 this int z; 39 this int res; 43 this->x[this->y, this->z] = 123 [all...] |
| err.D_OP_INCOMPAT.dupltype.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 39 this->x = `kmem_flags; 40 this->x = *`rootvp;
|
| err.D_DECL_CLASS.selfthis.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 36 self this int x;
|
| err.D_DECL_CLASS.thisself.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 37 this self int x;
|
| tst.this.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 32 * Simple 'this' declaration. 37 this x;
|
| tst.selfthis.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 32 * Declare a this variable and assign value of self variable to it. 38 this int y; 42 this->x = 123; 43 self->y = this->x;
|
| tst.thisself.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 31 * Declare a self value and assign value of 'this' variable to that. 37 this int y; 42 this->y = self->x;
|
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
| tst.neglquant.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 70 this->i = 1; 71 this->val = (1 << 63) - 1; 73 @["f-market"] = lquantize(this->i, 0, 10, 1, this->val); 74 this->i++; 75 this->val = ((1 << 63) - 1) / this->i [all...] |
| tst.negquant.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 70 this->i = 1; 71 this->val = (1 << 63) - 1; 73 @["f-market"] = quantize(this->i, this->val); 74 this->i <<= 1; 75 this->val >>= 1 [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/assocs/ |
| tst.this.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 32 * To test Clause Local Variables ' this'. 41 this int x; 42 this char c; 46 this->x = 123; 47 this->c = 'D';
|
| tst.diffprofile.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 32 * To test Clause Local Variables ' this' across different profiles. 41 this int x; 42 this char c; 46 this->x = 123; 47 this->c = 'D'; 48 printf("The value of x is %d\n", this->x) [all...] |
| err.D_OP_INCOMPAT.this.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 33 * Declare 'this int' variable and assign inappropriate data type. 42 this int x; 46 this->x = "dummy";
|
| tst.initialize.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 41 this int x; 45 printf("the value of x is %d\n", this->x);
|
| tst.cpyarray.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 41 this int x; 50 this->x = a["abc", 123]++; 51 printf("The value of x is %d\n", this->x); 56 this->x = a["abc", 123]++; 57 printf("The value of x is %d\n", this->x); 62 this->x = a["abc", 123]++ [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/demo/vars/ |
| clause.d | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 16 * If applicable, add the following below this CDDL HEADER, with the 28 this int foo; /* an integer clause-local variable */ 33 * Set foo to be 10 if and only if this is the first clause executed. 35 this->foo = (me % 3 == 0) ? 10 : this->foo; 36 printf("Clause 1 is number %d; foo is %d\n", me++ % 3, this->foo++); 42 * Set foo to be 20 if and only if this is the first clause executed. [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
| tst.shortstr.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 34 this->str = ",,,Carrots,,Barley,Oatmeal,,,,,,,,,,,,,,,,,,Beans,"; 39 strtok(this->str, ","); 44 this->str = ",,,,,,,,,,,,,,,,,,,,,,Carrots,"; 45 strtok(this->str, ","); 50 strtok(this->str, "a"); 55 printf("%s\n", substr(this->str, 1, 40)) [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
| tst.ddi_pathname.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 33 this->dev = (struct dev_info *)alloca(sizeof (struct dev_info)); 34 this->minor1 = 36 this->minor2 = 38 this->minor3 = 41 this->minor1->d_minor.dev = 0; 42 this->minor1->next = this->minor2 [all...] |
| tst.system.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 34 this->a = 9; 35 this->b = -2; 37 system("echo %s %d %d", "foo", this->a, this->b); 39 system("echo %d", ++this->a); 41 system("echo %d", ++this->a) [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/struct/ |
| tst.clauselocal.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 37 this struct foo bar; 42 this->bar.x = 1; 43 this->bar.y = ','; 44 this->bar.z = 1234; 49 printf("Die %s%c %s.\n", this->bar.x == 1 ? "SystemTap" : "DTrace", 50 this->bar.y, this->bar.z == 1234 ? "Die" : "The") [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/demo/sched/ |
| whoqueue.d | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 16 * If applicable, add the following below this CDDL HEADER, with the 36 this->len = ++qlen[this->cpu = args[2]->cpu_id]; 41 /this->len > maxlen && spec[this->cpu]/ 44 * There is already a speculation for this CPU. We just set a new 47 discard(spec[this->cpu]) [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/common/rates/ |
| tst.statusrate.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 53 /(this->delta = timestamp - ts) > 2 * NANOSEC/ 59 /this->delta <= 2 * NANOSEC/ 62 this->delta); 67 /this->delta > 20 * NANOSEC/ 70 this->delta);
|
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/demo/sdt/ |
| intr.d | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 16 * If applicable, add the following below this CDDL HEADER, with the 35 this->devi = (struct dev_info *)arg0; 36 @[stringof(`devnamesp[this->devi->devi_major].dn_name), 37 this->devi->devi_instance] = quantize(vtimestamp - self->ts);
|
| /nfsv41/nfs41-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/ |
| tst.badcopyout.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 34 * user-level addresses are actually at user-level. This test attempts 47 this->a = (uint32_t *)alloca(4); 48 *this->a = -1; 49 copyout(this->a, (uintptr_t)&`clock, 4);
|
| tst.badcopyoutstr.d | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 15 * If applicable, add the following below this CDDL HEADER, with the 34 * user-level addresses are actually at user-level. This test attempts 47 this->str = alloca(10); 48 bcopy("kablammo!", this->str, 10); 49 copyoutstr(this->str, (uintptr_t)&`clock, 10);
|
| /nfsv41/nfs41-gate/usr/src/lib/libresolv2/common/isc/ |
| ev_waits.c | 9 * Permission to use, copy, modify, and distribute this software for any 11 * copyright notice and this permission notice appear in all copies. 14 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 19 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 115 evWait *this, *prev; local 119 this = id.opaque; 120 INSIST(this != NULL); 121 wl = evGetWaitList(ctx, this->tag, 0); 123 for (prev = NULL, this = wl->first; 124 this != NULL 195 evWait *this; local 243 evWaitList *this; local [all...] |