Home
last modified time | relevance | path

Searched +full:sub +full:- +full:node (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/cmd/device_remap/
H A Ddevice_remap.pl46 sub new {
49 $self->{FILE} = undef;
50 $self->{MAJOR} = undef;
51 $self->{MINOR} = undef;
52 $self->{NODE_SEC_SZ} = undef;
53 $self->{NAME_SEC_SZ} = undef;
54 $self->{DATA_SEC_SZ} = undef;
55 $self->{NODES} = undef;
56 $self->{NAMES} = undef;
57 $self->{DATA} = undef;
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c4 * Copyright (c) 1982-2012 AT&T Intellectual Property *
10 * http://www.eclipse.org/org/documents/epl-v10.html *
22 * Shell arithmetic - uses streval library
62 register int flag = lvalue->flag; in scope()
63 register char *sub=0, *cp=(char*)np; in scope() local
65 Shell_t *shp = lvalue->shp; in scope()
67 int c=0,nosub = lvalue->nosub; in scope()
68 Dt_t *sdict = (shp->st.real_fun? shp->st.real_fun->sdict:0); in scope()
69 Dt_t *nsdict = (shp->namespace?nv_dict(shp->namespace):0); in scope()
70 Dt_t *root = shp->var_tree; in scope()
[all …]
H A Dnvdisc.c4 * Copyright (c) 1982-2012 AT&T Intellectual Property *
10 * http://www.eclipse.org/org/documents/epl-v10.html *
48 fp = nfp = nfp->next; in nv_getv()
50 for(; fp; fp=fp->next) in nv_getv()
52 if(!fp->disc || (!fp->disc->getnum && !fp->disc->getval)) in nv_getv()
57 if(fp && fp->disc->getval) in nv_getv()
58 cp = (*fp->disc->getval)(np,fp); in nv_getv()
59 else if(fp && fp->disc->getnum) in nv_getv()
61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); in nv_getv()
82 fp = nfp = nfp->next; in nv_getn()
[all …]
H A Dname.c4 * Copyright (c) 1982-2012 AT&T Intellectual Property *
10 * http://www.eclipse.org/org/documents/epl-v10.html *
155 if(ap->nelem&ARRAY_UNDEF) in sh_envput()
171 * output variable name in format for re-input
181 sfwrite(out,cp,++sp-cp); in nv_outname()
195 sfputr(out,sh_fmtq(stakptr(offset)),-1); in nv_outname()
201 cp = sp-1; in nv_outname()
208 sfputr(out,cp,-1); in nv_outname()
217 register struct sh_type *sp = (struct sh_type*)shp->mktype; in nv_addnode()
220 if(sp->numnodes==0 && !nv_isnull(np) && shp->last_table) in nv_addnode()
[all …]
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl28 # pginfo - tool for displaying Processor Group information
53 # 0 System 0-7
72 # 2 Invalid command-line options were specified.
91 my $do_cpulist; # -C - Show CPU IDs
92 my $do_cpus; # -c - Treat args as CPU IDs
93 my $do_physical; # -p - Show physical relationships
94 my $do_sharing_only; # -S - Only show sharing relationships
95 my $do_tree; # -T - Show ASCII tree
96 my $do_usage; # -h - Show usage
97 my $do_version; # -V - Show version
[all …]
/illumos-gate/usr/src/man/man8/
H A Ddevlinks.88 devlinks \- adds /dev entries for miscellaneous devices and pseudo-devices
12 \fB/usr/sbin/devlinks\fR [\fB-d\fR] [\fB-r\fR \fIrootdir\fR] [\fB-t\fR \fItable-file\fR]
23 actual block- and character-special device nodes under the \fB/devices\fR
25 \fItable-file\fR (by default \fB/etc/devlink.tab\fR).
28 \fBdevlinks\fR is called each time the system is reconfiguration-booted, and
32 The \fItable-file\fR (normally \fB/etc/devlink.tab\fR) is an ASCII file, with
43 \fB\fIdevfs-spec\fR\fR
47 specification consists of one or more keyword-value pairs, where the keyword is
48 separated from the value by an equal-sign (`\fB=\fR'), and keyword-value pairs
68 The name of the node. This is the portion of the \fB/devices\fR tree entry name
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk4.c23 * awk -- functions
38 static uint nargs(NODE *np);
39 static NODE *dosub(NODE *np, int glob);
40 static NODE *docasetr(NODE *np, int upper);
44 static NODE *asortfunc; /* Function call for asort() */
45 static NODE *asnp1, *asnp2; /* index1, index2 nodes */
53 NODE *
54 f_exp(NODE *np) in f_exp()
68 NODE *
69 f_int(NODE *np) in f_int()
[all …]
H A Dawk.y24 * awk -- YACC grammar
47 static NODE * fliplist ANSI((NODE *np));
51 NODE *node; member
63 %token <node> PARM ARRAY UFUNC FIELD IN INDEX CONCAT
64 %token <node> NOT AND OR EXP QUEST
65 %token <node> EQ NE GE LE GT LT
66 %token <node> ADD SUB MUL DIV REM INC DEC PRE_INC PRE_DEC
67 %token <node> GETLINE CALLFUNC RE TILDE NRE
73 %token <node> PRINT PRINTF
74 %token <node> EXIT RETURN BREAK CONTINUE NEXT
[all …]
H A Dawk0.c23 * Awk -- data definitions
149 wchar_t s_sub[] = M_MB_L("sub"); /* Name of "sub" function */
163 uint npattern; /* Number of non-BEGIN patterns */
179 wchar_t *linebuf = NULL; /* $0 buffer - malloc'd in awk1.c */
183 * XXX - Make sure to check where this error message is printed
187 NODE *symtab[NBUCKET]; /* Heads of symbol table buckets */
188 NODE *yytree; /* Code tree */
189 NODE *freelist; /* Free every pattern {action} line */
199 NODE *constant; /* Node to hold a constant INT */
200 NODE *const0; /* Constant INT 0 node */
[all …]
H A Dawk3.c22 * awk -- executor
36 static NODE *arithmetic(NODE *np);
37 static NODE *comparison(NODE *np);
38 static int type_of(NODE *np);
39 static NODE *lfield(INT fieldno, NODE *value);
40 static NODE *rfield(INT fieldno);
41 static NODE *userfunc(NODE *np);
43 static NODE *exprconcat(NODE *np, int len);
44 static int s_if(NODE *np);
45 static int s_while(NODE *np);
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dwideidx2.awk3 # Subject: gawk multi-byte support bugs, assertion bug and fix.
4 # To: bug-gawk@gnu.org
5 # Message-id: <60962be00604271259na0d8fdayb9d0c69a853216e8@mail.gmail.com>
6 # MIME-version: 1.0
7 # Content-type: multipart/alternative;
8 # boundary="----=_Part_10136_920879.1146167943492"
11 # ------=_Part_10136_920879.1146167943492
12 # Content-Type: text/plain; charset=ISO-8859-1
13 # Content-Transfer-Encoding: quoted-printable
14 # Content-Disposition: inline
[all …]
H A Dsubi18n.awk3 # Subject: gawk: sub_common has multi-byte aware bug
4 # To: bug-gawk@gnu.org
5 # Message-id: <20060227121045.2198.KIMURA.KOICHI@canon.co.jp>
9 # A certain user faced bug of sub builtin function and report to me.
19 sub(/^[^=]*/, "", str);
22 sub(/^="[^"]*"/, "", str)
23 sub(/^[ \t]*/, "", str)
29 # [kbk@skuld gawk-3.1.5]$ LC_ALL=C ./gawk -f subbug.awk
32 # [kbk@skuld gawk-3.1.5]$ LC_ALL=en_US.UTF-8 ./gawk -f subbug.awk
35 # [kbk@skuld gawk-3.1.5]$
[all …]
/illumos-gate/usr/src/uts/common/sys/sysevent/
H A Ddev.h38 * Event Class - EC_DEV_ADD
39 * Event Sub-Class - ESC_DISK
41 * Attribute Name - EV_VERSION
42 * Attribute Type - DATA_TYPE_INT32
43 * Attribute Value - event version number
45 * Attribute Name - DEV_NAME
46 * Attribute Type - DATA_TYPE_STRING
47 * Attribute Value - /dev name to the raw device.
50 * Attribute Name - DEV_PHYS_PATH
51 * Attribute Type - DATA_TYPE_STRING
[all …]
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl37 # Sun::Solaris::Kstat is used to extract per-lgroup load average.
60 # The $loads hash keeps per-lgroup load average.
71 # Parse command-line options
101 gettext("%s: Options -C, -T and -P can not be used together\n"),
108 gettext("%s: Option -T can not be used with -I, -t\n"),
115 gettext("%s: Warning: with '-T' all lgroups on the command line "),
121 printf STDERR gettext("%s: Option -I can not be used with -L\n"),
131 my $l = Sun::Solaris::Lgrp->new($opt_G ? LGRP_VIEW_OS : LGRP_VIEW_CALLER) or
136 my @lgrps = nsort($l->lgrps);
137 my $root = $l->root;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c2 * This file is derived from various .h and .c files from the zlib-0.95
3 * distribution by Jean-loup Gailly and Mark Adler, with some additions
9 * - changed functions not used outside this file to "local"
10 * - added minCompression parameter to deflateInit2
11 * - added Z_PACKET_FLUSH (see zlib.h for details)
12 * - added inflateIncomp
19 /* zutil.h -- internal interface and configuration of the compression library
20 * Copyright (C) 1995 Jean-loup Gailly.
42 /* compile with -Dlocal if your debugger can't find static symbols */
52 extern char *z_errmsg[]; /* indexed by 1-zlib_error */
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_sugar.c24 * referred to as a "super-clause", and its transformation typically entails
25 * creating several "sub-clauses" to implement it. For diagnosability, the
26 * sub-clauses will be printed if the "-xtree=8" flag is specified.
30 * statements before and after) is turned into its own sub-clause, with a
68 * Return a node for "self->%error".
71 * this variable name can not collide with any user-specified variable.
74 * in any of the sub-clauses, and is used to prevent execution of subsequent
75 * sub-clauses following an error.
90 dp->dtsp_clause_list = dt_node_link(dp->dtsp_clause_list, clause); in dt_sugar_append_clause()
99 dp->dtsp_clause_list = dt_node_link(clause, dp->dtsp_clause_list); in dt_sugar_prepend_clause()
[all …]
/illumos-gate/usr/src/data/amdpmc/
H A Df19h_zen4_core.json6 "description": "The number of x87 floating-point Ops that have retired.",
10 "rw": "Read-write",
15 "rw": "Read-write",
20 "rw": "Read-write",
29 …"description": "This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of e…
33 "rw": "Read-write",
34 …"description": "bfloat Multiply-Accumulate FLOPs. Each bfloat MAC operation is counted as 2 FLOPS…
38 "rw": "Read-write",
39 …"description": "Multiply-Accumulate FLOPs. Each MAC operation is counted as 2 FLOPS. This event …
43 "rw": "Read-write",
[all …]
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutdelete.c3 * Module Name: utdelete - object deletion and reference count utilities
11 * Some or all of this work - Copyright (c) 1999 - 2018, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
178 * PARAMETERS: Object - Object to be deleted
183 * updated (All reference counts, including sub-objects!)
211 switch (Object->Common.Type) in AcpiUtDeleteInternalObj()
[all …]
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm.c34 * --------------------
37 * flexibility when required (e.g. show-cfgspace needs full privs to read from
77 static const char *msg = "attempted to re-initialize privileges"; in pcieadm_init_privs()
78 if (pcip->pia_priv_init == NULL) { in pcieadm_init_privs()
82 priv_intersect(pcip->pia_priv_init, pcip->pia_priv_eff); in pcieadm_init_privs()
92 priv_freeset(pcip->pia_priv_init); in pcieadm_init_privs()
93 pcip->pia_priv_init = NULL; in pcieadm_init_privs()
106 pcieadm.pia_indent -= 2; in pcieadm_deindent()
133 * We determine if a node is PCI in a two step process. The first is to see if
134 * the node's name starts with pci, and has an additional character that
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A Dnval.34 \fBnval\fR \- the \f5ksh\fP name/value library
11 libshell.a -lshell
105 \fINval\fP is a library of functions for interacting with name-value
109 Each name-value pair is represented by a
115 Additionally, each name-value pair can be associated with
119 The function \f5nv_open()\fP returns a pointer to a name-value
121 It can also assign a value and give attributes to a name-value pair.
125 The \fIflags\fP argument consists of the bitwise-or of zero or more
141 Do not follow references when finding the name-value pair.
144 The name-value pair will not be added if it doesn't exist.
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c7 * Updated from zlib-1.0.4 to zlib-1.1.3 by James Carlson.
9 * This file is derived from various .h and .c files from the zlib-1.0.4
10 * distribution by Jean-loup Gailly and Mark Adler, with some additions
16 * - added Z_PACKET_FLUSH (see zlib.h for details)
17 * - added inflateIncomp and deflateOutputPending
18 * - allow strm->next_out to be NULL, meaning discard the output
27 * whether an up-to-date version of this file is already installed.
35 #define inflate inflate_ppp /* FreeBSD already has an inflate :-( */
42 * zutil.h -- internal interface and configuration of the compression library
43 * Copyright (C) 1995-1998 Jean-loup Gailly.
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dawk.g.y59 void checkdup(Node *list, Cell *item);
62 Node *beginloc = NULL;
63 Node *endloc = NULL;
67 Node *arglist = NULL; /* list of args for current function */
69 static int constnode(Node *);
70 static char *strnode(Node *);
71 static Node *notnull(Node *);
75 Node *p;
89 %token <i> SUB GSUB IF INDEX LSUBSTR MATCHFCN NEXT NEXTFILE
117 %left PRINT PRINTF RETURN SPLIT SPRINTF STRING SUB SUBSTR
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A DSUNW,vdevices.pl1 #!/usr/bin/perl -w
33 # (virtual-console-concentrator).
38 my $vcc_path_prefix = "/devices/virtual-devices\@100/channel-devices\@200/";
39 my $vcc_leaf_node = "virtual-console-concentrator";
45 sub do_scriptinfo
55 sub do_resourceinfo
64 sub do_register
70 # ":ctl" node open as a way to create or remove console ports, so
89 sub do_queryremove
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.h108 extern int topo_prop_setmutable(tnode_t *node, const char *pgname,
110 extern int topo_prop_setnonvolatile(tnode_t *node, const char *pgname,
148 #define TOPO_METH_LABEL_ARG_NVL "label-specific"
149 #define TOPO_METH_LABEL_RET_STR "label-string"
155 #define TOPO_METH_PRESENT_RET "present-ret"
161 #define TOPO_METH_REPLACED_RET "replaced-ret"
167 #define TOPO_METH_UNUSABLE_RET "unusable-ret"
173 #define TOPO_METH_SERVICE_STATE_RET "service_state-ret"
179 #define TOPO_METH_RETIRE_RET "retire-ret"
185 #define TOPO_METH_UNRETIRE_RET "unretire-ret"
[all …]
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dsmn.h28 * ------------------------
30 * ------------------------
33 * [35:32] identify a destination node, but all consumers instead direct SMN
34 * transactions to a specific node by selecting the address/data register pair
40 * or accessed via each node. Some functional units have only a single instance
41 * per node while others may have many. Each functional unit instance has one
45 * matters, some functional units have multiple smaller sub-units that decode
47 * mask describing the sub-unit's registers may not be contiguous. To keep
48 * software relatively simple, we generally treat sub-units and parent units the
55 * sub-units, registers with many instances whose locations are computed in
[all …]

12345678910>>...12