Home
last modified time | relevance | path

Searched +full:10 +full:base +full:- +full:t1 (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c21 #include "demangle-sys.h"
47 longjmp(db->cpp_jmp, 1); \
52 #define TOP_L(db) (&(name_top(&(db)->cpp_name)->strp_l))
53 #define RLEN(f, l) ((size_t)((l) - (f)))
54 #define NAMT(db, n) (nlen(db) - n)
203 char *res = zalloc(ops, s->str_len + 1); in cpp_demangle()
207 (void) memcpy(res, s->str_s, s->str_len); in cpp_demangle()
238 if (last - first < 4) { in demangle()
294 if (last - first < 13) in parse_block_invoke()
300 if (strncmp(first, test, sizeof (test) - 1) != 0) in parse_block_invoke()
[all …]
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c5 ** 2006-07-17 by Arthur David Olson.
23 * use the -include compiler option to unconditionally include the correct
43 ZIC32_MIN = -1 - (zic_t) 0x7fffffff,
51 /* Minimum and maximum years, assuming signed 32-bit time_t. */
86 /* The minimum alignment of a type, for pre-C23 platforms.
173 return -1; in readlink()
179 return -1; in symlink()
184 (errno = ENOTSUP, -1)
209 static zic_t oadd(zic_t t1, zic_t t2);
216 static zic_t tadd(zic_t t1, zic_t t2);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.c4 * Copyright (c) 1985-2011 AT&T Intellectual Property *
10 * http://www.eclipse.org/org/documents/epl-v10.html *
32 static const char id[] = "\n@(#)$Id: magic library (AT&T Research) 2011-03-09 $\0\n";
49 #define MAXNEST 10 /* { ... } nesting limit */
129 #define ID_INCL3 10
148 #define INFO_size 10
292 if (off + siz <= mp->fbsz) in getdata()
293 return mp->fbuf + off; in getdata()
294 if (off < mp->xoff || off + siz > mp->xoff + mp->xbsz) in getdata()
296 if (off + siz > mp->fbmx) in getdata()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c5 * 2003-2004 Linus Torvalds
55 return expr && valid_type(expr->ctype); in valid_expr_type()
60 return valid_expr_type(expr->left) in valid_subexpr_type()
61 && valid_expr_type(expr->right); in valid_subexpr_type()
67 struct symbol *sym = expr->symbol; in evaluate_symbol_expression()
71 expression_error(expr, "undefined identifier '%s'", show_ident(expr->symbol_name)); in evaluate_symbol_expression()
79 expression_error(expr, "identifier '%s' has no type", show_ident(expr->symbol_name)); in evaluate_symbol_expression()
83 addr = alloc_expression(expr->pos, EXPR_SYMBOL); in evaluate_symbol_expression()
84 addr->symbol = sym; in evaluate_symbol_expression()
85 addr->symbol_name = expr->symbol_name; in evaluate_symbol_expression()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dbuiltins.sh4 # Copyright (c) 1982-2012 AT&T Intellectual Property #
10 # http://www.eclipse.org/org/documents/epl-v10.html #
22 print -u2 -n "\t"
23 print -u2 -r ${Command}[$1]: "${@:2}"
31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
38 set -- - foobar
39 [[ $# == 2 && $1 == - && $2 == foobar ]] || err_exit "set -- - foobar failed"
40 set -- -x foobar
41 [[ $# == 2 && $1 == -x && $2 == foobar ]] || err_exit "set -- -x foobar failed"
[all …]
H A Dattributes.sh4 # Copyright (c) 1982-2012 AT&T Intellectual Property #
10 # http://www.eclipse.org/org/documents/epl-v10.html #
22 print -u2 -n "\t"
23 print -u2 -r ${Command}[$1]: "${@:2}"
31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
34 r=readonly u=Uppercase l=Lowercase i=22 i8=10 L=abc L5=def uL5=abcdef xi=20
37 do typeset -$option $option
45 then err_exit integer base 8 fails
56 if [[ t=tagged != $(typeset -t) ]]
[all …]
/illumos-gate/usr/src/data/hwdata/
H A Dpci.ids5 # Date: 2025-06-09 03:15:02
8 # the PCI ID Project at https://pci-ids.ucw.cz/.
14 # (version 2 or higher) or the 3-clause BSD License.
25 # device device_name <-- single tab
26 # subvendor subdevice subsystem_name <-- two tabs
30 # This is a relabelled RTL-8139
31 8139 AT-2500TX V3 Ethernet
41 7a09 PCI-to-PCI Bridge
51 7a19 PCI-to-PCI Bridge
57 7a29 PCI-to-PCI Bridge
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgamma.c38 * ------
42 * ---------
44 * (1) gamma(-n or -inf) is NaN
54 * -----------------------
55 * -pi
56 * (A) For negative argument, use gamma(-x) = ------------------------.
59 * (1) gamma(-n or -inf) is NaN with invalid signal by SUSv3 spec.
60 * (Ideally, gamma(-n) = 1/sinpi(n) = (-1)**(n+1) * inf.)
63 * such that when x>T and when x is not an integer, gamma(-x) will
68 * ----------------------------------------------------------------------
[all …]
H A D__fex_sse.c49 #define regno(X) ((X < 4)? REG_RAX - X : \
50 ((X > 4)? REG_RAX + 1 - X : REG_RSP))
52 #define regno(X) (EAX - X)
71 ip = (unsigned char *)uap->uc_mcontext.gregs[REG_PC]; in __fex_parse_sse()
73 /* look for pseudo-prefixes */ in __fex_parse_sse()
100 inst->op = (int)cvtsi2ss + simd + dbl; in __fex_parse_sse()
102 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse()
106 inst->op = (int)cvttss2si + simd + dbl; in __fex_parse_sse()
108 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse()
112 inst->op = (int)cvtss2si + simd + dbl; in __fex_parse_sse()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c45 #define unused_var(x) if (0) { x = 0; x = x - x; }
83 taginfo t1; \
84 retval = asn1_get_tag_2(buf, &t1); \
86 if (t1.asn1class != APPLICATION || t1.construction != CONSTRUCTED || \
87 t1.tagnum != (tagexpect)) return ASN1_BAD_ID; \
89 asn1class = t1.asn1class; \
90 construction = t1.construction; \
91 tagnum = t1.tagnum; \
92 applen = t1.length; \
102 * enclosed in a context-specific tag.
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME.v632 DHCPv6 Client Low-Level Design
36 This project adds DHCPv6 client-side (not server) support to
37 Solaris. Future projects may add server-side support as well as
44 - RFC 3315: the primary description of DHCPv6
45 - RFCs 2131 and 2132: IPv4 DHCP
46 - RFCs 2461 and 2462: IPv6 NDP and stateless autoconfiguration
47 - RFC 3484: IPv6 default address selection
48 - ifconfig(8): Solaris IP interface configuration
49 - in.ndpd(8): Solaris IPv6 Neighbor and Router Discovery daemon
50 - dhcpagent(8): Solaris DHCP client
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dselect.c25 SrcList *pSrc, /* the FROM clause -- which tables to scan */ in sqliteSelectNew()
31 int nLimit, /* LIMIT value. -1 means not used */ in sqliteSelectNew()
47 pNew->pEList = pEList; in sqliteSelectNew()
48 pNew->pSrc = pSrc; in sqliteSelectNew()
49 pNew->pWhere = pWhere; in sqliteSelectNew()
50 pNew->pGroupBy = pGroupBy; in sqliteSelectNew()
51 pNew->pHaving = pHaving; in sqliteSelectNew()
52 pNew->pOrderBy = pOrderBy; in sqliteSelectNew()
53 pNew->isDistinct = isDistinct; in sqliteSelectNew()
54 pNew->op = TK_SELECT; in sqliteSelectNew()
[all …]
H A Dwhere.c28 short int idxLeft; /* p->pLeft is a column in this table number. -1 if
29 ** p->pLeft is not the column of any table */
30 short int idxRight; /* p->pRight is a column in this table number. -1 if
31 ** p->pRight is not the column of any table */
32 unsigned prereqLeft; /* Bitmask of tables referenced by p->pLeft */
33 unsigned prereqRight; /* Bitmask of tables referenced by p->pRight */
42 ** are being used, so we assign a single bit in a 32-bit word to track
43 ** that cursor. Then a 32-bit integer is able to show the set of all
69 if( nSlot==1 || pExpr->op!=TK_AND ){ in exprSplit()
73 if( pExpr->pLeft->op!=TK_AND ){ in exprSplit()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c32 * simple netstat based on snmp/mib-2 interface to the TCP/IP stack
116 #define LIFN_GUARD_VALUE 10
236 #define MDIFF(diff, elem2, elem1, member) (diff)->member = \
237 (elem2)->member - (elem1)->member
239 static boolean_t Aflag = B_FALSE; /* All sockets/ifs/rtng-tbls */
240 static boolean_t CIDRflag = B_FALSE; /* CIDR for IPv4 -i/-r addrs */
247 static boolean_t Sflag = B_FALSE; /* Per-protocol Statistics */
271 * Sizes of data structures extracted from the base mib.
305 /* Machinery used for -f (filter) option */
351 * The user-specified filters are linked into lists separated by
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c23 * Copyright (c) 2004-2012 Emulex. All rights reserved.
151 if (!(hba->intr_flags & EMLXS_MSI_ENABLED)) { in emlxs_msi_init()
155 if (hba->intr_flags & EMLXS_MSI_INITED) { in emlxs_msi_init()
170 if (hba->model_info.intr_limit && (max > hba->model_info.intr_limit)) { in emlxs_msi_init()
171 max = hba->model_info.intr_limit; in emlxs_msi_init()
176 ret = ddi_intr_get_supported_types(hba->dip, &types); in emlxs_msi_init()
204 (hba->model_info.flags & EMLXS_MSIX_SUPPORTED)) { in emlxs_msi_init()
208 ddi_intr_get_nintrs(hba->dip, DDI_INTR_TYPE_MSIX, in emlxs_msi_init()
220 (hba->model_info.flags & EMLXS_MSI_SUPPORTED)) { in emlxs_msi_init()
224 ddi_intr_get_nintrs(hba->dip, DDI_INTR_TYPE_MSI, &nintrs); in emlxs_msi_init()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h1 /*-
63 _u = _bt->frac; in bintime_addx()
64 _bt->frac += _x; in bintime_addx()
65 if (_u > _bt->frac) in bintime_addx()
66 _bt->sec++; in bintime_addx()
74 _u = _bt->frac; in bintime_add()
75 _bt->frac += _bt2->frac; in bintime_add()
76 if (_u > _bt->frac) in bintime_add()
77 _bt->sec++; in bintime_add()
78 _bt->sec += _bt2->sec; in bintime_add()
[all …]
/illumos-gate/usr/src/cmd/find/
H A Dfind.c71 #define round(x, s) (((x)+(s)-1)&~((s)-1))
104 char name[10];
117 "-a", AND, Op,
118 "-acl", ACL, Unary,
119 "-amin", AMIN, Num,
120 "-and", AND, Op,
121 "-atime", ATIME, Num,
122 "-cmin", CMIN, Num,
123 "-cpio", CPIO, Cpio,
124 "-ctime", CTIME, Num,
[all …]
/illumos-gate/usr/src/uts/sun/io/eri/
H A Deri_mac.h40 /* The Descriptor Ring base Addresses must be 2K-byte aligned */
45 * The transmit and receiver Descriptor Rings are organized as "wrap-around
47 * Each descriptor consists of two double-word entries: a control/status entry
58 * -----------------------------
60 * -----------------------------
70 #define ERI_TMD_BUFSIZE (0x7fff << 0) /* 0-14 : Tx Data buffer size */
71 /* valid values in range 0 - 17k */
72 #define ERI_TMD_CSSTART (0x3f << 15) /* 15-20 : Checksum start offset */
74 #define ERI_TMD_CSSTUFF (0xff << 21) /* 21-28 : Checksum stuff offset */
123 * -----------------------------
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpcnet32.c3 * pcnet32.c -- Etherboot device driver for the AMD PCnet32
4 * Written 2003-2003 by Timothy Legge <tlegge@rogers.com>
23 * (C) 1996-1999 Thomas Bogendoerfer
27 * lance.c - LANCE NIC driver for Etherboot written by Ken Yap
34 * v1.0 08-06-2003 timlegge Initial port of Linux driver
35 * v1.1 08-23-2003 timlegge Add multicast support
36 * v1.2 01-17-2004 timlegge Initial driver output cleanup
37 * v1.3 03-29-2004 timlegge More driver cleanup
39 * Indent Options: indent -kr -i8
55 #define drv_date "03-29-2004"
[all …]
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c27 * rcapd is a long-running daemon enforcing project-based resource caps (see
72 #define NEXT_EVENT_TIME(base, seconds) \ argument
73 (((int)seconds > 0) ? (base + (hrtime_t)seconds * (hrtime_t)NANOSEC) \
75 #define NEXT_REPORT_EVENT_TIME(base, seconds) \ argument
110 static zoneid_t my_zoneid = (zoneid_t)-1;
115 * Updated when we re-read the collection configurations if this rcapd instance
139 PC_KY_NULL) != -1) { in proc_issystem()
142 debug("cannot get class-specific scheduling parameters; " in proc_issystem()
151 pid_t pid = psinfop->pr_pid; in lprocess_insert_mark()
153 int unscannable = psinfop->pr_nlwp == 0; in lprocess_insert_mark()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c31 * University Copyright- Copyright (c) 1982, 1986, 1988
35 * University Acknowledgment- Portions of this document are derived from
47 * -1 error, errorno is set
48 * -2 security error (secure_write() only)
55 int data = -1;
83 hrtime_t t1, char *local, char *remote);
101 #define fdio_getc(fd) (--bufcnt < 0 ? fdio_fillbuf((fd)) : \
126 bufcnt--; in fdio_fillbuf()
131 * fdio_error - used on a file descriptor instead of ferror()
142 * timedread - read buffer (like "read"), but with timeout (in seconds)
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c28 * This file is part of the Chelsio T1 Ethernet driver.
30 * Copyright (C) 2003-2005 Chelsio Communications. All rights reserved.
123 t1_write_reg_4(sge->obj, A_SG_DOORBELL, control_reg); in sge_ring_doorbell()
146 * set default timeout value - 20 msec in t1_sge_create()
150 sge->ptimeout = 1; in t1_sge_create()
152 sge->obj = sa; in t1_sge_create()
157 p->cmdQ_size[0] = sge_cmdq0_cnt; in t1_sge_create()
158 p->cmdQ_size[1] = sge_cmdq1_cnt; in t1_sge_create()
162 p->freelQ_size[1] = sge_flq0_cnt; in t1_sge_create()
163 p->freelQ_size[0] = sge_flq1_cnt; in t1_sge_create()
[all …]
/illumos-gate/usr/src/cmd/acpi/common/
H A Ddmextern.c3 * Module Name: dmextern - Support for External() ASL statements
11 * Some or all of this work - Copyright (c) 1999 - 2018, Intel Corp.
24 * base code distributed originally by Intel ("Original Intel Code") to copy,
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
163 * This module is used for application-level code (iASL disassembler) only.
188 /* 10 */ ", OpRegionObj",
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c77 * - pd: pointer to the prop_desc_t
78 * - propstrp: a property string array to keep the returned property.
80 * - cntp: number of returned properties.
92 * - propval: a val_desc_t array which keeps the property values to be set.
93 * - cnt: number of properties to be set.
94 * - flags: additional flags passed down the system call.
107 * - propstrp: property string array which keeps the property to be checked.
108 * - cnt: number of properties.
109 * - propval: return value; the property values of the given property strings.
188 * This is set to non-NULL if there is a list of possible property
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_open.c155 { -1, FILE_CREATE }, in smb_ofun_to_crdisposition()
172 * Notes on write-through behaviour. It looks like pre-LM0.12 versions
173 * of the protocol specify the write-through mode when a file is opened,
175 * SmbWriteAndUnlock) don't need to contain a write-through flag.
178 * don't indicate which write-through mode to use. Instead the write
183 * to ensure that the write-through mode flag is copied from the open
184 * parameters to the node. We test the omode write-through flag in all
191 * - Oplocks must be broken prior to share checking as the break may
195 * - Share checks must take place prior to access checks for correct
198 * - Oplocks must be acquired after open to ensure the correct
[all …]

12