Searched refs:dim (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_util.c34 mem_strarray_free(char **arr, size_t dim) argument
38 for (i = 0; i < dim; i++) {
42 fmd_fmri_free(arr, sizeof (char *) * dim);
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c78 bufsplit(char *buf, size_t dim, char **array) argument
91 if (!dim ^ !array)
93 if (buf && !dim && !array) {
98 while (numsplit < dim) {
111 for (i = numsplit; i < dim; i++)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c64 di_dim_fini(di_dim_t dim) argument
66 idim_t idim = (idim_t)dim;
76 di_dim_path_devices(di_dim_t dim, char *drv_name, int instance, argument
129 di_dim_path_dev(di_dim_t dim, char *drv_name, int instance, char *minor_name) argument
131 idim_t idim = (idim_t)dim;
140 devices = di_dim_path_devices(dim, drv_name, instance, minor_name);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.h59 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim);
60 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim);
64 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim);
65 char *_glh_current_line(GlHistory *glh, char *line, size_t dim);
85 char *_glh_recall_line(GlHistory *glh, GlhLineID id, char *line, size_t dim);
99 char *line, size_t dim);
H A Dpathutil.c76 path->dim = 0;
80 path->dim = _pu_pathname_dim();
81 if(path->dim == 0)
86 path->name = (char *)malloc(path->dim * sizeof(char));
314 if(length + 1 > path->dim) {
315 size_t dim = length + 1 + PN_PATHNAME_INC; local
316 char *name = (char *) realloc(path->name, dim);
320 path->dim = dim;
H A Dpathutil.h46 size_t dim; /* The current allocated size of buffer[] */ member in struct:__anon4095
H A Dhistory.c108 static void _glh_return_line(GlhHashNode *hash, char *line, size_t dim);
526 * dim size_t The allocated dimension of the line buffer.
530 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim) argument
551 if(dim < strlen(line) + 1) {
552 _err_record_msg(glh->err, "'dim' argument inconsistent with strlen(line)",
591 _glh_return_line(node->line, line, dim);
613 * dim size_t The allocated dimensions of the line buffer.
618 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim) argument
639 if(dim < strlen(line) + 1) {
640 _err_record_msg(glh->err, "'dim' argumen
792 _glh_oldest_line(GlHistory *glh, char *line, size_t dim) argument
865 _glh_current_line(GlHistory *glh, char *line, size_t dim) argument
956 _glh_recall_line(GlHistory *glh, GlhLineID id, char *line, size_t dim) argument
1155 _glh_load_history(GlHistory *glh, const char *filename, const char *comment, char *line, size_t dim) argument
2467 _glh_return_line(GlhHashNode *hash, char *line, size_t dim) argument
[all...]
H A Dcplfile.c856 strlcpy(cf->buff->name, suffix, cf->buff->dim);
H A Dgetline.c478 const char *dim; /* Switch to a dim font */ member in struct:GetLine
1110 GL_TXT_DIM=16, /* Display text in a dim font */
1848 gl->dim = NULL;
3527 gl->dim = NULL;
3565 gl->dim = gl_tigetstr(gl, "dim");
3592 gl->dim = gl_tgetstr(gl, "mh", &tgetstr_buf_ptr);
3640 if(!gl->dim)
3641 gl->dim
[all...]
H A Dpcache.c1483 strlcpy(pc->path->name, suffix, pc->path->dim);
/illumos-gate/usr/src/cmd/units/
H A Dunits.c28 char dim[NDIM]; member in struct:unit
34 char dim[NDIM]; member in struct:table
130 if(u1.dim[i] != u2.dim[i])
162 f |= pu(p->dim[i], i, f);
167 f |= pu(-p->dim[i], i, f);
202 p->dim[c] = 0;
261 p->dim[i] -= q->dim[i];
265 p->dim[
[all...]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_decl.c127 inj_decl_mem_make_array(inj_declmem_t *dlm, uint_t dim) argument
130 dlm->dlm_arrdim = dim;
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_drv.c1399 dld_ioc_modentry_t *dim = dld_ioc_findmod(modid); local
1401 if (dim == NULL)
1404 dim->dim_list = list;
1405 dim->dim_count = count;
1439 dld_ioc_modentry_t *dim; local
1448 if ((dim = dld_ioc_findmod(DLD_IOC_MODID(cmd))) == NULL)
1451 major = ddi_name_to_major(dim->dim_modname);
1453 if (dim->ctrl_node_inst == -1) {
1464 dip = ddi_hold_devi_by_instance(major, dim->ctrl_node_inst, 0);
1467 if ((dip == NULL && dops == NULL) || dim
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dprivate.c53 * dim: char display[display_size]; Dim | Set
273 &bsfret.buf[bsfret.dim], 1) != 1) {
359 &bscret.buf[bscret.dim], 0) != 1) {
452 &bcfret.buf[bcfret.dim], 1) != 1) {
540 &bccret.buf[bccret.dim], 0) != 1) {
H A Dlabeld.h227 bufp_t dim; member in struct:__anon4161
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c1094 di_minor_t dim; local
1132 dim = DI_MINOR_NIL;
1133 while ((dim = di_minor_next(node, dim)) != DI_MINOR_NIL) {
1135 _msg(7, ("MUXNODES: minor %s\n", di_minor_name(dim)));
1137 if (strcmp(di_minor_name(dim), muxctlname) == 0) {
1140 di_minor_name(dim)) > sizeof (muxctl)) {
1145 } else if (strcmp(di_minor_name(dim), muxconname) == 0) {
1148 di_minor_name(dim)) > sizeof (muxcon)) {
/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) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c213 mem_strarray_free(topo_mod_t *mod, char **arr, size_t dim) argument
217 for (i = 0; i < dim; i++) {
221 topo_mod_free(mod, arr, sizeof (char *) * dim);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Ddwarf.c683 tdesc_array_create(dwarf_t *dw, Dwarf_Die dim, tdesc_t *arrtdp, argument
692 if ((dim2 = die_sibling(dw, dim)) == NULL) {
719 if (die_unsigned(dw, dim, DW_AT_upper_bound, &uval, 0))
721 else if (die_signed(dw, dim, DW_AT_upper_bound, &sval, 0))
749 Dwarf_Die dim; local
753 if ((dim = die_child(dw, arr)) == NULL ||
754 die_tag(dw, dim) != DW_TAG_subrange_type)
757 tdesc_array_create(dw, dim, arrtdp, tdp);
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1076 find_slotname(di_node_t din, di_minor_t dim, void *arg) argument
1086 slotarg->minor = dim->dev_minor % 256;
1093 "/devices%s:%s", devname, di_minor_name(dim));
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1212 find_slotname(di_node_t din, di_minor_t dim, void *arg) argument
1222 slotarg->minor = dim->dev_minor % 256;
1229 "/devices%s:%s", devname, di_minor_name(dim));
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1257 type_SetAry(type_t *tp, char *dim) {
1263 if (dim) {
1264 tp->t_sizestr = strdup(dim);
/illumos-gate/usr/src/boot/lib/libstand/
H A Ddosfs.c679 u_int dim; member in struct:__anon58
690 for (p = (u_char *)xde + ix[n].off, x = ix[n].dim; x;

Completed in 129 milliseconds