Home
last modified time | relevance | path

Searched refs:bufferIndex (Results 1 – 25 of 54) sorted by relevance

123

/external/skia/src/utils/
DSkFloatToDecimal.cpp142 int bufferIndex = 0; in SkFloatToDecimal() local
144 buffer[bufferIndex++] = d % 10; in SkFloatToDecimal()
147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); in SkFloatToDecimal()
150 --bufferIndex; in SkFloatToDecimal()
151 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal()
152 } while (bufferIndex); in SkFloatToDecimal()
157 int placesBeforeDecimal = bufferIndex + decimalShift; in SkFloatToDecimal()
160 --bufferIndex; in SkFloatToDecimal()
161 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal()
171 while (bufferIndex > 0) { in SkFloatToDecimal()
[all …]
/external/skqp/src/utils/
DSkFloatToDecimal.cpp142 int bufferIndex = 0; in SkFloatToDecimal() local
144 buffer[bufferIndex++] = d % 10; in SkFloatToDecimal()
147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); in SkFloatToDecimal()
150 --bufferIndex; in SkFloatToDecimal()
151 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal()
152 } while (bufferIndex); in SkFloatToDecimal()
157 int placesBeforeDecimal = bufferIndex + decimalShift; in SkFloatToDecimal()
160 --bufferIndex; in SkFloatToDecimal()
161 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal()
171 while (bufferIndex > 0) { in SkFloatToDecimal()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java178 int bufferIndex = 23; in printUnsignedLongAsHex() local
182 buffer[bufferIndex--] = (char)(digit + '0'); in printUnsignedLongAsHex()
184 buffer[bufferIndex--] = (char)((digit - 10) + 'a'); in printUnsignedLongAsHex()
190 bufferIndex++; in printUnsignedLongAsHex()
192 writeLine(buffer, bufferIndex, 24-bufferIndex); in printUnsignedLongAsHex()
196 int bufferIndex = 23; in printSignedLongAsDec() local
205 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedLongAsDec()
210 bufferIndex++; in printSignedLongAsDec()
212 writeLine(buffer, bufferIndex, 24-bufferIndex); in printSignedLongAsDec()
216 int bufferIndex = 15; in printSignedIntAsDec() local
[all …]
/external/icu/icu4c/source/i18n/
Ducoleitr.cpp58 int32_t bufferIndex; member
72 bufferIndex = 0; in RCEBuffer()
85 return bufferIndex <= 0; in isEmpty()
93 if (bufferIndex >= bufferSize) { in put()
110 buffer[bufferIndex].ce = ce; in put()
111 buffer[bufferIndex].low = ixLow; in put()
112 buffer[bufferIndex].high = ixHigh; in put()
114 bufferIndex += 1; in put()
119 if (bufferIndex > 0) { in get()
120 return &buffer[--bufferIndex]; in get()
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DMediaCodecVideoEncoderTest.java112 int bufferIndex; in testEncoderUsingByteBuffer() local
115 bufferIndex = encoder.dequeueInputBuffer(); in testEncoderUsingByteBuffer()
116 } while (bufferIndex == -1); // |-1| is returned when there is no buffer available yet. in testEncoderUsingByteBuffer()
118 assertTrue(bufferIndex >= 0); in testEncoderUsingByteBuffer()
119 assertTrue(bufferIndex < inputBuffers.length); in testEncoderUsingByteBuffer()
120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs)); in testEncoderUsingByteBuffer()
/external/skia/src/core/
DSkMD5.cpp41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in write() local
42 unsigned int bufferAvailable = 64 - bufferIndex; in write()
46 if (bufferIndex) { in write()
47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); in write()
58 bufferIndex = 0; in write()
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write()
75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish() local
76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish()
/external/skqp/src/core/
DSkMD5.cpp41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in write() local
42 unsigned int bufferAvailable = 64 - bufferIndex; in write()
46 if (bufferIndex) { in write()
47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); in write()
58 bufferIndex = 0; in write()
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write()
75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish() local
76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dstreamout_jit.h41 DWORD bufferIndex; member
86 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) return false;
Dstreamout_jit.cpp155 Value* pOut = BITCAST(pOutBuffers[decl.bufferIndex], PointerType::get(mInt8Ty, 0)); in buildDecl()
167 pOutBuffers[decl.bufferIndex] = GEP(pOutBuffers[decl.bufferIndex], C(numComponents)); in buildDecl()
191 activeSOBuffers.insert(decl.bufferIndex); in buildStream()
/external/v8/src/builtins/
Ddata-view.tq430 let bufferIndex: intptr = getIndexIntptr + viewOffsetIntptr;
433 return LoadDataView8(buffer, bufferIndex, false);
435 return LoadDataView8(buffer, bufferIndex, true);
437 return LoadDataView16(buffer, bufferIndex, littleEndian, false);
439 return LoadDataView16(buffer, bufferIndex, littleEndian, true);
441 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
443 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
445 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
447 return LoadDataViewFloat64(buffer, bufferIndex, littleEndian);
449 return LoadDataViewBigInt(buffer, bufferIndex, littleEndian, false);
[all …]
/external/swiftshader/src/Pipeline/
DVertexProgram.hpp70 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
71 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int &offset);
72 Int relativeAddress(const Shader::Relative &rel, int bufferIndex = -1);
DPixelProgram.hpp95 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
96 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset);
97 Int relativeAddress(const Shader::Relative &rel, int bufferIndex = -1);
DVertexProgram.cpp618 reg = r[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
635 reg = v[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
671 reg = o[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
739 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() argument
741 if(bufferIndex == -1) in uniformAddress()
747 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, vs.u[bufferIndex])) + index; in uniformAddress()
751 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() argument
753 return uniformAddress(bufferIndex, index) + offset * sizeof(float4); in uniformAddress()
763 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i)); in readConstant()
793 Int a = relativeAddress(src.rel, src.bufferIndex); in readConstant()
[all …]
DPixelProgram.cpp850 reg = r[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
864 reg = v[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
909 reg = oC[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
969 RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() argument
971 if(bufferIndex == -1) in uniformAddress()
977 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, ps.u[bufferIndex])) + index; in uniformAddress()
981 …RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index, Int& offse… in uniformAddress() argument
983 return uniformAddress(bufferIndex, index) + offset * sizeof(float4); in uniformAddress()
993 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i)); in readConstant()
1023 Int a = relativeAddress(src.rel, src.bufferIndex); in readConstant()
[all …]
DShader.hpp477 SourceParameter() : swizzle(0xE4), modifier(MODIFIER_NONE), bufferIndex(-1) in SourceParameter()
488 int bufferIndex : 8; member
/external/swiftshader/src/Shader/
DVertexProgram.hpp72 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
73 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int &offset);
74 Int relativeAddress(const Shader::Relative &rel, int bufferIndex = -1);
DPixelProgram.hpp95 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
96 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset);
97 Int relativeAddress(const Shader::Relative &rel, int bufferIndex = -1);
DVertexProgram.cpp694 reg = r[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
711 reg = v[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
747 reg = o[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
815 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() argument
817 if(bufferIndex == -1) in uniformAddress()
823 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, vs.u[bufferIndex])) + index; in uniformAddress()
827 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() argument
829 return uniformAddress(bufferIndex, index) + offset * sizeof(float4); in uniformAddress()
839 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i)); in readConstant()
869 Int a = relativeAddress(src.rel, src.bufferIndex); in readConstant()
[all …]
DPixelProgram.cpp875 reg = r[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
889 reg = v[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
934 reg = oC[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
994 RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() argument
996 if(bufferIndex == -1) in uniformAddress()
1002 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, ps.u[bufferIndex])) + index; in uniformAddress()
1006 …RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index, Int& offse… in uniformAddress() argument
1008 return uniformAddress(bufferIndex, index) + offset * sizeof(float4); in uniformAddress()
1018 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i)); in readConstant()
1048 Int a = relativeAddress(src.rel, src.bufferIndex); in readConstant()
[all …]
DShader.hpp478 SourceParameter() : swizzle(0xE4), modifier(MODIFIER_NONE), bufferIndex(-1) in SourceParameter()
489 int bufferIndex : 8; member
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.h357 ArgumentInfo(const BlockMemberInfo& b, const TType& t, int clampedIndex, int bufferIndex) : in ArgumentInfo()
358 typedMemberInfo(b, t), clampedIndex(clampedIndex), bufferIndex(bufferIndex) {} in ArgumentInfo()
361 int bufferIndex; member
/external/mesa3d/src/mesa/main/
Dbuffers.h76 GLenum buffer, gl_buffer_index bufferIndex);
/external/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm276 size_t bufferIndex = GrMtlUniformHandler::kLastUniformBinding + 1;
285 atIndex:bufferIndex++];
295 atIndex:bufferIndex++];
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm275 size_t bufferIndex = GrMtlUniformHandler::kLastUniformBinding + 1;
284 atIndex: bufferIndex++];
294 atIndex: bufferIndex++];
/external/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp80 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo()
92 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo()

123