Searched defs:base (Results 1 - 25 of 61) sorted by last modified time

123

/frameworks/compile/slang/
H A Dslang_rs_type_spec.h118 struct RSTypeBase base; member in struct:RSPrimitiveType
120 // dt is encoded in base.b[1]
124 struct RSTypeBase base; member in struct:RSPointerType
129 struct RSPrimitiveType base; // base type of vec must be in primitive type member in struct:RSVectorType
131 // vsize is encoded in base.b[2]
138 struct RSTypeBase base; member in struct:RSMatrixType
142 struct RSTypeBase base; member in struct:RSConstantArrayType
145 // esize is encoded in base.bits{8-31} in little-endian way. This implicates
155 struct RSTypeBase base; member in struct:RSRecordType
166 struct RSTypeBase base; member in union:RSType
[all...]
/frameworks/native/include/binder/
H A DIMemory.h50 void* base() const { return getBase(); } function in class:android::IMemoryHeap
/frameworks/native/include/ui/
H A DANativeObjectBase.h81 static inline TYPE* getSelf(android_native_base_t* base) { argument
82 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base));
84 static inline TYPE const * getSelf(android_native_base_t const* base) { argument
85 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base));
87 static void incRef(android_native_base_t* base) { argument
88 ANativeObjectBase* self = getSelf(base);
91 static void decRef(android_native_base_t* base) { argument
92 ANativeObjectBase* self = getSelf(base);
/frameworks/native/libs/binder/
H A DIMemory.cpp140 void* const base = realHeap->base(); local
141 if (base == MAP_FAILED)
143 return static_cast<char*>(base) + offset;
149 void* const base = heap!=0 ? heap->base() : MAP_FAILED; local
150 if (base == MAP_FAILED)
152 return static_cast<char*>(base) + offset;
471 ALOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%d)",
H A DMemoryHeapBase.cpp94 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) argument
100 mBase = base;
127 void* base = (uint8_t*)mmap(0, size, local
129 if (base == MAP_FAILED) {
135 //ALOGD("mmap(fd=%d, base=%p, size=%lu)", fd, base, size);
136 mBase = base;
158 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
/frameworks/native/libs/utils/
H A DRefBase.cpp62 weakref_impl(RefBase* base) argument
65 , mBase(base)
81 weakref_impl(RefBase* base) argument
84 , mBase(base)
/frameworks/native/opengl/libagl/
H A Dcontext.h238 void* base; member in struct:android::gl::vertex_cache_t
H A Dmipmap.cpp33 const GGLSurface* base = &tex->surface; local
34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
36 int w = base->width;
37 int h = base->height;
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
53 int bs = base->stride;
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
58 uint16_t const * src = (uint16_t const *)base->data;
79 else if (base
[all...]
H A Dstate.cpp68 void* const base = malloc(extra + sizeof(ogles_context_t) + 32); local
69 if (!base) return 0;
72 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL);
91 c->rasterizer.base = base;
114 free(c->rasterizer.base);
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp40 | base col1 | base col2 | base col1 | base col2 |
46 | base col1 | base col2 | table | table |diff|flip|
55 | base col1 | dcol 2 | base col1 | dcol 2 |
61 | base col 1 | dcol 2 | table | table |diff|flip|
162 inline int convertDiff(int base, in argument
[all...]
/frameworks/native/services/sensorservice/
H A Dmat.h126 typedef vec< vec<TYPE, R>, C > base; typedef in class:android::mat
141 mat(const mat& rhs) : base(rhs) { }
142 mat(const base& rhs) : base(rhs) { }
156 base::operator=(rhs);
160 mat& operator=(const base& rhs) {
161 base::operator=(rhs);
174 static_cast<const base&>(lhs),
175 static_cast<const base&>(rhs));
179 static_cast<const base
257 typedef vec<TYPE, R> base; typedef in class:android::mat
[all...]
H A Dvec.h303 typedef vbase<TYPE, SIZE> base; typedef in class:android::vec
314 iterator begin() { return base::v; }
315 iterator end() { return base::v + SIZE; }
316 const_iterator begin() const { return base::v; }
317 const_iterator end() const { return base::v + SIZE; }
324 vec(const vec& rhs) : base(rhs) { }
325 vec(const base& rhs) : base(rhs) { }
332 base::operator[](i) = rhs;
342 base
[all...]
/frameworks/compile/libbcc/tests/data/src/
H A DaddressOf.c7 struct str base; local
10 base.x = 10.0;
11 struct str *s = &base;
15 printf("testStruct: %g %g %g\n",base.x, *v, *v2);
H A Dbellard.otccex.c81 int s, n, f, base; local
95 base = DEFAULT_BASE;
97 base = atoi(*(int *)(argv + 8));
98 if (base < 2 || base > 36) {
100 fprintf(stderr, "Invalid base\n");
105 print_num(fib(n), base); local
114 print_num((*(int (*)())f)(n), base);
123 printf("usage: %s n [base]\n", name);
124 printf("Compute fib(n) and fact(n) and output the result in base 'bas
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp342 // for interfaces, also add the service base type, we don't
349 Type* base = new Type(c->package ? c->package : "", local
352 NAMES.Add(base);
H A Dgenerate_java.cpp9 VariableFactory::VariableFactory(const string& base) argument
10 :m_base(base),
H A Dgenerate_java_rpc.cpp803 // the service base class
836 // == the dispatch method in the service base class ======================
848 // == the push method in the service base class =========================
883 // == the event method in the listener base class =====================
966 // the service base class
967 EndpointBaseClass* base = new EndpointBaseClass(iface); local
968 proxy->elements.push_back(base);
979 generate_event_method((method_type*)item, proxy, base, listener, presenter, index);
981 generate_regular_method((method_type*)item, proxy, base, results, index);
988 base
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java472 * truncating the base value to an integer.
494 * rounding the base value, and ensuring that a non-zero base value
597 * @param base The base value of this fraction. In other words, a
599 * @param pbase The parent base value of this fraction. In other
606 * base value, or defValue if not defined.
609 public float getFraction(int index, int base, int pbase, float defValue) { argument
625 return mValue.getFraction(base, pbase);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java5862 Slog.w(TAG, "Now component for base intent of task: " + tr);
9980 private static String buildOomTag(String prefix, String space, int val, int base) { argument
9981 if (val == base) {
9985 return prefix + "+" + Integer.toString(val-base);
/frameworks/base/services/java/com/android/server/pm/
H A DGrantedPermissions.java35 GrantedPermissions(GrantedPermissions base) { argument
36 pkgFlags = base.pkgFlags;
37 grantedPermissions = (HashSet<String>) base.grantedPermissions.clone();
39 if (base.gids != null) {
40 gids = base.gids.clone();
H A DPackageSettingBase.java33 * Settings base class for pending and resolved classes.
92 PackageSettingBase(PackageSettingBase base) { argument
93 super(base);
95 name = base.name;
96 realName = base.realName;
97 codePath = base.codePath;
98 codePathString = base.codePathString;
99 resourcePath = base.resourcePath;
100 resourcePathString = base.resourcePathString;
101 nativeLibraryPathString = base
158 copyFrom(PackageSettingBase base) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java79 public BroadcastInterceptingContext(Context base) { argument
80 super(base);
/frameworks/base/native/android/
H A Dconfiguration.cpp229 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { argument
230 return base->match(*requested);
233 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, argument
235 return base->isBetterThan(*test, requested);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java2230 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument
2232 Float.toString(mContext.getResources().getFraction(resid, base, base)));
/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp163 sp<KeyCharacterMap> KeyCharacterMap::combine(const sp<KeyCharacterMap>& base, argument
166 return base;
168 if (base == NULL) {
172 sp<KeyCharacterMap> map = new KeyCharacterMap(*base.get());
272 // For example, the base key behavior will usually be last in the list.
426 // For example, the base key behavior will usually be last in the list.
1050 if (token == "base") {

Completed in 224 milliseconds

123