HomeSort by relevance Sort by last modified time
    Searched refs:binaryFormat (Results 1 - 25 of 48) sorted by null

1 2

  /external/opencensus-java/api/src/test/java/io/opencensus/trace/propagation/
BinaryFormatTest.java 27 /** Unit tests for {@link BinaryFormat}. */
30 private static final BinaryFormat binaryFormat = BinaryFormat.getNoopBinaryFormat();
34 binaryFormat.toBinaryValue(null);
39 assertThat(binaryFormat.toBinaryValue(SpanContext.INVALID)).isEqualTo(new byte[0]);
44 binaryFormat.toByteArray(null);
49 assertThat(binaryFormat.toByteArray(SpanContext.INVALID)).isEqualTo(new byte[0]);
54 binaryFormat.fromBinaryValue(null);
59 assertThat(binaryFormat.fromBinaryValue(new byte[0])).isEqualTo(SpanContext.INVALID)
    [all...]
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/
BinaryFormatImplTest.java 26 import io.opencensus.trace.propagation.BinaryFormat;
52 private final BinaryFormat binaryFormat = new BinaryFormatImpl();
56 binaryFormat.fromByteArray(binaryFormat.toByteArray(spanContext));
58 assertWithMessage("BinaryFormat propagated context is not equal with the initial context.")
76 binaryFormat.toByteArray(null);
81 assertThat(binaryFormat.toByteArray(SpanContext.INVALID))
90 assertThat(binaryFormat.fromByteArray(EXAMPLE_BYTES)).isEqualTo(EXAMPLE_SPAN_CONTEXT);
95 binaryFormat.fromByteArray(null)
    [all...]
  /external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
PropagationComponentImpl.java 19 import io.opencensus.trace.propagation.BinaryFormat;
25 private final BinaryFormat binaryFormat = new BinaryFormatImpl();
29 public BinaryFormat getBinaryFormat() {
30 return binaryFormat;
  /external/fonttools/Lib/fontTools/ttLib/tables/
BitmapGlyphMetrics.py 38 for metricName in sstruct.getformat(self.__class__.binaryFormat)[1]:
45 metricNames = set(sstruct.getformat(self.__class__.binaryFormat)[1])
58 binaryFormat = bigGlyphMetricsFormat
61 binaryFormat = smallGlyphMetricsFormat
  /external/opencensus-java/impl_core/src/jmh/java/io/opencensus/implcore/trace/propagation/
BinaryFormatImplBenchmark.java 24 import io.opencensus.trace.propagation.BinaryFormat;
36 /** Benchmarks for {@link BinaryFormat}. */
41 private BinaryFormat binaryFormat;
47 binaryFormat = new BinaryFormatImpl();
55 spanContextBinary = binaryFormat.toByteArray(spanContext);
61 * BinaryFormat#toBinaryValue(SpanContext)}.
67 return data.binaryFormat.toByteArray(data.spanContext);
71 * This benchmark attempts to measure performance of {@link BinaryFormat#fromBinaryValue(byte[])}.
77 return data.binaryFormat.fromByteArray(data.spanContextBinary)
    [all...]
  /external/skia/src/gpu/gl/builders/
GrGLProgramBuilder.cpp 227 GrGLenum binaryFormat;
229 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get()));
230 size_t dataLength = sizeof(inputs) + sizeof(binaryFormat) + length;
235 memcpy(data.get() + offset, &binaryFormat, sizeof(binaryFormat));
236 offset += sizeof(binaryFormat);
302 int binaryFormat;
303 memcpy(&binaryFormat, bytes + offset, sizeof(binaryFormat));
304 offset += sizeof(binaryFormat);
    [all...]
  /external/skqp/src/gpu/gl/builders/
GrGLProgramBuilder.cpp 185 GrGLenum binaryFormat;
187 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get()));
188 size_t dataLength = sizeof(inputs) + sizeof(binaryFormat) + length;
193 memcpy(data.get() + offset, &binaryFormat, sizeof(binaryFormat));
194 offset += sizeof(binaryFormat);
253 int binaryFormat;
254 memcpy(&binaryFormat, bytes + offset, sizeof(binaryFormat));
255 offset += sizeof(binaryFormat);
    [all...]
  /external/deqp/framework/opengl/
