/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 116 static void OneVU4(const RsExpandKernelDriverInfo *info, float4 *out, int32_t x, int32_t y, 131 out[0] = blurredPixel; 134 static void OneVU1(const RsExpandKernelDriverInfo *info, float *out, int32_t x, int32_t y, 148 out[0] = blurredPixel; 152 extern "C" void rsdIntrinsicBlurU1_K(uchar *out, uchar const *in, size_t w, size_t h, 154 extern "C" void rsdIntrinsicBlurU4_K(uchar4 *out, uchar4 const *in, size_t w, size_t h, 163 static void OneVFU4(float4 *out, 166 out += x1; 172 rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); 175 out += t 295 uchar4 *out = (uchar4 *)info->outPtr[0]; local 366 uchar *out = (uchar *)info->outPtr[0]; local [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 91 static void ConvolveOneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, 110 *out = o; 113 static void ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, 131 *out = convert_uchar2(px); 134 static void ConvolveOneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, 150 *out = clamp(px + 0.5f, 0.f, 255.f); 153 static void ConvolveOneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, 159 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + 164 static void ConvolveOneF2(const RsExpandKernelDriverInfo *info, uint32_t x, float2 *out, 170 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) 204 uchar4 *out = (uchar4 *)info->outPtr[0]; local 251 uchar2 *out = (uchar2 *)info->outPtr[0]; local 296 uchar *out = (uchar *)info->outPtr[0]; local 341 float4 *out = (float4 *)info->outPtr[0]; local 386 float2 *out = (float2 *)info->outPtr[0]; local 430 float *out = (float *)info->outPtr[0]; local [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 89 static void OneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, 129 *out = convert_uchar4(px); 132 static void OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, 172 *out = convert_uchar2(px); 175 static void OneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, 215 *out = px; 218 static void OneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, 257 *out = px; 260 static void OneF2(const RsExpandKernelDriverInfo *info, uint32_t x, float2 *out, 299 *out = px 372 uchar4 *out = (uchar4 *)info->outPtr[0]; local 432 uchar2 *out = (uchar2 *)info->outPtr[0]; local 481 uchar *out = (uchar *)info->outPtr[0]; local 530 float4 *out = (float4 *)info->outPtr[0]; local 579 float2 *out = (float2 *)info->outPtr[0]; local 628 float *out = (float *)info->outPtr[0]; local [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Matrix.java | 325 double[] out = new double[16];
local 328 out[i] = inv[i] * det;
331 Matrix ret = new Matrix(out);
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderScrollingViewBehavior.java | 119 // if there are no insets. We need to lay it out to match horizontally. 125 final Rect out = mTempRect2; local 127 child.getMeasuredHeight(), available, out, layoutDirection); local 131 child.layout(out.left, out.top - overlap, out.right, out.bottom - overlap); 132 mVerticalLayoutGap = out.top - header.getBottom();
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertDialog.java | 249 TypedValue out = new TypedValue(); local 250 getContext().getTheme().resolveAttribute(attrId, out, true); 251 mAlert.setIcon(out.resourceId); 437 TypedValue out = new TypedValue(); local 438 P.mContext.getTheme().resolveAttribute(attrId, out, true); 439 P.mIconId = out.resourceId; [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
LinearSnapHelper.java | 45 int[] out = new int[2]; local 47 out[0] = distanceToCenter(layoutManager, targetView, 50 out[0] = 0; 54 out[1] = distanceToCenter(layoutManager, targetView, 57 out[1] = 0; 59 return out;
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
pwm.c | 22 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 68 char out[MAX_SIZE]; local 69 int length = snprintf(out, MAX_SIZE, "%d", period); 70 if (write(period_f, out, length * sizeof(char)) == -1) { 269 char out[MAX_SIZE]; local 270 int size = snprintf(out, MAX_SIZE, "%d", dev->pin); 271 if (write(export_f, out, size * sizeof(char)) == -1) { 368 char out[2]; local 369 int size = snprintf(out, sizeof(out), "%d", enable) 391 char out[MAX_SIZE]; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
vc1parse_bitplane.c | 36 uint32_t *out; local 43 out = outp; 45 out += (( mbx + 31 ) >> 5) * y; 46 out += x >> 5; /* go to corresponding column location in DW unit */ 48 *out |= 1 << bit; /* put bit */ 65 uint32_t *out; local 69 out = outp; 70 out += (( mbx + 31 ) >> 5) * y; /* go to corresponding row location in DW unit */ 71 out += x >> 5; /* go to corresponding row location in DW unit */ 75 *out ^= (1 << bit); /* put XOR bit * 95 uint32_t *out; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
vp9_itrans4_dspr2.c | 231 DECLARE_ALIGNED(32, int16_t, out[4 * 4]); 232 int16_t *outptr = out; 246 vp9_idct4_columns_add_blk_dspr2(&out[0], dest, dest_stride); 253 int32_t out; local 266 out = DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input_dc); 268 "addi %[out], %[out], 8 \n\t" 269 "sra %[a1], %[out], 4 \n\t" 271 : [out] "+r" (out), [a1] "=r" (a1 [all...] |
vp9_itrans8_dspr2.c | 453 DECLARE_ALIGNED(32, int16_t, out[8 * 8]); 454 int16_t *outptr = out; 468 idct8_columns_add_blk_dspr2(&out[0], dest, dest_stride); 552 DECLARE_ALIGNED(32, int16_t, out[8 * 8]); 553 int16_t *outptr = out; 567 idct8_columns_add_blk_dspr2(&out[0], dest, dest_stride); 573 iadst8_dspr2(&out[i * 8], temp_out); 590 temp_in[i * 8 + j] = out[j * 8 + i]; 604 temp_in[j] = out[j * 8 + i]; 622 DECLARE_ALIGNED(32, int16_t, out[8 * 8]) 668 int32_t out; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_resize.c | 454 uint8_t *out = NULL; local 467 const uint8_t *const in = (s == 0 ? input : out); 469 out = output; 471 out = (s & 1 ? otmp2 : otmp); 473 down2_symodd(in, filteredlength, out); 475 down2_symeven(in, filteredlength, out); 479 interpolate(out, filteredlength, output, olength);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 487 DrmOutput *out = &mOutputs[output]; local 488 if (!out->connected) { 494 for (int i = 0; i < out->connector->count_props; i++) { 495 props = drmModeGetProperty(mDrmFd, out->connector->props[i]); 503 out->connector->connector_id,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.cpp | 524 DrmOutput *out = &mOutputs[output]; local 525 if (!out->connected) { 531 for (int i = 0; i < out->connector->count_props; i++) { 532 props = drmModeGetProperty(mDrmFd, out->connector->props[i]); 540 out->connector->connector_id,
|
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 82 A2dpAudioStreamOut* out = new A2dpAudioStreamOut(); local 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 84 mOutput = out; 88 delete out; 96 void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { 97 if (mOutput == 0 || mOutput != out) { 98 mHardwareInterface->closeOutputStream(out);
|
AudioHardwareGeneric.cpp | 81 AudioStreamOutGeneric* out = new AudioStreamOutGeneric(); local 82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 87 mOutput = out; 89 delete out; 94 void AudioHardwareGeneric::closeOutputStream(AudioStreamOut* out) { 95 if (mOutput && out == mOutput) {
|
/hardware/ril/libril/ |
RilSapSocket.cpp | 245 char out[80]; local 248 int dest_len = sizeof(out); 252 dest += sprintf(out, "%8.8s [%8.8x] ", who, source); 255 out[dest++] = HEX_HIGH(buffer[source]); 256 out[dest++] = HEX_LOW(buffer[source]); 257 out[dest++] = ' '; 260 out[dest++] = 0; 263 RLOGD("%s\n", out);
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 29 * TODO: factor out ID constants. 167 public void writeHeader(Dex.Section out, int api) throws IOException { 168 out.write(DexFormat.apiToMagic(api).getBytes("UTF-8")); 169 out.writeInt(checksum); 170 out.write(signature); 171 out.writeInt(fileSize); 172 out.writeInt(SizeOf.HEADER_ITEM); 173 out.writeInt(DexFormat.ENDIAN_TAG); 174 out.writeInt(linkSize); 175 out.writeInt(linkOff) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 72 char[] out = new char[first.length() + second.length() + 10]; local 73 int length = fileReader.read(out); 75 assertEquals(first + second, new String(out, 0, length)); 88 out = new char[first.length() + second.length() + 10]; 89 length = fileReader.read(out); 91 assertEquals(second, new String(out, 0, length));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); local 87 encoder.encode(CharBuffer.wrap("\ud800"), out, true)); 88 assertTrue(encoder.flush(out).isMalformed()); 91 out = ByteBuffer.allocate(10); 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); 99 assertTrue(encoder.encode(buffer2, out, true).isUnmappable()); 140 ByteBuffer out = ByteBuffer.allocate(0x10); local 144 encoder.encode(in, out, false); 146 encoder.encode(in, out, true); 147 encoder.flush(out); 162 ByteBuffer out = ByteBuffer.allocate(0x10); local 170 ByteBuffer out = ByteBuffer.allocate(0x10); local 177 ByteBuffer out = ByteBuffer.allocate(0x10); local 189 ByteBuffer out = ByteBuffer.allocate(0x10); local 196 ByteBuffer out = ByteBuffer.allocate(0x10); local 204 ByteBuffer out = ByteBuffer.allocate(0x10); local 214 ByteBuffer out = ByteBuffer.allocate(0x10); local 228 ByteBuffer out = ByteBuffer.allocate(0x10); local 247 ByteBuffer out = ByteBuffer.allocate(0x10); local 254 ByteBuffer out = ByteBuffer.allocate(0x10); local 263 ByteBuffer out = ByteBuffer.allocate(0x10); local 273 ByteBuffer out = ByteBuffer.allocate(0x10); local 283 ByteBuffer out = ByteBuffer.allocate(0x10); local 301 ByteBuffer out = ByteBuffer.allocate(0x10); local 315 ByteBuffer out = ByteBuffer.allocate(0x10); local 330 ByteBuffer out = ByteBuffer.allocate(0x10); local 345 ByteBuffer out = ByteBuffer.allocate(0x10); local 354 ByteBuffer out = ByteBuffer.allocate(0x10); local 380 ByteBuffer out = ByteBuffer.allocate(0x10); local 390 ByteBuffer out = ByteBuffer.allocate(0x10); local 400 ByteBuffer out = ByteBuffer.allocate(0x10); local 422 ByteBuffer out = ByteBuffer.allocate(0x10); local 434 ByteBuffer out = ByteBuffer.allocate(0x10); local 443 ByteBuffer out = newEncoder.encode(in); local [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 103 @Override protected final CoderResult implFlush(CharBuffer out) { 110 data[OUTPUT_OFFSET] = getArray(out); 125 setPosition(out); 130 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 136 data[OUTPUT_OFFSET]= getArray(out); 155 setPosition(out); 160 private int getArray(CharBuffer out) { 161 if (out.hasArray()) { 162 output = out.array(); 163 outEnd = out.arrayOffset() + out.limit() [all...] |
CharsetEncoderICU.java | 132 @Override protected CoderResult implFlush(ByteBuffer out) { 139 data[OUTPUT_OFFSET] = getArray(out); 154 setPosition(out); 159 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 165 data[OUTPUT_OFFSET]= getArray(out); 185 setPosition(out); 189 private int getArray(ByteBuffer out) { 190 if (out.hasArray()) { 191 output = out.array(); 192 outEnd = out.arrayOffset() + out.limit() [all...] |
/libcore/luni/src/test/java/libcore/io/ |
Base64Test.java | 209 byte[] out = Base64.decode(bytes); 210 if (out == null) { 213 return bytesToAscii(out); 296 String[] out = new String[length]; local 298 out[i] = "0x" + Integer.toHexString(toConvert[i]); 300 return Arrays.toString(out);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 181 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 186 protected CoderResult implFlush(ByteBuffer out) { 187 out.put((byte) 'X'); 195 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 181 System.out.println("Expected exception was thrown: " + e.getMessage()); 610 System.out.println("Got expected IOException: " + e.getMessage()); 651 System.out.println("Expected exception was thrown: " + e.getMessage()); 662 System.out.println(); 663 System.out.println("------------------------"); 664 System.out.println("------ " + getName()); 665 System.out.println("------------------------"); 672 FileOutputStream out = new FileOutputStream(store); local 677 out.write(buf, 0, read); 680 out.close() [all...] |