Searched refs:bufferIndex (Results 1 - 25 of 40) sorted by relevance

12

/external/skia/src/utils/
H A DSkFloatToDecimal.cpp130 int bufferIndex = 0;
132 buffer[bufferIndex++] = d % 10;
135 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0);
138 --bufferIndex;
139 *output++ = '0' + buffer[bufferIndex];
140 } while (bufferIndex);
145 int placesBeforeDecimal = bufferIndex + decimalShift;
148 --bufferIndex;
149 *output++ = '0' + buffer[bufferIndex];
[all...]
/external/skqp/src/utils/
H A DSkFloatToDecimal.cpp130 int bufferIndex = 0;
132 buffer[bufferIndex++] = d % 10;
135 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0);
138 --bufferIndex;
139 *output++ = '0' + buffer[bufferIndex];
140 } while (bufferIndex);
145 int placesBeforeDecimal = bufferIndex + decimalShift;
148 --bufferIndex;
149 *output++ = '0' + buffer[bufferIndex];
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DIndentingWriter.java178 int bufferIndex = 23;
182 buffer[bufferIndex--] = (char)(digit + '0');
184 buffer[bufferIndex--] = (char)((digit - 10) + 'a');
190 bufferIndex++;
192 writeLine(buffer, bufferIndex, 24-bufferIndex);
196 int bufferIndex = 23;
205 buffer[bufferIndex--] = (char)(digit + '0');
210 bufferIndex++;
212 writeLine(buffer, bufferIndex, 2
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
H A Dstreamout_jit.h41 DWORD bufferIndex; member in struct:STREAMOUT_DECL
86 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) return false;
H A Dstreamout_jit.cpp158 Value* pOut = BITCAST(pOutBuffers[decl.bufferIndex], PointerType::get(mInt8Ty, 0));
166 pOutBuffers[decl.bufferIndex] = GEP(pOutBuffers[decl.bufferIndex], C(numComponents));
190 activeSOBuffers.insert(decl.bufferIndex);
/external/icu/icu4c/source/i18n/
H A Ducoleitr.cpp58 int32_t bufferIndex; member in struct:RCEBuffer
72 bufferIndex = 0;
85 return bufferIndex <= 0;
93 if (bufferIndex >= bufferSize) {
110 buffer[bufferIndex].ce = ce;
111 buffer[bufferIndex].low = ixLow;
112 buffer[bufferIndex].high = ixHigh;
114 bufferIndex += 1;
119 if (bufferIndex > 0) {
120 return &buffer[--bufferIndex];
[all...]
H A Dusrchimp.h67 int32_t bufferIndex; member in struct:PCEBuffer
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
H A DMediaCodecVideoEncoderTest.java112 int bufferIndex;
115 bufferIndex = encoder.dequeueInputBuffer();
116 } while (bufferIndex == -1); // |-1| is returned when there is no buffer available yet.
118 assertTrue(bufferIndex >= 0);
119 assertTrue(bufferIndex < inputBuffers.length);
120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs));
/external/mesa3d/src/mesa/main/
H A Dbuffers.h63 GLenum buffer, gl_buffer_index bufferIndex);
H A Dbuffers.c715 * \param bufferIndex the numerical index corresponding to 'buffer'
719 GLenum buffer, gl_buffer_index bufferIndex)
729 fb->_ColorReadBufferIndex = bufferIndex;
718 _mesa_readbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum buffer, gl_buffer_index bufferIndex) argument
H A Dcontext.c1573 gl_buffer_index bufferIndex; local
1578 bufferIndex = BUFFER_BACK_LEFT;
1582 bufferIndex = BUFFER_FRONT_LEFT;
1585 _mesa_readbuffer(ctx, ctx->ReadBuffer, buffer, bufferIndex);
H A Duniforms.h232 _mesa_GetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex,
H A Duniforms.c1250 _mesa_GetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, argument
1267 mesa_bufferiv(shProg, GL_ATOMIC_COUNTER_BUFFER, bufferIndex, pname, params,
/external/skia/src/core/
H A DSkMD5.cpp41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); local
42 unsigned int bufferAvailable = 64 - bufferIndex;
46 if (bufferIndex) {
47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable);
58 bufferIndex = 0;
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex);
75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); local
76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex);
[all...]
/external/skqp/src/core/
H A DSkMD5.cpp41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); local
42 unsigned int bufferAvailable = 64 - bufferIndex;
46 if (bufferIndex) {
47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable);
58 bufferIndex = 0;
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex);
75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); local
76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex);
[all...]
/external/swiftshader/src/Shader/
H A 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::Parameter &var, int bufferIndex = -1);
H A 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::Parameter &var, int bufferIndex = -1);
H A DVertexProgram.cpp668 reg = r[i + relativeAddress(src, src.bufferIndex)];
681 reg = v[i + relativeAddress(src, src.bufferIndex)];
713 reg = o[i + relativeAddress(src, src.bufferIndex)];
777 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) argument
779 if(bufferIndex == -1)
785 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, vs.u[bufferIndex])) + index;
789 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int& offset) argument
791 return uniformAddress(bufferIndex, index) + offset * sizeof(float4);
801 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i));
833 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex,
900 relativeAddress(const Shader::Parameter &var, int bufferIndex) argument
[all...]
H A DShader.hpp477 SourceParameter() : swizzle(0xE4), modifier(MODIFIER_NONE), bufferIndex(-1)
488 int bufferIndex : 8; member in struct:sw::Shader::SourceParameter
H A DPixelProgram.cpp831 Int a = relativeAddress(src, src.bufferIndex);
844 Int a = relativeAddress(src, src.bufferIndex);
888 Int a = relativeAddress(src, src.bufferIndex);
946 RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index) argument
948 if(bufferIndex == -1)
954 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, ps.u[bufferIndex])) + index;
958 RValue<Pointer<Byte>> PixelProgram::uniformAddress(int bufferIndex, unsigned int index, Int& offset) argument
960 return uniformAddress(bufferIndex, index) + offset * sizeof(float4);
970 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i));
1002 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex,
1024 relativeAddress(const Shader::Parameter &var, int bufferIndex) argument
[all...]
H A DShader.cpp508 if(type == PARAMETER_CONST && bufferIndex >= 0)
511 buffer << bufferIndex; local
/external/swiftshader/src/OpenGL/compiler/
H A DOutputASM.h340 ArgumentInfo(const BlockMemberInfo& b, const TType& t, int clampedIndex, int bufferIndex) : argument
341 typedMemberInfo(b, t), clampedIndex(clampedIndex), bufferIndex(bufferIndex) {}
344 int bufferIndex; member in struct:glsl::OutputASM::ArgumentInfo
H A DOutputASM.cpp2301 argumentInfo.bufferIndex = 0;
2305 argumentInfo.bufferIndex += blockArraySize > 0 ? blockArraySize : 1;
2319 argumentInfo.bufferIndex += bufferOffset;
2371 instruction->src[0].bufferIndex = argumentInfo.bufferIndex;
2399 instruction->src[0].bufferIndex = argumentInfo.bufferIndex;
2417 parameter.bufferIndex = argumentInfo.bufferIndex;
2444 if(parameter.bufferIndex !
[all...]
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_draw.cpp112 state.stream.decl[num].bufferIndex = output_buffer;
121 state.stream.decl[num].bufferIndex = output_buffer;
/external/deqp/modules/gles31/functional/
H A Des31fBasicComputeShaderTests.cpp1531 const deUint32 bufferIndex = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUNTER_BUFFER_INDEX);
1532 const deUint32 bufferSize = getProgramResourceUint(gl, program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferIndex, GL_BUFFER_DATA_SIZE);
1565 const deUint32 bufferIndex = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUNTER_BUFFER_INDEX);
1566 const deUint32 bufferSize = getProgramResourceUint(gl, program.getProgram(), GL_ATOMIC_COUNTER_BUFFER, bufferIndex, GL_BUFFER_DATA_SIZE);

Completed in 1377 milliseconds

12