Home
last modified time | relevance | path

Searched refs:WriteInto (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/crypto/
Dsymmetric_key.cc46 base::WriteInto(&key->key_, key_size_in_bytes + 1)); in GenerateRandomKey()
78 base::WriteInto(&key->key_, key_size_in_bytes + 1)); in DeriveKeyFromPassword()
Drandom_unittest.cc29 crypto::RandBytes(base::WriteInto(&bytes, bytes.size()), bytes.size()); in TEST()
/external/libchrome/base/strings/
Dutf_string_conversions_unittest.cc200 memcpy(WriteInto(&multistring16, arraysize(multi16)), multi16, in TEST()
204 memcpy(WriteInto(&expected, arraysize(multi)), multi, sizeof(multi)); in TEST()
Dstring_util.h426 BASE_EXPORT char* WriteInto(std::string* str, size_t length_with_null);
427 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
Dstring_util_unittest.cc1349 strncpy(WriteInto(&buffer, num_chars + 1), kOriginal, num_chars); in WritesCorrectly()
1359 TEST_F(WriteIntoTest, WriteInto) { in TEST_F() argument
1372 strncpy(WriteInto(&dead, 5), kDead, 4); in TEST_F()
Dstring_util.cc927 char* WriteInto(std::string* str, size_t length_with_null) { in WriteInto() function
931 char16* WriteInto(string16* str, size_t length_with_null) { in WriteInto() function
/external/libchrome/base/
Drand_util.cc78 RandBytes(WriteInto(&result, length + 1), length); in RandBytesAsString()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc146 inline typename string_type::value_type* WriteInto(string_type* str, in WriteInto() function
156 s->WriteUtf8(WriteInto(&result, s->Length() + 1)); in V8StringToUTF8()