| /onnv/onnv-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;
|
| /onnv/onnv-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...] |
| /onnv/onnv-gate/usr/src/lib/librstp/common/ |
| statmch.c | 6 * This file is part of RSTP library. 39 STATE_MACH_T *this; local 41 STP_MALLOC(this, STATE_MACH_T, "state machine"); 43 this->State = BEGIN; 44 this->name = (char*) strdup (name); 45 this->changeState = False; 47 this->debug = False; 48 this->ignoreHop2State = BEGIN; 50 this->concreteEnterState = concreteEnterState; 51 this->concreteCheckCondition = concreteCheckCondition [all...] |
| port.c | 6 * This file is part of RSTP library. 47 PORT_T* this; local 53 for (this = stpm->ports; this; this = this->next) { 54 if (this->port_index == port_index) { 59 STP_NEW_IN_LIST(this, PORT_T, stpm->ports, "port create"); 61 this->owner = stpm; 62 this->machines = NULL [all...] |
| stpm.c | 6 * This file is part of RSTP library. 32 _stp_stpm_init_machine (STATE_MACH_T* this) 34 this->State = BEGIN; 35 (*(this->concreteEnterState)) (this); 40 _stp_stpm_iterate_machines (STPM_T* this, 49 for (stater = this->machines; stater; stater = stater->next) { 58 for (port = this->ports; port; port = port->next) { 72 _stp_stpm_init_data (STPM_T* this) 74 STP_VECT_create (&this->rootPrio 101 STPM_T* this = (STPM_T*) param; local 130 STPM_T* this; local [all...] |
| migrate.c | 6 * This file is part of RSTP library. 42 STP_migrate_enter_state (STATE_MACH_T* this) 44 register PORT_T* port = this->owner.port; 46 switch (this->State) { 72 STP_migrate_check_conditions (STATE_MACH_T* this) 74 register PORT_T* port = this->owner.port; 76 if ((!port->portEnabled && !port->initPm) || BEGIN == this->State) 77 return STP_hop_2_state (this, INIT); 79 switch (this->State) { 82 return STP_hop_2_state (this, (port->owner->ForceVersion >= 2) [all...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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...] |
| /onnv/onnv-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);
|