Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 234) sorted by relevance

12345678910

/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_handler.h31 virtual void OnReceive(const uint8_t* msg, size_t len, bool binary) = 0;
32 virtual void OnReceive(const uint8_t* msg, size_t len, bool binary, in OnReceive() argument
34 OnReceive(msg, len, binary); in OnReceive()
39 void EnqueueMessage(const uint8_t* data, size_t len, bool binary = false);
40 void EnqueueMessage(const char* data, size_t len, bool binary = false) {
41 EnqueueMessage(reinterpret_cast<const uint8_t*>(data), len, binary);
48 WsBuffer(std::vector<uint8_t> data, bool binary) in WsBuffer()
49 : data(std::move(data)), binary(binary) {} in WsBuffer()
51 bool binary; member
Dwebsocket_handler.cpp36 bool binary) { in EnqueueMessage() argument
39 buffer_queue_.emplace_front(std::move(buffer), binary); in EnqueueMessage()
50 ws_buffer.binary ? LWS_WRITE_BINARY : LWS_WRITE_TEXT, true, true); in WriteWsBuffer()
/device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/
DProgramBinaryTest.cpp93 std::vector<uint8_t> binary(programLength); in saveAndLoadProgram() local
95 binary.data()); in saveAndLoadProgram()
103 glProgramBinaryOES(loadedProgram, binaryFormat, binary.data(), writtenLength); in saveAndLoadProgram()
353 std::vector<uint8_t> binary(programLength); 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()
478 std::vector<uint8_t> binary(programLength); in TEST_P() local
479 glGetProgramBinary(program.get(), programLength, &readLength, &binaryFormat, binary.data()); in TEST_P()
485 ANGLE_GL_BINARY_ES3_PROGRAM(binaryProgram, binary, binaryFormat); in TEST_P()
571 std::vector<uint8_t> binary(programLength); in TEST_P() local
[all …]
/device/generic/vulkan-cereal/third-party/angle/extensions/
DEGL_ANGLE_program_cache_control.txt38 that have access to an internal binary program cache. It also allows for
39 querying and populating the contents of the binary cache.
59 void *binary,
66 const void *binary,
99 for details on the program binary cache.
103 Each display has an associated program binary cache. This cache stores
110 Program binary cache properties may be queried using
126 void *key, EGLint *keysize, void *binary, EGLint *binarysize);
132 and 'keysize' are non-null, and 'binary' and 'key' are null, the size of the
133 binary at 'index' is written to 'binarysize', and the key size to 'keysize'.
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/tests/test_utils/
Dgl_raii.h192 void makeBinaryOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryOES() argument
194 mHandle = LoadBinaryProgramOES(binary, binaryFormat); in makeBinaryOES()
197 void makeBinaryES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryES3() argument
199 mHandle = LoadBinaryProgramES3(binary, binaryFormat); in makeBinaryES3()
237 #define ANGLE_GL_BINARY_OES_PROGRAM(name, binary, binaryFormat) \ argument
239 name.makeBinaryOES(binary, binaryFormat); \
242 #define ANGLE_GL_BINARY_ES3_PROGRAM(name, binary, binaryFormat) \ argument
244 name.makeBinaryES3(binary, binaryFormat); \
/device/google/cuttlefish/host/frontend/webrtc_operator/
Dsignal_handler.cpp33 void SignalHandler::OnReceive(const uint8_t* msg, size_t len, bool binary) { in OnReceive() argument
34 if (binary) { in OnReceive()
63 void SignalHandler::OnReceive(const uint8_t* msg, size_t len, bool binary, in OnReceive() argument
68 OnReceive(msg, len, binary); in OnReceive()
72 OnReceive(receive_buffer_.data(), receive_buffer_.size(), binary); in OnReceive()
Dsignal_handler.h31 void OnReceive(const uint8_t* msg, size_t len, bool binary) override;
32 void OnReceive(const uint8_t* msg, size_t len, bool binary,
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/
DBreakVariableAliasingInInnerLoops.cpp42 bool visitBinary(Visit visit, TIntermBinary *binary) in visitBinary() argument
49 if (mLoopLevel < 2 || !binary->isAssignment()) in visitBinary()
54 TIntermTyped *B = binary->getRight(); in visitBinary()
76 binary->replaceChildNode(B, bPlusZero); in visitBinary()
DRewriteStructSamplersOld.cpp60 TIntermBinary *binary = replacement->getAsBinaryNode(); in ReplaceTypeOfTypedStructNode() local
61 ASSERT(binary); in ReplaceTypeOfTypedStructNode()
63 while (binary) in ReplaceTypeOfTypedStructNode()
65 ASSERT(binary->getOp() == EOpIndexDirectStruct || binary->getOp() == EOpIndexDirect); in ReplaceTypeOfTypedStructNode()
67 asSymbol = binary->getLeft()->getAsSymbolNode(); in ReplaceTypeOfTypedStructNode()
73 binary->replaceChildNode(binary->getLeft(), newSymbol); in ReplaceTypeOfTypedStructNode()
77 binary = binary->getLeft()->getAsBinaryNode(); in ReplaceTypeOfTypedStructNode()
DRewriteStructSamplers.cpp62 TIntermBinary *binary = replacement->getAsBinaryNode(); in ReplaceTypeOfTypedStructNode() local
63 ASSERT(binary); in ReplaceTypeOfTypedStructNode()
65 while (binary) in ReplaceTypeOfTypedStructNode()
67 ASSERT(binary->getOp() == EOpIndexDirectStruct || binary->getOp() == EOpIndexDirect); in ReplaceTypeOfTypedStructNode()
69 asSymbol = binary->getLeft()->getAsSymbolNode(); in ReplaceTypeOfTypedStructNode()
75 binary->replaceChildNode(binary->getLeft(), newSymbol); in ReplaceTypeOfTypedStructNode()
79 binary = binary->getLeft()->getAsBinaryNode(); in ReplaceTypeOfTypedStructNode()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_utils.cc112 std::ofstream final_rd(new_ramdisk_path, std::ios_base::binary | std::ios_base::trunc); in RepackVendorRamdisk()
113 std::ifstream ramdisk_a(stripped_ramdisk_path, std::ios_base::binary); in RepackVendorRamdisk()
114 std::ifstream ramdisk_b(kernel_modules_ramdisk_path, std::ios_base::binary); in RepackVendorRamdisk()
343 std::ios_base::binary | std::ios_base::trunc); in RepackGem5BootImage()
346 std::ios_base::binary); in RepackGem5BootImage()
349 std::ios_base::binary); in RepackGem5BootImage()
352 std::ios_base::binary | in RepackGem5BootImage()
359 std::ios_base::binary | in RepackGem5BootImage()
/device/generic/vulkan-cereal/third-party/angle/util/
Dshader_utils.cpp265 GLuint LoadBinaryProgramOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in LoadBinaryProgramOES() argument
268 glProgramBinaryOES(program, binaryFormat, binary.data(), static_cast<GLint>(binary.size())); in LoadBinaryProgramOES()
272 GLuint LoadBinaryProgramES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in LoadBinaryProgramES3() argument
275 glProgramBinary(program, binaryFormat, binary.data(), static_cast<GLint>(binary.size())); in LoadBinaryProgramES3()
/device/generic/vulkan-cereal/include/vulkan/
Dlibspirv.h490 spv_binary* binary,
498 const uint32_t options, spv_binary* binary, spv_diagnostic* diagnostic);
510 const uint32_t* binary,
518 SPIRV_TOOLS_EXPORT void spvBinaryDestroy(spv_binary binary);
523 const spv_const_binary binary,
531 const spv_const_binary binary, spv_diagnostic* diagnostic);
/device/generic/vulkan-cereal/third-party/perfetto-tracing-only/
Dperfetto-sdk-tracing-only.cpp149 std::ifstream guestFile(guestFilename, std::ios::in | std::ios::binary | std::ios::ate); in asyncTraceSaveFunc()
178 std::ifstream hostFile(hostFilename, std::ios_base::binary); in asyncTraceSaveFunc()
179 std::ifstream guestFile(guestFilename, std::ios_base::binary); in asyncTraceSaveFunc()
180 std::ofstream combinedFile(combinedFilename, std::ios::out | std::ios_base::binary); in asyncTraceSaveFunc()
296 output.open(sTraceConfig.hostFilename, std::ios::out | std::ios::binary); in disableTracing()
/device/generic/vulkan-cereal/include/EGL/
Deglext_angle.h193 …LEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysiz…
194 …ANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize…
198 …eryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysiz…
199 …pulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize…
/device/generic/vulkan-cereal/third-party/angle/include/EGL/
Deglext_angle.h193 …LEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysiz…
194 …ANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize…
198 …eryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysiz…
199 …pulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize…
/device/linaro/dragonboard/qcom/pd-mapper/
DLICENSE5 * Redistribution and use in source and binary forms, with or without
11 * 2. Redistributions in binary form must reproduce the above copyright notice,
35 * Redistribution and use in source and binary forms, with or without
41 * 2. Redistributions in binary form must reproduce the above copyright notice,
/device/generic/vulkan-cereal/stream-servers/OpenGLESDispatch/
Dgles2_extensions_dispatch_logging_wrappers.impl14 …pper(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) {
15 …aderBinary(n:%d, shaders:%p, binaryformat:0x%X, binary:%p, length:%d)", n, shaders, binaryformat,
16 GLDispatch::glShaderBinary_underlying(n, shaders, binaryformat, binary, length);
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/d3d/
DHLSLCompiler.cpp235 ID3DBlob *binary = nullptr; in compileToBinary() local
242 "main", profile.c_str(), configs[i].flags, 0, &binary, in compileToBinary()
300 *outCompiledBlob = binary; in compileToBinary()
331 ANGLE_TRY(disassembleBinary(context, binary, &disassembly)); in compileToBinary()
/device/generic/vulkan-cereal/protocols/vulkan/appendices/
DVK_KHR_pipeline_executable_properties.txt48 The name "`binary`" was used in early drafts of the extension but it was
49 determined that "`pipeline binary`" could have a fairly broad meaning (such
50 as a binary serialized form of an entire pipeline) and was too big of a
/device/generic/vulkan-cereal/third-party/googletest/googlemock/
DCMakeLists.txt36 # as ${gmock_SOURCE_DIR} and to the root binary directory as
48 # targets to the current scope. We are placing Google Test's binary
196 # Tests that a binary can be built with Google Mock as a shared library. On
197 # some system configurations, it may not possible to run the binary without
199 # this binary. To get a more robust shared library coverage, configure with
/device/generic/vulkan-cereal/third-party/angle/
D.gitattributes16 # Using a binary merge strategy forces conflicts without changing file contents.
17 scripts/code_generation_hashes/*.json merge=binary
/device/amlogic/yukawa/bootloader/
DREADME28 Generate fip binary
47 ./generate-bins-new.sh <fip-collect-directory> <target-bl33-binary>
80 - to generate fip bin cf "Generate fip binary"
/device/generic/vulkan-cereal/third-party/googletest/docs/
Dquickstart-cmake.md76 ## Create and run a binary
118 The above configuration enables testing in CMake, declares the C++ test binary
121 binary, using the
148 Congratulations! You've successfully built and run a test binary using
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dserver_connection.cpp87 WsBuffer(const uint8_t* data, size_t len, bool binary) in WsBuffer()
88 : buffer_(LWS_PRE + len), is_binary_(binary) { in WsBuffer()
100 bool Send(const uint8_t* data, size_t len, bool binary = false);
512 bool WsConnection::Send(const uint8_t* data, size_t len, bool binary) { in Send() argument
517 WsBuffer buffer(data, len, binary); in Send()

12345678910