Home
last modified time | relevance | path

Searched refs:binaryFormat (Results 1 – 25 of 41) sorted by relevance

12

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/
DBinaryFormatImplTest.java52 private final BinaryFormat binaryFormat = new BinaryFormatImpl(); field in BinaryFormatImplTest
56 binaryFormat.fromByteArray(binaryFormat.toByteArray(spanContext)); in testSpanContextConversion()
76 binaryFormat.toByteArray(null); in toBinaryValue_NullSpanContext()
81 assertThat(binaryFormat.toByteArray(SpanContext.INVALID)) in toBinaryValue_InvalidSpanContext()
90 assertThat(binaryFormat.fromByteArray(EXAMPLE_BYTES)).isEqualTo(EXAMPLE_SPAN_CONTEXT); in fromBinaryValue_BinaryExampleValue()
95 binaryFormat.fromByteArray(null); in fromBinaryValue_NullInput()
102 binaryFormat.fromByteArray(new byte[0]); in fromBinaryValue_EmptyInput()
109 binaryFormat.fromByteArray( in fromBinaryValue_UnsupportedVersionId()
121 binaryFormat.fromByteArray( in fromBinaryValue_UnsupportedFieldIdFirst()
133 binaryFormat.fromByteArray( in fromBinaryValue_UnsupportedFieldIdSecond()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/propagation/
DBinaryFormatTest.java30 private static final BinaryFormat binaryFormat = BinaryFormat.getNoopBinaryFormat(); field in BinaryFormatTest
34 binaryFormat.toBinaryValue(null); in toBinaryValue_NullSpanContext()
39 assertThat(binaryFormat.toBinaryValue(SpanContext.INVALID)).isEqualTo(new byte[0]); in toBinaryValue_NotNullSpanContext()
44 binaryFormat.toByteArray(null); in toByteArray_NullSpanContext()
49 assertThat(binaryFormat.toByteArray(SpanContext.INVALID)).isEqualTo(new byte[0]); in toByteArray_NotNullSpanContext()
54 binaryFormat.fromBinaryValue(null); in fromBinaryValue_NullInput()
59 assertThat(binaryFormat.fromBinaryValue(new byte[0])).isEqualTo(SpanContext.INVALID); in fromBinaryValue_NotNullInput()
64 binaryFormat.fromByteArray(null); in fromByteArray_NullInput()
69 assertThat(binaryFormat.fromByteArray(new byte[0])).isEqualTo(SpanContext.INVALID); in fromByteArray_NotNullInput()
/external/opencensus-java/impl_core/src/jmh/java/io/opencensus/implcore/trace/propagation/
DBinaryFormatImplBenchmark.java41 private BinaryFormat binaryFormat; field in BinaryFormatImplBenchmark.Data
47 binaryFormat = new BinaryFormatImpl(); in setup()
55 spanContextBinary = binaryFormat.toByteArray(spanContext); in setup()
67 return data.binaryFormat.toByteArray(data.spanContext); in toBinarySpanContext()
77 return data.binaryFormat.fromByteArray(data.spanContextBinary); in fromBinarySpanContext()
88 return data.binaryFormat.fromByteArray(data.binaryFormat.toByteArray(data.spanContext)); in toFromBinarySpanContext()
/external/fonttools/Lib/fontTools/ttLib/tables/
DBitmapGlyphMetrics.py38 for metricName in sstruct.getformat(self.__class__.binaryFormat)[1]:
45 metricNames = set(sstruct.getformat(self.__class__.binaryFormat)[1])
58 binaryFormat = bigGlyphMetricsFormat variable in BigGlyphMetrics
61 binaryFormat = smallGlyphMetricsFormat variable in SmallGlyphMetrics
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp185 GrGLenum binaryFormat; in storeShaderInCache() local
187 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache()
188 size_t dataLength = sizeof(inputs) + sizeof(binaryFormat) + length; in storeShaderInCache()
193 memcpy(data.get() + offset, &binaryFormat, sizeof(binaryFormat)); in storeShaderInCache()
194 offset += sizeof(binaryFormat); in storeShaderInCache()
253 int binaryFormat; in finalize() local
254 memcpy(&binaryFormat, bytes + offset, sizeof(binaryFormat)); in finalize()
255 offset += sizeof(binaryFormat); in finalize()
258 ProgramBinary(programID, binaryFormat, (void*) (bytes + offset), in finalize()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp227 GrGLenum binaryFormat; in storeShaderInCache() local
229 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache()
230 size_t dataLength = sizeof(inputs) + sizeof(binaryFormat) + length; in storeShaderInCache()
235 memcpy(data.get() + offset, &binaryFormat, sizeof(binaryFormat)); in storeShaderInCache()
236 offset += sizeof(binaryFormat); in storeShaderInCache()
302 int binaryFormat; in finalize() local
303 memcpy(&binaryFormat, bytes + offset, sizeof(binaryFormat)); in finalize()
304 offset += sizeof(binaryFormat); in finalize()
307 ProgramBinary(programID, binaryFormat, (void*) (bytes + offset), in finalize()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DPropagationComponentImpl.java25 private final BinaryFormat binaryFormat = new BinaryFormatImpl(); field in PropagationComponentImpl
30 return binaryFormat; in getBinaryFormat()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp212 …(const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* bi…
414 glw::GLenum binaryFormat; member
416 ProgramBinaries (void) : binaryFormat(GL_SHADER_BINARY_FORMAT_SPIR_V_ARB) {} in ProgramBinaries()
417 ProgramBinaries (glw::GLenum binaryFormat_) : binaryFormat(binaryFormat_) {} in ProgramBinaries()
DgluShaderProgram.cpp477 setBinary(gl, shaders, binaries.binaryFormat, binary, length); in init()
509 …(const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* bi… in setBinary() argument
515 …gl.shaderBinary((glw::GLsizei)shaderVec.size(), shaderVec.data(), binaryFormat, binaryData, length… in setBinary()
/external/mesa3d/src/mesa/main/
Dshaderapi.h244 GLenum *binaryFormat, GLvoid *binary);
247 _mesa_ProgramBinary(GLuint program, GLenum binaryFormat,
Dshaderapi.c2218 GLenum *binaryFormat, GLvoid *binary) in _mesa_GetProgramBinary() argument
2263 _mesa_get_program_binary(ctx, shProg, bufSize, length, binaryFormat, in _mesa_GetProgramBinary()
2265 assert(*length == 0 || *binaryFormat == GL_PROGRAM_BINARY_FORMAT_MESA); in _mesa_GetProgramBinary()
2270 _mesa_ProgramBinary(GLuint program, GLenum binaryFormat, in _mesa_ProgramBinary() argument
2294 binaryFormat != GL_PROGRAM_BINARY_FORMAT_MESA) { in _mesa_ProgramBinary()
2310 _mesa_program_binary(ctx, shProg, binaryFormat, binary, length); in _mesa_ProgramBinary()
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp385 GLenum binaryFormat = -1; in init()
399 glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr); in init()
403 glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr); in init()
416 …glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryPtr… in init()
425 GLenum binaryFormat = -1; in init()
441 …glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf[0]); in init()
445 glProgramBinary (dummyShader, binaryFormat, &binaryBuf[0], binaryLength); in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp469 GLenum binaryFormat = -1; in get_program_binary() local
483 ctx.glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr); in get_program_binary()
487 …ctx.glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr); in get_program_binary()
500 …ctx.glGetProgramBinary (programInvalid.getProgram(), bufSize, &binaryLength, &binaryFormat, &binar… in get_program_binary()
510 GLenum binaryFormat = -1; in program_binary() local
525 …ctx.glGetProgramBinary (srcProgram.getProgram(), bufSize, &binaryLength, &binaryFormat, &binaryBuf… in program_binary()
529 ctx.glProgramBinary (dummyShader, binaryFormat, &binaryBuf[0], binaryLength); in program_binary()
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.hpp290 …void glGetProgramBinary (deUint32 program, int bufSize, int* length, deUint32* binaryFormat
291 …void glProgramBinary (deUint32 program, deUint32 binaryFormat, const void* binary, int len…
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/
Dgl2ext.h1018 …mBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary…
1019 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *…
1021 …RYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary…
1022 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const G…
/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp3458 void GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void … in GetProgramBinary() argument
3461 program, bufSize, length, binaryFormat, binary); in GetProgramBinary()
3484 void ProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length) in ProgramBinary() argument
3487 program, binaryFormat, binaryFormat, length); in ProgramBinary()
Dentry_points.h324 …void GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void…
325 void ProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
Dentry_points.cpp1495 …ProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary) in glGetProgramBinary() argument
1497 return gl::GetProgramBinary(program, bufSize, length, binaryFormat, binary); in glGetProgramBinary()
1500 GL_APICALL void GL_APIENTRY glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary… in glProgramBinary() argument
1502 return gl::ProgramBinary(program, binaryFormat, binary, length); in glProgramBinary()
/external/deqp/doc/
DGLES3 Negative API Functions.txt242 o glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvo…
245 o glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length);
/external/skia/include/gpu/gl/
DGrGLFunctions.h98 …TYPE(GrGLuint program, GrGLsizei bufsize, GrGLsizei* length, GrGLenum* binaryFormat, void* binary);
131 using GrGLProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLenum binaryFormat, v…
/external/skqp/include/gpu/gl/
DGrGLFunctions.h98 …TYPE(GrGLuint program, GrGLsizei bufsize, GrGLsizei* length, GrGLenum* binaryFormat, void* binary);
131 using GrGLProgramBinaryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLenum binaryFormat, v…
/external/swiftshader/include/GLES3/
Dgl3.h1091 …BINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1092 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void…
1196 …ogramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1197 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binar…
/external/mesa3d/include/GLES3/
Dgl3.h1091 …BINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1092 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void…
1196 …ogramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1197 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binar…
Dgl31.h1093 …BINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1094 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void…
1198 …ogramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1199 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binar…
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES3/
Dgl3.h1050 …gramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary…
1051 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const G…

12