Home
last modified time | relevance | path

Searched refs:outBuf (Results 1 – 25 of 82) sorted by relevance

1234

/external/icu/icu4c/source/common/
Dutrace.cpp92 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
104 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
110 outBuf[*outIx] = ' '; in outputChar()
117 outBuf[*outIx] = c; in outputChar()
128 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes() argument
133 outputChar(c, outBuf, outIx, capacity, 0); in outputHexBytes()
138 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes() argument
152 outputHexBytes(*p, 2, outBuf, outIx, capacity); in outputPtrBytes()
157 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString() argument
165 outputChar(c, outBuf, outIx, capacity, indent); in outputString()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DUTF8Writer.java122 byte[] outBuf = _outBuffer; in write()
134 _out.write(outBuf, 0, outPtr); in write()
141 outBuf[outPtr++] = (byte)c; in write()
159 outBuf[outPtr++] = (byte) c; in write()
165 outBuf[outPtr++] = (byte) (0xc0 | (c >> 6)); in write()
166 outBuf[outPtr++] = (byte) (0x80 | (c & 0x3f)); in write()
170 outBuf[outPtr++] = (byte) (0xe0 | (c >> 12)); in write()
171 outBuf[outPtr++] = (byte) (0x80 | ((c >> 6) & 0x3f)); in write()
172 outBuf[outPtr++] = (byte) (0x80 | (c & 0x3f)); in write()
190 outBuf[outPtr++] = (byte) (0xf0 | (c >> 18)); in write()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/
DNonBlockingJsonParser.java1305 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _startFloatThatStartsWithPeriod() local
1306 return _startFloat(outBuf, 0, INT_PERIOD); in _startFloatThatStartsWithPeriod()
1312 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _startPositiveNumber() local
1313 outBuf[0] = (char) ch; in _startPositiveNumber()
1329 return _startFloat(outBuf, outPtr, ch); in _startPositiveNumber()
1337 return _startFloat(outBuf, outPtr, ch); in _startPositiveNumber()
1341 if (outPtr >= outBuf.length) { in _startPositiveNumber()
1344 outBuf = _textBuffer.expandCurrentSegment(); in _startPositiveNumber()
1346 outBuf[outPtr++] = (char) ch; in _startPositiveNumber()
1379 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _startNegativeNumber() local
[all …]
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java59 public void encrypt(ByteBuf outBuf, List<ByteBuf> plainBufs) throws GeneralSecurityException { in encrypt() argument
60 checkArgument(outBuf.nioBufferCount() == 1); in encrypt()
62 ByteBuf plainBuf = outBuf.slice(outBuf.writerIndex(), outBuf.writableBytes()); in encrypt()
68 verify(outBuf.writableBytes() == plainBuf.readableBytes() + TAG_LENGTH); in encrypt()
69 ByteBuffer out = outBuf.internalNioBuffer(outBuf.writerIndex(), outBuf.writableBytes()); in encrypt()
77 outBuf.writerIndex(outBuf.writerIndex() + bytesWritten); in encrypt()
78 verify(!outBuf.isWritable()); in encrypt()
/external/lzma/C/
DLzma2Enc.c129 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() argument
146 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
173outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
174 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
175 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
176 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
184 if (ISeqOutStream_Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
205 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock()
206 outBuf[destPos++] = (Byte)(u >> 8); in Lzma2EncInt_EncodeSubblock()
207 outBuf[destPos++] = (Byte)u; in Lzma2EncInt_EncodeSubblock()
[all …]
DXzDec.c408 static SRes Lzma2State_SetFromMethod(IStateCoder *p, Byte *outBuf, size_t outBufSize, ISzAllocPtr a… in Lzma2State_SetFromMethod() argument
425 if (outBuf) in Lzma2State_SetFromMethod()
428 spec->decoder.decoder.dic = outBuf; in Lzma2State_SetFromMethod()
435 static SRes Lzma2State_ResetOutBuf(IStateCoder *p, Byte *outBuf, size_t outBufSize) in Lzma2State_ResetOutBuf() argument
438 if ((spec->outBufMode && !outBuf) || (!spec->outBufMode && outBuf)) in Lzma2State_ResetOutBuf()
440 if (outBuf) in Lzma2State_ResetOutBuf()
442 spec->decoder.decoder.dic = outBuf; in Lzma2State_ResetOutBuf()
458 p->outBuf = NULL; in MixCoder_Construct()
508 static SRes MixCoder_SetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf in MixCoder_SetFromMethod() argument
514 case XZ_ID_LZMA2: return Lzma2State_SetFromMethod(sc, outBuf, outBufSize, p->alloc); in MixCoder_SetFromMethod()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DConverterPerformanceTest.java208 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
215 decoder.decode(srcBuf,outBuf,false);
218 outBuf.rewind();
237 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
244 encoder.encode(srcBuf,outBuf,false);
247 outBuf.rewind();
266 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
273 decoder.decode(srcBuf,outBuf,false);
276 outBuf.rewind();
295 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8DataInputJsonParser.java998 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parseFloatThatStartsWithPeriod() local
999 return _parseFloat(outBuf, 0, INT_PERIOD, false, 0); in _parseFloatThatStartsWithPeriod()
1019 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parsePosNumber() local
1029 outBuf[0] = '0'; in _parsePosNumber()
1033 outBuf[0] = (char) c; in _parsePosNumber()
1042 if (outPtr >= outBuf.length) { in _parsePosNumber()
1043 outBuf = _textBuffer.finishCurrentSegment(); in _parsePosNumber()
1046 outBuf[outPtr++] = (char) c; in _parsePosNumber()
1050 return _parseFloat(outBuf, outPtr, c, false, intLen); in _parsePosNumber()
1065 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parseNegNumber() local
[all …]
DUTF8StreamJsonParser.java1402 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parsePosNumber() local
1408 outBuf[0] = (char) c; in _parsePosNumber()
1413 final int end = Math.min(_inputEnd, _inputPtr + outBuf.length - 1); // 1 == outPtr in _parsePosNumber()
1417 return _parseNumber2(outBuf, outPtr, false, intLen); in _parsePosNumber()
1424 outBuf[outPtr++] = (char) c; in _parsePosNumber()
1427 return _parseFloat(outBuf, outPtr, c, false, intLen); in _parsePosNumber()
1441 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parseNegNumber() local
1445 outBuf[outPtr++] = '-'; in _parseNegNumber()
1463 outBuf[outPtr++] = (char) c; in _parseNegNumber()
1468 final int end = Math.min(_inputEnd, _inputPtr + outBuf.length - outPtr); in _parseNegNumber()
[all …]
DReaderBasedJsonParser.java1483 char[] outBuf = _textBuffer.emptyAndGetCurrentSegment(); in _parseNumber2() local
1488 outBuf[outPtr++] = '-'; in _parseNumber2()
1504 if (outPtr >= outBuf.length) { in _parseNumber2()
1505 outBuf = _textBuffer.finishCurrentSegment(); in _parseNumber2()
1508 outBuf[outPtr++] = c; in _parseNumber2()
1525 if (outPtr >= outBuf.length) { in _parseNumber2()
1526 outBuf = _textBuffer.finishCurrentSegment(); in _parseNumber2()
1529 outBuf[outPtr++] = c; in _parseNumber2()
1542 if (outPtr >= outBuf.length) { in _parseNumber2()
1543 outBuf = _textBuffer.finishCurrentSegment(); in _parseNumber2()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DBase64Encoder.java55 …public int encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff) throws IOException in encode() argument
67 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
69 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
70 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
79 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
80 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
81 outBuf[outPos++] = padding; in encode()
82 outBuf[outPos++] = padding; in encode()
90 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/
DBase64Encoder.java55 …public int encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff) throws IOException in encode() argument
67 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
69 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
70 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
79 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
80 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
81 outBuf[outPos++] = padding; in encode()
82 outBuf[outPos++] = padding; in encode()
90 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java53 …public int encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff) throws IOException in encode() argument
65 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
66 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
67 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
77 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
78 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
79 outBuf[outPos++] = padding; in encode()
80 outBuf[outPos++] = padding; in encode()
88 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.1.4.OpCopyLogical.comp.out25 Name 27 "outBuf"
57 Decorate 27(outBuf) DescriptorSet 0
58 Decorate 27(outBuf) Binding 1
99 27(outBuf): 26(ptr) Variable StorageBuffer
130 29: 21(ptr) AccessChain 27(outBuf) 20
138 41: 21(ptr) AccessChain 27(outBuf) 20
/external/deqp-deps/glslang/Test/baseResults/
Dspv.1.4.OpCopyLogical.comp.out25 Name 27 "outBuf"
57 Decorate 27(outBuf) DescriptorSet 0
58 Decorate 27(outBuf) Binding 1
99 27(outBuf): 26(ptr) Variable StorageBuffer
130 29: 21(ptr) AccessChain 27(outBuf) 20
138 41: 21(ptr) AccessChain 27(outBuf) 20
Dspv.1.4.OpCopyLogicalBool.comp.out25 Name 37 "outBuf"
57 Decorate 37(outBuf) DescriptorSet 0
58 Decorate 37(outBuf) Binding 1
104 37(outBuf): 36(ptr) Variable StorageBuffer
146 39: 22(ptr) AccessChain 37(outBuf) 21
166 64: 22(ptr) AccessChain 37(outBuf) 21
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dmacro_unary_double.cpp126 cl_mem outBuf[VECTOR_SIZE_COUNT]; // output buffers for the thread member
222 test_info.tinfo[i].outBuf[j] = clCreateSubBuffer( in TestMacro_Int_Double()
225 if (error || NULL == test_info.tinfo[i].outBuf[j]) in TestMacro_Int_Double()
288 clReleaseMemObject(test_info.tinfo[i].outBuf[j]); in TestMacro_Int_Double()
319 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
362 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
376 if ((error = clSetKernelArg(kernel, 0, sizeof(tinfo->outBuf[j]), in Test()
377 &tinfo->outBuf[j]))) in Test()
413 tinfo->tQueue, tinfo->outBuf[j], blocking, CL_MAP_READ, 0, in Test()
479 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
Dunary_double.cpp126 cl_mem outBuf[VECTOR_SIZE_COUNT]; // output buffers for the thread member
233 test_info.tinfo[i].outBuf[j] = clCreateSubBuffer( in TestFunc_Double_Double()
236 if (error || NULL == test_info.tinfo[i].outBuf[j]) in TestFunc_Double_Double()
311 clReleaseMemObject(test_info.tinfo[i].outBuf[j]); in TestFunc_Double_Double()
342 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
385 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
399 if ((error = clSetKernelArg(kernel, 0, sizeof(tinfo->outBuf[j]), in Test()
400 &tinfo->outBuf[j]))) in Test()
438 tinfo->tQueue, tinfo->outBuf[j], blocking, CL_MAP_READ, 0, in Test()
520 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
Dmacro_unary_float.cpp125 cl_mem outBuf[VECTOR_SIZE_COUNT]; // output buffers for the thread member
222 test_info.tinfo[i].outBuf[j] = clCreateSubBuffer( in TestMacro_Int_Float()
225 if (error || NULL == test_info.tinfo[i].outBuf[j]) in TestMacro_Int_Float()
288 clReleaseMemObject(test_info.tinfo[i].outBuf[j]); in TestMacro_Int_Float()
323 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
365 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
379 if ((error = clSetKernelArg(kernel, 0, sizeof(tinfo->outBuf[j]), in Test()
380 &tinfo->outBuf[j]))) in Test()
416 tinfo->tQueue, tinfo->outBuf[j], blocking, CL_MAP_READ, 0, in Test()
490 if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j], in Test()
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.multiStruct.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
Dspv.1.4.OpCopyLogical.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
Dspv.1.4.OpCopyLogicalBool.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
/external/deqp-deps/glslang/Test/
Dspv.1.4.OpCopyLogicalBool.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
Dspv.multiStruct.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
Dspv.1.4.OpCopyLogical.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;

1234