/external/chromium_org/third_party/icu/source/common/ |
utrace.c | 88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { 100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ 106 outBuf[*outIx] = ' '; 113 outBuf[*outIx] = c; 124 char *outBuf, int32_t *outIx, int32_t capacity) { 129 outputChar(c, outBuf, outIx, capacity, 0); 134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { 148 outputHexBytes(*p, 2, outBuf, outIx, capacity); 153 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { 161 outputChar(c, outBuf, outIx, capacity, indent) [all...] |
/external/icu/icu4c/source/common/ |
utrace.c | 88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { 100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ 106 outBuf[*outIx] = ' '; 113 outBuf[*outIx] = c; 124 char *outBuf, int32_t *outIx, int32_t capacity) { 129 outputChar(c, outBuf, outIx, capacity, 0); 134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { 148 outputHexBytes(*p, 2, outBuf, outIx, capacity); 153 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { 161 outputChar(c, outBuf, outIx, capacity, indent) [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
JpegUtilNative.java | 54 Object outBuf, int outBufCapacity, int quality); 65 ByteBuffer outBuf, int quality) { 67 cbPStride, cbRStride, crBuf, crPStride, crRStride, outBuf, outBuf.capacity(), quality); 75 * @param outBuf a direct byte buffer to hold the output jpeg. 76 * @return The number of bytes written to outBuf 78 public static int compressJpegFromYUV420Image(Image img, ByteBuffer outBuf, int quality) { 89 if (!outBuf.isDirect()) { 109 outBuf.clear(); 116 outBuf, quality) [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
XmlMessageWrapper.java | 188 byte[] outBuf = new byte[4]; 189 outBuf[0] = (byte)((intVal >> 24) & 0xff); 190 outBuf[1] = (byte)((intVal >> 16) & 0xff); 191 outBuf[2] = (byte)((intVal >> 8) & 0xff); 192 outBuf[3] = (byte)(intVal & 0xff); 193 return outBuf; 212 byte[] outBuf = new byte[2]; 213 outBuf[0] = (byte)((intVal >> 8) & 0xff); 214 outBuf[1] = (byte)(intVal & 0xff); 215 return outBuf; [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
PoloUtil.java | 112 byte[] outBuf = new byte[4]; 113 outBuf[0] = (byte)((intVal >> 24) & 0xff); 114 outBuf[1] = (byte)((intVal >> 16) & 0xff); 115 outBuf[2] = (byte)((intVal >> 8) & 0xff); 116 outBuf[3] = (byte)(intVal & 0xff); 117 return outBuf;
|
/external/chromium_org/third_party/lzma_sdk/ |
Bcj2.h | 18 If buf0 overlaps outBuf, there are two required conditions: 19 1) (buf0 >= outBuf) 20 2) (buf0 + size0 >= outBuf + FullOutputSize). 32 Byte *outBuf, SizeT outSize);
|
Bcj2.c | 38 Byte *outBuf, SizeT outSize) 71 outBuf[outPos++] = b; 119 outBuf[outPos++] = (Byte)dest; 122 outBuf[outPos++] = (Byte)(dest >> 8); 125 outBuf[outPos++] = (Byte)(dest >> 16); 128 outBuf[outPos++] = prevByte = (Byte)(dest >> 24);
|
/external/lzma/C/ |
Bcj2.h | 18 If buf0 overlaps outBuf, there are two required conditions:
19 1) (buf0 >= outBuf)
20 2) (buf0 + size0 >= outBuf + FullOutputSize).
32 Byte *outBuf, SizeT outSize);
|
Lzma2Enc.c | 72 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf,
89 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize);
115 outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_RESET);
116 outBuf[destPos++] = (Byte)((u - 1) >> 8);
117 outBuf[destPos++] = (Byte)(u - 1);
118 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u);
125 if (outStream->Write(outStream, outBuf, destPos) != destPos)
144 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F));
145 outBuf[destPos++] = (Byte)(u >> 8);
146 outBuf[destPos++] = (Byte)u; [all...] |
Bcj2.c | 38 Byte *outBuf, SizeT outSize)
71 outBuf[outPos++] = b;
119 outBuf[outPos++] = (Byte)dest;
122 outBuf[outPos++] = (Byte)(dest >> 8);
125 outBuf[outPos++] = (Byte)(dest >> 16);
128 outBuf[outPos++] = prevByte = (Byte)(dest >> 24);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoEncoderMPEG4.cpp | 85 VideoEncOutputBuffer outBuf; 111 outBuf.data = 113 outBuf.dataSize = 0; 114 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; 133 outBuf.format = OUTPUT_CODEC_DATA; 134 ret = mVideoEncoder->getOutput(&outBuf); 142 LOGV("output codec data size = %d", outBuf.dataSize); 149 outfilledlen = outBuf.dataSize; 159 outBuf.format = OUTPUT_EVERYTHING; 160 mVideoEncoder->getOutput(&outBuf); [all...] |
OMXVideoEncoderH263.cpp | 93 VideoEncOutputBuffer outBuf; 121 outBuf.data = buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; 122 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; 123 outBuf.dataSize = 0; 146 outBuf.format = OUTPUT_EVERYTHING; 147 ret = mVideoEncoder->getOutput(&outBuf); 160 LOGV("output data size = %d", outBuf.dataSize); 161 outfilledlen = outBuf.dataSize; 162 outtimestamp = outBuf.timeStamp; 165 if (outBuf.flag & ENCODE_BUFFERFLAG_SYNCFRAME) [all...] |
OMXVideoEncoderVP8.cpp | 78 VideoEncOutputBuffer outBuf; 124 outBuf.data = 126 outBuf.dataSize = 0; 127 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset; 144 outBuf.format = OUTPUT_EVERYTHING; 145 ret = mVideoEncoder->getOutput(&outBuf); 158 LOGV("VP8 encode output data size = %d", outBuf.dataSize); 161 outfilledlen = outBuf.dataSize; 164 if (outBuf.flag & ENCODE_BUFFERFLAG_SYNCFRAME) { 168 if (outBuf.flag & ENCODE_BUFFERFLAG_ENDOFFRAME) [all...] |
OMXVideoEncoderAVC.cpp | 447 VideoEncOutputBuffer outBuf; 448 outBuf.data = buffers[OUTPORT_INDEX]->pBuffer; 449 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen; 450 outBuf.dataSize = 0; 451 outBuf.remainingSize = 0; 452 outBuf.flag = 0; 453 outBuf.timeStamp = 0; 454 outBuf.offset = 0; 458 outBuf.format = OUTPUT_EVERYTHING; 462 outBuf.format = OUTPUT_ONE_NAL [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPInputStreamTest.java | 122 byte outBuf[] = new byte[100]; 129 result += inGZIP.read(outBuf, result, outBuf.length - result); 137 orgBuf[i], outBuf[i]); 138 // System.out.println(orgBuf[i] + " " + outBuf[i]); 142 inGZIP.read(outBuf, 100, 1); 209 outBuf = new byte[530]; 212 in.read(outBuf, 530, 1); 217 result = in.read(outBuf, 0, 5); 225 result = in.read(outBuf, -100, 1) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/ |
aecm_core_neon_offsets.c | 19 int offset_aecm_outBuf = offsetof(AecmCore_t, outBuf);
|
/frameworks/base/media/jni/ |
android_media_AmrInputStream.cpp | 76 jbyte outBuf[MAX_OUTPUT_BUFFER_SIZE]; 83 (unsigned char *) outBuf, 99 outBuf[0] = (outBuf[0] << 3) | 0x4; 102 env->SetByteArrayRegion(amr, amrOffset, length, outBuf);
|
/external/chromium_org/third_party/opus/src/silk/ |
decode_frame.c | 107 silk_memmove( psDec->outBuf, &psDec->outBuf[ psDec->frame_length ], mv_len * sizeof(opus_int16) ); 108 silk_memcpy( &psDec->outBuf[ mv_len ], pOut, psDec->frame_length * sizeof( opus_int16 ) );
|
/external/libopus/silk/ |
decode_frame.c | 107 silk_memmove( psDec->outBuf, &psDec->outBuf[ psDec->frame_length ], mv_len * sizeof(opus_int16) ); 108 silk_memcpy( &psDec->outBuf[ mv_len ], pOut, psDec->frame_length * sizeof( opus_int16 ) );
|
/packages/apps/Camera2/jni/ |
jpegutil.h | 91 * Compresses an image from YUV 420p to JPEG. Output is buffered in outBuf until 93 * out the specified number of bytes from outBuf. Returns the number of bytes 97 unsigned char* outBuf, size_t outBufCapacity,
|
jpegutilnative.cpp | 40 jobject outBuf, jint outBufCapacity, jint quality) { 44 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf);
|
/system/core/liblog/ |
logprint.c | 425 char* outBuf = *pOutBuf; 450 outCount = snprintf(outBuf, outBufLen, "%d", ival); 452 outBuf += outCount; 471 outCount = snprintf(outBuf, outBufLen, "%lld", lval); 473 outBuf += outCount; 496 memcpy(outBuf, eventData, strLen); 497 outBuf += strLen; 501 memcpy(outBuf, eventData, outBufLen); 502 outBuf += outBufLen; 523 *outBuf++ = '[' [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
utrace.h | 304 * @param outBuf pointer to a buffer to receive the formatted output. Output 317 utrace_vformat(char *outBuf, int32_t capacity, 325 * @param outBuf pointer to a buffer to receive the formatted output. Output 338 utrace_format(char *outBuf, int32_t capacity,
|
/external/icu/icu4c/source/common/unicode/ |
utrace.h | 304 * @param outBuf pointer to a buffer to receive the formatted output. Output 317 utrace_vformat(char *outBuf, int32_t capacity, 325 * @param outBuf pointer to a buffer to receive the formatted output. Output 338 utrace_format(char *outBuf, int32_t capacity,
|
/art/test/070-nio-buffer/src/ |
Main.java | 161 char[] outBuf = new char[directBuf.limit() * 2]; 164 outBuf[i*2] = hexChar((byte) ((b >> 4) & 0x0f)); 165 outBuf[i*2+1] = hexChar((byte) (b & 0x0f)); 167 System.out.println(new String(outBuf));
|