Home
last modified time | relevance | path

Searched refs:raw_buf (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc174 void* raw_buf = buf.Leak(); in TEST() local
178 internal::PodUnion_Data::Validate(raw_buf, &validation_context, false)); in TEST()
179 free(raw_buf); in TEST()
236 void* raw_buf = aligned_buf.Leak(); in TEST() local
237 char* buf = reinterpret_cast<char*>(raw_buf) + 1; in TEST()
245 free(raw_buf); in TEST()
254 void* raw_buf = buf.Leak(); in TEST() local
256 internal::PodUnion_Data::Validate(raw_buf, &validation_context, false)); in TEST()
257 free(raw_buf); in TEST()
267 void* raw_buf = buf.Leak(); in TEST() local
[all …]
/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc116 std::vector<uint8_t> raw_buf(buf_len); in TestTamperedSig() local
118 if (!BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r) || in TestTamperedSig()
119 !BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)) { in TestTamperedSig()
124 size_t offset = raw_buf[10] % buf_len; in TestTamperedSig()
125 uint8_t dirt = raw_buf[11] ? raw_buf[11] : 1; in TestTamperedSig()
126 raw_buf[offset] ^= dirt; in TestTamperedSig()
128 if (BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r) == NULL || in TestTamperedSig()
129 BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s) == NULL || in TestTamperedSig()
135 raw_buf[offset] ^= dirt; in TestTamperedSig()
136 if (BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r) == NULL || in TestTamperedSig()
[all …]
/external/syslinux/gpxe/src/core/
Dsettings.c1084 char raw_buf[ raw_len + 1 ]; in fetchf_uristring() local
1086 fetch_string_setting ( settings, setting, raw_buf, in fetchf_uristring()
1087 sizeof ( raw_buf ) ); in fetchf_uristring()
1088 return uri_encode ( raw_buf, buf, len, URI_FRAGMENT ); in fetchf_uristring()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp533 agg::rendering_buffer raw_buf(pThisLayer->GetBuffer(), pThisLayer->GetWidth(), in SetClipMask() local
536 agg::pixfmt_gray8 pixel_buf(raw_buf); in SetClipMask()
/external/e2fsprogs/misc/
Dfuse2fs.c2385 const void *raw_buf, size_t raw_sz);
2387 const void **raw_buf, size_t *raw_sz);