Searched refs:res_ptr (Results 1 - 25 of 26) sorted by relevance

12

/haiku/src/system/libroot/posix/glibc/arch/x86/
H A Dldbl2mpn.c32 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, argument
43 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */
44 res_ptr[1] = u.ieee.mantissa0; /* High-order 32 bits. */
49 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
59 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */
73 res_ptr[N - 1] &= ~(1L << ((LDBL_MANT_DIG - 1) % BITS_PER_MP_LIMB));
75 if (res_ptr[N - 1] != 0)
77 count_leading_zeros (cnt, res_ptr[N - 1]);
81 res_ptr[
[all...]
H A Dmul_1.S32 #define res_ptr edi define
46 movl RES(%esp), %res_ptr
52 CHECK_BOUNDS_BOTH_WIDE (%res_ptr, RES(%esp), %size)
56 leal (%res_ptr,%size,4), %res_ptr
69 movl %ebp, (%res_ptr,%size,4)
H A Daddmul_1.S32 #define res_ptr edi define
46 movl RES(%esp), %res_ptr
52 CHECK_BOUNDS_BOTH_WIDE (%res_ptr, RES(%esp), %size)
56 leal (%res_ptr,%size,4), %res_ptr
68 movl (%res_ptr,%size,4), %ebp
73 movl %ebp, (%res_ptr,%size,4)
H A Dsubmul_1.S32 #define res_ptr edi define
46 movl RES(%esp), %res_ptr
52 CHECK_BOUNDS_BOTH_WIDE (%res_ptr, RES(%esp), %sizeP)
56 leal (%res_ptr,%size,4), %res_ptr
68 movl (%res_ptr,%size,4), %ebp
73 movl %ebp, (%res_ptr,%size,4)
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ddbl2mpn.c31 __mpn_extract_double (mp_ptr res_ptr, mp_size_t size, argument
42 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */
43 res_ptr[1] = u.ieee.mantissa0; /* High-order 20 bits. */
48 res_ptr[0] = ((unsigned long int) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
61 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */
70 if (res_ptr[N - 1] != 0)
72 count_leading_zeros (cnt, res_ptr[N - 1]);
75 res_ptr[N - 1] = res_ptr[
[all...]
H A Dldbl2mpn.c33 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, argument
44 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */
45 res_ptr[1] = u.ieee.mantissa0; /* High-order 32 bits. */
50 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
60 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */
69 if (res_ptr[N - 1] != 0)
71 count_leading_zeros (cnt, res_ptr[N - 1]);
75 res_ptr[N - 1] = res_ptr[
[all...]
H A Daddmul_1.c30 mpn_addmul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
31 register mp_ptr res_ptr;
46 res_ptr -= j;
57 x = res_ptr[j];
60 res_ptr[j] = prod_low;
H A Dsubmul_1.c30 mpn_submul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
31 register mp_ptr res_ptr;
46 res_ptr -= j;
57 x = res_ptr[j];
60 res_ptr[j] = prod_low;
H A Dmul_1.c28 mpn_mul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
29 register mp_ptr res_ptr;
44 res_ptr -= j;
54 res_ptr[j] = prod_low;
H A Dadd_n.c27 mpn_add_n (mp_ptr res_ptr, mp_srcptr s1_ptr, mp_srcptr s2_ptr, mp_size_t size) argument
29 mpn_add_n (res_ptr, s1_ptr, s2_ptr, size)
30 register mp_ptr res_ptr;
46 res_ptr -= j;
57 res_ptr[j] = y;
H A Dsub_n.c27 mpn_sub_n (mp_ptr res_ptr, mp_srcptr s1_ptr, mp_srcptr s2_ptr, mp_size_t size) argument
29 mpn_sub_n (res_ptr, s1_ptr, s2_ptr, size)
30 register mp_ptr res_ptr;
46 res_ptr -= j;
57 res_ptr[j] = y;
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dldbl2mpn.c33 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, argument
44 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */
45 res_ptr[1] = u.ieee.mantissa0; /* High-order 32 bits. */
50 res_ptr[0] = ((unsigned long int) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
60 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */
69 if (res_ptr[N - 1] != 0)
71 count_leading_zeros (cnt, res_ptr[N - 1]);
75 res_ptr[N - 1] = res_ptr[
[all...]
H A Dmul_1.S24 /* mp_limb_t mpn_mul_1 (mp_ptr res_ptr, mp_srcptr s1_ptr,
26 Calculate s1*s2 and put result in res_ptr; return carry. */
39 addi r3,r3,-4 # adjust res_ptr
H A Drshift.S25 res_ptr r3
37 addi r7,r3,-4 # move adjusted res_ptr to free return reg
H A Dsubmul_1.S24 /* mp_limb_t mpn_submul_1 (mp_ptr res_ptr, mp_srcptr s1_ptr,
42 addi r3,r3,-4 # adjust res_ptr
/haiku/src/system/libroot/posix/glibc/include/
H A Dgmp.h10 extern mp_size_t __mpn_extract_double (mp_ptr res_ptr, mp_size_t size,
14 extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
/haiku/src/system/libroot/posix/glibc/arch/m68k/
H A Drshift.S24 res_ptr (sp + 4)
33 #define res_ptr a1 define
44 movel MEM_DISP(sp,28),R(res_ptr)
52 cmpl R(res_ptr),R(s_ptr)
53 bls L(Lspecial) /* jump if res_ptr >= s_ptr */
55 lea MEM_INDX1(res_ptr,s_size,l,4),R(a2)
59 lea MEM_INDX(res_ptr,d0,l),R(a2)
62 bls L(Lspecial) /* jump if s_ptr >= res_ptr + s_size */
84 movel R(d1),MEM_POSTINC(res_ptr)
91 movel R(d2),MEM_POSTINC(res_ptr)
[all...]
H A Daddmul_1.S25 res_ptr (sp + 4)
37 #define res_ptr a0 define
46 movel MEM_DISP(sp,20),R(res_ptr)
64 addl R(d3),MEM_POSTINC(res_ptr)
69 addl R(d3),MEM_POSTINC(res_ptr)
H A Dmul_1.S25 res_ptr (sp + 4)
37 #define res_ptr a0 define
51 movel MEM_DISP(sp,16),R(res_ptr)
67 movel R(d3),MEM_POSTINC(res_ptr)
71 movel R(d3),MEM_POSTINC(res_ptr)
H A Dsubmul_1.S25 res_ptr (sp + 4)
37 #define res_ptr a0 define
46 movel MEM_DISP(sp,20),R(res_ptr)
64 subl R(d3),MEM_POSTINC(res_ptr)
69 subl R(d3),MEM_POSTINC(res_ptr)
H A Dlshift.S24 res_ptr (sp + 4)
33 #define res_ptr a1 define
45 movel MEM_DISP(sp,28),R(res_ptr)
53 cmpl R(s_ptr),R(res_ptr)
54 bls L(Lspecial) /* jump if s_ptr >= res_ptr */
62 cmpl R(res_ptr),R(a2)
63 bls L(Lspecial) /* jump if res_ptr >= s_ptr + s_size */
71 lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr)
76 addl R(s_size),R(res_ptr)
[all...]
/haiku/src/libs/iconv/
H A Dlocalcharset.c147 char *res_ptr = NULL; local
178 old_res_ptr = res_ptr;
182 res_ptr = (char *) malloc (res_size + 1);
187 res_ptr = (char *) realloc (res_ptr, res_size + 1);
189 if (res_ptr == NULL)
197 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
198 strcpy (res_ptr + res_size - (l2 + 1), buf2);
205 *(res_ptr + res_size) = '\0';
206 cp = res_ptr;
[all...]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dgmp.h433 mpn_add_1 (register mp_ptr res_ptr, argument
438 mpn_add_1 (res_ptr, s1_ptr, s1_size, s2_limb)
439 register mp_ptr res_ptr;
449 *res_ptr++ = s2_limb;
455 *res_ptr++ = x;
464 if (res_ptr != s1_ptr)
468 res_ptr[i] = s1_ptr[i];
475 mpn_add (register mp_ptr res_ptr, argument
481 mpn_add (res_ptr, s1_ptr, s1_size, s2_ptr, s2_size)
482 register mp_ptr res_ptr;
504 mpn_sub_1(register mp_ptr res_ptr, register mp_srcptr s1_ptr, register mp_size_t s1_size, register mp_limb_t s2_limb) argument
546 mpn_sub(register mp_ptr res_ptr, register mp_srcptr s1_ptr, register mp_size_t s1_size, register mp_srcptr s2_ptr, register mp_size_t s2_size) argument
[all...]
/haiku/src/system/libroot/posix/glibc/arch/sparc/
H A Dadd_n.S27 res_ptr %o0
39 add %o0,%g1,%o0 ! make res_ptr point at end
H A Dsub_n.S25 res_ptr %o0
36 add %o0,%g1,%o0 ! make res_ptr point at end

Completed in 70 milliseconds

12