Searched refs:base (Results 1 - 25 of 34) sorted by relevance

12

/development/ndk/platforms/android-3/arch-arm/include/asm/
H A Ddiv64.h25 #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; })
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Ddiv64.h25 #define do_div64_32(res, high, low, base) ({ unsigned long __quot32, __mod32; unsigned long __cf, __tmp, __tmp2, __i; __asm__(".set push\n\t" ".set noat\n\t" ".set noreorder\n\t" "move %2, $0\n\t" "move %3, $0\n\t" "b 1f\n\t" " li %4, 0x21\n" "0:\n\t" "sll $1, %0, 0x1\n\t" "srl %3, %0, 0x1f\n\t" "or %0, $1, %5\n\t" "sll %1, %1, 0x1\n\t" "sll %2, %2, 0x1\n" "1:\n\t" "bnez %3, 2f\n\t" " sltu %5, %0, %z6\n\t" "bnez %5, 3f\n" "2:\n\t" " addiu %4, %4, -1\n\t" "subu %0, %0, %z6\n\t" "addiu %2, %2, 1\n" "3:\n\t" "bnez %4, 0b\n\t" " srl %5, %1, 0x1f\n\t" ".set pop" : "=&r" (__mod32), "=&r" (__tmp), "=&r" (__quot32), "=&r" (__cf), "=&r" (__i), "=&r" (__tmp2) : "Jr" (base), "0" (high), "1" (low)); (res) = __quot32; __mod32; })
26 #define do_div(n, base) ({ unsigned long long __quot; unsigned long __mod; unsigned long long __div; unsigned long __upper, __low, __high, __base; __div = (n); __base = (base); __high = __div >> 32; __low = __div; __upper = __high; if (__high) __asm__("divu $0, %z2, %z3" : "=h" (__upper), "=l" (__high) : "Jr" (__high), "Jr" (__base) : GCC_REG_ACCUM); __mod = do_div64_32(__low, __upper, __low, __base); __quot = __high; __quot = __quot << 32 | __low; (n) = __quot; __mod; })
30 #define do_div(n, base) ({ unsigned long __quot; unsigned int __mod; unsigned long __div; unsigned int __base; __div = (n); __base = (base); __mod = __div % __base; __quot = __div / __base; (n) = __quot; __mod; })
H A Derrno.h21 #include <asm-generic/errno-base.h>
/development/ndk/platforms/android-3/include/linux/
H A Dtimer.h28 struct tvec_t_base_s *base; member in struct:timer_list
31 #define TIMER_INITIALIZER(_function, _expires, _data) { .function = (_function), .expires = (_expires), .data = (_data), .base = &boot_tvec_bases, }
H A Dkd.h128 unsigned char diacr, base, result; member in struct:kbdiacr
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Ddiv64.h22 #define do_div(n,base) ({ unsigned long __upper, __low, __high, __mod, __base; __base = (base); asm("":"=a" (__low), "=d" (__high):"A" (n)); __upper = __high; if (__high) { __upper = __high % (__base); __high = __high / (__base); } asm("divl %2":"=a" (__low), "=d" (__mod):"rm" (__base), "0" (__low), "1" (__upper)); asm("":"=A" (n):"a" (__low),"d" (__high)); __mod; })
H A Ddesc_32.h74 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) movb idx*8+4(gdt), lo_b; movb idx*8+7(gdt), hi_b; shll $16, base; movw idx*8+2(gdt), lo_w;
/development/ndk/platforms/android-9/arch-x86_64/include/asm/
H A Ddiv64.h22 #define do_div(n,base) ({ unsigned long __upper, __low, __high, __mod, __base; __base = (base); asm("":"=a" (__low), "=d" (__high):"A" (n)); __upper = __high; if (__high) { __upper = __high % (__base); __high = __high / (__base); } asm("divl %2":"=a" (__low), "=d" (__mod):"rm" (__base), "0" (__low), "1" (__upper)); asm("":"=A" (n):"a" (__low),"d" (__high)); __mod; })
H A Ddesc_32.h74 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) movb idx*8+4(gdt), lo_b; movb idx*8+7(gdt), hi_b; shll $16, base; movw idx*8+2(gdt), lo_w;
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
H A Dmcbsp.h31 #define OMAP_MCBSP_READ(base, reg) __raw_readw((base) + OMAP_MCBSP_REG_##reg)
32 #define OMAP_MCBSP_WRITE(base, reg, val) __raw_writew((val), (base) + OMAP_MCBSP_REG_##reg)
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DUnicodeChart.java82 private void drawChart(Canvas canvas, int base) { argument
85 int unichar = base + i;
/development/tools/etc1tool/
H A DAndroid.mk15 LOCAL_C_INCLUDES += frameworks/base/opengl/include
/development/ndk/platforms/android-3/include/
H A Dinttypes.h257 intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n);
258 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);
/development/ndk/platforms/android-3/include/asm-generic/
H A Derrno.h15 #include <asm-generic/errno-base.h>
/development/ndk/platforms/android-9/samples/native-activity/
H A DAndroid.mk34 $(TOPDIR)frameworks/base/native/include \
35 $(TOPDIR)frameworks/base/opengl/include \
/development/tools/idegen/src/com/android/idegen/
H A DMakeFileParser.java19 import com.google.common.base.Objects;
20 import com.google.common.base.Preconditions;
21 import com.google.common.base.Splitter;
22 import com.google.common.base.Strings;
H A DAggregatedModule.java19 import com.google.common.base.Preconditions;
H A DModuleCache.java19 import com.google.common.base.Preconditions;
H A DModuleIndexes.java19 import com.google.common.base.Preconditions;
H A DStandardModule.java19 import com.google.common.base.Objects;
20 import com.google.common.base.Preconditions;
H A DDirectorySearch.java19 import com.google.common.base.Preconditions;
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
H A Dplasma.c201 Fixed base = fixed_sin(yt1) + fixed_sin(yt2); local
219 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
229 Fixed i1 = base + fixed_sin(xt1) + fixed_sin(xt2);
233 Fixed i2 = base + fixed_sin(xt1) + fixed_sin(xt2);
245 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
254 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
/development/ndk/platforms/android-9/samples/native-plasma/jni/
H A Dplasma.c210 Fixed base = fixed_sin(yt1) + fixed_sin(yt2); local
228 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
238 Fixed i1 = base + fixed_sin(xt1) + fixed_sin(xt2);
242 Fixed i2 = base + fixed_sin(xt1) + fixed_sin(xt2);
254 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
263 Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
/development/ndk/platforms/android-9/include/android/
H A Dconfiguration.h296 * Determine whether 'base' is a valid configuration for use within the
297 * environment 'requested'. Returns 0 if there are any values in 'base'
300 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested);
304 * configuration in 'base'. If 'requested' is non-NULL, this decision is based
307 * 'test' is better than 'base'.
312 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test,
/development/scripts/
H A Dcombine_sdks.sh53 BASE_DIR="$TMP"/base

Completed in 467 milliseconds

12