Home
last modified time | relevance | path

Searched refs:binary_data (Results 1 – 25 of 27) sorted by relevance

12

/external/tpm2-tss/src/tss2-fapi/
Difapi_get_intl_cert.c198 char *binary_data = NULL, *unescaped_string = NULL; in base64_decode() local
231 binary_data = calloc(1, unescape_len); in base64_decode()
232 if (binary_data == NULL) { in base64_decode()
243 if ((r = BIO_read(bio, binary_data, unescape_len)) <= 0) { in base64_decode()
245 free(binary_data); in base64_decode()
246 binary_data = NULL; in base64_decode()
252 return binary_data; in base64_decode()
/external/pigweed/pw_base64/
Dbase64_test.cc26 const char* const binary_data; member
208 Encode(as_bytes(span(data.binary_data, data.binary_size)), output); in TEST()
219 Encode(as_bytes(span(data.binary_data, data.binary_size)), output); in TEST()
237 auto b64 = Encode<11>(as_bytes(span(data.binary_data, data.binary_size))); in TEST()
249 Encode(as_bytes(span(data.binary_data, data.binary_size)), output); in TEST()
259 EXPECT_EQ(0, std::memcmp(data.binary_data, output, data.binary_size)); in TEST()
268 EXPECT_EQ(0, std::memcmp(data.binary_data, output, data.binary_size)); in TEST()
382 void pw_Base64CallEncode(const void* binary_data,
Dbase64_test_c.c24 void pw_Base64CallEncode(const void* binary_data, in pw_Base64CallEncode() argument
27 pw_Base64Encode(binary_data, binary_size_bytes, output); in pw_Base64CallEncode()
Dbase64.cc88 extern "C" void pw_Base64Encode(const void* binary_data, in pw_Base64Encode() argument
91 const uint8_t* bytes = static_cast<const uint8_t*>(binary_data); in pw_Base64Encode()
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_text_utils.cc42 std::string QuicheTextUtils::HexDump(absl::string_view binary_data) { in HexDump() argument
45 const char* p = binary_data.data(); in HexDump()
46 int bytes_remaining = binary_data.size(); in HexDump()
Dquiche_text_utils.h60 static std::string HexDump(absl::string_view binary_data);
/external/cronet/crypto/
Dp224_spake_unittest.cc19 std::string HexEncodeString(const std::string& binary_data) { in HexEncodeString() argument
20 return base::HexEncode(binary_data.c_str(), binary_data.size()); in HexEncodeString()
/external/libchrome/crypto/
Dp224_spake_unittest.cc20 std::string HexEncodeString(const std::string& binary_data) { in HexEncodeString() argument
21 return base::HexEncode(binary_data.c_str(), binary_data.size()); in HexEncodeString()
/external/openthread/tests/toranj/ncp/
Dtest-002-form.py92 node.set(wpan.WPAN_XPANID, '1020031510006016', binary_data=True)
93 node.set(wpan.WPAN_KEY, '0123456789abcdeffecdba9876543210', binary_data=True)
Dtest-001-get-set.py66 node.set(wpan.WPAN_XPANID, '1020031510006016', binary_data=True)
69 node.set(wpan.WPAN_KEY, '0123456789abcdeffecdba9876543210', binary_data=True)
Dwpan.py409 def set(self, prop_name, value, binary_data=False): argument
410 return self._update_prop('set', prop_name, value, binary_data)
412 def add(self, prop_name, value, binary_data=False): argument
413 return self._update_prop('add', prop_name, value, binary_data)
415 def remove(self, prop_name, value, binary_data=False): argument
416 return self._update_prop('remove', prop_name, value, binary_data)
418 def _update_prop(self, action, prop_name, value, binary_data): argument
419 … return self.wpanctl(action + ' ' + prop_name + ' ' + ('-d ' if binary_data else '') + '-v ' +
Dtest-009-insecure-traffic-join.py101 node2.set(wpan.WPAN_KEY, node1.get(wpan.WPAN_KEY)[1:-1], binary_data=True)
Dtest-003-join.py97 node2.set(wpan.WPAN_KEY, node1.get(wpan.WPAN_KEY)[1:-1], binary_data=True)
/external/pigweed/pw_tokenizer/
Dbase64_test.cc43 TestData(const char (&binary_data)[kSize], const char* base64_data) in TestData()
44 : binary{as_bytes(span(binary_data, kSize - 1))}, base64(base64_data) {} in TestData()
/external/perfetto/src/trace_processor/util/
Dproto_to_args_parser_unittest.cc353 auto binary_data = src_loc.SerializeAsArray(); in TEST_F() local
354 std::unique_ptr<uint8_t[]> buffer(new uint8_t[binary_data.size()]); in TEST_F()
355 for (size_t i = 0; i < binary_data.size(); ++i) { in TEST_F()
356 buffer.get()[i] = binary_data[i]; in TEST_F()
359 TraceBlob::TakeOwnership(std::move(buffer), binary_data.size()); in TEST_F()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dperfetto_proto_classes.py244 binary_data = trace_packet.encode()
245 encoder._EncodeVarint(output.write, len(binary_data))
246 output.write(binary_data)
/external/pigweed/pw_base64/public/pw_base64/
Dbase64.h38 void pw_Base64Encode(const void* binary_data,
/external/freetype/include/freetype/internal/
Dt1types.h248 FT_Byte* binary_data; /* used if hex data has been converted */ member
/external/gson/proto/src/test/proto/
Dbag.proto68 repeated Data data = 3 [(serialized_name) = "$binary_data$"];
/external/freetype/src/cid/
Dcidload.c815 if ( FT_QALLOC( face->binary_data, parser->binary_length ) || in cid_face_open()
816 FT_SET_ERROR( cid_hex_to_binary( face->binary_data, in cid_face_open()
824 face->binary_data, binary_length ); in cid_face_open()
Dcidobjs.c256 FT_FREE( face->binary_data ); in cid_face_done()
/external/openthread/tests/toranj/
DREADME_NCP.md62 node.set(prop_name, value, binary_data=False)
63 node.add(prop_name, value, binary_data=False)
64 node.remove(prop_name, value, binary_data=False)
75 >>> node.set(wpan.WPAN_KEY, '65F2C35C7B543BAC1F3E26BB9F866C1D', binary_data=True)
/external/cronet/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc319 bool IsProto3Default(FieldDescriptor::Type type, const string& binary_data) { in IsProto3Default() argument
322 return binary_data == dbl(0); in IsProto3Default()
324 return binary_data == flt(0); in IsProto3Default()
333 return binary_data == varint(0); in IsProto3Default()
336 return binary_data == u64(0); in IsProto3Default()
339 return binary_data == u32(0); in IsProto3Default()
342 return binary_data == delim(""); in IsProto3Default()
/external/protobuf/conformance/
Dbinary_json_conformance_suite.cc319 bool IsProto3Default(FieldDescriptor::Type type, const string& binary_data) { in IsProto3Default() argument
322 return binary_data == dbl(0); in IsProto3Default()
324 return binary_data == flt(0); in IsProto3Default()
333 return binary_data == varint(0); in IsProto3Default()
336 return binary_data == u64(0); in IsProto3Default()
339 return binary_data == u32(0); in IsProto3Default()
342 return binary_data == delim(""); in IsProto3Default()
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc637 grpc::string binary_data = output_stream.str(); in TEST_F() local
640 argv[4] = binary_data.c_str(); in TEST_F()

12