/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | check-enum.c | 123 uint_t d; in main() local 133 for (d = 0; descents[d].cdt_sym != NULL; d++) { in main() 134 if (!ctftest_check_descent(descents[d].cdt_sym, fp, in main() 135 descents[d].cdt_tests, B_FALSE)) { in main() 140 for (d = 0; enums[d].cet_type != NULL; d++) { in main() 141 if (!ctftest_check_enum(enums[d].cet_type, fp, in main() 142 enums[d].cet_tests)) { in main() 147 for (d = 0; size_enums[d].cst_name != NULL; d++) { in main() 148 if (!ctftest_check_size(size_enums[d].cst_name, in main() 149 fp, size_enums[d].cst_size)) { in main()
|
/illumos-gate/usr/src/msg/ |
H A D | Makefile | 97 for d in SUNW*;\ 99 x="`$(ECHO) $$d/*.po`"; \ 100 y="$$d/"'*.po'; \ 101 $(RM) $(ROOTMSGDIR)/$$d.po; \ 103 for f in $$d/*.po; \ 107 $(ROOTMSGDIR)/$$d.po; \ 111 x="`$(ECHO) $$d/*.msg`"; \ 112 y="$$d/"'*.msg'; \ 114 for f in $$d/*.msg; \ 124 for d in SUNW*;\ [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_div.c | 352 xx[3] = c - d; in _Qp_div() 367 xx[3] = c - d; in _Qp_div() 382 xx[3] = c - d; in _Qp_div() 397 xx[3] = c - d; in _Qp_div() 452 zz[0] *= u.d; in _Qp_div() 453 zz[1] *= u.d; in _Qp_div() 454 zz[2] *= u.d; in _Qp_div() 459 u.d = d = two36 + zz[0]; in _Qp_div() 463 u.d = d = two4 + zz[0]; in _Qp_div() 468 u.d = d = twom28 + (zz[0] + zz[1]); in _Qp_div() [all …]
|
H A D | _F_cplx_div.c | 61 double d; member 89 float a, b, c, d; in _F_cplx_div() local 102 d = ((float *)&w)[1]; in _F_cplx_div() 104 r = (double)c * c + (double)d * d; in _F_cplx_div() 115 ((float *)&v)[0] = a * c + b * d; in _F_cplx_div() 116 ((float *)&v)[1] = b * c - a * d; in _F_cplx_div() 121 x = ((double)a * c + (double)b * d) * r; in _F_cplx_div() 122 y = ((double)b * c - (double)a * d) * r; in _F_cplx_div() 139 r = inf.d; in _F_cplx_div() 143 j = testinff(d); in _F_cplx_div() [all …]
|
H A D | _D_cplx_mul.c | 59 double d; member 72 double d; in testinf() member 75 xx.d = x; in testinf() 84 double a, b, c, d, x, y; in _D_cplx_mul() local 96 d = ((double *)&w)[1]; in _D_cplx_mul() 98 x = a * c - b * d; in _D_cplx_mul() 99 y = a * d + b * c; in _D_cplx_mul() 119 j = testinf(d); in _D_cplx_mul() 123 d = j; in _D_cplx_mul() 127 x = inf.d * (a * c - b * d); in _D_cplx_mul() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/qsort/ |
H A D | qsort_test.c | 178 d->name, sub, i, m, n); in check_result() 181 d->name, i, m, n); in check_result() 427 d->name, n, elapsed); in print_timing() 471 d->fill(x, n, m); \ 571 d->fill(x, n, 0); \ 590 TEST_SIMPLE(d, n, x, y, z); in test_simple_i() 602 TEST_SIMPLE(d, n, x, y, z); in test_simple_ll() 720 for (d = distributions; d->name != NULL; d++) { in run_tests() 723 if (d->test(d, n, x, y, z) != 0) in run_tests() 754 for (d = distributions; d->name != NULL; d++) { in main() [all …]
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | utils.c | 83 *d = NULL; in dup_pw() 86 if ((*d = calloc(1, sizeof (**d))) == NULL) in dup_pw() 97 (*d)->pw_uid = s->pw_uid; in dup_pw() 98 (*d)->pw_gid = s->pw_gid; in dup_pw() 116 free_pwd(*d); in dup_pw() 117 *d = NULL; in dup_pw() 122 dup_spw(struct spwd **d, struct spwd *s) in dup_spw() argument 125 *d = NULL; in dup_spw() 128 if ((*d = calloc(1, sizeof (**d))) == NULL) in dup_spw() 131 **d = *s; in dup_spw() [all …]
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | lint.sed | 1 /stdio.h".*sometimes ignored: fprintf/d 2 /stdio.h".*always ignored: snprintf/d 3 /stdio.h".*always ignored: printf/d 4 /string.h".*sometimes ignored: memcpy/d 5 /time.h".*sometimes ignored: time/d 8 /main.c",.*modification using a NULL pointer/d 9 /dirs.c",.*name used but not defined: utime /d 10 /lint suppression directive/d 11 /byteorder.c",.*inconsistent use of a value type/d 13 /unistd.h".*always ignored: sleep/d [all …]
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | deathrow.c | 195 deathrow_t *d; in deathrow_fini() local 205 startd_free(d->fmri, strlen(d->fmri) + 1); in deathrow_fini() 206 startd_free(d, sizeof (deathrow_t)); in deathrow_fini() 219 deathrow_t *d; in deathrow_add() local 225 (void) strcpy(d->fmri, fmri); in deathrow_add() 226 uu_list_node_init(d, &d->deathrow_link, deathrow_pool); in deathrow_add() 235 deathrow_t *d; in fmri_in_deathrow_internal() local 241 for ((d = uu_list_first(deathrow_list)); d != NULL; in fmri_in_deathrow_internal() 242 d = uu_list_next(deathrow_list, d)) { in fmri_in_deathrow_internal() 243 if (strcmp(fmri, d->fmri) == 0) { in fmri_in_deathrow_internal() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_l2t.c | 156 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e() 163 d->rover = e + 1; in alloc_l2e() 227 struct l2t_data *d; in t4_init_l2t() local 234 if (!d) in t4_init_l2t() 239 d->rover = d->l2tab; in t4_init_l2t() 255 return (d); in t4_init_l2t() 266 kmem_free(d, sizeof (*d)); in t4_free_l2t() 407 struct l2t_data *d; in t4_l2e_free() local 478 l2t_hold(d, e); in t4_l2t_get() 484 e = alloc_l2e(d); in t4_l2t_get() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/etc/init.d/ |
H A D | Makefile | 36 INITD= $(ROOTETC)/init.d 37 DIRS= $(INITD) $(ROOTETC)/rc0.d $(ROOTETC)/rcS.d $(ROOTETC)/rc1.d \ 38 $(ROOTETC)/rc2.d $(ROOTETC)/rc3.d 53 -$(RM) $(ROOTETC)/rc0.d/$(PPPDK) 54 $(LN) $(INITD)/$(PPPD) $(ROOTETC)/rc0.d/$(PPPDK) 55 -$(RM) $(ROOTETC)/rc1.d/$(PPPDK) 56 $(LN) $(INITD)/$(PPPD) $(ROOTETC)/rc1.d/$(PPPDK) 57 -$(RM) $(ROOTETC)/rcS.d/$(PPPDK) 58 $(LN) $(INITD)/$(PPPD) $(ROOTETC)/rcS.d/$(PPPDK) 59 -$(RM) $(ROOTETC)/rc2.d/$(PPPDS) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfdisc.c | 189 { for(d = f->disc; d && !d->iof; d = d->disc) ; \ 190 func = d ? d->iof : NIL(type); \ 201 if(d->exceptf) 203 if((*(d->exceptf))(f,SF_DPOP,(Void_t*)disc,d) < 0 ) 208 rdisc = d; 214 d = f->disc; 215 if(d && d->exceptf) 217 if( (*(d->exceptf))(f,SF_DPUSH,(Void_t*)disc,d) < 0 ) 224 for(; d; d = d->disc) 225 if(d == disc) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | tokline.c | 73 sfclose(d->sp); in spliceline() 76 free(d); in spliceline() 81 if (!(buf = sfgetr(d->sp, '\n', 0)) && !(buf = sfgetr(d->sp, '\n', -1))) in spliceline() 83 n = sfvalue(d->sp); in spliceline() 84 q = d->quote; in spliceline() 86 (*d->line)++; in spliceline() 139 d->quote = q; in spliceline() 162 Splice_t* d; in tokline() local 172 free(d); in tokline() 179 free(d); in tokline() [all …]
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_helper.c | 53 directory_t d, in directory_sid_from_name_common() argument 77 if (d == NULL) { in directory_sid_from_name_common() 82 d1 = d; in directory_sid_from_name_common() 120 if (d == NULL) in directory_sid_from_name_common() 127 directory_t d, in directory_sid_from_name() argument 164 directory_t d, in directory_canon_common() argument 193 if (d == NULL) { in directory_canon_common() 198 d1 = d; in directory_canon_common() 233 if (d == NULL) in directory_canon_common() 240 directory_t d, in directory_name_from_sid() argument [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/ |
H A D | 64.vbmi.out | 1 libdis_test: 62 f2 75 08 8d d0 vpermb %xmm0,%xmm1,%xmm2 2 libdis_test+0x6: 62 52 25 09 8d e2 vpermb %xmm10,%xmm11,%xmm12{%k1} 4 libdis_test+0x12: 62 f2 75 08 8d 10 vpermb (%rax),%xmm1,%xmm2 13 libdis_test+0x3b: 62 f2 75 28 8d d0 vpermb %ymm0,%ymm1,%ymm2 16 libdis_test+0x4d: 62 f2 75 28 8d 10 vpermb (%rax),%ymm1,%ymm2 25 libdis_test+0x79: 62 f2 75 48 8d d0 vpermb %zmm0,%zmm1,%zmm2 28 libdis_test+0x8b: 62 f2 75 48 8d 10 vpermb (%rax),%zmm1,%zmm2 37 libdis_test+0xb7: 62 f2 f5 08 8d d0 vpermw %xmm0,%xmm1,%xmm2 40 libdis_test+0xc9: 62 f2 f5 08 8d 10 vpermw (%rax),%xmm1,%xmm2 49 libdis_test+0xf2: 62 f2 f5 28 8d d0 vpermw %ymm0,%ymm1,%ymm2 [all …]
|
H A D | 32.vbmi2.out | 51 libdis_test+0xd3: 62 f3 5d 1d 71 aa vpshldd $0x42,0x72(%edx){1to4},%xmm4,%xmm5{%k5} 67 libdis_test+0x118: 62 f3 5d 3d 71 aa vpshldd $0x42,0x72(%edx){1to8},%ymm4,%ymm5{%k5} 83 libdis_test+0x15d: 62 f3 5d 5d 71 aa vpshldd $0x42,0x72(%edx){1to16},%zmm4,%zmm5{%k5} 183 libdis_test+0x30a: 62 f3 5d 1d 73 aa vpshrdd $0x42,0x72(%edx){1to4},%xmm4,%xmm5{%k5} 199 libdis_test+0x34f: 62 f3 5d 3d 73 aa vpshrdd $0x42,0x72(%edx){1to8},%ymm4,%ymm5{%k5} 397 libdis_test+0x6fc: 62 f2 5d 1d 71 aa vpshldvd 0x72(%edx){1to4},%xmm4,%xmm5{%k5} 408 libdis_test+0x739: 62 f2 5d 3d 71 aa vpshldvd 0x72(%edx){1to8},%ymm4,%ymm5{%k5} 419 libdis_test+0x776: 62 f2 5d 5d 71 aa vpshldvd 0x72(%edx){1to16},%zmm4,%zmm5{%k5} 487 libdis_test+0x8f1: 62 f2 5d 1d 73 aa vpshrdvd 0x72(%edx){1to4},%xmm4,%xmm5{%k5} 498 libdis_test+0x92e: 62 f2 5d 3d 73 aa vpshrdvd 0x72(%edx){1to8},%ymm4,%ymm5{%k5} [all …]
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | update.c | 219 register Dnode *d; in _elf_upd_lib() local 237 for (d = s->s_hdnode; d != 0; d = d->db_next) { in _elf_upd_lib() 253 d->db_xoff = sz; in _elf_upd_lib() 397 register Dnode *d; in _elf_upd_usr() local 406 for (d = s->s_hdnode; d != 0; d = d->db_next) { in _elf_upd_usr() 415 ((j = (d->db_data.d_off + d->db_osz)) > sz)) in _elf_upd_usr() 601 for (; d != 0; prevd = d, d = d->db_next) in wrt() 616 d != 0; prevd = d, d = d->db_next) { in wrt() 642 &d->db_data) { in wrt() 918 d != 0; prevd = d, d = d->db_next) { in _elfxx_swap_wrimage() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-sha2.c | 223 #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) argument 227 #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) argument 465 (d) += T1; \ 475 (d) += T1; \ 488 (d) += T1; \ 582 e = d + T1; in SHA256_Transform() 583 d = c; in SHA256_Transform() 605 e = d + T1; in SHA256_Transform() 606 d = c; in SHA256_Transform() 946 d = c; in SHA512_Transform() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/data/ |
H A D | repetition.out | 20 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,6)(3,6)(6,6) 21 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,6)(3,6)(6,6) 22 :HA#262:E (a|ab|c|bcd){2,}(d*) ababcd (0,6)(3,6)(6,6) 23 :HA#263:E (a|ab|c|bcd){3,}(d*) ababcd (0,6)(3,6)(6,6) 27 :HA#270:E (a|ab|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6) 28 :HA#271:E (a|ab|c|bcd)+(d*) ababcd (0,6)(3,6)(6,6) 29 :HA#280:E (ab|a|c|bcd){0,}(d*) ababcd (0,6)(3,6)(6,6) 30 :HA#281:E (ab|a|c|bcd){1,}(d*) ababcd (0,6)(3,6)(6,6) 31 :HA#282:E (ab|a|c|bcd){2,}(d*) ababcd (0,6)(3,6)(6,6) 36 :HA#290:E (ab|a|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6) [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 257 Dyn *d[DI_NENT] = { 0 }; in fake_elf64() local 286 d[DI_PLTGOT] = &dp[i]; in fake_elf64() 289 d[DI_JMPREL] = &dp[i]; in fake_elf64() 295 d[DI_PLTREL] = &dp[i]; in fake_elf64() 304 d[DI_HASH] = &dp[i]; in fake_elf64() 324 d[DI_STRSZ] = &dp[i]; in fake_elf64() 338 if ((d[DI_SUNW_SYMTAB] != NULL) && (d[DI_SUNW_SYMSZ] != NULL) && in fake_elf64() 339 ((d[DI_SYMTAB]->d_un.d_ptr <= d[DI_SUNW_SYMTAB]->d_un.d_ptr) || in fake_elf64() 340 (d[DI_SYMTAB]->d_un.d_ptr >= (d[DI_SUNW_SYMTAB]->d_un.d_ptr + in fake_elf64() 404 if (d[DI_PLTGOT] != NULL && d[DI_JMPREL] != NULL && in fake_elf64() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmhdr.h | 395 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) argument 396 #define PFOBJ(d) (PFDATA(d)->head.seg.pf) argument 397 #define PFSIZE(d) (PFDATA(d)->head.size.size) argument 419 #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) argument 423 #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) argument 424 #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) argument 427 #define DB2BEST(d) ((Vmuchar_t*)(d) - 2*sizeof(Head_t)) argument 431 #define DBSETFL(d,f,l) (DBFILE(d) = (f), DBLN(d) = (f) ? (l) : 1) argument 434 #define DBSETBAD(d) (DBLN(d) > 0 ? (DBLN(d) = -DBLN(d)) : -1) argument 435 #define DBISBAD(d) (DBLN(d) <= 0) argument [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | compat.c | 47 if (d != NULL) { in RSA_set0_key() 48 BN_free(r->d); in RSA_set0_key() 49 r->d = d; in RSA_set0_key() 112 if (d != NULL) in RSA_get0_key() 113 *d = r->d; in RSA_get0_key() 142 *p = d->p; in DSA_get0_pqg() 144 *q = d->q; in DSA_get0_pqg() 146 *g = d->g; in DSA_get0_pqg() 162 d->p = p; in DSA_set0_pqg() 166 d->q = q; in DSA_set0_pqg() [all …]
|
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | _X_cplx_div.c | 88 long double a, b, c, d, r; in _X_cplx_div() local 100 d = ((long double *)&w)[1]; in _X_cplx_div() 110 dd.e = d; in _X_cplx_div() 119 j = testinfl(d); in _X_cplx_div() 130 d *= 0.5f; in _X_cplx_div() 147 ((long double *)&v)[0] = a * c + b * d; in _X_cplx_div() 148 ((long double *)&v)[1] = b * c - a * d; in _X_cplx_div() 160 ((long double *)&v)[0] = a * c + b * d; in _X_cplx_div() 179 d *= ss.e; in _X_cplx_div() 180 r = 1.0f / (c * c + d * d); in _X_cplx_div() [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_dbus.c | 579 HalDevice *d; in manager_device_exists() local 595 if (d == NULL) in manager_device_exists() 600 b = d != NULL; in manager_device_exists() 911 HalDevice *d; in device_get_all_properties() local 1034 HalDevice *d; in device_set_multiple_properties() local 1191 HalDevice *d; in device_get_property() local 1255 double d; in device_get_property() local 1319 HalDevice *d; in device_get_property_type() local 1520 HalDevice *d; in device_add_capability() local 1572 HalDevice *d; in device_string_list_append_prepend() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | paste.c | 107 for(d=n; d>dlen; d-=dlen) in paste() 109 if(d) in paste() 115 z = d; in paste() 130 if(d >= dlen) in paste() 131 d = 0; in paste() 133 sfwrite(out,mp[d].chr,mp[d].len); in paste() 136 d++; in paste() 159 if(d >= dlen) in spaste() 160 d = 0; in spaste() 162 sfwrite(out,mp[d].chr,mp[d].len); in spaste() [all …]
|