Home
last modified time | relevance | path

Searched full:binary (Results 1 – 25 of 8629) sorted by relevance

12345678910>>...346

/third_party/json/doc/mkdocs/docs/features/
Dbinary_values.md1 # Binary Values
3 …mplements several [binary formats](binary_formats/index.md) that encode JSON in an efficient way. …
5binary value. As such, binary values are an extension that this library implements to store values…
7 ## API for binary values
22binary values are stored as `std::vector<std::uint8_t>`. This type can be changed by providing a t…
25 auto binary = json::binary_t({0xCA, 0xFE, 0xBA, 0xBE});
32 binary.has_subtype(); // returns false
39 binary.set_subtype(23);
41 binary.subtype(); // returns 23
47 binary.size(); // returns 4
[all …]
/third_party/boost/libs/spirit/doc/qi/
Dbinary.qbk9 [section:binary Binary Parsers]
11 This module includes different parsers for parsing binary data in
13 little, and big endian binary input.
17 // forwards to <boost/spirit/home/qi/binary.hpp>
23 [section:binary_native Binary Native Endianness Parsers]
27 Binary native endian parsers are designed to parse binary byte streams
33 // forwards to <boost/spirit/home/qi/binary.hpp>
59 [[`b`] [A single byte (8 bit binary value) or a __qi_lazy_argument__
62 [[`w`] [A 16 bit binary value or a __qi_lazy_argument__ that
63 evaluates to a 16 bit binary value. This value is always
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
68 spvBinaryDestroy(binary); in TEST()
[all …]
Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST() local
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
68 spvBinaryDestroy(binary); in TEST()
[all …]
Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST() local
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
/third_party/spirv-tools/test/
Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
44 // Sadly the compiler don't allow me to feed binary directly to in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
68 spvBinaryDestroy(binary); in TEST()
[all …]
Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST() local
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dc_interface_test.cpp33 spv_binary binary = nullptr; in TEST() local
35 sizeof(input_text), &binary, nullptr)); in TEST()
38 // Sadly the compiler don't allow me to feed binary directly to in TEST()
40 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
45 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
46 binary->wordCount, 0, &text, nullptr)); in TEST()
49 spvBinaryDestroy(binary); in TEST()
58 spv_binary binary = nullptr; in TEST() local
60 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
62 spvBinaryDestroy(binary); in TEST()
[all …]
Dcpp_interface_test.cpp31 std::vector<uint32_t> binary; in TEST() local
32 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
33 EXPECT_TRUE(binary.size() > 5u); in TEST()
34 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
35 EXPECT_EQ(SpvVersion, binary[1]); in TEST()
47 EXPECT_FALSE(t.Validate(binary)); in TEST()
50 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
55 std::vector<uint32_t> binary(10, 42); in TEST() local
57 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
59 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
/third_party/boost/boost/proto/
Dtags.hpp50 /// Tag type for the binary \<\< operator.
53 /// Tag type for the binary \>\> operator.
56 /// Tag type for the binary * operator.
59 /// Tag type for the binary / operator.
62 /// Tag type for the binary % operator.
65 /// Tag type for the binary + operator.
68 /// Tag type for the binary - operator.
71 /// Tag type for the binary \< operator.
74 /// Tag type for the binary \> operator.
77 /// Tag type for the binary \<= operator.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_get_program_binary.txt61 This extension introduces new commands to retrieve and set the binary
65 offline compiler. The resulting program binary can be reloaded into the
89 enum *binaryFormat, void *binary);
92 const void *binary, sizei length);
120 attached to the program. Alternatively, pre-compiled program binary code
134 FALSE, and indicates whether a program binary is likely to be retrieved
144 enum *binaryFormat, void *binary);
146 returns a binary representation of the program object's compiled and
147 linked executable source, henceforth referred to as its program binary.
148 The maximum number of bytes that may be written into <binary> is specified
[all …]
/third_party/openGLES/extensions/ARB/
DARB_get_program_binary.txt71 This extension introduces new commands to retrieve and set the binary
75 offline compiler. The resulting program binary can be reloaded into the
99 enum *binaryFormat, void *binary);
102 const void *binary, sizei length);
130 attached to the program. Alternatively, pre-compiled program binary code
144 FALSE, and indicates whether a program binary is likely to be retrieved
154 enum *binaryFormat, void *binary);
156 returns a binary representation of the program object's compiled and
157 linked executable source, henceforth referred to as its program binary.
158 The maximum number of bytes that may be written into <binary> is specified
[all …]
/third_party/boost/libs/spirit/doc/karma/
Dbinary.qbk9 [section:binary Binary Generators]
11 This module includes different generators allowing to output binary data.
12 It includes generators for default, little, and big endian binary output and
18 // forwards to <boost/spirit/home/karma/binary.hpp>
24 [section:binary_native Binary Native Endianness Generators]
28 The binary native endianness generators described in this section are used to
29 emit binary byte streams laid out conforming to the native endianness (byte
34 // forwards to <boost/spirit/home/karma/binary.hpp>
61 [[`b`] [A single byte (8 bit binary value) or a __karma_lazy_argument__
63 [[`w`] [A 16 bit binary value or a __karma_lazy_argument__ that
[all …]
/third_party/openGLES/extensions/OES/
DOES_get_program_binary.txt64 program binary can be reloaded into the GL via ProgramBinaryOES. This is a
89 is already part of the core spec and permits loading binary shader pairs?
97 the program binary is pre-linked and ready to run.
107 binary retrieved with GetProgramBinaryOES can be expected to work regardless
126 The program binary retrieved by GetProgramBinaryOES is the one installed
143 5. Where are the binary formats defined and described?
147 to define one or more binary formats, thereby populating the list of
149 GetProgramBinaryOES is always one of the binary formats in this list. If
155 needs to retrieve a program binary with an anonymous <binaryFormat> and
156 resupply that same <binaryFormat> when loading the program binary.
[all …]
/third_party/python/
D.gitattributes1 # Binary data types
2 *.aif binary
3 *.aifc binary
4 *.aiff binary
5 *.au binary
6 *.bmp binary
7 *.exe binary
8 *.icns binary
9 *.gif binary
10 *.ico binary
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_get_program_binary.txt54 program binary can be reloaded into the GL via ProgramBinaryOES. This is a
79 is already part of the core spec and permits loading binary shader pairs?
87 the program binary is pre-linked and ready to run.
97 binary retrieved with GetProgramBinaryOES can be expected to work regardless
116 The program binary retrieved by GetProgramBinaryOES is the one installed
133 5. Where are the binary formats defined and described?
137 to define one or more binary formats, thereby populating the list of
139 GetProgramBinaryOES is always one of the binary formats in this list. If
145 needs to retrieve a program binary with an anonymous <binaryFormat> and
146 resupply that same <binaryFormat> when loading the program binary.
[all …]
/third_party/boost/libs/proto/doc/reference/
Dtags.xml48 <purpose>Tag type for the binary &lt;&lt; operator. </purpose>
51 <purpose>Tag type for the binary &gt;&gt; operator. </purpose>
54 <purpose>Tag type for the binary * operator. </purpose>
57 <purpose>Tag type for the binary / operator. </purpose>
60 <purpose>Tag type for the binary % operator. </purpose>
63 <purpose>Tag type for the binary + operator. </purpose>
66 <purpose>Tag type for the binary - operator. </purpose>
69 <purpose>Tag type for the binary &lt; operator. </purpose>
72 <purpose>Tag type for the binary &gt; operator. </purpose>
75 <purpose>Tag type for the binary &lt;= operator. </purpose>
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Doptimizer_test.cpp62 std::vector<uint32_t> binary; in TEST() local
63 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
67 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
70 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
76 std::vector<uint32_t> binary; in TEST() local
77 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
81 auto orig_size = binary.size(); in TEST()
84 binary.push_back(42); in TEST()
85 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
86 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
[all …]
/third_party/boost/
D.gitattributes18 *.bmp binary svneol=unset#image/bmp
19 *.gif binary svneol=unset#image/gif
20 *.ico binary svneol=unset#image/ico
21 *.jpeg binary svneol=unset#image/jpeg
22 *.jpg binary svneol=unset#image/jpeg
23 *.png binary svneol=unset#image/png
24 *.tif binary svneol=unset#image/tiff
25 *.tiff binary svneol=unset#image/tiff
29 *.pdf binary svneol=unset#application/pdf
30 *.avi binary svneol=unset#video/avi
[all …]
/third_party/libcoap/include/coap3/
Dstr.h20 * API functions for handling strings and binary data
25 * Note: string and binary use equivalent objects.
26 * string is likely to contain readable textual information, binary will not.
48 * CoAP binary data definition
51 size_t length; /**< length of binary data */
52 uint8_t *s; /**< binary data */
56 * CoAP binary data definition with const data
59 size_t length; /**< length of binary data */
60 const uint8_t *s; /**< read-only binary data */
88 * @param size The size to allocate for the binary string data.
[all …]
/third_party/boost/libs/context/build/
DJamfile.v266 feature.feature binary-format
73 feature.set-default binary-format : [ default_binary_format ] ;
122 <binary-format>elf
133 <binary-format>elf
144 <binary-format>elf
156 <binary-format>mach-o
167 <binary-format>mach-o
180 <binary-format>pe
193 <binary-format>elf
204 <binary-format>elf
[all …]
/third_party/icu/docs/userguide/strings/
Dproperties.md76 Most properties that use binary, integer, or enumerated values are available via
102 | Alphabetic | binary | (U) | u_isUAlphabetic, UCHAR_ALPHABETIC |
103 | ASCII_Hex_Digit | binary | (U) | UCHAR_ASCII_HEX_DIGIT |
105 | Bidi_Control | binary | (U) | UCHAR_BIDI_CONTROL |
106 | Bidi_Mirrored | binary | (U) | u_isMirrored, UCHAR_BIDI_MIRRORED |
111 | Case_Ignorable | binary | (U) | UCHAR_CASE_IGNORABLE |
112 | Cased | binary | (U) | UCHAR_CASED |
113 | Changes_When_Casefolded | binary | (U) | UCHAR_CHANGES_WHEN_CASEFOLDED |
114 | Changes_When_Casemapped | binary | (U) | UCHAR_CHANGES_WHEN_CASEMAPPED |
115 | Changes_When_NFKC_Casefolded | binary | (U) | UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED |
[all …]
/third_party/json/include/nlohmann/
Dbyte_container_with_subtype.hpp11 @brief an internal type for a backed binary type
16 order to override the binary type.
66 @brief sets the binary subtype
68 Sets the binary subtype of the value, also flags a binary JSON value as
76 @sa @ref subtype() -- return the binary subtype
77 @sa @ref clear_subtype() -- clears the binary subtype
78 @sa @ref has_subtype() -- returns whether or not the binary value has a
90 @brief return the binary subtype
96 @return the numerical subtype of the binary value
103 @sa @ref set_subtype() -- sets the binary subtype
[all …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dreader.js2 * @fileoverview Helper methods for reading data from the binary wire format.
4 goog.module('protobuf.binary.reader');
6 const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
17 * Reads a boolean value from the binary bytes.
18 * @param {!BufferDecoder} bufferDecoder Binary format encoded bytes.
29 * Reads a ByteString value from the binary bytes.
30 * @param {!BufferDecoder} bufferDecoder Binary format encoded bytes.
40 * Reads a int32 value from the binary bytes encoded as varint.
41 * @param {!BufferDecoder} bufferDecoder Binary format encoded bytes.
54 * Reads a int32 value from the binary bytes encoded as varint.
[all …]

12345678910>>...346