Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh49 comp=$(echo foo bar baz other | $XARGS -I THING echo '** THING **')
52 compare $t "$comp" "$good"
59 comp=$(echo foo bar baz other | $XARGS -n 1 echo '***')
65 compare $t "$comp" "$good"
72 comp=$(echo foo bar baz other | $XARGS -I THING -n1 echo '** THING **')
78 compare $t "$comp" "$good"
85 comp=$(echo foo bar baz other | $XARGS -n 1 -I THING echo '** THING **')
88 compare $t "$comp" "$good"
95 comp=$(printf "abc def\nxyz\n123" | $XARGS -n1 -i echo '[{}]')
100 compare $t "$comp" "$good"
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c257 char **comp = 0, **new, *str; in makeFilterComp() local
266 comp = am(myself, 2 * sizeof (comp[0])); in makeFilterComp()
267 if (comp == 0) in makeFilterComp()
269 comp[0] = sdup(myself, T, filter); in makeFilterComp()
270 if (comp[0] == 0) { in makeFilterComp()
271 sfree(comp); in makeFilterComp()
276 return (comp); in makeFilterComp()
293 new = realloc(comp, (nc+1) * sizeof (comp[nc])); in makeFilterComp()
295 if (comp != 0) { in makeFilterComp()
297 sfree(comp[i]); in makeFilterComp()
[all …]
H A Dldap_attr.h46 void freeFilterComp(char **comp, int numComps);
47 char **addFilterComp(char *nf, char **comp, int *numComps);
48 char *concatenateFilterComps(int numComps, char **comp);
/illumos-gate/usr/src/cmd/ast/libast/
H A DMakefile.defs57 aso cdt comp dir disc hash misc obsolete path port preroot \
79 comp/atexit.o \
80 comp/basename.o \
81 comp/catopen.o \
82 comp/closelog.o \
83 comp/creat64.o \
84 comp/dirname.o \
85 comp/dup2.o \
86 comp/eaccess.o \
87 comp/errno.o \
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
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 …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c52 #define INCR(counter) ++comp->stats.counter
75 vj_compress_init(struct vjcompress *comp, int max_state) in vj_compress_init() argument
78 register struct cstate *tstate = comp->tstate; in vj_compress_init()
84 bzero((char *)comp, sizeof (*comp)); in vj_compress_init()
94 comp->last_cs = &tstate[0]; in vj_compress_init()
95 comp->last_recv = 255; in vj_compress_init()
96 comp->last_xmit = 255; in vj_compress_init()
97 comp->flags = VJF_TOSS; in vj_compress_init()
158 vj_compress_tcp(register struct ip *ip, uint_t mlen, struct vjcompress *comp, in vj_compress_tcp() argument
161 register struct cstate *cs = comp->last_cs->cs_next; in vj_compress_tcp()
[all …]
/illumos-gate/usr/src/cmd/mt/
H A Dmt.c94 struct commands const *comp; in main() local
116 for (comp = com; comp->c_name != NULL; comp++) { in main()
117 if (strncmp(cp, comp->c_name, strlen(cp)) == 0) { in main()
122 if (comp->c_name == NULL) { in main()
127 mtfd = open(tape, comp->c_oflag); in main()
146 if (comp->c_code == MTIOCFORCERESERVE || in main()
147 comp->c_code == MTIOCRESERVE || in main()
148 comp->c_code == MTIOCRELEASE) { in main()
153 if (ioctl(mtfd, comp->c_code) < 0) { in main()
157 } else if (comp->c_code == MTASF) { in main()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_off_by_one_relative.c86 struct compare_data *comp; in array_check_data_info() local
109 comp = sm->state->data; in array_check_data_info()
110 if (strcmp(comp->left_var, offset_name) == 0) { in array_check_data_info()
111 if (db_var_is_array_limit(array, comp->right_var, comp->right_vsl)) { in array_check_data_info()
112 equal_name = comp->right_var; in array_check_data_info()
115 } else if (strcmp(comp->right_var, offset_name) == 0) { in array_check_data_info()
116 if (db_var_is_array_limit(array, comp->left_var, comp->left_vsl)) { in array_check_data_info()
117 equal_name = comp->left_var; in array_check_data_info()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dcomp_to_pack.c43 KCHAR comptopack(comp) in comptopack() argument
44 KCHAR comp; in comptopack()
55 c = comp & 0x00ff;
57 c = comp>>8 & 0x00ff;
61 code = (comp >> 8 & 0x00ff) | (((comp & 0x00ff) << 8) & 0xff00);
63 code = comp;
111 return(comp);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c135 char *comp; member
176 char *comp; in walk() local
191 comp = last->comp; in walk()
193 comp = vp->tmppath; in walk()
214 if ((*vp->statf)(comp, &statb, last, _AT_TRIGGER) >= 0) { in walk()
219 if ((this.fd = (*vp->opendirf)(comp)) == 0) { in walk()
221 (this.fd = (*vp->opendirf)(comp)) != 0) { in walk()
261 (cdlstat(comp, &statb, last, 0) >= 0) && in walk()
264 (nocdlstat(comp, &statb, last, 0) >= 0) && in walk()
329 this.comp = component; in walk()
[all …]
/illumos-gate/usr/src/lib/lib9p/common/
H A Drfuncs.c66 const char *endp, *comp; in r_basename() local
75 comp = "."; in r_basename()
90 comp = "/"; in r_basename()
117 comp = endp; in r_basename()
118 while (comp > path && comp[-1] != '/') in r_basename()
119 comp--; in r_basename()
120 len = (size_t)(endp - comp + 1); in r_basename()
133 memcpy(buf, comp, len); in r_basename()
/illumos-gate/usr/src/test/os-tests/tests/zen_umc/
H A Dzen_umc_test.c111 uint32_t fab, sock, die, comp; in zen_umc_test_fabric_one() local
146 &comp); in zen_umc_test_fabric_one()
161 if (comp != test->uft_comp_id) { in zen_umc_test_fabric_one()
164 test->uft_comp_id, comp); in zen_umc_test_fabric_one()
173 uint32_t fab, sock, die, comp; in zen_umc_test_fabric_one() local
195 &sock, &die, &comp); in zen_umc_test_fabric_one()
210 if (comp != test->uft_comp_id) { in zen_umc_test_fabric_one()
213 test->uft_comp_id, comp); in zen_umc_test_fabric_one()
222 zen_fabric_id_compose(test->uft_decomp, sock, die, comp, &fab); in zen_umc_test_fabric_one()
249 uint32_t sock, die, comp; in zen_umc_test_decode_one() local
[all …]
/illumos-gate/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);
/illumos-gate/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 …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dstdbit.c1037 uint64_t comp = test->st_res; in stdbit_test_one() local
1042 if (res != comp) { in stdbit_test_one()
1045 ops->so_name, test->st_val, res, comp); in stdbit_test_one()
1049 comp += ops->so_delta[0]; in stdbit_test_one()
1054 if (res != comp) { in stdbit_test_one()
1057 ops->so_name, test->st_val, res, comp); in stdbit_test_one()
1061 comp += ops->so_delta[1]; in stdbit_test_one()
1066 if (res != comp) { in stdbit_test_one()
1069 ops->so_name, test->st_val, res, comp); in stdbit_test_one()
1075 if (res != comp) { in stdbit_test_one()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c1501 power_dev(dev_info_t *dip, int comp, int level, int old_level, in power_dev() argument
1511 struct pm_component *cp = PM_CP(dip, comp); in power_dev()
1525 if (bc && comp == 0 && POWERING_OFF(old_level, level)) { in power_dev()
1538 power_req.req.ppm_set_power_req.cmpt = comp; in power_dev()
1553 pmf, PM_DEVICE(dip), cp->pmc_comp.pmc_name, comp, in power_dev()
1564 (bc && comp == 0 && POWERING_ON(old_level, level))) in power_dev()
1587 "to level %d (%s)\n", pmf, comp, cp->pmc_comp.pmc_name, in power_dev()
1606 if (bc && comp == 0) { in power_dev()
1616 (PM_CP(dip, comp)->pmc_flags & in power_dev()
1629 (PM_CP(dip, comp)->pmc_flags & in power_dev()
[all …]
/illumos-gate/usr/src/uts/common/net/
H A Dvjcompress.h140 extern void vj_compress_init __P((struct vjcompress *comp, int max_state));
142 struct vjcompress *comp, int compress_cid_flag,
144 extern void vj_uncompress_err __P((struct vjcompress *comp));
146 struct vjcompress *comp));
148 struct vjcompress *comp, uchar_t **hdrp,
/illumos-gate/usr/src/test/util-tests/tests/ar/
H A Dartest.ksh57 typeset comp="$2"
60 if ! $dump_prog -g $comp | sed 1d > $comp.dump; then
61 warn "failed to dump -g $comp"
65 if ! $nm_prog -P -tx $comp > $comp.nm; then
66 warn "failed to nm $comp"
70 if ! diff $base.dump $comp.dump; then
71 warn "$base.dump and $comp.dump don't match"
75 if ! diff $base.nm $comp.nm; then
76 warn "$base.dump and $comp.dump don't match"
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_log.h80 #define _NSCD_LOG(comp, lvl) if ((_nscd_log_comp & (comp)) && \ argument
84 #define _NSCD_LOG_IF(comp, lvl) if ((_nscd_log_comp & (comp)) && \ argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DMamfile131 make comp/conf.sh
132 done comp/conf.sh
133 meta conf %.sh>% comp/conf.sh conf
134 prev comp/conf.sh
141 exec - else ENV= LC_ALL=C $SHELL -n comp/conf.sh
148 exec - 0) ${STDCP} comp/conf.sh conf
151 exec - i=`(read x; echo $x) < comp/conf.sh`
155 exec - cat - comp/conf.sh <<'!'
162 exec - *) cat - comp/conf.sh > conf <<'!'
170 make comp/conf.tab
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityGroup.java160 Component comp = (Component) cpuIt.next(); in countForeignGroups() local
161 int id = (int) comp.getLongProperty("cpu.sys_id"); in countForeignGroups()
182 Component comp = (Component) cpuIt.next(); in contains() local
184 if (set_cpus[i] == (int)comp.getLongProperty( in contains()
186 contained.add(comp); in contains()
/illumos-gate/usr/src/lib/fm/topo/modules/common/dimm/
H A Dtopo_dimm.c621 dimm_comp_count_solo(const dimm_comp_t *comp, const spd_cache_t *cache, in dimm_comp_count_solo() argument
640 dimm_comp_count_dies(const dimm_comp_t *comp, const spd_cache_t *cache, in dimm_comp_count_dies() argument
658 dimm_comp_count_mask(const dimm_comp_t *comp, const spd_cache_t *cache, in dimm_comp_count_mask() argument
662 uint32_t combo_mask = cache->sc_devices & comp->dc_mask; in dimm_comp_count_mask()
678 dimm_comp_count_regs(const dimm_comp_t *comp, const spd_cache_t *cache, in dimm_comp_count_regs() argument
854 const dimm_comp_t *comp, const char *const *keys, uint_t nents) in dimm_comp_mfg_common_type() argument
861 if (comp->dc_type2str == NULL) { in dimm_comp_mfg_common_type()
863 "component type %s", comp->dc_comp); in dimm_comp_mfg_common_type()
868 (void) snprintf(prop, sizeof (prop), "%s-type", comp->dc_comp); in dimm_comp_mfg_common_type()
887 strs[i] = comp->dc_type2str(raw); in dimm_comp_mfg_common_type()
[all …]
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c205 fdlookup(vnode_t *dp, char *comp, vnode_t **vpp, pathname_t *pnp, int flags, in fdlookup() argument
209 if (comp[0] == 0 || strcmp(comp, ".") == 0 || strcmp(comp, "..") == 0) { in fdlookup()
214 return (fdget(dp, comp, vpp)); in fdlookup()
219 fdcreate(vnode_t *dvp, char *comp, vattr_t *vap, enum vcexcl excl, int mode, in fdcreate() argument
223 return (fdget(dvp, comp, vpp)); in fdcreate()
339 fdget(struct vnode *dvp, char *comp, struct vnode **vpp) in fdget() argument
344 while (*comp) { in fdget()
345 if (*comp < '0' || *comp > '9') in fdget()
347 n = 10 * n + *comp++ - '0'; in fdget()
/illumos-gate/usr/src/common/amdzen/
H A Dzen_fabric_utils.c40 const uint32_t die, const uint32_t comp) in zen_fabric_id_valid_parts() argument
50 if ((comp & ~decomp->dfd_comp_mask) != 0) { in zen_fabric_id_valid_parts()
87 const uint32_t die, const uint32_t comp, uint32_t *fabidp) in zen_fabric_id_compose() argument
91 ASSERT(zen_fabric_id_valid_parts(decomp, sock, die, comp)); in zen_fabric_id_compose()
96 (comp << decomp->dfd_comp_shift); in zen_fabric_id_compose()

12345678