| /onnv-gate/usr/src/cmd/dtrace/demo/ |
| H A D | Makefile | 28 iprb.d 31 applicat.d \ 32 badopen.d \ 33 begin.d \ 34 callout.d \ 35 clause.d \ 36 clear.d \ 37 countdown.d \ 38 counter.d \ 39 dateprof.d \ [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/x2p/ |
| H A D | a2py.c | 224 register char *d; in yylex() local 299 for (d = s + 1; isSPACE(*d); d++) ; in yylex() 300 if (!*d) in yylex() 301 s = d - 1; in yylex() 400 d = tokenbuf; \ in yylex() 402 *d++ = *s++; \ in yylex() 403 *d = '\0'; \ in yylex() 404 d = tokenbuf; \ in yylex() 421 for (d = s; isDIGIT(*s); s++) ; in yylex() 422 yylval = string(d,s-d); in yylex() [all …]
|
| /onnv-gate/usr/src/uts/common/io/bpf/ |
| H A D | bpf.c | 145 static int bpf_ifname(struct bpf_d *d, char *, int); 241 bpf_attachd(struct bpf_d *d, const char *ifname, int dlt) in bpf_attachd() argument 254 ASSERT(d->bd_bif == NULL); in bpf_attachd() 255 ASSERT(d->bd_mcip == NULL); in bpf_attachd() 256 zone = d->bd_zone; in bpf_attachd() 314 d->bd_mac = *bpr; in bpf_attachd() 315 d->bd_mcip = mcip; in bpf_attachd() 316 d->bd_bif = mh; in bpf_attachd() 317 d->bd_dlt = nicdlt; in bpf_attachd() 319 d->bd_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpf_attachd() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | Dumpvalue.t | 18 my $d; 19 ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' ); 21 $d->set( globPrint => 1, dumpReused => 1 ); 22 is( $d->{globPrint}, 1, 'set an option correctly' ); 23 is( $d->get('globPrint'), 1, 'get an option correctly' ); 24 is( $d->get('globPrint', 'dumpReused'), qw( 1 1 ), 'get multiple options' ); 32 is( $d->stringify(), 'undef', 'stringify handles undef okay' ); 35 $d->{printUndef} = 0; 36 is( $d->stringify(), "''", 'stringify skips undef when asked nicely' ); 38 is( $d->stringify(*FOO), *FOO . "", 'stringify stringifies globs alright' ); [all …]
|
| /onnv-gate/usr/src/lib/fm/topo/maps/i86pc/ |
| H A D | fan-hc-topology.xmlgen | 52 label => "FT %d", 59 label => "FT %d FM %d", 60 entity_ref => "ft%d.fm%d.led", 62 fm_service_indctr => "ft%d.fm%d.led", 80 label => "FT %d", 83 entity_ref => "FT%d/PRSNT,ft%d.prsnt", 85 fm_service_indctr => "FT%d/SVC,ft%d.service.led", 86 fm_ok2rm_indctr => "FT%d/OK,ft%d.ok2rm.led", 91 entity_ref => "FT%d/FAN%d/TACH,ft%d.f%d.speed", 116 label => "FANBD%d", [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/lib/ |
| H A D | getopt.c | 129 if (d->__nonoption_flags_len > 0) \ 152 exchange (char **argv, struct _getopt_data *d) in exchange() argument 154 int bottom = d->__first_nonopt; in exchange() 155 int middle = d->__last_nonopt; in exchange() 156 int top = d->optind; in exchange() 168 if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len) in exchange() 174 d->__nonoption_flags_len = d->__nonoption_flags_max_len = 0; in exchange() 178 d->__nonoption_flags_max_len), in exchange() 179 '\0', top + 1 - d->__nonoption_flags_max_len); in exchange() 180 d->__nonoption_flags_max_len = top + 1; in exchange() [all …]
|
| /onnv-gate/usr/src/cmd/hal/hald/solaris/ |
| H A D | devinfo_misc.c | 34 const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout); 75 HalDevice *d, *local_d; in devinfo_computer_add() local 82 d = hal_device_new (); in devinfo_computer_add() 84 hal_device_property_set_string (d, "info.subsystem", "unknown"); in devinfo_computer_add() 85 hal_device_property_set_string (d, "info.product", "Computer"); in devinfo_computer_add() 86 hal_device_property_set_string (d, "info.udi", "/org/freedesktop/Hal/devices/computer"); in devinfo_computer_add() 87 hal_device_set_udi (d, "/org/freedesktop/Hal/devices/computer"); in devinfo_computer_add() 88 hal_device_property_set_string (d, "solaris.devfs_path", devfs_path); in devinfo_computer_add() 91 hal_device_property_set_string (d, "system.kernel.name", un.sysname); in devinfo_computer_add() 92 hal_device_property_set_string (d, "system.kernel.version", un.release); in devinfo_computer_add() [all …]
|
| H A D | devinfo_storage.c | 76 static void devinfo_volume_preprobing_done(HalDevice *d, gpointer userdata1, gpointer userdata2); 77 static void devinfo_volume_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *h… 78 static void devinfo_storage_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *… 79 static void devinfo_storage_probing_done (HalDevice *d, guint32 exit_type, gint return_code, char *… 80 const gchar *devinfo_volume_get_prober (HalDevice *d, int *timeout); 81 const gchar *devinfo_storage_get_prober (HalDevice *d, int *timeout); 88 static void devinfo_storage_set_nicknames (HalDevice *d); 177 HalDevice *d; in devinfo_ide_host_add() local 179 d = hal_device_new (); in devinfo_ide_host_add() 181 devinfo_set_default_properties (d, parent, node, devfs_path); in devinfo_ide_host_add() [all …]
|
| H A D | devinfo.c | 65 HalDevice *d; in devinfo_add_subtree() local 72 d = devinfo_add_node (parent, node); in devinfo_add_subtree() 74 if ((d != NULL) && in devinfo_add_subtree() 76 devinfo_add_subtree (d, child_node, FALSE); in devinfo_add_subtree() 85 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) in devinfo_set_default_properties() argument 92 hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent)); in devinfo_set_default_properties() 94 hal_device_property_set_string (d, "info.parent", "/org/freedesktop/Hal/devices/local"); in devinfo_set_default_properties() 101 hal_device_set_udi (d, udi); in devinfo_set_default_properties() 102 hal_device_property_set_string (d, "info.udi", udi); in devinfo_set_default_properties() 105 hal_device_property_set_string (d, "info.product", s); in devinfo_set_default_properties() [all …]
|
| H A D | devinfo_acpi.c | 40 static void devinfo_battery_rescan_probing_done(HalDevice *d, guint32 exit_type, 65 HalDevice *d, *computer; in devinfo_acpi_add() local 79 d = hal_device_new(); in devinfo_acpi_add() 90 devinfo_set_default_properties(d, parent, node, devfs_path); in devinfo_acpi_add() 91 devinfo_add_enqueue(d, devfs_path, &devinfo_acpi_handler); in devinfo_acpi_add() 95 return (d); in devinfo_acpi_add() 109 devinfo_acpi_add_minor(d, node, minor_path, dev); in devinfo_acpi_add() 116 return (d); in devinfo_acpi_add() 123 HalDevice *d; in devinfo_acpi_add_minor() local 125 d = hal_device_new(); in devinfo_acpi_add_minor() [all …]
|
| H A D | devinfo_usb.c | 37 static HalDevice *devinfo_usb_if_add(HalDevice *d, di_node_t node, gchar *devfs_path, 39 static HalDevice *devinfo_usb_scsa2usb_add(HalDevice *d, di_node_t node); 43 const gchar *devinfo_printer_prnio_get_prober(HalDevice *d, int *timeout); 44 const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout); 45 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name); 126 HalDevice *d, *nd = NULL; in devinfo_usb_add() local 143 d = hal_device_new (); in devinfo_usb_add() 145 devinfo_set_default_properties (d, parent, node, devfs_path); in devinfo_usb_add() 146 hal_device_property_set_string (d, "info.subsystem", "usb_device"); in devinfo_usb_add() 147 PROP_STR(d, node, s, "usb-product-name", "info.product"); in devinfo_usb_add() [all …]
|
| /onnv-gate/usr/src/lib/libsum/common/ |
| H A D | sum-sha1.c | 100 uint32_t *d, uint32_t *e, CHAR64LONG16 *); 102 uint32_t *d, uint32_t *e, CHAR64LONG16 *); 104 uint32_t *d, uint32_t *e, CHAR64LONG16 *); 106 uint32_t *d, uint32_t *e, CHAR64LONG16 *); 115 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, in do_R01() argument 118 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); in do_R01() 119 nR0(c,d,e,a,b, 3); nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); in do_R01() 120 nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); nR0(c,d,e,a,b, 8); in do_R01() 121 nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01() 122 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); in do_R01() [all …]
|
| /onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| H A D | realpath.c | 52 *d; local 73 d = canon; 76 if (getwd(d) == NULL) { 80 d += strlen(d); 82 if (d < limit) 83 *d++ = '/'; 84 modcanon = d; 87 while (d < limit && *s) 88 *d++ = *s++; 92 while (d < limit && (*d++ = *s++)) [all …]
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
| H A D | rc_io.c | 75 krb5_rc_io_creat(krb5_context context, krb5_rc_iostuff *d, char **fn) in krb5_rc_io_creat() argument 89 d->fn = strdup(*fn); in krb5_rc_io_creat() 90 if (d->fn == NULL) in krb5_rc_io_creat() 93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1))) in krb5_rc_io_creat() 95 (void) strcpy(d->fn, dir); in krb5_rc_io_creat() 96 (void) strcat(d->fn, PATH_SEPARATOR); in krb5_rc_io_creat() 97 (void) strcat(d->fn, *fn); in krb5_rc_io_creat() 99 d->fd = THREEPARAMOPEN(d->fn, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL | in krb5_rc_io_creat() 106 if (!(d->fn = malloc(30 + dirlen))) in krb5_rc_io_creat() 110 FREE_RC(d->fn); in krb5_rc_io_creat() [all …]
|
| /onnv-gate/usr/src/lib/libast/common/cdt/ |
| H A D | dtview.c | 39 Dt_t *d, *p; local 50 { for(d = dt; d; d = d->view) 51 if((o = (*(d->meth->searchf))(d,obj,type)) ) 53 dt->walk = d; 62 for(d = dt; d; d = d->view) 63 { if(!(o = (*d->meth->searchf)(d, obj, type)) ) 65 _DTDSC(d->disc,ky,sz,lk,cmpf); 69 { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz); 75 { a_dj: p = d; 90 { for(d = dt; d; d = d->view) [all …]
|
| /onnv-gate/usr/src/uts/intel/sys/acpi/ |
| H A D | acmacros.h | 165 #define ACPI_MOVE_16_TO_16(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[1];\ argument 166 (( UINT8 *)(void *)(d))[1] = ((UINT8 *)(void *)(s))[0];} 168 #define ACPI_MOVE_16_TO_32(d, s) {(*(UINT32 *)(void *)(d))=0;\ argument 169 ((UINT8 *)(void *)(d))[2] = ((UINT8 *)(void *)(s))[1];\ 170 ((UINT8 *)(void *)(d))[3] = ((UINT8 *)(void *)(s))[0];} 172 #define ACPI_MOVE_16_TO_64(d, s) {(*(UINT64 *)(void *)(d))=0;\ argument 173 ((UINT8 *)(void *)(d))[6] = ((UINT8 *)(void *)(s))[1];\ 174 ((UINT8 *)(void *)(d))[7] = ((UINT8 *)(void *)(s))[0];} 178 #define ACPI_MOVE_32_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */ argument 180 #define ACPI_MOVE_32_TO_32(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[3];\ argument [all …]
|
| /onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| H A D | meta_db_balance.c | 313 md_ctlr_drv_t *d; in add_replica_to_ctl() local 328 for (d = c->ctl_drvs; d != NULL; d = d->drv_next) in add_replica_to_ctl() 329 if (d->drv_dbcnt > maxdb && d->drv_op != DRV_DEL) in add_replica_to_ctl() 330 maxdb = d->drv_dbcnt; in add_replica_to_ctl() 343 for (d = c->ctl_drvs; d != NULL; d = d->drv_next) { in add_replica_to_ctl() 347 if (d->drv_op == DRV_DEL) in add_replica_to_ctl() 350 if (d->drv_flags & DRV_F_ERROR) in add_replica_to_ctl() 356 if (d->drv_dbcnt >= maxdb) in add_replica_to_ctl() 364 if (d->drv_dbcnt > 0) { in add_replica_to_ctl() 365 if (del_replica(sp, d->drv_dnp, ep) == -1) { in add_replica_to_ctl() [all …]
|
| /onnv-gate/usr/src/lib/libc/sparc/fp/ |
| H A D | _D_cplx_div_ix.c | 65 double d; member 86 double d; in testinf() member 89 xx.d = x; in testinf() 100 double d; in _D_cplx_div_ix() member 102 double c, d, sc, sd, r; in _D_cplx_div_ix() local 111 d = ((double *)&w)[1]; in _D_cplx_div_ix() 114 bb.d = b; in _D_cplx_div_ix() 117 cc.d = c; in _D_cplx_div_ix() 118 dd.d = d; in _D_cplx_div_ix() 126 j = testinf(d); in _D_cplx_div_ix() [all …]
|
| H A D | _D_cplx_div_rx.c | 65 double d; member 86 double d; in testinf() member 89 xx.d = x; in testinf() 100 double d; in _D_cplx_div_rx() member 102 double c, d, sc, sd, r; in _D_cplx_div_rx() local 111 d = ((double *)&w)[1]; in _D_cplx_div_rx() 114 aa.d = a; in _D_cplx_div_rx() 117 cc.d = c; in _D_cplx_div_rx() 118 dd.d = d; in _D_cplx_div_rx() 126 j = testinf(d); in _D_cplx_div_rx() [all …]
|
| H A D | _D_cplx_div.c | 63 double d; member 76 double d; in testinf() member 79 xx.d = x; in testinf() 90 double d; in _D_cplx_div() member 92 double a, b, c, d, r; in _D_cplx_div() local 104 d = ((double *)&w)[1]; in _D_cplx_div() 107 aa.d = a; in _D_cplx_div() 108 bb.d = b; in _D_cplx_div() 113 cc.d = c; in _D_cplx_div() 114 dd.d = d; in _D_cplx_div() [all …]
|
| /onnv-gate/usr/src/uts/common/io/audio/impl/ |
| H A D | audio_engine.c | 55 audio_dev_t *d; in audio_dev_alloc() local 75 if ((d = kmem_zalloc(sizeof (*d), KM_NOSLEEP)) == NULL) { in audio_dev_alloc() 79 d->d_dip = dip; in audio_dev_alloc() 80 d->d_number = -1; in audio_dev_alloc() 81 d->d_major = ddi_driver_major(dip); in audio_dev_alloc() 82 d->d_instance = instance; in audio_dev_alloc() 83 d->d_pcmvol = 100; in audio_dev_alloc() 84 mutex_init(&d->d_lock, NULL, MUTEX_DRIVER, NULL); in audio_dev_alloc() 85 cv_init(&d->d_cv, NULL, CV_DRIVER, NULL); in audio_dev_alloc() 86 mutex_init(&d->d_ctrl_lock, NULL, MUTEX_DRIVER, NULL); in audio_dev_alloc() [all …]
|
| H A D | audio_ctrl.c | 83 audio_dev_add_control(audio_dev_t *d, audio_ctrl_desc_t *desc, in audio_dev_add_control() argument 92 ASSERT(d); in audio_dev_add_control() 115 ctrl = auclnt_find_control(d, name); in audio_dev_add_control() 130 audio_dev_warn(d, "bad control type %d for %s " in audio_dev_add_control() 141 mutex_enter(&d->d_ctrl_lock); in audio_dev_add_control() 142 list_remove(&d->d_controls, ctrl); in audio_dev_add_control() 143 mutex_exit(&d->d_ctrl_lock); in audio_dev_add_control() 182 audio_dev_warn(d, "bad control type %d for %s", in audio_dev_add_control() 187 ctrl->ctrl_dev = d; in audio_dev_add_control() 199 mutex_enter(&d->d_ctrl_lock); in audio_dev_add_control() [all …]
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
| H A D | md5.c | 80 #define FF(a, b, c, d, x, s, ac) \ argument 81 {(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \ 85 #define GG(a, b, c, d, x, s, ac) \ argument 86 {(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \ 90 #define HH(a, b, c, d, x, s, ac) \ argument 91 {(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \ 95 #define II(a, b, c, d, x, s, ac) \ argument 96 {(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ 203 UINT4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in Transform() local 210 FF (a, b, c, d, in[ 0], S11, 3614090360U); /* 1 */ in Transform() [all …]
|
| /onnv-gate/usr/src/cmd/backup/dump/ |
| H A D | lint.sed | 1 /stdio.h",.*always ignored: fclose/d 2 /stdio.h",.*always ignored: fprintf/d 3 /stdio.h",.*always ignored: printf/d 4 /stdio.h",.*always ignored: snprintf/d 5 /time.h",.*sometimes ignored: time/d 6 /string.h",.*sometimes ignored: memcpy/d 7 /signal.h",.*always ignored: sighold/d 8 /signal.h",.*always ignored: sigrelse/d 9 /unistd.h",.*always ignored: close/d 10 /unistd.h",.*always ignored: execl/d [all …]
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/md4/ |
| H A D | md4.c | 71 #define FF(a, b, c, d, x, s) \ argument 72 {(a) += F ((b), (c), (d)) + (x); \ 75 #define GG(a, b, c, d, x, s) \ argument 76 {(a) += G ((b), (c), (d)) + (x) + 013240474631UL; \ 79 #define HH(a, b, c, d, x, s) \ argument 80 {(a) += H ((b), (c), (d)) + (x) + 015666365641UL; \ 174 register krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in Transform() local 178 #define ROTATE { krb5_ui_4 temp; temp = d, d = c, c = b, b = a, a = temp; } in Transform() 181 FF (a, b, c, d, in[i], round1consts[i%4]); ROTATE; in Transform() 188 GG (a, b, c, d, in[round2indices[i]], round2consts[i%4]); ROTATE; in Transform() [all …]
|