Searched refs:temp (Results 101 - 125 of 546) sorted by relevance

1234567891011>>

/freebsd-current/usr.sbin/makefs/cd9660/
H A Diso9660_rrip.c103 cd9660node *temp; local
116 TAILQ_FOREACH(temp, &node->cn_children, cn_next_child) {
117 if ((r = cd9660_susp_finalize(diskStructure, temp)) < 0)
208 struct ISO_SUSP_ATTRIBUTES *temp, *pre_ce, *last, *CE, *ST; local
219 TAILQ_FOREACH(temp, &node->head, rr_ll) {
224 * CD9660_SUSP_ENTRY_SIZE(temp));
226 working -= CD9660_SUSP_ENTRY_SIZE(temp);
228 last = temp;
229 susp_used += CD9660_SUSP_ENTRY_SIZE(temp);
254 for (temp
299 struct ISO_SUSP_ATTRIBUTES *temp; local
458 struct ISO_SUSP_ATTRIBUTES* temp; local
[all...]
H A Dcd9660_conversion.c171 char temp[18]; local
174 (void)snprintf(temp, sizeof(temp), "%04i%02i%02i%02i%02i%02i%02i",
182 (void)memcpy(buf, temp, 16);
/freebsd-current/usr.sbin/usbdump/
H A Dusbdump.c379 hexbyte(char *buf, uint8_t temp) argument
384 lo = temp & 0xF;
385 hi = temp >> 4;
577 struct header_32 temp; local
589 temp.ts_sec = htole32(hdr->bh_tstamp.tv_sec);
590 temp.ts_usec = htole32(hdr->bh_tstamp.tv_usec);
591 temp.caplen = htole32(hdr->bh_caplen);
592 temp.datalen = htole32(hdr->bh_datalen);
593 temp.hdrlen = hdr->bh_hdrlen;
594 temp
617 struct header_32 temp; local
[all...]
/freebsd-current/sys/netpfil/ipfw/
H A Ddn_aqm_codel.c145 uint64_t temp; local
164 temp = (uint32_t) cst->isqrt * cst->isqrt;
165 /* Calculate (3 - c*g^2) i.e. (3 - c * temp) */
166 temp = (3ULL<< (FIX_POINT_BITS*2)) - (count * temp);
172 temp >>= (1 + 8);
174 /* Now, temp = (1.5 - 0.5*c*g^2)
175 * Calculate g (1.5 - 0.5*c*g^2) i.e. g * temp
177 temp = (cst->isqrt * temp) >> (FIX_POINT_BIT
[all...]
H A Ddn_heap.c236 int temp, i, max = h->elements-1;
247 DN_KEY_LT(new_key, p[(temp = HEAP_FATHER(i))].key);
248 i = temp ) { /* bubble up */
249 HEAP_SWAP(p[i], p[temp], buf);
254 while ( (temp = HEAP_LEFT(i)) <= max ) {
256 if (temp != max &&
257 DN_KEY_LT(p[temp+1].key, p[temp].key))
258 temp++; /* select child with min key */
259 if (DN_KEY_LT(>p[temp]
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_prio_q.c56 node *temp = NULL; local
60 temp = my_queue->front;
62 free(temp);
H A Drefclock_chu.c472 int temp; local
558 temp = 0;
561 temp = P_TRACE;
566 temp);
569 temp);
662 l_fp ltemp; /* l_fp temp */
994 l_fp tstmp; /* timestamp temp */
1181 int temp; local
1199 temp = up->cbuf[i + 4] & 0xf;
1201 temp |
1439 int temp; local
1613 int temp; local
[all...]
/freebsd-current/sys/contrib/ck/src/
H A Dck_ec_timeutil.h21 uint64_t temp = (uint64_t)nsec * multiplier; local
24 if (temp >= max) {
28 return temp >> shift;
/freebsd-current/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_cmd.c194 struct mlx5_fpga_temperature *temp)
200 MLX5_SET(mtmp_reg, in, sensor_index, temp->index);
202 ((temp->index < MLX5_FPGA_INTERNAL_SENSORS_LOW) ||
203 (temp->index > MLX5_FPGA_INTERNAL_SENSORS_HIGH)) ? 1 : 0);
210 temp->index = MLX5_GET(mtmp_reg, out, sensor_index);
211 temp->temperature = MLX5_GET(mtmp_reg, out, temperature);
212 temp->mte = MLX5_GET(mtmp_reg, out, mte);
213 temp->max_temperature = MLX5_GET(mtmp_reg, out, max_temperature);
214 temp->tee = MLX5_GET(mtmp_reg, out, tee);
215 temp
193 mlx5_fpga_query_mtmp(struct mlx5_core_dev *dev, struct mlx5_fpga_temperature *temp) argument
[all...]
/freebsd-current/lib/libc/xdr/
H A Dxdr_stdio.c105 u_int32_t temp; local
107 if (fread(&temp, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
109 *lp = (long)ntohl(temp);
/freebsd-current/contrib/unbound/util/
H A Dmodule.c329 struct inplace_cb* temp = env->inplace_cb_lists[type]; local
332 while(temp) {
333 if(temp->id == id) {
335 env->inplace_cb_lists[type] = temp->next;
336 free(temp);
337 temp = env->inplace_cb_lists[type];
340 prev->next = temp->next;
341 free(temp);
342 temp = prev->next;
346 prev = temp;
[all...]
/freebsd-current/sys/arm/freescale/imx/
H A Dimx6_anatop.c330 uint32_t temp; local
335 temp = sc->cpu_minmhz;
336 err = sysctl_handle_int(oidp, &temp, 0, req);
340 op = cpufreq_nearest_oppt(sc, temp);
362 uint32_t temp; local
367 temp = sc->cpu_maxmhz;
368 err = sysctl_handle_int(oidp, &temp, 0, req);
372 op = cpufreq_nearest_oppt(sc, temp);
472 temp_to_count(struct imx6_anatop_softc *sc, uint32_t temp) argument
476 (sc->temp_high_val - temp) / (s
511 uint32_t temp; local
[all...]
/freebsd-current/sys/netinet/
H A Dtcp_lro.c686 uint16_t temp[5] = {}; local
692 tcp_lro_assign_and_checksum_16(&pa->ip4->ip_len, htons(tlen), &temp[0]);
695 csum = pa->ip4->ip_sum + 0xffff - temp[0];
698 tcp_lro_assign_and_checksum_16(&pa->ip4->ip_sum, csum, &temp[1]);
704 tcp_lro_assign_and_checksum_16(&pa->ip6->ip6_plen, htons(tlen), &temp[0]);
710 tcp_lro_assign_and_checksum_16(&pa->ip4->ip_len, htons(tlen), &temp[0]);
713 csum = pa->ip4->ip_sum + 0xffff - temp[0];
716 tcp_lro_assign_and_checksum_16(&pa->ip4->ip_sum, csum, &temp[1]);
722 tcp_lro_assign_and_checksum_16(&pa->ip6->ip6_plen, htons(tlen), &temp[0]);
731 temp[
1141 struct lro_mbuf_sort temp; local
[all...]
/freebsd-current/contrib/unbound/libunbound/
H A Dlibworker.h146 * @param temp: temporary buffer for parse.
152 struct regional* temp, enum sec_status msg_security);
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_ucast_lash.h61 int temp; member in struct:_cdg_vertex
/freebsd-current/stand/kshim/
H A Dbsd_busspace.c82 uint8_t temp = *datap++; local
84 bus_space_write_1(t, h, offset, temp);
93 uint16_t temp = *datap++; local
95 bus_space_write_2(t, h, offset, temp);
/freebsd-current/sys/dev/syscons/rain/
H A Drain_saver.c81 u_char temp; local
120 temp = (vid[p] < MAX) ? 1 + vid[p] : 1;
122 vid[p + bpsl] = temp;
125 vid[p + bpsl - banksize] = temp;
/freebsd-current/sys/dev/iicbus/adc/
H A Dad7417.c52 /* CPU A/B sensors, temp and adc: AD7417. */
446 unit = "temp";
474 ad7417_get_temp(device_t dev, uint32_t addr, int *temp) argument
490 *temp = (((int16_t)(read & 0xffc0)) >> 6) * 25 / 10;
528 int temp; local
550 temp = (rawval*diode_slope + diode_offset) >> 2;
551 temp = (10*(temp >> 16)) + ((10*(temp & 0xffff)) >> 16);
553 return (temp
561 int temp; local
597 int temp; local
[all...]
/freebsd-current/sys/dev/agp/
H A Dagp_ati.c170 u_int32_t temp; local
223 temp = pci_read_config(dev, apsize_reg, 4);
224 pci_write_config(dev, apsize_reg, temp | 1, 4);
230 temp = pci_read_config(dev, 4, 4); /* XXX: Magic reg# */
231 pci_write_config(dev, 4, temp | (1 << 14), 4);
244 u_int32_t apsize_reg, temp; local
259 temp = pci_read_config(dev, apsize_reg, 4);
260 pci_write_config(dev, apsize_reg, temp & ~1, 4);
/freebsd-current/libexec/bootpd/
H A Dhash.c212 hash_member *temp;
218 temp = (hash_member *) malloc(sizeof(hash_member));
219 if (!temp)
222 temp->data = element;
223 temp->next = (hashtable->table)[hashcode];
224 (hashtable->table)[hashcode] = temp;
207 hash_member *temp; local
/freebsd-current/sbin/ifconfig/
H A Daf_link.c192 char *temp; local
208 if ((temp = malloc(strlen(addr) + 2)) == NULL)
210 temp[0] = ':';
211 strcpy(temp + 1, addr);
213 link_addr(temp, &sdl);
214 free(temp);
/freebsd-current/contrib/xz/src/liblzma/common/
H A Dstream_encoder.c239 lzma_filter temp[LZMA_FILTERS_MAX + 1]; local
240 return_if_error(lzma_filters_copy(filters, temp, allocator));
248 coder->block_options.filters = temp;
275 memcpy(coder->filters, temp, sizeof(temp));
280 lzma_filters_free(temp, allocator);
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dmain.c609 uint32_t temp, dbg_lvl; local
890 temp = strtoul(optarg, NULL, 0);
891 if (temp > 7) {
896 opt.lmc = (uint8_t) temp;
897 printf(" LMC = %d\n", temp);
991 temp = strtoul(optarg, NULL, 0);
992 if (temp > 15) {
997 opt.sm_priority = (uint8_t) temp;
998 printf(" Priority = %d\n", temp);
1109 temp
[all...]
/freebsd-current/contrib/libpcap/
H A Dpcap-rpcap.c743 struct activehosts *temp; /* temp var needed to scan the host list chain, to detect if we're in active mode */ local
747 temp = activeHosts;
748 while (temp)
750 if (temp->sockctrl == pr->rmt_sockctrl)
755 temp = temp->next;
1022 struct activehosts *temp; /* temp var needed to scan the host list chain */ local
1023 struct addrinfo hints, *addrinfo, *ai_next; /* temp va
1091 struct activehosts *temp; /* temp var needed to scan the host list chain, to detect if we're in active mode */ local
2931 struct activehosts *temp, *prev; /* temp var needed to scan he host list chain */ local
3120 struct activehosts *temp, *prev; /* temp var needed to scan the host list chain */ local
3257 struct activehosts *temp; /* temp var needed to scan the host list chain */ local
[all...]
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dgen_template.c468 template_members(struct templatehead *temp, const char *basetype, const char *name, const Type *t, int optional, int isstruct, int need_offset) argument
480 add_line(temp, "{ A1_OP_TYPE_EXTERN %s, %s, &asn1_extern_%s}",
484 add_line_pointer(temp, t->symbol->gen_name, poffset,
507 add_line(temp, "{ A1_PARSE_T(A1T_%s), %s, NULL }", itype, poffset);
511 add_line(temp, "{ A1_PARSE_T(A1T_GENERAL_STRING), %s, NULL }", poffset);
514 add_line(temp, "{ A1_PARSE_T(A1T_TELETEX_STRING), %s, NULL }", poffset);
517 add_line(temp, "{ A1_PARSE_T(A1T_PRINTABLE_STRING), %s, NULL }", poffset);
520 add_line(temp, "{ A1_PARSE_T(A1T_OCTET_STRING), %s, NULL }", poffset);
523 add_line(temp, "{ A1_PARSE_T(A1T_IA5_STRING), %s, NULL }", poffset);
526 add_line(temp, "{ A1_PARSE_
[all...]

Completed in 470 milliseconds

1234567891011>>