Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/lib/libpcidb/common/
H A Dpcidb.c183 pcidb_subvd_t *sub; in parse_subdev() local
185 sub = malloc(sizeof (pcidb_subvd_t)); in parse_subdev()
186 if (sub == NULL) in parse_subdev()
189 sub->ps_dev = dev; in parse_subdev()
190 sub->ps_vend = dev->pd_vend; in parse_subdev()
191 list_insert_tail(&dev->pd_subs, sub); in parse_subdev()
195 sub->ps_vid = strtol(buf, NULL, 16); in parse_subdev()
198 sub->ps_did = strtol(buf, NULL, 16); in parse_subdev()
201 (void) strlcpy(sub->ps_name, buf, PCI_NAME_MAX); in parse_subdev()
203 return (sub); in parse_subdev()
[all …]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemcmp.S73 sub %ecx, %eax
107 sub $8, %rdx
142 sub (%rdi), %rax
143 sub 8 (%rdi), %r8
144 sub 16 (%rdi), %r9
145 sub 24 (%rdi), %r10
152 sub $32, %rdx
181 sub $8, %r8d
187 sub %ecx, %eax
215 sub (%rdi), %rax
[all …]
H A Dstrcmp.S81 sub $0xffff, %edx /* if first 16 bytes are same, edx == 0xffff */
84 sub $16, %r11
111 sub %rax, %r9
131 sub %r9d, %edx
155 sub $0xffff, %edx
159 sub $16, %r11
170 sub $0xffff, %edx
173 sub $16, %r11
195 sub %r9d, %edx
210 sub $0x1000, %r10 /* subtract 4K pagesize */
[all …]
H A Dstrcpy.S82 sub $16, %r8
118 sub %rdx, %r9 /* src offset - dest offset */
149 sub $16, %r8
164 sub $16, %r8
176 sub $16, %r8
188 sub $16, %r8
201 sub $16, %r8
239 sub $16, %r8
260 sub $16, %r8
284 sub $16, %r8
[all …]
H A Dmemcpy.S304 sub $0xf,%r8
323 sub $0xe,%r8
338 sub $0xd,%r8
354 sub $0xc,%r8
367 sub $0xb,%r8
383 sub $0xa,%r8
396 sub $0x9,%r8
411 sub $0x8,%r8
420 sub $0x7,%r8
435 sub $0x6,%r8
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregsubcomp.c111 register regsub_t* sub; in regsubcomp() local
132 …if (!(sub = (regsub_t*)alloc(p->env->disc, 0, sizeof(regsub_t) + strlen(s))) || !(sub->re_ops = (r… in regsubcomp()
134 if (sub) in regsubcomp()
135 alloc(p->env->disc, sub, 0); in regsubcomp()
139 sub->re_buf = sub->re_end = 0; in regsubcomp()
140 p->re_sub = sub; in regsubcomp()
141 p->env->sub = 1; in regsubcomp()
142 op = sub->re_ops; in regsubcomp()
156 t = sub->re_rhs; in regsubcomp()
289 if ((op->len = (t - sub->re_rhs) - op->off) && (n = ++op - sub->re_ops) >= nops) in regsubcomp()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A Dlilly.progs79 {if(sub(/=/,"#"))print $0}
80 {if(sub(/\=/,"#"))print $0}
81 {if(sub(/==/,"#"))print $0}
82 {if(sub(/\+=/,"#"))print $0}
83 {if(sub(/\*=/,"#"))print $0}
84 {if(sub(/-=/,"#"))print $0}
85 {if(sub(/\/=/,"#"))print $0}
86 {if(sub(/%=/,"#"))print $0}
87 {if(sub(/^=/,"#"))print $0}
88 {if(sub(/!=/,"#"))print $0}
[all …]
H A Dlilly.ok783 ### 79 {if(sub(/=/,"#"))print $0}
797 ### 80 {if(sub(/\=/,"#"))print $0}
811 ### 81 {if(sub(/==/,"#"))print $0}
813 ### 82 {if(sub(/\+=/,"#"))print $0}
815 ### 83 {if(sub(/\*=/,"#"))print $0}
817 ### 84 {if(sub(/-=/,"#"))print $0}
819 ### 85 {if(sub(/\/=/,"#"))print $0}
821 ### 86 {if(sub(/%=/,"#"))print $0}
823 ### 87 {if(sub(/^=/,"#"))print $0}
825 ### 88 {if(sub(/!=/,"#"))print $0}
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx_util.c347 sub_init(sub_t *sub, sysdem_ops_t *ops) in sub_init() argument
349 (void) memset(sub, 0, sizeof (*sub)); in sub_init()
350 sub->sub_ops = (ops != NULL) ? ops : sysdem_ops_default; in sub_init()
354 sub_fini(sub_t *sub) in sub_fini() argument
356 if (sub == NULL) in sub_fini()
359 sub_clear(sub); in sub_fini()
360 xfree(sub->sub_ops, sub->sub_items, sub->sub_size); in sub_fini()
361 sub->sub_items = NULL; in sub_fini()
362 sub->sub_size = 0; in sub_fini()
366 sub_clear(sub_t *sub) in sub_clear() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrmatch.c80 strgrpmatch(const char* b, const char* p, ssize_t* sub, int n, register int flags) in strgrpmatch() argument
99 if (sub && n > 0) in strgrpmatch()
103 int* subi = (int*)sub; in strgrpmatch()
108 sub[0] = sub[1] = 0; in strgrpmatch()
133 if (!sub || n <= 0) in strgrpmatch()
145 if (!sub || n <= 0) in strgrpmatch()
150 int* subi = (int*)sub; in strgrpmatch()
161 end = sub + n * 2; in strgrpmatch()
162 for (n = 0; sub < end && n <= i; n++) in strgrpmatch()
164 *sub++ = matchstate.match[n].rm_so; in strgrpmatch()
[all …]
H A Dccmapid.c142 ssize_t sub[2]; in ccmapid() local
147 if (strgrpmatch(name, mp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE)) in ccmapid()
149 if (!(c = name[sub[1]])) in ccmapid()
151 if (sub[1] > n && !isalpha(c)) in ccmapid()
153 n = sub[1]; in ccmapid()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dregcmp.c40 unsigned char sub[SUB]; member
75 unsigned char sub[SUB]; in regcmp() local
142 memset(sub, 0, sizeof(sub)); in regcmp()
145 sub[j] = paren[i] + 1; in regcmp()
185 memcpy(re->sub, sub, (nsub + 1) * sizeof(sub[0])); in regcmp()
196 char* sub[SUB + 1]; in regex() local
207 sub[n] = va_arg(ap, char*); in regex()
215 if (i = re->sub[n]) in regex()
219 strlcpy(sub[n], subject + match[i].rm_so, k); in regex()
220 *(sub[n] + k) = 0; in regex()
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dt.sub02 {sub(/[aeiou]/, "foo"); print}
3 {sub("[aeiou]", "foo"); print}
8 {sub(/[aeiou]/, "&foo"); print}
9 {sub("[aeiou]", "&foo"); print}
14 {sub(/[aeiou]/, "\&foo"); print}
15 {sub("[aeiou]", "\&foo"); print}
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrsqrtf.S423 sub %l0,%l7,%l7 ! (5_0) iexp1 = 0x3f - iexp1;
429 sub %l0,%i3,%o0 ! (4_0) iexp0 = 0x3f - iexp0;
471 sub %l0,%i1,%i1 ! (1_0) iexp1 = 0x3f - iexp1;
474 sub %l0,%i3,%g5 ! (0_0) iexp0 = 0x3f - iexp0;
533 sub %l0,%o3,%o3 ! (3_0) iexp1 = 0x3f - iexp1;
537 sub %l0,%i3,%g5 ! (2_0) iexp0 = 0x3f - iexp0;
605 sub %l0,%l7,%l7 ! (5_0) iexp1 = 0x3f - iexp1;
615 sub %l0,%i3,%o0 ! (4_0) iexp0 = 0x3f - iexp0;
641 sub counter,6,counter ! counter
687 sub %l0,%i1,%i1 ! (1_0) iexp1 = 0x3f - iexp1;
[all …]
H A D__vrsqrt.S250 sub %g0,%o7,%o7 ! (6_1) iexp = -iexp;
275 sub %g0,%o7,%o7 ! (0_0) iexp = -iexp;
323 sub %g0,%o7,%o7 ! (1_0) iexp = -iexp;
362 sub %g0,%o7,%o7 ! (2_0) iexp = -iexp;
406 sub %g0,%o7,%o7 ! (3_0) iexp = -iexp;
453 sub %g0,%o7,%o7 ! (4_0) iexp = -iexp;
485 sub %g0,%o7,%o7 ! (5_0) iexp = -iexp;
523 sub counter,7,counter ! counter
569 sub %g0,%o7,%o7 ! (6_1) iexp = -iexp;
613 sub %g0,%o7,%o7 ! (0_0) iexp = -iexp;
[all …]
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_capab.c376 dl_capability_sub_t *sub, *end; in i_capab_ack() local
392 sub = (dl_capability_sub_t *)((caddr_t)cap + cap->dl_sub_offset); in i_capab_ack()
394 - sizeof (*sub)); in i_capab_ack()
395 for (; (sub <= end) && (err == 0); ) { in i_capab_ack()
396 switch (sub->dl_cap) { in i_capab_ack()
398 err = i_capab_id_ack(mp, sub, q, op, arg); in i_capab_ack()
401 err = i_capab_sub_ack(mp, sub, q, op, arg); in i_capab_ack()
404 sub = (dl_capability_sub_t *)((caddr_t)sub + sizeof (*sub) in i_capab_ack()
405 + sub->dl_length); in i_capab_ack()
452 i_capab_sub_ack(mblk_t *mp, dl_capability_sub_t *sub, queue_t *q, in i_capab_sub_ack() argument
[all …]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcmp.S78 sub %o4, 8, %o4 ! o4 = -(num of bytes to dbl align)
80 sub %o3, %o4, %o3 ! o3 = 8 + (num of bytes to dbl align)
99 sub %g0, %g0, %o0
134 sub %o1, %o0, %o1 ! o1 gets the difference
139 sub %o2, 8, %o2
143 sub %o1, %o0, %o1 ! o1 gets the difference
157 sub %g0, %g0, %o0 ! strings compare equal
163 sub %o4, %o5, %o0 ! return(*s1 - *s2)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c2759 } sub; /* submode */ member
2872 if (((z->state->sub.method = NEXTBYTE) & 0xf) != DEFLATED)
2876 z->state->sub.marker = 5; /* can't try inflateSync */
2879 if ((z->state->sub.method >> 4) + 8 > z->state->wbits)
2883 z->state->sub.marker = 5; /* can't try inflateSync */
2894 z->state->sub.marker = 5; /* can't try inflateSync */
2897 if (((z->state->sub.method << 8) + b) % 31)
2901 z->state->sub.marker = 5; /* can't try inflateSync */
2914 z->state->sub.marker = 0; /* can try inflateSync */
2920 inflate_blocks_reset(z->state->blocks, z, &z->state->sub.check.was);
[all …]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemcmp.S71 sub %o4, 8, %o4 ! o4 = -(num of bytes to dbl align)
73 sub %o3, %o4, %o3 ! o3 = 8 + (num of bytes to dbl align)
93 sub %g0, %g0, %o0
130 sub %o1, %o0, %o1 ! o1 gets the difference
135 sub %o2, 8, %o2
139 sub %o1, %o0, %o1 ! o1 gets the difference
153 sub %g0, %g0, %o0 ! strings compare equal
159 sub %o4, %o5, %o0 ! return(*s1 - *s2)
171 sub %i3, 64, %i3
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c63 register char *sub=0, *cp=(char*)np; in scope() local
84 Fun = sh_arith(shp,sub=stakptr(offset)); in scope()
113 sub = nv_refsub(np); in scope()
124 if(sub) in scope()
125 nv_putsub(np,sub,assign==NV_ASSIGN?ARRAY_ADD:0); in scope()
131 if(sub) in scope()
135 sub = cp; in scope()
157 sfprintf(shp->strbuf,"%s%s%c",nv_name(np),sub,0); in scope()
158 sub = sfstruse(shp->strbuf); in scope()
160 if(strchr(sub,'$')) in scope()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c3620 } sub; /* submode */ member
3754 if (((z->state->sub.method = NEXTBYTE) & 0xf) != Z_DEFLATED)
3759 z->state->sub.marker = 5;
3762 if ((z->state->sub.method >> 4) + 8 > z->state->wbits)
3767 z->state->sub.marker = 5;
3775 if (((z->state->sub.method << 8) + b) % 31)
3780 z->state->sub.marker = 5;
3793 z->state->sub.check.need = (uLong)NEXTBYTE << 24;
3798 z->state->sub.check.need += (uLong)NEXTBYTE << 16;
3803 z->state->sub.check.need += (uLong)NEXTBYTE << 8;
[all …]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A D_stack_grow.S66 sub %o1, STACK_BIAS, %o3
68 sub %o0, %o3, %o4
87 sub %sp, %o3, %o4
91 sub %o3, STACK_ALIGN, %sp
H A Dmemcmp.S62 sub %o1, %o0, %o1
143 sub %o4, %o5, %o0 ! delay slot, return(*s1 - *s2)
160 sub %o1, %o0, %o1
171 sub %o1, 1, %o1 ! used 3 bytes of the last word read
183 sub %o1, %o0, %o1
194 sub %o1, 3, %o1 ! used 1 byte of the last word read
205 sub %o1, %o0, %o1
216 sub %o1, 2, %o1 ! only used half of the last read word
221 sub %o1, %o0, %o1
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemcmp.S61 sub %o1, %o0, %o1
140 sub %o4, %o5, %o0 ! delay slot, return(*s1 - *s2)
157 sub %o1, %o0, %o1
168 sub %o1, 1, %o1 ! used 3 bytes of the last word read
180 sub %o1, %o0, %o1
191 sub %o1, 3, %o1 ! used 1 byte of the last word read
201 sub %o1, %o0, %o1
212 sub %o1, 2, %o1 ! only used half of the last read word
217 sub %o1, %o0, %o1
/illumos-gate/usr/src/boot/sys/sys/
H A Dmodule.h139 #define DECLARE_MODULE_WITH_MAXVER(name, data, sub, order, maxver) \ argument
143 SYSINIT(name##module, sub, order, module_register_init, &data); \
146 #define DECLARE_MODULE(name, data, sub, order) \ argument
147 DECLARE_MODULE_WITH_MAXVER(name, data, sub, order, MODULE_KERNEL_MAXVER)
156 #define DECLARE_MODULE_TIED(name, data, sub, order) \ argument
157 DECLARE_MODULE_WITH_MAXVER(name, data, sub, order, __FreeBSD_version)

12345678910>>...13