Searched refs:temp (Results 201 - 225 of 545) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c152 static char temp[2]; local
153 temp[0] = (char) c;
154 return save_string(s, temp);
569 char temp[80]; local
572 _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
575 _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))
578 bufptr = save_string(bufptr, temp);
H A Ddb_iterator.c85 char temp[PATH_MAX]; local
86 _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp)) "%s%s", name, DBM_SUFFIX);
87 if (stat(temp, sb) == 0 && S_ISREG(sb->st_mode) && sb->st_size) {
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-snprintf.c723 double temp; local
764 temp = ufvalue;
765 my_modf(temp, &intpart);
776 temp = intpart*0.1;
777 my_modf(temp, &intpart);
778 idx = (int) ((temp -intpart +0.05)* 10.0);
779 /* idx = (int) (((double)(temp*0.1) -intpart +0.05) *10.0); */
780 /* printf ("%llf, %f, %x\n", temp, intpart, idx); */
790 temp = fracpart*0.1;
791 my_modf(temp,
[all...]
/freebsd-current/sys/dev/jedec_dimm/
H A Djedec_dimm.c430 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "temp",
1119 int temp; local
1131 temp = val & 0xfff;
1133 temp = -temp;
1135 temp *= 625;
1137 temp += 2731500;
1142 temp = (temp + 500) / 1000;
1144 rc = sysctl_handle_int(oidp, &temp,
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Dsiena_nvram.c522 uint16_t temp[4]; local
551 temp[0] = EFX_WORD_FIELD(verp->version_w, EFX_WORD_0);
552 temp[1] = EFX_WORD_FIELD(verp->version_x, EFX_WORD_0);
553 temp[2] = EFX_WORD_FIELD(verp->version_y, EFX_WORD_0);
554 temp[3] = EFX_WORD_FIELD(verp->version_z, EFX_WORD_0);
555 if (memcmp(version, temp, sizeof (temp)) < 0)
556 memcpy(version, temp, sizeof (temp));
/freebsd-current/sys/dev/iicbus/rtc/
H A Dds3231.c143 ds3231_temp_read(struct ds3231_softc *sc, int *temp) argument
159 *temp = ((int16_t)buf >> 8) * 10;
166 *temp += t;
168 *temp = -(*temp);
169 *temp += TZ_ZEROC;
177 int error, temp; local
181 if (ds3231_temp_read(sc, &temp) != 0)
183 error = sysctl_handle_int(oidp, &temp, 0, req);
/freebsd-current/contrib/xz/src/liblzma/common/
H A Dfile_info.c80 uint8_t temp[8192]; member in struct:__anon43
85 /// Copies data from in[*in_pos] into coder->temp until
93 coder->temp, &coder->temp_pos, coder->temp_size);
151 /// can be used to read data into coder->temp. When fill_temp() has finished,
152 /// coder->temp[coder->temp_size] will match coder->file_target_pos.
176 < sizeof(coder->temp))
180 coder->temp_size = sizeof(coder->temp);
184 // LZMA_STREAM_HEADER_SIZE bytes in coder->temp.
225 /// from the application or from coder->temp.
279 // Read the Stream Header field into coder->temp
[all...]
/freebsd-current/crypto/openssl/crypto/bn/asm/
H A Dx86-mont.pl147 $temp="mm6";
227 &movd ($temp,&DWP($frame,"esp")); # tp[0]
231 &paddq ($mul1,$temp); # +=tp[0]
241 &movd ($temp,&DWP($frame+4,"esp")); # tp[1]
247 &paddq ($car0,$temp); # +=tp[1]
258 &movd ($temp,&DWP($frame+4,"esp",$j,4));# tp[j+1]
266 &paddq ($car0,$temp); # +=tp[j+1]
285 &movd ($temp,&DWP($frame+4,"esp",$num,4)); # += tp[num]
287 &paddq ($car1,$temp);
/freebsd-current/contrib/byacc/
H A Dmain.c66 FILE *action_file; /* a temp file, used to save actions associated */
73 FILE *text_file; /* a temp file, used to save text until all */
75 FILE *union_file; /* a temp file, used to save the union */
680 my_mkstemp(char *temp) argument
691 if ((fname = strrchr(temp, '/')) != 0)
693 dname = strdup(temp);
694 dname[++fname - temp] = '\0';
699 fname = temp;
704 strcpy(temp, name);
/freebsd-current/sys/dev/iicbus/sensor/
H A Dhtu21.c188 int error, temp; local
204 temp = -1;
207 temp = (((uint16_t)raw_data[0]) << 8) |
209 temp = ((temp * 17572) >> 16 ) + 27315 - 4685;
213 error = sysctl_handle_int(oidp, &temp, 0, req);
H A Dds1631.c210 if (strcmp(name, "temp-monitor") != 0 ||
357 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "temp",
397 int temp; local
402 temp = ds1631_sensor_read(sc);
403 if (temp < 0)
406 error = sysctl_handle_int(oidp, &temp, 0, req);
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.c717 unsigned char temp[50]; local
723 snprintf((char *)temp, sizeof(temp),
726 ring_supply_data(&netoring, temp, len);
727 printsub('>', &temp[2], len-2);
741 unsigned char temp[50]; local
746 snprintf((char *)temp, sizeof(temp),
751 len = strlen((char *)temp+4) + 4; /* temp[
843 unsigned char temp[50], *dp; local
[all...]
/freebsd-current/contrib/tnftp/src/
H A Dutil.c550 char temp[MAXPATHLEN]; local
575 len = strlcpy(temp, tmpdir, sizeof(temp));
576 if (temp[len - 1] != '/')
577 (void)strlcat(temp, "/", sizeof(temp));
578 (void)strlcat(temp, TMPFILE, sizeof(temp));
579 if ((fd = mkstemp(temp)) < 0) {
580 warn("Unable to create temporary file `%s'", temp);
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_wwv.c638 int temp; local
719 temp = 0;
722 temp = P_TRACE;
727 temp);
730 temp);
2222 int temp; local
2231 temp = carry(&up->decvec[MN]); /* minute units */
2238 if (temp == 0) /* carry minutes */
2239 temp = carry(&up->decvec[MN + 1]);
2240 if (temp
2316 int temp; local
[all...]
H A Drefclock_wwvb.c259 int temp; /* int temp */ local
272 temp = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
293 if (temp == 0) {
305 pp->lencode = temp;
/freebsd-current/contrib/bsnmp/snmpd/
H A Dmain.c2663 struct usm_user *uuser, *temp, *prev; local
2688 SLIST_FOREACH(temp, &usm_userlist, up) {
2689 if ((cmp = usm_compare_user(uuser, temp)) <= 0)
2691 prev = temp;
2694 if (temp == NULL || cmp < 0)
2697 SLIST_INSERT_AFTER(temp, uuser, up);
2774 struct vacm_user *user, *temp, *prev; local
2796 SLIST_FOREACH(temp, &vacm_userlist, vvu) {
2797 if ((cmp = vacm_compare_user(user, temp)) <= 0)
2799 prev = temp;
2929 struct vacm_access *acl, *temp; local
3022 struct vacm_view *view, *temp, *prev; local
3088 struct vacm_context *ctx, *temp, *prev; local
3135 struct vacm_context *ctx, *temp; local
[all...]
/freebsd-current/sys/dev/sound/usb/
H A Duaudio.c1715 uint32_t temp; local
1716 temp = min;
1718 max = temp;
2277 uint64_t temp; local
2305 temp = UGETDW(buf);
2307 DPRINTF("Value = 0x%08x\n", (int)temp);
2312 temp &= 0x0fffffff;
2316 if (temp == 0)
2319 temp *= 125ULL;
2324 while (temp < (sample_rat
2697 uint32_t temp = uaudio_max_buffer_size(ch, x); local
2747 uint32_t temp = 2 * uaudio_get_buffer_size(ch, ch->set_alt); local
2900 uint32_t temp; local
2981 int temp = 0; local
3665 uint32_t temp = 0; local
4609 uint16_t temp; local
4668 uint16_t temp; local
5537 uint32_t temp; local
[all...]
/freebsd-current/sys/fs/cuse/
H A Dcuse.c460 struct cuse_memory *temp; local
476 TAILQ_FOREACH(temp, &pcs->hmem, entry) {
477 if (temp->alloc_nr == alloc_nr)
480 if (temp != NULL) {
1615 int temp; local
1618 temp = (pcc->cflags & (CUSE_CLI_KNOTE_HAS_READ |
1624 if (temp != 0) {
1626 temp = cuse_client_poll(dev, POLLIN | POLLOUT, NULL);
1628 if (temp & (POLLIN | POLLOUT)) {
1630 if (temp
1649 int temp; local
1884 unsigned long temp; local
[all...]
/freebsd-current/contrib/ntp/util/
H A Dtg.c262 int rval, temp, arg, sw, ptr; local
271 while ((temp = getopt(argc, argv, "a:dhilsu:v:y:")) != -1) {
272 switch (temp) {
317 printf("invalid option %c\n", temp);
/freebsd-current/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_radar.c83 uint32_t val, temp; local
87 temp = MS(val,AR_PHY_RADAR_0_FIRPWR);
88 temp |= 0xFFFFFF80;
89 pe->pe_firpwr = temp;
/freebsd-current/sys/dev/drm2/
H A Ddrm_linux_list.h116 #define list_for_each_safe(entry, temp, head) \
117 for (entry = (head)->next, temp = (entry)->next; \
119 entry = temp, temp = entry->next)
/freebsd-current/sys/arm/arm/
H A Dstdatomic.c341 uint32_t old, temp; local
350 : "=&r" (old), "=m" (*mem), "=&r" (temp)
359 uint32_t old, temp; local
371 : "=&r" (old), "=m" (*mem), "=&r" (temp)
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_debug.c146 char temp[CD9660_SECTOR_SIZE]; local
151 memset(temp, 0, CD9660_SECTOR_SIZE);
152 memcpy(temp, tmp->volumeDescriptorData + 1, 5);
155 tmp->sector, tmp->volumeDescriptorData[0], temp);
/freebsd-current/lib/libusb/
H A Dlibusb10_hotplug.c112 libusb_device *temp; local
134 TAILQ_FOREACH_SAFE(adev, &ctx->hotplug_devs, hotplug_entry, temp) {
153 TAILQ_FOREACH_SAFE(adev, &hotplug_devs, hotplug_entry, temp) {
/freebsd-current/libexec/bootpd/
H A Ddovend.c365 byte *temp;
369 temp = (*dest += 4);
371 *--temp = (byte) (value & 0xFF);
363 byte *temp; local

Completed in 196 milliseconds

1234567891011>>