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.cpp126 uint64_t dw = java_dw; in NativeBN_putULongInt() local
130 static_assert(sizeof(dw) == sizeof(BN_ULONG) || in NativeBN_putULongInt()
131 sizeof(dw) == 2*sizeof(BN_ULONG), "Unknown BN configuration"); in NativeBN_putULongInt()
133 if (sizeof(dw) == sizeof(BN_ULONG)) { in NativeBN_putULongInt()
134 ok = BN_set_word(a, dw); in NativeBN_putULongInt()
135 } else if (sizeof(dw) == 2 * sizeof(BN_ULONG)) { in NativeBN_putULongInt()
138 a->d[0] = dw; in NativeBN_putULongInt()
139 a->d[1] = dw >> 32; in NativeBN_putULongInt()
152 static void NativeBN_putLongInt(JNIEnv* env, jclass cls, jlong a, jlong dw) { in NativeBN_putLongInt() argument
153 if (dw >= 0) { in NativeBN_putLongInt()
[all …]