/bionic/libc/kernel/arch-arm/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/external/kernel-headers/original/asm-arm/ |
div64.h | 7 * The semantics of do_div() are: 9 * uint32_t do_div(uint64_t *n, uint32_t base) 30 #define do_div(n,base) \ macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
div64.h | 25 #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) macro
|
/external/kernel-headers/original/linux/ |
calc64.h | 14 * do_div macro the dividend is kept intact. 25 *(remainder) = do_div(result, divisor);
|
jiffies.h | 389 do_div(tmp, (NSEC_PER_SEC / USER_HZ)); 409 do_div(jif, USER_HZ); 417 do_div(x, HZ / USER_HZ); 425 do_div(x, (NSEC_PER_SEC / USER_HZ)); 433 do_div(x, (NSEC_PER_SEC / USER_HZ)); 436 do_div(x, (NSEC_PER_SEC / 512)); 444 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (USER_HZ/2))
|
blkdev.h | 826 # define sector_div(a, b) do_div(a, b)
|
/external/kernel-headers/original/asm-x86/ |
div64.h | 9 * do_div() is NOT a C function. It wants to return 20 #define do_div(n,base) ({ \ macro
|