Home
last modified time | relevance | path

Searched refs:new_data (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc386 char* new_data = nullptr; in TEST() local
387 ASSERT_GT(asprintf(&new_data, "%.1lf %d %lld", 1.0, 2, 3LL), 0); // NOLINT in TEST()
388 ASSERT_NE(new_data, nullptr); in TEST()
389 EXPECT_STREQ(new_data, "1.0 2 3"); in TEST()
390 free(new_data); in TEST()
398 new_data = nullptr; in TEST()
399 ASSERT_GT(vasprintf_call(&new_data, "%.1lf %d %lld", 1.0, 2, 3LL), 0); in TEST()
400 ASSERT_NE(new_data, nullptr); in TEST()
401 EXPECT_STREQ(new_data, "1.0 2 3"); in TEST()
402 free(new_data); in TEST()
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.h68 int SetMutableBufferValue(Value* value, const char* new_data, int size);
Dvalue.cpp214 int SetMutableBufferValue(Value* value, const char* new_data, int size) { in SetMutableBufferValue() argument
215 return SetPtrValue<char, MUTABLE_BUFFER_VALUE_TYPE>(value, new_data, size); in SetMutableBufferValue()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h74 void* new_data = data_ ? std::realloc(data_, size) : std::malloc(size); in reserve() local
76 data_ = static_cast<uint8_t*>(new_data); in reserve()