Home
last modified time | relevance | path

Searched refs:expected_len (Results 1 – 3 of 3) sorted by relevance

/system/core/libcutils/
Dtrace-dev_test.cpp95 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 1; in TEST_F() local
96 expected += android::base::StringPrintf("%.*s", expected_len, name.c_str()); in TEST_F()
144 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F() local
145 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
193 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F() local
194 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
242 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F() local
243 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
291 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 13; in TEST_F() local
292 expected += android::base::StringPrintf("%.*s|17179869183", expected_len, name.c_str()); in TEST_F()
/system/logging/liblog/tests/
Dliblog_test.cpp2216 static const char* event_test_int32(uint32_t tag, size_t& expected_len) { in event_test_int32() argument
2228 expected_len = sizeof(uint32_t) + sizeof(uint8_t) + sizeof(uint32_t); in event_test_int32()
2233 static const char* event_test_int64(uint32_t tag, size_t& expected_len) { in event_test_int64() argument
2245 expected_len = sizeof(uint32_t) + sizeof(uint8_t) + sizeof(uint64_t); in event_test_int64()
2250 static const char* event_test_list_int64(uint32_t tag, size_t& expected_len) { in event_test_list_int64() argument
2264 expected_len = sizeof(uint32_t) + sizeof(uint8_t) + sizeof(uint8_t) + in event_test_list_int64()
2271 size_t& expected_len) { in event_test_simple_automagic_list() argument
2286 expected_len = sizeof(uint32_t) + sizeof(uint8_t) + sizeof(uint8_t) + in event_test_simple_automagic_list()
2293 static const char* event_test_list_empty(uint32_t tag, size_t& expected_len) { in event_test_list_empty() argument
2306 expected_len = sizeof(uint32_t) + sizeof(uint8_t) + sizeof(uint8_t); in event_test_list_empty()
[all …]
/system/core/trusty/storage/proxy/
Drpmb.c297 size_t expected_len = sizeof(*req) + req->reliable_write_size + req->write_size; in rpmb_send() local
298 if (req_len != expected_len) { in rpmb_send()
299 ALOGW("malformed rpmb request: invalid length (%zu != %zu)\n", req_len, expected_len); in rpmb_send()