/freebsd-10.0-release/lib/libcalendar/ |
H A D | easter.c | 38 easterg(int y, date *dt) argument 49 dt->m = 3 + (l + 40) / 44; 50 dt->d = l + 28 - 31*(dt->m / 4); 51 dt->y = y; 52 return (dt); 57 easterog(int y, date *dt) argument 60 return (gdate(easterodn(y), dt)); 65 easteroj(int y, date * dt) argument 68 return (jdate(easterodn(y), dt)); 85 date dt; local [all...] |
H A D | calendar.c | 56 static date *date2idt(date *idt, date *dt); 57 static date *idt2date(date *dt, date *idt); 67 jdate(int ndays, date *dt) argument 96 return (idt2date(dt, &idt)); 104 ndaysj(date *dt) argument 108 if (date2idt(&idt, dt) == NULL) 131 gdate(int ndays, date *dt) argument 174 return (idt2date(dt, &idt)); 183 ndaysg(date *dt) argument 187 if (date2idt(&idt, dt) 238 date dt; local 296 date2idt(date *idt, date *dt) argument 315 idt2date(date *dt, date *idt) argument [all...] |
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | gmt2local.c | 48 register int dt, dir; local 57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + 68 dt += dir * 24 * 60 * 60; 70 return (dt);
|
/freebsd-10.0-release/lib/msun/src/ |
H A D | s_cbrtl.c | 39 double dr, dt, dx; local 98 dt = ft; 99 dr = dt * dt * dt; 100 dt = dt * (dx + dx + dr) / (dx + dr + dr); 103 dr = dt * dt * dt; [all...] |
/freebsd-10.0-release/usr.sbin/pw/ |
H A D | psdate.h | 36 time_t parse_date(time_t dt, char const * str);
|
H A D | psdate.c | 169 parse_date(time_t dt, char const * str) argument 176 if (dt == 0) 177 dt = time(NULL); 183 dt = strtol(str, &p, 0); 189 dt += (val * 3600L); 194 dt += (val * 60L); 198 dt += val; 202 dt += (val * 86400L); 206 dt += (val * 604800L); 210 T = localtime(&dt); [all...] |
/freebsd-10.0-release/usr.bin/ncal/ |
H A D | ncal.c | 73 date dt; /* Last day of Julian calendar */ member in struct:djswitch 195 date dt; local 240 nswitch = ndaysj(&dftswitch->dt); 242 nswitch = ndaysj(&p->dt); 339 nswitch = ndaysj(&(p->dt)); 476 dt.y = strtol(flag_highlightdate, NULL, 10); 477 dt.m = strtol(flag_highlightdate + 5, NULL, 10); 478 dt.d = strtol(flag_highlightdate + 8, NULL, 10); 485 dt.y = tm1->tm_year + 1900; 486 dt 542 date dt; local 768 date dt; /* handy date */ local 859 date dt; /* handy date */ local 981 date dt; local [all...] |
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | iommu.c | 702 iommu_dvma_vallocseg(bus_dma_tag_t dt, struct iommu_state *is, bus_dmamap_t map, argument 713 while ((error = iommu_dvma_valloc(dt, is, map, 748 iommu_dvmamem_alloc(bus_dma_tag_t dt, void **vaddr, int flags, argument 751 struct iommu_state *is = dt->dt_cookie; 758 if ((error = sparc64_dma_alloc_map(dt, mapp)) != 0) 768 if ((*vaddr = malloc(dt->dt_maxsize, M_IOMMU, mflags)) == NULL) { 770 sparc64_dma_free_map(dt, *mapp); 779 iommu_dvma_valloc(dt, is, *mapp, IOMMU_SIZE_ROUNDUP(dt->dt_maxsize)); 787 iommu_dvmamem_free(bus_dma_tag_t dt, voi argument 797 iommu_dvmamap_create(bus_dma_tag_t dt, int flags, bus_dmamap_t *mapp) argument 840 iommu_dvmamap_destroy(bus_dma_tag_t dt, bus_dmamap_t map) argument 854 iommu_dvmamap_load_phys(bus_dma_tag_t dt, bus_dmamap_t map, vm_paddr_t buf, bus_size_t buflen, int flags, bus_dma_segment_t *segs, int *segp) argument 969 iommu_dvmamap_load_buffer(bus_dma_tag_t dt, bus_dmamap_t map, void *buf, bus_size_t buflen, pmap_t pmap, int flags, bus_dma_segment_t *segs, int *segp) argument 1095 iommu_dvmamap_complete(bus_dma_tag_t dt, bus_dmamap_t map, bus_dma_segment_t *segs, int nsegs, int error) argument 1115 iommu_dvmamap_unload(bus_dma_tag_t dt, bus_dmamap_t map) argument 1129 iommu_dvmamap_sync(bus_dma_tag_t dt, bus_dmamap_t map, bus_dmasync_op_t op) argument [all...] |
/freebsd-10.0-release/contrib/ntp/adjtimed/ |
H A D | adjtimed.c | 279 register long rate, dt, leftover; local 282 dt = (delta->tv_sec * MILLION) + delta->tv_usec; 285 printf("adjtimed: new correction %.6fs\n", (double)dt / (double)MILLION); 287 msyslog(LOG_INFO, "new correction %.6fs", (double)dt / (double)MILLION); 290 rate = dt; 293 * Apply a slew rate of slew_rate over a period of dt/slew_rate seconds. 295 if (dt > 0) { 299 dt = -dt; 301 period.it_value.tv_sec = dt / slew_rat [all...] |
/freebsd-10.0-release/contrib/dtc/ |
H A D | checks.c | 43 typedef void (*tree_check_fn)(struct check *c, struct node *dt); 44 typedef void (*node_check_fn)(struct check *c, struct node *dt, struct node *node); 45 typedef void (*prop_check_fn)(struct check *c, struct node *dt, 125 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) argument 132 c->node_fn(c, dt, node); 137 c->prop_fn(c, dt, node, prop); 141 check_nodes_props(c, dt, child); 144 static int run_check(struct check *c, struct node *dt) argument 158 error |= run_check(prq, dt); 170 check_nodes_props(c, dt, d 191 check_always_fail(struct check *c, struct node *dt) argument 239 check_duplicate_node_names(struct check *c, struct node *dt, struct node *node) argument 254 check_duplicate_property_names(struct check *c, struct node *dt, struct node *node) argument 272 check_node_name_chars(struct check *c, struct node *dt, struct node *node) argument 283 check_node_name_format(struct check *c, struct node *dt, struct node *node) argument 292 check_property_name_chars(struct check *c, struct node *dt, struct node *node, struct property *prop) argument 310 check_duplicate_label(struct check *c, struct node *dt, const char *label, struct node *node, struct property *prop, struct marker *mark) argument 336 check_duplicate_label_node(struct check *c, struct node *dt, struct node *node) argument 344 check_duplicate_label_prop(struct check *c, struct node *dt, struct node *node, struct property *prop) argument 452 fixup_phandle_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument 476 fixup_path_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument 512 fixup_addr_size_cells(struct check *c, struct node *dt, struct node *node) argument 536 check_reg_format(struct check *c, struct node *dt, struct node *node) argument 565 check_ranges_format(struct check *c, struct node *dt, struct node *node) argument 609 check_avoid_default_addr_size(struct check *c, struct node *dt, struct node *node) argument 633 check_obsolete_chosen_interrupt_controller(struct check *c, struct node *dt) argument 734 struct node *dt = bi->dt; local [all...] |
/freebsd-10.0-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_poll_private.h | 44 #define HAS_SOCKETS(dt) (dt == APR_POLL_SOCKET) ? 1 : 0 45 #define HAS_PIPES(dt) (dt == APR_POLL_FILE) ? 1 : 0
|
/freebsd-10.0-release/sys/sys/ |
H A D | clock.h | 94 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
|
/freebsd-10.0-release/tools/regression/acltools/ |
H A D | 00.t | 51 MNT=`mktemp -dt acltools`
|
H A D | 01.t | 53 MNT=`mktemp -dt acltools`
|
H A D | 04.t | 45 MNT=`mktemp -dt acltools`
|
H A D | 02.t | 51 MNT=`mktemp -dt acltools`
|
H A D | 03.t | 45 MNTROOT=`mktemp -dt acltools`
|
/freebsd-10.0-release/usr.sbin/diskinfo/ |
H A D | diskinfo.c | 216 double dt; local 219 dt = (tv2.tv_usec - tv1.tv_usec) / 1e6; 220 dt += (tv2.tv_sec - tv1.tv_sec); 222 count, dt, dt * 1000.0 / count); 228 double dt; local 231 dt = (tv2.tv_usec - tv1.tv_usec) / 1e6; 232 dt += (tv2.tv_sec - tv1.tv_sec); 234 count, dt, count / dt); [all...] |
/freebsd-10.0-release/contrib/gcc/ |
H A D | tree-vect-patterns.c | 76 enum vect_def_type dt; local 82 if (!vect_is_simple_use (name, loop_vinfo, def_stmt, &def, &dt)) 85 if (dt != vect_loop_def 86 && dt != vect_invariant_def && dt != vect_constant_def) 107 if (!vect_is_simple_use (oprnd0, loop_vinfo, &dummy, &dummy, &dt)) 110 if (dt != vect_invariant_def && dt != vect_constant_def 111 && dt != vect_loop_def)
|
/freebsd-10.0-release/crypto/heimdal/lib/hdb/ |
H A D | dbinfo.c | 94 struct hdb_dbinfo *di, **dt, *databases; local 102 dt = NULL; 114 dt = &di->next; 130 if (dt) 131 *dt = di; 134 dt = &di->next;
|
/freebsd-10.0-release/contrib/mdocml/ |
H A D | style.css | 100 dt.list-diag { } 104 dt.list-hang { } 108 dt.list-inset { } 112 dt.list-ohang { } 116 dt.list-tag { }
|
/freebsd-10.0-release/sbin/dump/ |
H A D | optr.c | 375 struct fstab *dt; local 399 dt = fstabsearch(dtwalk->dd_name); 400 dumpme = (dt != NULL && dt->fs_freq != 0); 405 + (dt->fs_freq * 86400)); 412 dt ? dt->fs_file : "",
|
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | collect.c | 1075 register char **dt; local 1099 for (dt = DowList; *dt != NULL; dt++) 1100 if (strncmp(*dt, p, 3) == 0) 1102 if (*dt == NULL) 1105 for (dt = MonthList; *dt != NULL; dt++) 1107 if (strncmp(*dt, [all...] |
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | ip_dn_io.c | 482 struct dn_pkt_tag *dt = dn_tag_get(m); local 483 if (dt) 484 dt->dn_dir = DIR_DROP; 721 struct dn_pkt_tag *dt; local 725 sizeof(*dt), M_NOWAIT | M_ZERO); 729 dt = (struct dn_pkt_tag *)(mtag + 1); 730 dt->rule = fwa->rule; 731 dt->rule.info &= IPFW_ONEPASS; /* only keep this info */ 732 dt->dn_dir = dir; 733 dt [all...] |
/freebsd-10.0-release/sys/dev/usb/controller/ |
H A D | uhci.h | 126 #define UHCI_TD_OUT(len, endp, dev, dt) (UHCI_TD_SET_MAXLEN(len) | \ 129 UHCI_TD_PID_OUT | UHCI_TD_SET_DT(dt)) 131 #define UHCI_TD_IN(len, endp, dev, dt) (UHCI_TD_SET_MAXLEN(len) | \ 134 UHCI_TD_PID_IN | UHCI_TD_SET_DT(dt))
|