Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 224) sorted by relevance

123456789

/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DScrollableArea.java43 private Component comp; field in ScrollableArea
48 if (comp == null) in layout()
51 Dimension d = comp.preferredSize(); in layout()
57 comp.reshape(curx, cury, d.width, d.height); in layout()
61 protected void addImpl(Component comp, Object constraints, in addImpl() argument
63 doAdd(comp); in addImpl()
64 super.addImpl(comp, constraints, index); in addImpl()
73 private void doAdd(Component comp) { in doAdd() argument
74 if (this.comp != null) in doAdd()
75 remove(this.comp); in doAdd()
[all …]
H A DCheckboxPanel.java43 protected void addImpl(Component comp, Object constraints, in addImpl() argument
45 doAdd(comp); in addImpl()
46 super.addImpl(comp, constraints, index); in addImpl()
55 private void doAdd(Component comp) { in doAdd() argument
56 if (comp instanceof Checkbox) { in doAdd()
57 Checkbox box = (Checkbox)comp; in doAdd()
69 public void remove(Component comp) { in remove() argument
70 if (comp instanceof Checkbox) in remove()
71 ((Checkbox)comp).setCheckboxGroup(null); in remove()
72 super.remove(comp); in remove()
[all …]
H A DGBPanel.java106 Component comp; in layout() local
110 comp = getComponent(i); in layout()
111 if (comp instanceof Container) { in layout()
112 mgr = ((Container)comp).getLayout(); in layout()
124 comp = getComponent(i); in layout()
125 if (comp instanceof Container) { in layout()
126 mgr = ((Container)comp).getLayout(); in layout()
128 GBConstraints c = gridbag.getConstraints(comp); in layout()
141 comp = getComponent(i); in layout()
142 if (comp instanceof Container) { in layout()
[all …]
H A DScrollPanel.java46 private Component comp; field in ScrollPanel
101 protected void addImpl(Component comp, Object constraints, in addImpl() argument
103 super.addImpl(comp, constraints, index); in addImpl()
104 doAdd(comp); in addImpl()
114 private void doAdd(Component comp) { in doAdd() argument
115 if (!(comp instanceof Scrollable)) in doAdd()
119 if (this.comp != null) in doAdd()
120 remove(this.comp); in doAdd()
122 this.comp = comp; in doAdd()
134 gridbag.setConstraints(comp, c); in doAdd()
[all …]
H A DCardPanel.java71 public Component add(String name, Component comp) { in add() argument
73 (currentCard != null && cards.get(currentCard) == comp); in add()
75 super.add(name, comp); in add()
78 comp.show(); in add()
82 return comp; in add()
156 public String getCardName(Component comp) { in getCardName() argument
160 if (cards.get(key) == comp) in getCardName()
169 Component comp = (Component)cards.get(oldName); in renameCard() local
171 if (comp != null) { in renameCard()
173 cards.put(newName, comp); in renameCard()
[all …]
H A DGBLayout.java363 public void setConstraints(Component comp, in setConstraints() argument
371 comptable.put(comp, c); in setConstraints()
381 public void setConstraints(Component comp, String constraints) { in setConstraints() argument
385 comptable.put(comp, new GBConstraints(constraints)); in setConstraints()
393 public GBConstraints getConstraints(Component comp) { in getConstraints() argument
394 GBConstraints constraints = (GBConstraints)comptable.get(comp); in getConstraints()
396 setConstraints(comp, defaultConstraints); in getConstraints()
397 constraints = (GBConstraints)comptable.get(comp); in getConstraints()
410 protected GBConstraints lookupConstraints(Component comp) { in lookupConstraints() argument
411 GBConstraints constraints = (GBConstraints)comptable.get(comp); in lookupConstraints()
[all …]
H A DVJPanel.java128 public static boolean markEvent(Event evt, Component comp) { in markEvent() argument
152 mgr = (AttributeManager)shadowTable.get(comp); in markEvent()
181 public static void forwardEvent(Event evt, Component comp) { in forwardEvent() argument
206 while (target != null && target != comp) { in forwardEvent()
453 Component comp = getComponent(i); in validate() local
454 if (!comp.isValid() && comp.getPeer() != in validate()
455 null && comp.isVisible()) { in validate()
456 comp.validate(); in validate()
467 Component comp = getComponent(i); in validateTree() local
468 if ((comp instanceof Container) && in validateTree()
[all …]
H A DEditLine.java57 private Component comp; field in EditLine
89 public EditLine(Component comp, String text, int textX, int textY) { in EditLine() argument
93 this.comp = comp; in EditLine()
107 comp.requestFocus(); in EditLine()
151 comp.repaint(); in setFont()
156 return comp.getFont(); in getFont()
167 return comp.getForeground(); in getForeground()
178 return comp.getBackground(); in getBackground()
187 comp.postEvent(new Event(this, APPLY, text)); in applyChanges()
191 comp.postEvent(new Event(this, CANCEL, null)); in applyChanges()
[all …]
/titanic_41/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh48 comp=$(echo foo bar baz other | $XARGS -I THING echo '** THING **')
51 compare $t "$comp" "$good"
58 comp=$(echo foo bar baz other | $XARGS -n 1 echo '***')
64 compare $t "$comp" "$good"
71 comp=$(echo foo bar baz other | $XARGS -I THING -n1 echo '** THING **')
77 compare $t "$comp" "$good"
84 comp=$(echo foo bar baz other | $XARGS -n 1 -I THING echo '** THING **')
87 compare $t "$comp" "$good"
94 comp=$(printf "abc def\nxyz\n123" | $XARGS -n1 -i echo '[{}]')
99 compare $t "$comp" "$good"
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_attr.c258 char **comp = 0, **new, *str; in makeFilterComp() local
267 comp = am(myself, 2 * sizeof (comp[0])); in makeFilterComp()
268 if (comp == 0) in makeFilterComp()
270 comp[0] = sdup(myself, T, filter); in makeFilterComp()
271 if (comp[0] == 0) { in makeFilterComp()
272 sfree(comp); in makeFilterComp()
277 return (comp); in makeFilterComp()
294 new = realloc(comp, (nc+1) * sizeof (comp[nc])); in makeFilterComp()
296 if (comp != 0) { in makeFilterComp()
298 sfree(comp[i]); in makeFilterComp()
[all …]
/titanic_41/usr/src/lib/libast/
H A DMakefile.com51 common/comp/atexit.o \
52 common/comp/basename.o \
53 common/comp/catopen.o \
54 common/comp/closelog.o \
55 common/comp/creat64.o \
56 common/comp/dirname.o \
57 common/comp/dup2.o \
58 common/comp/eaccess.o \
59 common/comp/errno.o \
60 common/comp/execlp.o \
[all …]
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dports.c25 int comp = -1; local
36 comp = FR_OUTRANGE;
38 comp = FR_INRANGE;
54 comp = FR_EQUAL;
56 comp = FR_NEQUAL;
58 comp = FR_LESST;
60 comp = FR_GREATERT;
62 comp = FR_LESSTE;
64 comp = FR_GREATERTE;
70 if (comp != FR_OUTRANGE && comp != FR_INRANGE) {
[all …]
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c54 #define INCR(counter) ++comp->stats.counter
77 vj_compress_init(struct vjcompress *comp, int max_state) in vj_compress_init() argument
80 register struct cstate *tstate = comp->tstate; in vj_compress_init()
86 bzero((char *)comp, sizeof (*comp)); in vj_compress_init()
96 comp->last_cs = &tstate[0]; in vj_compress_init()
97 comp->last_recv = 255; in vj_compress_init()
98 comp->last_xmit = 255; in vj_compress_init()
99 comp->flags = VJF_TOSS; in vj_compress_init()
160 vj_compress_tcp(register struct ip *ip, uint_t mlen, struct vjcompress *comp, in vj_compress_tcp() argument
163 register struct cstate *cs = comp->last_cs->cs_next; in vj_compress_tcp()
[all …]
/titanic_41/usr/src/cmd/mt/
H A Dmt.c96 struct commands const *comp; in main() local
118 for (comp = com; comp->c_name != NULL; comp++) { in main()
119 if (strncmp(cp, comp->c_name, strlen(cp)) == 0) { in main()
124 if (comp->c_name == NULL) { in main()
129 mtfd = open(tape, comp->c_oflag); in main()
148 if (comp->c_code == MTIOCFORCERESERVE || in main()
149 comp->c_code == MTIOCRESERVE || in main()
150 comp->c_code == MTIOCRELEASE) { in main()
155 if (ioctl(mtfd, comp->c_code) < 0) { in main()
159 } else if (comp->c_code == MTASF) { in main()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_stripe.c263 uint_t comp, c; in meta_get_stripe_common() local
275 for (comp = 0, c = mdr->un_icomp; (comp < mdr->un_ncomp); in meta_get_stripe_common()
276 ++comp, ++c) { in meta_get_stripe_common()
279 md_comp_t *cp = &rp->comps.comps_val[comp]; in meta_get_stripe_common()
312 ! ((row == 0) && (comp == 0))) in meta_get_stripe_common()
342 ! ((row == 0) && (comp == 0))) in meta_get_stripe_common()
417 uint_t comp; in in_stripe() local
420 for (comp = 0; (comp < rp->comps.comps_len); ++comp) { in in_stripe()
421 md_comp_t *cp = &rp->comps.comps_val[comp]; in in_stripe()
585 uint_t comp; in stripe_print() local
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/
H A DImageRef.java119 public Image getImage(Component comp, Applet applet) { in getImage() argument
121 cacheImage(comp, applet); in getImage()
133 public int getWidth(Component comp, Applet applet) { in getWidth() argument
135 cacheImage(comp, applet); in getWidth()
148 public int getHeight(Component comp, Applet applet) { in getHeight() argument
150 cacheImage(comp, applet); in getHeight()
198 private void cacheImage(Component comp, Applet applet) in cacheImage() argument
215 img = comp.getToolkit().getImage(url); in cacheImage()
235 public boolean verifyImage(Component comp, Applet applet) { in verifyImage() argument
247 cacheImage(comp, applet); in verifyImage()
[all …]
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c1107 ms_comp_t *comp; in stripe_shared_by_blk() local
1110 (void) md_mapbuf(un, blkno, ldbtob(*cnt), &bp, &comp); in stripe_shared_by_blk()
1112 return ((intptr_t)&comp->un_mirror); in stripe_shared_by_blk()
1181 ms_comp_t *comp; in stripe_shared_by_indx() local
1184 comp = (struct ms_comp *)((void *)&((char *)un)[un->un_ocomp]); in stripe_shared_by_indx()
1185 comp += indx; in stripe_shared_by_indx()
1186 return ((intptr_t)&comp->un_mirror); in stripe_shared_by_indx()
1220 ms_comp_t *comp; in stripe_get_dev() local
1224 comp = (struct ms_comp *)((void *)&((char *)un)[un->un_ocomp]); in stripe_get_dev()
1225 comp += indx; in stripe_get_dev()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Dnftw.c137 char *comp; member
178 char *comp; in walk() local
193 comp = last->comp; in walk()
195 comp = vp->tmppath; in walk()
216 if ((*vp->statf)(comp, &statb, last, _AT_TRIGGER) >= 0) { in walk()
221 if ((this.fd = (*vp->opendirf)(comp)) == 0) { in walk()
223 (this.fd = (*vp->opendirf)(comp)) != 0) { in walk()
263 (cdlstat(comp, &statb, last, 0) >= 0) && in walk()
266 (nocdlstat(comp, &statb, last, 0) >= 0) && in walk()
331 this.comp = component; in walk()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/
H A DUtil.java309 public Image getWorkaroundImage(URL url, Component comp) { in getWorkaroundImage() argument
310 Image image = comp.getToolkit().getImage(url); in getWorkaroundImage()
311 return getWorkaroundImage(image, comp); in getWorkaroundImage()
319 public Image getWorkaroundImage(Image image, Component comp) { in getWorkaroundImage() argument
324 RGBImageFilter filter = new TransFilter(comp); in getWorkaroundImage()
325 image = comp.createImage( in getWorkaroundImage()
596 public void qsort(Object[] list, QSortCompare comp) { in qsort() argument
598 quicksort(list, 0, list.length-1, comp); in qsort()
602 QSortCompare comp) { in quicksort() argument
604 int q = partition(list, p, r, comp); in quicksort()
[all …]
/titanic_41/usr/src/cmd/auditreduce/
H A Dregex2.c40 char *comp; /* The compiled regular expression */ member
62 if (p_exp[i].comp != NULL)
63 free(p_exp[i].comp);
77 p_exp[i].comp = NULL;
106 if ((p_exp[i].comp = regcmp(p_exp[i].s, NULL)) == NULL)
112 ret = regex(p_exp[i].comp, s);
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/java/awt/
H A DComponentShadow.java139 Component comp = (Component)body; in getOnBody() local
144 return (new Boolean(comp.isEnabled())); in getOnBody()
146 return (comp.getForeground()); in getOnBody()
148 return (comp.getBackground()); in getOnBody()
150 return (comp.getFont()); in getOnBody()
188 Component comp = (Component)body; in setOnBody() local
207 comp.setEnabled(((Boolean) value).booleanValue()); in setOnBody()
209 comp.setForeground((Color) value); in setOnBody()
211 comp.setBackground((Color) value); in setOnBody()
213 comp.setFont((Font) value); in setOnBody()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c226 struct compressor *comp; member
329 rv = pkt->comp->decompress(pkt->state, r,
353 pkt->comp->incomp(pkt->state, r, endp - r);
434 struct compressor **comp; local
450 for (comp = compressors; *comp != NULL; ++comp) {
451 if ((*comp)->compress_proto == dp[0]) {
453 (*cp->comp->decomp_free)(cp->state);
456 cp->comp = *comp;
457 cp->state = (*comp)->decomp_alloc(dp, CCP_OPT_LENGTH(dp));
460 && (*cp->comp->decomp_init)
[all …]
/titanic_41/usr/src/uts/common/net/
H A Dvjcompress.h142 extern void vj_compress_init __P((struct vjcompress *comp, int max_state));
144 struct vjcompress *comp, int compress_cid_flag,
146 extern void vj_uncompress_err __P((struct vjcompress *comp));
148 struct vjcompress *comp));
150 struct vjcompress *comp, uchar_t **hdrp,
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dblkptr.c48 enum zio_compress comp, int uncompressed_size, int compressed_size) in encode_embedded_bp_compressed() argument
56 comp != ZIO_COMPRESS_OFF); in encode_embedded_bp_compressed()
57 ASSERT3U(comp, >=, ZIO_COMPRESS_OFF); in encode_embedded_bp_compressed()
58 ASSERT3U(comp, <, ZIO_COMPRESS_FUNCTIONS); in encode_embedded_bp_compressed()
62 BP_SET_COMPRESS(bp, comp); in encode_embedded_bp_compressed()
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_concat.c412 devconfig_t *comp = NULL; in populate_concat() local
431 other_hbas, other_disks, B_TRUE, B_FALSE, B_FALSE, &comp); in populate_concat()
433 if ((error == 0) && (comp != NULL)) { in populate_concat()
435 item = dlist_new_item(comp); in populate_concat()
444 slices = dlist_remove_equivalent_item(slices, (void *) comp, in populate_concat()
452 if ((error = devconfig_get_name(comp, &cname)) == 0) { in populate_concat()
458 (error = devconfig_get_size(comp, &csize)) == 0) { in populate_concat()
547 devconfig_t *comp = NULL; in populate_explicit_concat() local
553 (error = create_devconfig_for_slice(rqst_slice, &comp)); in populate_explicit_concat()
559 item = dlist_new_item((void *)comp); in populate_explicit_concat()
[all …]

123456789