/dragonfly/contrib/openbsd_libm/src/ |
H A D | e_sqrtf.c | 37 if(ix<=0) { in sqrtf() 43 m = (ix>>23); in sqrtf() 45 for(i=0;(ix&0x00800000)==0;i++) ix<<=1; in sqrtf() 49 ix = (ix&0x007fffff)|0x00800000; in sqrtf() 51 ix += ix; in sqrtf() 55 ix += ix; in sqrtf() 61 if(t<=ix) { in sqrtf() 63 ix -= t; in sqrtf() 66 ix += ix; in sqrtf() 71 if(ix!=0) { in sqrtf() [all …]
|
H A D | e_j0.c | 84 int32_t hx,ix; in j0() local 87 ix = hx&0x7fffffff; in j0() 88 if(ix>=0x7ff00000) return one/(x*x); in j0() 145 int32_t hx,ix,lx; in y0() local 148 ix = 0x7fffffff&hx; in y0() 272 int32_t ix; in pzero() local 273 GET_HIGH_WORD(ix,x); in pzero() 274 ix &= 0x7fffffff; in pzero() 368 int32_t ix; in qzero() local 369 GET_HIGH_WORD(ix,x); in qzero() [all …]
|
H A D | e_j0f.c | 42 int32_t hx,ix; in j0f() local 45 ix = hx&0x7fffffff; in j0f() 46 if(ix>=0x7f800000) return one/(x*x); in j0f() 103 int32_t hx,ix; in y0f() local 106 ix = 0x7fffffff&hx; in y0f() 229 int32_t ix; in pzerof() local 230 GET_FLOAT_WORD(ix,x); in pzerof() 231 ix &= 0x7fffffff; in pzerof() 325 int32_t ix; in qzerof() local 326 GET_FLOAT_WORD(ix,x); in qzerof() [all …]
|
H A D | e_j1.c | 85 int32_t hx,ix; in j1() local 88 ix = hx&0x7fffffff; in j1() 89 if(ix>=0x7ff00000) return one/x; in j1() 142 int32_t hx,ix,lx; in y1() local 145 ix = 0x7fffffff&hx; in y1() 266 int32_t ix; in pone() local 267 GET_HIGH_WORD(ix,x); in pone() 268 ix &= 0x7fffffff; in pone() 363 int32_t ix; in qone() local 364 GET_HIGH_WORD(ix,x); in qone() [all …]
|
H A D | e_j1f.c | 43 int32_t hx,ix; in j1f() local 46 ix = hx&0x7fffffff; in j1f() 47 if(ix>=0x7f800000) return one/x; in j1f() 100 int32_t hx,ix; in y1f() local 103 ix = 0x7fffffff&hx; in y1f() 224 int32_t ix; in ponef() local 225 GET_FLOAT_WORD(ix,x); in ponef() 226 ix &= 0x7fffffff; in ponef() 321 int32_t ix; in qonef() local 322 GET_FLOAT_WORD(ix,x); in qonef() [all …]
|
H A D | e_log2f.c | 36 int32_t k,ix,i,j; in log2f() local 38 GET_FLOAT_WORD(ix,x); in log2f() 41 if (ix < 0x00800000) { /* x < 2**-126 */ in log2f() 42 if ((ix&0x7fffffff)==0) in log2f() 46 GET_FLOAT_WORD(ix,x); in log2f() 48 if (ix >= 0x7f800000) return x+x; in log2f() 49 k += (ix>>23)-127; in log2f() 50 ix &= 0x007fffff; in log2f() 51 i = (ix+(0x95f64<<3))&0x800000; in log2f() 64 i = ix-(0x6147a<<3); in log2f() [all …]
|
H A D | e_logf.c | 37 int32_t k,ix,i,j; in logf() local 39 GET_FLOAT_WORD(ix,x); in logf() 42 if (ix < 0x00800000) { /* x < 2**-126 */ in logf() 43 if ((ix&0x7fffffff)==0) in logf() 47 GET_FLOAT_WORD(ix,x); in logf() 49 if (ix >= 0x7f800000) return x+x; in logf() 50 k += (ix>>23)-127; in logf() 51 ix &= 0x007fffff; in logf() 52 i = (ix+(0x95f64<<3))&0x800000; in logf() 66 i = ix-(0x6147a<<3); in logf() [all …]
|
H A D | e_lgamma_r.c | 157 int n,ix; in sin_pi() local 159 GET_HIGH_WORD(ix,x); in sin_pi() 160 ix &= 0x7fffffff; in sin_pi() 175 if(ix>=0x43400000) { in sin_pi() 203 int i,hx,lx,ix; in lgamma_r() local 209 ix = hx&0x7fffffff; in lgamma_r() 210 if(ix>=0x7ff00000) return x*x; in lgamma_r() 211 if((ix|lx)==0) { in lgamma_r() 233 if((((ix-0x3ff00000)|lx)==0)||(((ix-0x40000000)|lx)==0)) r = 0; in lgamma_r() 235 else if(ix<0x40000000) { in lgamma_r() [all …]
|
H A D | e_lgammaf_r.c | 93 int n,ix; in sin_pif() local 95 GET_FLOAT_WORD(ix,x); in sin_pif() 96 ix &= 0x7fffffff; in sin_pif() 111 if(ix>=0x4b800000) { in sin_pif() 139 int i,hx,ix; in lgammaf_r() local 145 ix = hx&0x7fffffff; in lgammaf_r() 146 if(ix>=0x7f800000) return x*x; in lgammaf_r() 147 if(ix==0) { in lgammaf_r() 169 if (ix==0x3f800000||ix==0x40000000) r = 0; in lgammaf_r() 171 else if(ix<0x40000000) { in lgammaf_r() [all …]
|
H A D | s_erff.c | 97 int32_t hx,ix,i; in erff() local 100 ix = hx&0x7fffffff; in erff() 108 if (ix < 0x04000000) in erff() 130 if(ix< 0x4036DB6E) { /* |x| < 1/0.35 */ in erff() 141 GET_FLOAT_WORD(ix,x); in erff() 142 SET_FLOAT_WORD(z,ix&0xfffff000); in erff() 150 int32_t hx,ix; in erfcf() local 153 ix = hx&0x7fffffff; in erfcf() 184 if (ix < 0x41e00000) { /* |x|<28 */ in erfcf() 199 GET_FLOAT_WORD(ix,x); in erfcf() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | bitmap.c | 754 for (ix = 0; ix != BITMAP_ELEMENT_WORDS; ix++) in bitmap_single_bit_set_p() 784 for (ix = 0; ix != BITMAP_ELEMENT_WORDS; ix++) in bitmap_first_set_bit() 910 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and() 962 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and_into() 1161 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and_compl_into() 1455 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_compl_and_into() 1496 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_elt_ior() 1513 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_elt_ior() 1652 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_xor() 1737 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_xor_into() [all …]
|
H A D | tree-streamer.c | 95 unsigned ix, tree t) in streamer_tree_cache_add_to_node_array() argument 124 unsigned ix; in streamer_tree_cache_insert_1() local 136 ix = *ix_p; in streamer_tree_cache_insert_1() 146 ix = (size_t) *slot - 1; in streamer_tree_cache_insert_1() 153 ix = *ix_p; in streamer_tree_cache_insert_1() 162 *ix_p = ix; in streamer_tree_cache_insert_1() 187 tree t, unsigned ix) in streamer_tree_cache_insert_at() argument 212 unsigned ix; in streamer_tree_cache_lookup() local 220 ix = -1; in streamer_tree_cache_lookup() 225 ix = (size_t) *slot - 1; in streamer_tree_cache_lookup() [all …]
|
H A D | gcov-dump.c | 314 unsigned ix; in tag_blocks() local 316 for (ix = 0; ix != n_blocks; ix++) in tag_blocks() 318 if (!(ix & 7)) in tag_blocks() 338 unsigned ix; in tag_arcs() local 341 for (ix = 0; ix != n_arcs; ix++) in tag_arcs() 345 if (!(ix & 3)) in tag_arcs() 427 for (ix = 0; ix != n_counts; ix++) in tag_counters() 431 if (!(ix & 7)) in tag_counters() 450 unsigned ix; in tag_summary() local 455 for (ix = 0; ix != GCOV_COUNTERS_SUMMABLE; ix++) in tag_summary() [all …]
|
H A D | gcov.c | 775 for (ix = n_sources; ix--;) in release_structures() 779 for (ix = n_names; ix--;) in release_structures() 1073 for (ix = 0; ix != num_blocks; ix++) in read_graph_file() 1310 for (ix = 0; ix != fn->num_counts; ix++) in read_count_file() 1340 for (ix = fn->num_blocks; ix--;) in solve_flow_graph() 1580 for (ix = 0; ix < fn->num_blocks; ix++) in solve_flow_graph() 1598 for (ix = fn->num_blocks; ix--;) in find_exception_blocks() 1604 for (ix = 1; ix;) in find_exception_blocks() 1658 for (ix = dp; ix--; ) in format_gcov() 1672 buffer[ix+1] = buffer[ix]; in format_gcov() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | bitmap.c | 728 bits[ix] = elt_a->bits[ix] | elt_b->bits[ix]; in bitmap_count_unique_bits() 756 for (ix = 0; ix != BITMAP_ELEMENT_WORDS; ix++) in bitmap_single_bit_set_p() 786 for (ix = 0; ix != BITMAP_ELEMENT_WORDS; ix++) in bitmap_first_set_bit() 903 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and() 957 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and_into() 1165 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_and_compl_into() 1471 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_compl_and_into() 1512 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_elt_ior() 1529 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_elt_ior() 1670 for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) in bitmap_xor() [all …]
|
H A D | tree-streamer.c | 115 cache->nodes[ix] = t; in streamer_tree_cache_add_to_node_array() 122 cache->hashes[ix] = hash; in streamer_tree_cache_add_to_node_array() 151 ix = cache->next_idx++; in streamer_tree_cache_insert_1() 153 ix = *ix_p; in streamer_tree_cache_insert_1() 164 ix = *ix_p; in streamer_tree_cache_insert_1() 170 *ix_p = ix; in streamer_tree_cache_insert_1() 194 tree t, unsigned ix) in streamer_tree_cache_replace_tree() argument 229 unsigned ix; in streamer_tree_cache_lookup() local 237 ix = -1; in streamer_tree_cache_lookup() 242 ix = *slot; in streamer_tree_cache_lookup() [all …]
|
/dragonfly/games/trek/ |
H A D | visual.c | 65 int ix, iy; in visual() local 74 ix = Ship.sectx + v->x; in visual() 76 if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) in visual() 79 co = Sect[ix][iy]; in visual() 80 printf("%d,%d %c ", ix, iy, co); in visual() 82 ix = Ship.sectx + v->x; in visual() 84 if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) in visual() 87 co = Sect[ix][iy]; in visual() 90 ix = Ship.sectx + v->x; in visual() 92 if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) in visual() [all …]
|
H A D | events.c | 60 int ix, iy; in events() local 143 for (ix = 0; ix < NQUADS; ix++) { in events() 160 Ship.quadx = ix; in events() 187 q = &Quad[ix][iy]; in events() 227 ix, iy); in events() 265 ix = ranf(NQUADS); in events() 339 ix = e->x; in events() 347 for (i = ix - 1; i <= ix + 1; i++) { in events() 369 ix = i; in events() 377 sector(&ix, &iy); in events() [all …]
|
H A D | move.c | 78 int ix = 0, iy = 0; in move() local 141 ix = (x += dx); in move() 146 ix, x, iy, y); in move() 153 ix = -1; in move() 155 ix = dx + 0.5; in move() 170 Ship.quadx = ix / NSECTS; in move() 172 Ship.sectx = ix % NSECTS; in move() 188 ix = x - dx; in move() 204 ram(ix, iy); in move() 209 dx = Ship.sectx - ix; in move() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | memattr.c | 153 for (ix = 0; VEC_iterate (mem_region_s, target_mem_region_list, ix, m); ix++) in require_user_regions() 197 for (i = ix - 1; i < ix + 1; i++) in create_mem_region() 232 int ix; in lookup_mem_region() local 253 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in lookup_mem_region() 416 int ix; in mem_info_command() local 442 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in mem_info_command() 554 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in mem_enable() 576 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in mem_enable_command() 601 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in mem_disable() 623 for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) in mem_disable_command() [all …]
|
H A D | target-descriptions.c | 424 int ix; in tdesc_compatible_p() local 448 int ix; in tdesc_property() local 483 int ix; in tdesc_has_registers() local 505 int ix; in tdesc_find_feature() local 556 for (ix = 0; VEC_iterate (tdesc_type_p, feature->types, ix, type); ix++) in tdesc_named_type() 561 for (ix = 0; ix < ARRAY_SIZE (tdesc_predefined_types); ix++) in tdesc_named_type() 681 int ix; in tdesc_gdb_type() local 741 int ix; in tdesc_gdb_type() local 765 int ix; in tdesc_gdb_type() local 1424 for (ix = 0; VEC_iterate (tdesc_reg_p, feature->registers, ix, reg); ix++) in tdesc_free_feature() [all …]
|
H A D | probe.c | 113 int ix; in parse_probes() local 125 for (ix = 0; VEC_iterate (probe_p, probes, ix, probe); ix++) in parse_probes() 183 int ix; in VEC() local 190 for (ix = 0; VEC_iterate (probe_p, probes, ix, probe); ix++) in VEC() 222 for (ix = 0; VEC_iterate (probe_p, probes, ix, probe); ix++) in find_probe_by_pc() 293 for (ix = 0; VEC_iterate (probe_p, probes, ix, probe); ix++) in VEC() 353 int ix; in gen_ui_out_table_header_info() local 422 int ix; in print_ui_out_info() local 536 for (ix = 0; VEC_iterate (probe_ops_cp, all_probe_ops, ix, po); ++ix) in info_probes_for_ops() 577 for (ix = 0; VEC_iterate (probe_ops_cp, all_probe_ops, ix, po); ++ix) in info_probes_for_ops() [all …]
|
/dragonfly/contrib/openbsd_libm/src/ld80/ |
H A D | e_lgammal.c | 205 int n, ix; in sin_pi() local 209 ix = se & 0x7fff; in sin_pi() 210 ix = (ix << 16) | (i0 >> 16); in sin_pi() 211 if (ix < 0x3ffd8000) /* 0.25 */ in sin_pi() 234 if (ix < 0x403e8000) /* 2^63 */ in sin_pi() 272 int i, ix; in lgammal() local 277 ix = se & 0x7fff; in lgammal() 279 if ((ix | i0 | i1) == 0) in lgammal() 286 ix = (ix << 16) | (i0 >> 16); in lgammal() 289 if (ix >= 0x7fff0000) in lgammal() [all …]
|
H A D | e_sinhl.c | 41 u_int32_t jx,ix,i0,i1; in sinhl() local 45 ix = jx&0x7fff; in sinhl() 48 if(ix==0x7fff) return x+x; in sinhl() 53 if (ix < 0x4003 || (ix == 0x4003 && i0 <= 0xc8000000)) { /* |x|<25 */ in sinhl() 54 if (ix<0x3fdf) /* |x|<2**-32 */ in sinhl() 57 if(ix<0x3fff) return h*(2.0*t-t*t/(t+one)); in sinhl() 62 if (ix < 0x400c || (ix == 0x400c && i0 < 0xb17217f7)) in sinhl() 66 if (ix<0x400c || (ix == 0x400c && (i0 < 0xb174ddc0 in sinhl()
|
H A D | s_erfl.c | 252 int32_t ix, i; in erfl() local 256 ix = se & 0x7fff; in erfl() 258 if (ix >= 0x7fff) in erfl() 264 ix = (ix << 16) | (i0 >> 16); in erfl() 269 if (ix < 0x00080000) in erfl() 281 if (ix < 0x3fffa000) /* 1.25 */ in erfl() 331 int32_t hx, ix; in erfcl() local 336 ix = se & 0x7fff; in erfcl() 337 if (ix >= 0x7fff) in erfcl() 343 ix = (ix << 16) | (i0 >> 16); in erfcl() [all …]
|