Searched refs:dt (Results 1 - 25 of 96) sorted by relevance

1234

/freebsd-9.3-release/lib/libcalendar/
H A Deaster.c38 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 Dcalendar.c56 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-9.3-release/contrib/tcpdump/
H A Dgmt2local.c48 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-9.3-release/lib/msun/src/
H A Ds_cbrtl.c37 double dr, dt, dx; local
108 dt = ft;
109 dr = dt * dt * dt;
110 dt = dt * (dx + dx + dr) / (dx + dr + dr);
113 dr = dt * dt * dt;
[all...]
/freebsd-9.3-release/usr.sbin/pw/
H A Dpsdate.h36 time_t parse_date(time_t dt, char const * str);
H A Dpsdate.c169 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-9.3-release/crypto/openssl/fips/rand/
H A Dfips_rngvs.c38 unsigned char *dt = NULL; local
65 dt = hex2bin_m(value, &i);
77 if (!key || !dt) {
84 FIPS_rand_set_dt(dt);
93 OPENSSL_free(dt);
94 dt = NULL;
105 unsigned char *dt = NULL; local
133 dt = hex2bin_m(value, &i);
145 if (!key || !dt) {
153 FIPS_rand_set_dt(dt);
[all...]
H A Dfips_rand.h67 int FIPS_rand_set_dt(unsigned char *dt);
H A Dfips_randtest.c213 unsigned char buf[16], dt[16]; local
219 memcpy(dt, tv->DT, 16);
221 FIPS_rand_set_dt(dt);
225 dt[j]++;
226 if (dt[j])
/freebsd-9.3-release/usr.bin/ncal/
H A Dncal.c75 date dt; /* Last day of Julian calendar */ member in struct:djswitch
193 date dt; local
238 nswitch = ndaysj(&dftswitch->dt);
240 nswitch = ndaysj(&p->dt);
337 nswitch = ndaysj(&(p->dt));
474 dt.y = strtol(flag_highlightdate, NULL, 10);
475 dt.m = strtol(flag_highlightdate + 5, NULL, 10);
476 dt.d = strtol(flag_highlightdate + 8, NULL, 10);
483 dt.y = tm1->tm_year + 1900;
484 dt
540 date dt; local
766 date dt; /* handy date */ local
857 date dt; /* handy date */ local
979 date dt; local
[all...]
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Diommu.c702 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-9.3-release/contrib/ntp/include/
H A Dntp_md5.h30 # define EVP_DigestInit(c, dt) (MD5Init(c), 1)
31 # define EVP_DigestInit_ex(c, dt, i) (MD5Init(c), 1)
/freebsd-9.3-release/contrib/dtc/
H A Dchecks.c49 typedef void (*tree_check_fn)(struct check *c, struct node *dt);
50 typedef void (*node_check_fn)(struct check *c, struct node *dt, struct node *node);
51 typedef void (*prop_check_fn)(struct check *c, struct node *dt,
114 static void check_nodes_props(struct check *c, struct node *dt, struct node *node) argument
121 c->node_fn(c, dt, node);
126 c->prop_fn(c, dt, node, prop);
130 check_nodes_props(c, dt, child);
133 static int run_check(struct check *c, struct node *dt) argument
147 error |= run_check(prq, dt);
159 check_nodes_props(c, dt, d
217 check_duplicate_node_names(struct check *c, struct node *dt, struct node *node) argument
232 check_duplicate_property_names(struct check *c, struct node *dt, struct node *node) argument
250 check_node_name_chars(struct check *c, struct node *dt, struct node *node) argument
261 check_node_name_format(struct check *c, struct node *dt, struct node *node) argument
270 check_property_name_chars(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
374 fixup_phandle_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
398 fixup_path_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
434 fixup_addr_size_cells(struct check *c, struct node *dt, struct node *node) argument
458 check_reg_format(struct check *c, struct node *dt, struct node *node) argument
487 check_ranges_format(struct check *c, struct node *dt, struct node *node) argument
531 check_avoid_default_addr_size(struct check *c, struct node *dt, struct node *node) argument
555 check_obsolete_chosen_interrupt_controller(struct check *c, struct node *dt) argument
590 struct node *dt = bi->dt; local
[all...]
/freebsd-9.3-release/contrib/ntp/adjtimed/
H A Dadjtimed.c279 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-9.3-release/sys/sys/
H A Dclock.h94 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
/freebsd-9.3-release/tools/regression/acltools/
H A D00.t51 MNT=`mktemp -dt acltools`
H A D01.t53 MNT=`mktemp -dt acltools`
H A D04.t45 MNT=`mktemp -dt acltools`
H A D02.t51 MNT=`mktemp -dt acltools`
H A D03.t45 MNTROOT=`mktemp -dt acltools`
/freebsd-9.3-release/usr.sbin/diskinfo/
H A Ddiskinfo.c212 double dt; local
215 dt = (tv2.tv_usec - tv1.tv_usec) / 1e6;
216 dt += (tv2.tv_sec - tv1.tv_sec);
218 count, dt, dt * 1000.0 / count);
224 double dt; local
227 dt = (tv2.tv_usec - tv1.tv_usec) / 1e6;
228 dt += (tv2.tv_sec - tv1.tv_sec);
230 count, dt, count / dt);
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dtree-vect-patterns.c76 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-9.3-release/crypto/heimdal/lib/hdb/
H A Ddbinfo.c96 struct hdb_dbinfo *di, **dt, *databases; local
104 dt = NULL;
116 dt = &di->next;
132 if (dt)
133 *dt = di;
136 dt = &di->next;
/freebsd-9.3-release/sbin/dump/
H A Doptr.c375 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-9.3-release/contrib/sendmail/src/
H A Dcollect.c1075 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...]

Completed in 131 milliseconds

1234