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.h427 BASE_EXPORT char* WriteInto(std::string* str, size_t length_with_null);
428 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
430 BASE_EXPORT wchar_t* WriteInto(std::wstring* str, size_t length_with_null);
Dstring_util_unittest.cc1210 strncpy(WriteInto(&buffer, num_chars + 1), kOriginal, num_chars); in WritesCorrectly()
1220 TEST_F(WriteIntoTest, WriteInto) { in TEST_F() argument
1233 strncpy(WriteInto(&dead, 5), kDead, 4); in TEST_F()
Dstring_util.cc863 char* WriteInto(std::string* str, size_t length_with_null) { in WriteInto() function
867 char16* WriteInto(string16* str, size_t length_with_null) { in WriteInto() function
/external/libchrome/base/
Drand_util.cc72 RandBytes(WriteInto(&result, length + 1), length); in RandBytesAsString()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc143 inline typename string_type::value_type* WriteInto(string_type* str, in WriteInto() function
153 s->WriteUtf8(WriteInto(&result, s->Length() + 1)); in V8StringToUTF8()