Home
last modified time | relevance | path

Searched refs:dw (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/math/
DNativeBN.java33 public static native void putLongInt(long a, long dw); in putLongInt() argument
34 public static native void putULongInt(long a, long dw, boolean neg); in putULongInt() argument
/libcore/luni/src/main/native/
Djava_math_NativeBN.cpp130 uint64_t dw = java_dw; in NativeBN_putULongInt() local
134 static_assert(sizeof(dw) == sizeof(BN_ULONG) || in NativeBN_putULongInt()
135 sizeof(dw) == 2*sizeof(BN_ULONG), "Unknown BN configuration"); in NativeBN_putULongInt()
137 if (sizeof(dw) == sizeof(BN_ULONG)) { in NativeBN_putULongInt()
138 ok = BN_set_word(a, dw); in NativeBN_putULongInt()
139 } else if (sizeof(dw) == 2 * sizeof(BN_ULONG)) { in NativeBN_putULongInt()
142 a->d[0] = dw; in NativeBN_putULongInt()
143 a->d[1] = dw >> 32; in NativeBN_putULongInt()
156 static void NativeBN_putLongInt(JNIEnv* env, jclass cls, jlong a, jlong dw) { in NativeBN_putLongInt() argument
157 if (dw >= 0) { in NativeBN_putLongInt()
[all …]