Home
last modified time | relevance | path

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

1234

/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/angle/src/tests/gl_tests/
DProgramBinaryTest.cpp88 GLenum binaryFormat = 0; in saveAndLoadProgram() local
94 glGetProgramBinaryOES(programToSave, programLength, &writtenLength, &binaryFormat, in saveAndLoadProgram()
103 glProgramBinaryOES(loadedProgram, binaryFormat, binary.data(), writtenLength); in saveAndLoadProgram()
249 GLenum binaryFormat = GL_NONE; in TEST_P() local
251 glGetProgramBinaryOES(mProgram, length, &readLength, &binaryFormat, binaryBlob.data()); in TEST_P()
257 ANGLE_GL_BINARY_OES_PROGRAM(binaryProgram, binaryBlob, binaryFormat); in TEST_P()
352 GLenum binaryFormat = GL_NONE; in testBinaryAndUBOBlockIndexes() local
354 glGetProgramBinary(program.get(), programLength, &readLength, &binaryFormat, binary.data()); in testBinaryAndUBOBlockIndexes()
360 ANGLE_GL_BINARY_ES3_PROGRAM(binaryProgram, binary, binaryFormat); in testBinaryAndUBOBlockIndexes()
477 GLenum binaryFormat = GL_NONE; in TEST_P() local
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DBitmapGlyphMetrics.py36 for metricName in sstruct.getformat(self.__class__.binaryFormat)[1]:
43 metricNames = set(sstruct.getformat(self.__class__.binaryFormat)[1])
56 binaryFormat = bigGlyphMetricsFormat variable in BigGlyphMetrics
59 binaryFormat = smallGlyphMetricsFormat variable in SmallGlyphMetrics
/external/angle/src/tests/test_utils/
Dgl_raii.h205 void makeBinaryOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryOES() argument
207 mHandle = LoadBinaryProgramOES(binary, binaryFormat); in makeBinaryOES()
210 void makeBinaryES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryES3() argument
212 mHandle = LoadBinaryProgramES3(binary, binaryFormat); in makeBinaryES3()
271 #define ANGLE_GL_BINARY_OES_PROGRAM(name, binary, binaryFormat) \ argument
273 name.makeBinaryOES(binary, binaryFormat); \
276 #define ANGLE_GL_BINARY_ES3_PROGRAM(name, binary, binaryFormat) \ argument
278 name.makeBinaryES3(binary, binaryFormat); \
/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/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/angle/util/
Dshader_utils.h48 GLenum binaryFormat);
50 GLenum binaryFormat);
Dshader_utils.cpp333 GLuint LoadBinaryProgramOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in LoadBinaryProgramOES() argument
336 glProgramBinaryOES(program, binaryFormat, binary.data(), static_cast<GLint>(binary.size())); in LoadBinaryProgramOES()
340 GLuint LoadBinaryProgramES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in LoadBinaryProgramES3() argument
343 glProgramBinary(program, binaryFormat, binary.data(), static_cast<GLint>(binary.size())); in LoadBinaryProgramES3()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp212 …(const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* bi…
444 glw::GLenum binaryFormat; member
446 ProgramBinaries (void) : binaryFormat(GL_SHADER_BINARY_FORMAT_SPIR_V_ARB) {} in ProgramBinaries()
447 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/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp179 GrGLenum binaryFormat; in storeShaderInCache() local
180 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache()
182 writer.writeUInt(binaryFormat); in storeShaderInCache()
274 GrGLenum binaryFormat = reader.readUInt(); in finalize() local
282 ProgramBinary(programID, binaryFormat, in finalize()
/external/angle/src/libANGLE/capture/
Dcapture_gles_3_0_params.cpp377 GLenum *binaryFormat, in CaptureGetProgramBinary_length() argument
392 GLenum *binaryFormat, in CaptureGetProgramBinary_binaryFormat() argument
404 GLenum *binaryFormat, in CaptureGetProgramBinary_binary() argument
654 GLenum binaryFormat, in CaptureProgramBinary_binary() argument
Dcapture_gles_3_0_autogen.h271 GLenum *binaryFormat,
385 GLenum binaryFormat,
788 GLenum *binaryFormat,
796 GLenum *binaryFormat,
804 GLenum *binaryFormat,
943 GLenum binaryFormat,
Dcapture_gles_3_0_autogen.cpp1174 GLenum *binaryFormat, in CaptureGetProgramBinary() argument
1187 binaryFormat, binary, &lengthParam); in CaptureGetProgramBinary()
1201 InitParamValue(ParamType::TGLenumPointer, binaryFormat, &binaryFormatParam.value); in CaptureGetProgramBinary()
1203 binaryFormat, binary, &binaryFormatParam); in CaptureGetProgramBinary()
1219 binaryFormat, binary, &binaryParam); in CaptureGetProgramBinary()
1849 GLenum binaryFormat, in CaptureProgramBinary() argument
1857 binaryFormat); in CaptureProgramBinary()
1863 CaptureProgramBinary_binary(glState, isCallValid, programPacked, binaryFormat, binary, in CaptureProgramBinary()
/external/angle/extensions/
DANGLE_program_binary.txt49 Accepted by the <binaryFormat> parameter of ProgramBinaryOES:
/external/mesa3d/src/mesa/main/
Dshaderapi.h250 GLenum *binaryFormat, GLvoid *binary);
253 _mesa_ProgramBinary(GLuint program, GLenum binaryFormat,
/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp67 GLenum binaryFormat = stream->readInt<GLenum>(); in load() local
73 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
93 GLenum binaryFormat = GL_NONE; in save() local
94 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
97 stream->writeInt(binaryFormat); in save()
/external/angle/src/libANGLE/
DContext_gles_3_0_autogen.h80 GLenum *binaryFormat, void *binary); \
108 void programBinary(ShaderProgramID programPacked, GLenum binaryFormat, const void *binary, \
DvalidationES3_autogen.h198 const GLenum *binaryFormat,
276 GLenum binaryFormat,
/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/angle/src/libGLESv2/
Dentry_points_gles_3_0_autogen.h148 GLenum *binaryFormat,
196 GLenum binaryFormat,
Dentry_points_gles_3_0_autogen.cpp1285 GLenum *binaryFormat, in GL_GetProgramBinary() argument
1292 CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)binaryFormat, in GL_GetProgramBinary()
1301 length, binaryFormat, binary)); in GL_GetProgramBinary()
1304 context->getProgramBinary(programPacked, bufSize, length, binaryFormat, binary); in GL_GetProgramBinary()
1307 binaryFormat, binary); in GL_GetProgramBinary()
1917 GLenum binaryFormat, in GL_ProgramBinary() argument
1924 CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, binaryFormat), in GL_ProgramBinary()
1933 ValidateProgramBinary(context, programPacked, binaryFormat, binary, length)); in GL_ProgramBinary()
1936 context->programBinary(programPacked, binaryFormat, binary, length); in GL_ProgramBinary()
1938 ANGLE_CAPTURE(ProgramBinary, isCallValid, context, programPacked, binaryFormat, binary, in GL_ProgramBinary()
/external/angle/include/GLES3/
Dgl3.h461 … PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *bi…
604 …APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *bi…
1072 …BINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1073 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void…
1177 …ogramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1178 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binar…

1234