gluShaderProgram.hpp 212 void setBinary (const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* binaryData, const int length);
414 glw::GLenum binaryFormat;
416 ProgramBinaries (void) : binaryFormat(GL_SHADER_BINARY_FORMAT_SPIR_V_ARB) {}
417 ProgramBinaries (glw::GLenum binaryFormat_) : binaryFormat(binaryFormat_) {}
gluShaderProgram.cpp 477 setBinary(gl, shaders, binaries.binaryFormat, binary, length);
509 void ShaderProgram::setBinary (const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* binaryData, const int length)
515 gl.shaderBinary((glw::GLsizei)shaderVec.size(), shaderVec.data(), binaryFormat, binaryData, length);
  /external/mesa3d/src/mesa/main/
shaderapi.h 239 _mesa_ShaderBinary(GLint n, const GLuint *shaders, GLenum binaryformat,
244 GLenum *binaryFormat, GLvoid *binary);
247 _mesa_ProgramBinary(GLuint program, GLenum binaryFormat,
shaderapi.c     [all...]
  /external/deqp/modules/gles3/functional/
es3fNegativeShaderApiTests.cpp 165 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if binaryFormat is not an accepted value.");
172 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if the data pointed to by binary does not match the format specified by binaryFormat.");
385 GLenum binaryFormat = -1;
399 glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr);
403 glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr);
416 glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryPtr);
425 GLenum binaryFormat = -1;
441 glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf[0]);
445 glProgramBinary (dummyShader, binaryFormat, &binaryBuf[0], binaryLength);
449 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if binaryFormat is not a value recognized by the implementation.")
    [all...]
  /device/generic/goldfish-opengl/system/GLESv2_enc/
gl2_entry.cpp 105 void glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
152 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary);
153 void glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length);
329 void glProgramBinary(GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
330 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, void* binary);
    [all...]
  /device/google/cuttlefish_common/guest/libs/eglwrapper/
gles3_wrapper_entry.cpp 105 void glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
152 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary);
153 void glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length);
329 void glProgramBinary(GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
330 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, void* binary);
    [all...]
  /external/deqp/framework/opengl/simplereference/
sglrContextWrapper.hpp 147 void glShaderBinary (int n, const deUint32* shaders, deUint32 binaryformat, const void* binary, int length);
290 void glGetProgramBinary (deUint32 program, int bufSize, int* length, deUint32* binaryFormat, void* binary);
291 void glProgramBinary (deUint32 program, deUint32 binaryFormat, const void* binary, int length);
  /external/swiftshader/src/OpenGL/libGLESv2/
libGLESv3.cpp     [all...]
entry_points.cpp 711 GL_APICALL void GL_APIENTRY glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length)
713 return gl::ShaderBinary(n, shaders, binaryformat, binary, length);
    [all...]
entry_points.h 149 void ShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
324 void GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
325 void ProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  /external/deqp/modules/gles31/functional/
es31fNegativeShaderApiTests.cpp 192 ctx.beginSection("GL_INVALID_ENUM is generated if binaryFormat is not an accepted value.");
199 ctx.beginSection("GL_INVALID_VALUE is generated if the data pointed to by binary does not match the format specified by binaryFormat.");
469 GLenum binaryFormat = -1;
483 ctx.glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr);
487 ctx.glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr);
500 ctx.glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryPtr);
510 GLenum binaryFormat = -1;
525 ctx.glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf[0]);
529 ctx.glProgramBinary (dummyShader, binaryFormat, &binaryBuf[0], binaryLength);
533 ctx.beginSection("GL_INVALID_ENUM is generated if binaryFormat is not a value recognized by the implementation.")
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/
gl2ext.h     [all...]
  /external/skia/include/gpu/gl/
GrGLFunctions.h 98 using GrGLGetProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLsizei bufsize, GrGLsizei* length, GrGLenum* binaryFormat, void* binary);
131 using GrGLProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLenum binaryFormat, void* binary, GrGLsizei length);
  /external/skqp/include/gpu/gl/
GrGLFunctions.h 98 using GrGLGetProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLsizei bufsize, GrGLsizei* length, GrGLenum* binaryFormat, void* binary);
131 using GrGLProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLenum binaryFormat, void* binary, GrGLsizei length);
  /device/generic/goldfish-opengl/system/include/GLES3/
gl3.h 474 GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
    [all...]
  /external/skia/src/gpu/gl/
GrGLTestInterface.h     [all...]
  /external/skqp/src/gpu/gl/
GrGLTestInterface.h     [all...]

Completed in 1080 milliseconds

1 2