/haiku-buildtools/gcc/gmp/mpbsd/ |
H A D | mout.c | 35 size_t str_size; local 54 MPN_SIZEINBASE (str_size, x_ptr, x_size, 10); 55 str_size += 2; 56 str = (unsigned char *) TMP_ALLOC (str_size); 62 str_size = mpn_get_str (str, 10, xp, x_size); 65 str_size -= (*str == 0); 70 for (i = 0; i < str_size; i++) 72 str[str_size] = 0; 74 str_size = strlen ((char *) str); 75 if (str_size [all...] |
H A D | mtox.c | 34 size_t str_size, alloc_size, i; local 51 str_size = mpn_get_str (s, 16, xp, xsize); 52 ASSERT (str_size <= alloc_size - (xsign < 0)); 53 ASSERT (str_size == 1 || *s != 0); 55 for (i = 0; i < str_size; i++) 57 s[str_size] = 0;
|
H A D | xtom.c | 34 size_t str_size; local 59 str_size = strlen (str - 1); 60 s = begs = (char *) TMP_ALLOC (str_size + 1); 62 for (i = 0; i < str_size; i++) 77 str_size = s - begs; 79 xsize = str_size / mp_bases[16].chars_per_limb + 1; 83 xsize = mpn_set_str (x->_mp_d, (unsigned char *) begs, str_size, 16);
|
H A D | min.c | 34 size_t alloc_size, str_size; local 44 str_size = 0; 67 if (str_size >= alloc_size) 73 str[str_size++] = dig; 80 dest_size = str_size / mp_bases[10].chars_per_limb + 1; 84 dest_size = mpn_set_str (dest->_mp_d, (unsigned char *) str, str_size, 10);
|
/haiku-buildtools/gcc/mpfr/src/ |
H A D | inp_str.c | 35 size_t alloc_size, str_size; local 45 str_size = 0; 60 if (str_size >= alloc_size) 69 str[str_size++] = (unsigned char) c; 74 /* number of characters read is nread + str_size - 1 */ 77 then necessarily str_size >= alloc_size was checked, so 78 now str_size < alloc_size */ 80 str[str_size] = '\0'; 88 return str_size + nread - 1;
|
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/ |
H A D | argument_checking_17.f90 | 15 subroutine sub2(string,str_size) 16 integer,intent(in) :: str_size local in subroutine:sub2 17 character,intent(out) :: string(str_size)
|
/haiku-buildtools/gcc/gmp/mpz/ |
H A D | get_str.c | 37 size_t str_size; local 86 str_size = mpn_get_str ((unsigned char *) res_str, base, xp, x_size); 87 ASSERT (alloc_size == 0 || str_size <= alloc_size - (SIZ(x) < 0)); 91 if (*res_str == 0 && str_size != 1) 93 str_size--; 100 for (i = 0; i < str_size; i++) 102 res_str[str_size] = 0; 109 size_t actual_size = str_size + 1 + (res_str - return_str);
|
H A D | out_str.c | 31 size_t str_size; local 74 str_size = ((size_t) (x_size * GMP_LIMB_BITS 76 str = (unsigned char *) TMP_ALLOC (str_size); 83 str_size = mpn_get_str (str, base, xp, x_size); 88 str_size--; 93 for (i = 0; i < str_size; i++) 95 str[str_size] = 0; 99 fwret = fwrite ((char *) str, 1, str_size, stream);
|
H A D | set_str.c | 36 size_t str_size; local 103 str_size = strlen (str - 1); 104 s = begs = (char *) TMP_ALLOC (str_size + 1); 108 for (i = 0; i < str_size; i++) 123 str_size = s - begs; 126 (str_size / (GMP_NUMB_BITS * mp_bases[base].chars_per_bit_exactly)); 130 xsize = mpn_set_str (x->_mp_d, (unsigned char *) begs, str_size, base);
|
H A D | inp_str.c | 61 size_t alloc_size, str_size; local 125 str_size = 0; 133 if (str_size >= alloc_size) 139 str[str_size++] = dig; 142 nread += str_size; 148 if (str_size == 0) 155 (str_size / (GMP_NUMB_BITS * mp_bases[base].chars_per_bit_exactly)); 159 xsize = mpn_set_str (x->_mp_d, (unsigned char *) str, str_size, base);
|
/haiku-buildtools/gcc/gmp/mpf/ |
H A D | inp_str.c | 30 size_t alloc_size, str_size; local 40 str_size = 0; 53 if (str_size >= alloc_size) 61 str[str_size++] = c; 67 if (str_size >= alloc_size) 73 str[str_size] = 0; 81 return str_size + nread;
|
H A D | set_str.c | 114 size_t str_size; local 176 str_size = strlen (str); 177 for (i = str_size - 1; i > 0; i--) 183 str_size = i; 189 s = begs = (char *) TMP_ALLOC (str_size + 1); 192 for (i = 0; i < str_size; i++) 229 str_size = s - begs; 249 if (str_size > n_chars_needed) 250 str_size = n_chars_needed; 254 (str_size / (GMP_NUMB_BIT [all...] |