/macosx-10.10/dtrace-147/test/tst/common/scalars/ |
H A D | 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 [all...] |
H A D | 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 = `max_ncpus; 40 this->x = *`rootvp;
|
H A D | 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;
|
H A D | 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;
|
/macosx-10.10/dtrace-147/DTTk/Bin/ |
H A D | newproc.d | 7 * 15-May-2005 Brendan Gregg Created this. 11 * Updated to capture arguments in OS X. Unfortunately this isn't straight forward... nor inexpensive ... 19 this unsigned long long argv_ptr; /* Wide enough for 64 bit user procs */ 28 * The "this" variables are local to (all) of the following syscall::bsdthread_register:return probes, 33 this->argc = 0; /* Disable argument collection until we notice an exec-success */ 34 this->need_newline = 0; 41 this->is64Bit = curpsinfo->pr_dmodel == PR_MODEL_ILP32 ? 0 : 1; 42 this->wordsize = this->is64Bit ? 8 : 4; 44 this [all...] |
H A D | loads.d | 6 * The purpose of this script is to demonstrate fetching these values 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 10-Jun-2005 Brendan Gregg Created this. 44 this->fscale = `averunnable.fscale; 45 this->load1a = `averunnable.ldavg[0] / this->fscale; 46 this->load5a = `averunnable.ldavg[1] / this->fscale; 47 this [all...] |
H A D | swapinfo.d | 40 * The contents of this file are subject to the terms of the 42 * (the "License"). You may not use this file except in compliance 54 * 11-Jun-2005 Brendan Gregg Created this. 66 this->ani_max = `k_anoninfo.ani_max; 67 this->ani_phys_resv = `k_anoninfo.ani_phys_resv; 68 this->ani_mem_resv = `k_anoninfo.ani_mem_resv; 69 this->ani_locked = `k_anoninfo.ani_locked_swap; 70 this->availrmem = `availrmem; 73 this->ram_total = `physinstalled; 74 this [all...] |
/macosx-10.10/dtrace-147/DTTk/Proc/ |
H A D | newproc.d | 7 * 15-May-2005 Brendan Gregg Created this. 11 * Updated to capture arguments in OS X. Unfortunately this isn't straight forward... nor inexpensive ... 19 this unsigned long long argv_ptr; /* Wide enough for 64 bit user procs */ 28 * The "this" variables are local to (all) of the following syscall::bsdthread_register:return probes, 33 this->argc = 0; /* Disable argument collection until we notice an exec-success */ 34 this->need_newline = 0; 41 this->is64Bit = curpsinfo->pr_dmodel == PR_MODEL_ILP32 ? 0 : 1; 42 this->wordsize = this->is64Bit ? 8 : 4; 44 this [all...] |
/macosx-10.10/dtrace-147/test/tst/common/aggs/ |
H A D | 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 [all...] |
H A D | err.D_LLQUANT_FACTORTYPE.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 28 this->doogle = 10; 29 @ = llquantize(0, this->doogle, 0, 10, 10);
|
H A D | err.D_LLQUANT_HIGHTYPE.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 28 this->doogle = 10; 29 @ = llquantize(0, 10, 0, this->doogle, 10);
|
H A D | err.D_LLQUANT_LOWTYPE.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 28 this->doogle = 0; 29 @ = llquantize(0, 10, this->doogle, 10, 10);
|
H A D | err.D_LLQUANT_NSTEPTYPE.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 28 this->doogle = 10; 29 @ = llquantize(0, 10, 0, 10, this->doogle);
|
H A D | 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 [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/stooop/ |
H A D | xifo.tcl | 10 # Sample test code is at the bottom of this file. 20 proc xifo {this size} { 21 set ($this,size) $size 22 empty $this 25 proc ~xifo {this} { 26 variable ${this}data 27 catch {unset ${this}data} 30 proc in {this data} { 31 variable ${this}data 32 tidyUp $this [all...] |
H A D | switched.tcl | 14 proc switched {this args} { ;# arguments are option / value pairs 18 set ($this,complete) 0 21 set ($this,arguments) $args 24 proc ~switched {this} {} 28 ::stooop::virtual proc options {this} 32 proc complete {this} { 33 foreach description [options $this] { 36 set ($this,$option) [set default [lindex $description 1]] 41 set ($this,$option) [lindex $description 2] 49 foreach {option value} $($this,argument [all...] |
/macosx-10.10/dtrace-147/DTTk/Cpu/ |
H A D | loads.d | 6 * The purpose of this script is to demonstrate fetching these values 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 10-Jun-2005 Brendan Gregg Created this. 44 this->fscale = `averunnable.fscale; 45 this->load1a = `averunnable.ldavg[0] / this->fscale; 46 this->load5a = `averunnable.ldavg[1] / this->fscale; 47 this [all...] |
/macosx-10.10/dtrace-147/test/tst/common/assocs/ |
H A D | 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 27 #pragma ident "@(#)tst.this.d 1.1 06/08/28 SMI" 32 * To test Clause Local Variables ' this'. 41 this int x; 42 this char c; 46 this->x = 123; 47 this [all...] |
H A 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 [all...] |
H A D | 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 27 #pragma ident "@(#)err.D_OP_INCOMPAT.this.d 1.1 06/08/28 SMI" 33 * Declare 'this int' variable and assign inappropriate data type. 42 this int x; 46 this->x = "dummy";
|
H A D | 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);
|
/macosx-10.10/dtrace-147/DTTk/Mem/ |
H A D | swapinfo.d | 40 * The contents of this file are subject to the terms of the 42 * (the "License"). You may not use this file except in compliance 54 * 11-Jun-2005 Brendan Gregg Created this. 66 this->ani_max = `k_anoninfo.ani_max; 67 this->ani_phys_resv = `k_anoninfo.ani_phys_resv; 68 this->ani_mem_resv = `k_anoninfo.ani_mem_resv; 69 this->ani_locked = `k_anoninfo.ani_locked_swap; 70 this->availrmem = `availrmem; 73 this->ram_total = `physinstalled; 74 this [all...] |
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/tkpiechart/ |
H A D | selector.tcl | 10 proc selector {this args} switched {$args} { 11 ::set ($this,order) 0 12 switched::complete $this 15 proc ~selector {this} { 16 variable ${this}selected 17 variable ${this}order 19 catch {::unset ${this}selected ${this}order} 22 proc options {this} { 29 proc set-selectcommand {this valu [all...] |
/macosx-10.10/dtrace-147/test/tst/common/safety/ |
H A D | 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 [all...] |
/macosx-10.10/dtrace-147/test/tst/common/funcs/ |
H A D | 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 [all...] |