Searched refs:bits (Results 1 - 25 of 76) sorted by last modified time

1234

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java245 native void rsnContextDump(int con, int bits); argument
246 synchronized void nContextDump(int bits) { argument
248 rsnContextDump(mContext, bits);
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp154 nContextDump(JNIEnv *_env, jobject _this, RsContext con, jint bits) argument
156 LOG_API("nContextDump, con(%p) bits(%i)", (RsContext)con, bits);
157 rsContextDump((RsContext)con, bits);
328 nAllocationSyncAll(JNIEnv *_env, jobject _this, RsContext con, jint a, jint bits) argument
330 LOG_API("nAllocationSyncAll, con(%p), a(%p), bits(0x%08x)", con, (RsAllocation)a, bits);
331 rsAllocationSyncAll(con, (RsAllocation)a, (RsAllocationUsageType)bits);
/frameworks/rs/api/
H A Dgen_runtime.cpp380 /* For integers, number of bits of the number, excluding the sign bit.
381 * For floats, number of implied bits of the mantissa.
384 // For floats, number of bits of the exponent. 0 for integer types.
572 /* Double has only 52 bits of precision (53 implied). So for longs, we want
1507 int bits = min(compatibleType.exponentBits, generatedType.exponentBits) - 1; local
1508 maxValue = ldexp(0.95, (1 << bits) - 1);
H A Drs_core_math.spec713 Return the quotient and the remainder of b/c. Only the sign and lowest three bits of the quotient are guaranteed to be accurate.
898 Return the number of leading 0-bits in a value.
/frameworks/rs/cpu_ref/linkloader/android/
H A Dlibrsloader.cpp122 ELFSectionBits<64>* bits = local
125 ELFSectionBits<32>* bits =
128 if (bits) {
129 const unsigned char* addr = bits->getBuffer();
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp144 typedef struct {uint64_t bits[1024 / 64]; } cpu_set_t;
147 cpuset.bits[idx / 64] |= 1ULL << (idx % 64);
/frameworks/rs/
H A Drs.spec90 param int32_t bits
H A DrsContext.cpp892 void rsi_ContextDump(Context *rsc, int32_t bits) { argument
H A DrsElement.cpp200 size_t bits = 0; local
203 mFields[ct].offsetBits = bits;
205 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize;
H A Drsg_generator.c35 fprintf(f, "int%i_t", vt->bits);
38 fprintf(f, "uint%i_t", vt->bits);
41 if (vt->bits == 32)
H A Dspec.h16 int bits; member in struct:__anon1563
H A Dspec.l106 currType->bits = 8;
112 currType->bits = 16;
118 currType->bits = 32;
124 currType->bits = 64;
130 currType->bits = 8;
136 currType->bits = 16;
142 currType->bits = 32;
148 currType->bits = 64;
154 currType->bits = 32;
160 currType->bits
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHardwareConfig.java153 char[] bits = Integer.toBinaryString(ratBits).toCharArray();
157 rat = new BitSet(bits.length);
158 for (int i = 0 ; i < bits.length ; i++) {
159 rat.set(i, (bits[i] == '1' ? true : false));
H A DIccUtils.java158 * 8 bit number which defines bits 15 to 8 of a 16 bit
159 * base pointer, where bit 16 is set to zero and bits 7 to 1
160 * are also set to zero. These sixteen bits constitute a
164 * If bit 8 of the octet is set to zero, the remaining 7 bits
167 * remaining seven bits are an offset value added to the
401 // reassign data and index for every byte (8 bits).
436 int bits = data[valueIndex++] & 0xFF;
447 if (0 == (8 % bits)) {
449 (width * height), colorIndexArray, bits);
452 (width * height), colorIndexArray, bits);
459 mapTo2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
497 mapToNon2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java158 * 8 bit number which defines bits 15 to 8 of a 16 bit
159 * base pointer, where bit 16 is set to zero and bits 7 to 1
160 * are also set to zero. These sixteen bits constitute a
164 * If bit 8 of the octet is set to zero, the remaining 7 bits
167 * remaining seven bits are an offset value added to the
401 // reassign data and index for every byte (8 bits).
436 int bits = data[valueIndex++] & 0xFF;
447 if (0 == (8 % bits)) {
449 (width * height), colorIndexArray, bits);
452 (width * height), colorIndexArray, bits);
459 mapTo2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
497 mapToNon2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
[all...]
/frameworks/native/include/android/
H A Dnative_window.h52 // The actual bits.
53 void* bits; member in struct:ANativeWindow_Buffer
/frameworks/native/include/input/
H A DInput.h192 uint64_t bits __attribute__((aligned(8))); member in struct:android::PointerCoords
195 // for each axis that is present in the structure according to 'bits'.
199 BitSet64::clear(bits);
203 return BitSet64::isEmpty(bits);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp58 char const* bits; member in struct:android::__anon1316
317 uint32_t* bits; local
318 buffer->lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, reinterpret_cast<void**>(&bits));
321 memset(bits, 0, w*h*4);
324 bits[x] = (kDebugData.bits[y*kDebugData.width+x] == 'X') ? 0xFF000000 : 0xFFFFFFFF;
326 bits += w;
H A DSurface.cpp884 outBuffer->bits = vaddr;
/frameworks/native/libs/gui/tests/
H A DMultiTextureConsumer_test.cpp109 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
H A DSRGB_test.cpp306 uint8_t* bytePointer = reinterpret_cast<uint8_t*>(outBuffer.bits);
334 memcpy(outBuffer.bits, mLockedBuffer.data, bufferSize);
338 uint8_t* outPointer = reinterpret_cast<uint8_t*>(outBuffer.bits);
/frameworks/native/libs/input/
H A DInput.cpp92 if (axis < 0 || axis > 63 || !BitSet64::hasBit(bits, axis)){
95 return values[BitSet64::getIndexOfBit(bits, axis)];
103 uint32_t index = BitSet64::getIndexOfBit(bits, axis);
104 if (!BitSet64::hasBit(bits, axis)) {
109 uint32_t count = BitSet64::count(bits);
114 BitSet64::markBit(bits, axis);
149 bits = parcel->readInt64();
151 uint32_t count = BitSet64::count(bits);
163 parcel->writeInt64(bits);
165 uint32_t count = BitSet64::count(bits);
[all...]
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp40 ASSERT_EQ(0ULL, coords.bits);
57 ASSERT_EQ(0x4000000000000000ULL, coords.bits);
66 ASSERT_EQ(0x5000000000000000ULL, coords.bits);
81 ASSERT_EQ(0xd000000000000000ULL, coords.bits);
97 ASSERT_EQ(0xf000000000000000ULL, coords.bits);
114 ASSERT_EQ(0xf000000000000000ULL, coords.bits);
133 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits));
136 // Ensure bits are unchanged.
138 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits));
153 ASSERT_EQ(0ULL, outCoords.bits);
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.cpp162 // There's no need to endian-swap within 'bits'
164 uint32_t bits = *d32++; local
166 // Detect if any (odd, even) pair of bits are '11'
167 // bits: b31 b30 b29 ... b3 b2 b1 b0
168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1
171 if (((bits & (bits >> 1)) & 0x55555555) != 0) {
216 uint32_t bits = *d32++; local
220 bits = swap(bits);
339 uint32_t bits = *d32++; local
463 uint32_t bits = *d32++; local
[all...]
H A Degl.cpp248 void* bits; member in struct:android::egl_window_surface_v2_t
346 bits(NULL)
408 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) {
419 if (buffer && bits) {
420 bits = NULL;
513 copyBlt(buffer, bits, previousBuffer, prevBits, copyBack);
564 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) {
591 buffer.data = (GGLubyte*)bits;
606 buffer.data = (GGLubyte*)bits; // FIXME: hopefully is is LOCKED!!!

Completed in 317 milliseconds

1234