Home
last modified time | relevance | path

Searched refs:dim (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/cmd/units/
H A Dunits.c26 char dim[NDIM]; member
32 char dim[NDIM]; member
128 if(u1.dim[i] != u2.dim[i]) in main()
160 f |= pu(p->dim[i], i, f); in units()
165 f |= pu(-p->dim[i], i, f); in units()
201 p->dim[c] = 0; in convr()
260 p->dim[i] -= q->dim[i]; in lookup()
264 p->dim[i] += q->dim[i]; in lookup()
325 lp->dim[i] = 1; in init()
367 tp->dim[c] = lp->dim[c]; in init()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c62 di_dim_fini(di_dim_t dim) in di_dim_fini() argument
64 idim_t idim = (idim_t)dim; in di_dim_fini()
74 di_dim_path_devices(di_dim_t dim, char *drv_name, int instance, in di_dim_path_devices() argument
127 di_dim_path_dev(di_dim_t dim, char *drv_name, int instance, char *minor_name) in di_dim_path_dev() argument
129 idim_t idim = (idim_t)dim; in di_dim_path_dev()
138 devices = di_dim_path_devices(dim, drv_name, instance, minor_name); in di_dim_path_dev()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.h57 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim);
58 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim);
62 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim);
63 char *_glh_current_line(GlHistory *glh, char *line, size_t dim);
83 char *_glh_recall_line(GlHistory *glh, GlhLineID id, char *line, size_t dim);
97 char *line, size_t dim);
H A Dpathutil.c74 path->dim = 0; in _new_PathName()
78 path->dim = _pu_pathname_dim(); in _new_PathName()
79 if(path->dim == 0) in _new_PathName()
84 path->name = (char *)malloc(path->dim * sizeof(char)); in _new_PathName()
312 if(length + 1 > path->dim) { in _pn_resize_path()
313 size_t dim = length + 1 + PN_PATHNAME_INC; in _pn_resize_path() local
314 char *name = (char *) realloc(path->name, dim); in _pn_resize_path()
318 path->dim = dim; in _pn_resize_path()
H A Dhistory.c106 static void _glh_return_line(GlhHashNode *hash, char *line, size_t dim);
528 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim) in _glh_find_backwards() argument
549 if(dim < strlen(line) + 1) { in _glh_find_backwards()
589 _glh_return_line(node->line, line, dim); in _glh_find_backwards()
616 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim) in _glh_find_forwards() argument
637 if(dim < strlen(line) + 1) { in _glh_find_forwards()
666 _glh_return_line(node->line, line, dim); in _glh_find_forwards()
790 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim) in _glh_oldest_line() argument
810 if(dim < strlen(line) + 1) { in _glh_oldest_line()
840 _glh_return_line(node->line, line, dim); in _glh_oldest_line()
[all …]
H A Dpathutil.h44 size_t dim; /* The current allocated size of buffer[] */ member
H A Dcplfile.c854 strlcpy(cf->buff->name, suffix, cf->buff->dim); in cf_prepare_suffix()
H A Dgetline.c477 const char *dim; /* Switch to a dim font */ member
1847 gl->dim = NULL; in new_GetLine()
3526 gl->dim = NULL; in gl_control_strings()
3564 gl->dim = gl_tigetstr(gl, "dim"); in gl_control_strings()
3591 gl->dim = gl_tgetstr(gl, "mh", &tgetstr_buf_ptr); in gl_control_strings()
3639 if(!gl->dim) in gl_control_strings()
3640 gl->dim = ""; /* Not available */ in gl_control_strings()
9884 gl_print_control_sequence(gl, 1, gl->dim))
H A Dpcache.c1481 strlcpy(pc->path->name, suffix, pc->path->dim); in pca_prepare_suffix()
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c76 bufsplit(char *buf, size_t dim, char **array) in bufsplit() argument
89 if (!dim ^ !array) in bufsplit()
91 if (buf && !dim && !array) { in bufsplit()
96 while (numsplit < dim) { in bufsplit()
109 for (i = numsplit; i < dim; i++) in bufsplit()
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_util.c34 mem_strarray_free(char **arr, size_t dim) in mem_strarray_free() argument
38 for (i = 0; i < dim; i++) { in mem_strarray_free()
42 fmd_fmri_free(arr, sizeof (char *) * dim); in mem_strarray_free()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darray.c65 unsigned char dim; member
1104 dot = fp->dim; in nv_nextsub()
1114 dot= --fp->dim; in nv_nextsub()
1292 fp->dim = 0; in nv_putsub()
1309 for(fp->dim=0;size>0 && fp->dim<fp->ndim; fp->dim++) in nv_putsub()
1311 fp->cur[fp->dim] = size/fp->incr[fp->dim]; in nv_putsub()
1312 size -= fp->incr[fp->dim]*fp->cur[fp->dim]; in nv_putsub()
1314 while(fp->dim < fp->ndim) in nv_putsub()
1315 fp->cur[fp->dim++] = 0; in nv_putsub()
1316 fp->dim = ap->header.nelem; in nv_putsub()
[all …]
H A Darith.c109 int n,dim; in scope() local
110 dim = nv_refdimen(np); in scope()
119 ap->nelem = dim; in scope()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_drv.c1617 dld_ioc_modentry_t *dim = dld_ioc_findmod(modid); in dld_ioc_register() local
1619 if (dim == NULL) in dld_ioc_register()
1622 dim->dim_list = list; in dld_ioc_register()
1623 dim->dim_count = count; in dld_ioc_register()
1657 dld_ioc_modentry_t *dim; in drv_ioctl() local
1666 if ((dim = dld_ioc_findmod(DLD_IOC_MODID(cmd))) == NULL) in drv_ioctl()
1669 major = ddi_name_to_major(dim->dim_modname); in drv_ioctl()
1671 if (dim->ctrl_node_inst == -1) { in drv_ioctl()
1682 dip = ddi_hold_devi_by_instance(major, dim->ctrl_node_inst, 0); in drv_ioctl()
1685 if ((dip == NULL && dops == NULL) || dim->dim_list == NULL) { in drv_ioctl()
[all …]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dprivate.c271 &bsfret.buf[bsfret.dim], 1) != 1) { in bslcvtfull()
357 &bscret.buf[bscret.dim], 0) != 1) { in bslcvt()
450 &bcfret.buf[bcfret.dim], 1) != 1) { in bclearcvtfull()
538 &bccret.buf[bccret.dim], 0) != 1) { in bclearcvt()
H A Dlabeld.h227 bufp_t dim; member
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_decl.c125 inj_decl_mem_make_array(inj_declmem_t *dlm, uint_t dim) in inj_decl_mem_make_array() argument
128 dlm->dlm_arrdim = dim; in inj_decl_mem_make_array()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dname.h94 char dim; member
167 # define nv_refdimen(n) ((n)->nvalue.nrp->dim)
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c114 static int nexif(di_node_t din, di_minor_t dim, void *arg);
558 nexif(di_node_t din, di_minor_t dim, void *arg) in nexif() argument
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1079 find_slotname(di_node_t din, di_minor_t dim, void *arg) in find_slotname() argument
1089 slotarg->minor = dim->dev_minor % 256; in find_slotname()
1096 "/devices%s:%s", devname, di_minor_name(dim)); in find_slotname()
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c919 di_dim_t dim; in nvme_dskname() local
922 dim = di_dim_init(); in nvme_dskname()
923 if (dim == NULL) { in nvme_dskname()
937 path = di_dim_path_dev(dim, di_driver_name(child), in nvme_dskname()
964 di_dim_fini(dim); in nvme_dskname()
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1206 find_slotname(di_node_t din, di_minor_t dim, void *arg) in find_slotname() argument
1216 slotarg->minor = dim->dev_minor % 256; in find_slotname()
1223 "/devices%s:%s", devname, di_minor_name(dim)); in find_slotname()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1257 type_SetAry(type_t *tp, char *dim) { in type_SetAry() argument
1263 if (dim) { in type_SetAry()
1264 tp->t_sizestr = strdup(dim); in type_SetAry()
/illumos-gate/usr/src/boot/libsa/
H A Ddosfs.c683 uint_t dim; in cp_xdnm() member
694 for (p = (uchar_t *)xde + ix[n].off, x = ix[n].dim; x; in cp_xdnm()
/illumos-gate/usr/src/data/terminfo/
H A Dterminfo.src371 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,
375 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,
376 dim=\E[2m,
710 bold=\Eya, dch1=\Ea, dim=\EyB,
747 cuu=\E[%p1%dA, cuu1=\EA, dch1=\Ea, dim=\E[2m, dl=\E[%p1%dM,
772 dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
789 dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
897 dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
1011 # console font but bright background colors turn into dim ones when
1067 dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
[all …]

12